Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25394
Modified Files:
PyIBrowserFrameOptions.cpp PyIBrowserFrameOptions.h
Log Message:
Reinstate this undocumented interface.
Index: PyIBrowserFrameOptions.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/PyIBrowserFrameOptions.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PyIBrowserFrameOptions.cpp 20 Jan 2004 22:14:05 -0000 1.2
--- PyIBrowserFrameOptions.cpp 12 Mar 2004 08:42:06 -0000 1.3
***************
*** 4,12 ****
#include "shell_pch.h"
- /* It appears this was undocumented, and vanished in MSVC7. */
- #ifdef HAVE_BROWSER_FRAME_OPTIONS
-
#include "PyIBrowserFrameOptions.h"
// @doc - This file contains autoduck documentation
// ---------------------------------------------------
--- 4,13 ----
#include "shell_pch.h"
#include "PyIBrowserFrameOptions.h"
+ #ifdef NEED_IID_IBrowserFrameOptions
+ const GUID IID_IBrowserFrameOptions = { 0x10DF43C8, 0x1DBE, 0x11d3, { 0x8b, 0x34, 0x00, 0x60, 0x97, 0xdf, 0x5b, 0xd4 } };
+ #endif
+
// @doc - This file contains autoduck documentation
// ---------------------------------------------------
***************
*** 76,78 ****
}
- #endif // HAVE_BROWSER_FRAME_OPTIONS
--- 77,78 ----
Index: PyIBrowserFrameOptions.h
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/PyIBrowserFrameOptions.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PyIBrowserFrameOptions.h 8 Oct 2003 23:34:41 -0000 1.1
--- PyIBrowserFrameOptions.h 12 Mar 2004 08:42:06 -0000 1.2
***************
*** 5,8 ****
--- 5,32 ----
// Interface Declaration
+ /* It appears this was undocumented, and vanished in MSVC7
+ But the Win2k shell always QIs for it - we don't *need* it,
+ but everything is happier when we do have it
+ */
+
+ #ifndef __IBrowserFrameOptions_INTERFACE_DEFINED__
+ #define __IBrowserFrameOptions_INTERFACE_DEFINED__
+
+ typedef DWORD BROWSERFRAMEOPTIONS;
+ EXTERN_C const IID IID_IBrowserFrameOptions;
+
+ MIDL_INTERFACE("10DF43C8-1DBE-11d3-8B34-006097DF5BD4")
+ #define NEED_IID_IBrowserFrameOptions
+ IBrowserFrameOptions : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE GetFrameOptions(
+ /* [in] */ BROWSERFRAMEOPTIONS dwMask,
+ /* [out] */ BROWSERFRAMEOPTIONS *pdwOptions) = 0;
+
+ };
+ #endif /* __IBrowserFrameOptions_INTERFACE_DEFINED__ */
+
+
class PyIBrowserFrameOptions : public PyIUnknown
{
|