IShellBrowserFrame

IID_IShellBrowserFrame {8BF4F9E3-9DF2-4D2A-A702-E842F8554B39}

The IShellBrowserFrame methods are (as ordered in the virtual function table after the IUnknown methods):

Offset Method
0x0C SetVisible
0x10 GetVisible
0x14 SetFrameMode
0x18 GetFrameMode
0x1C SetFrameOptions
0x20 GetFrameOptions
0x24 SaveFrameState
0x28 SetPosition
0x2C GetPosition
0x30 GetBrowserRect

with prototypes:

HRESULT SetVisible (BOOL);
HRESULT GetVisible (BOOL *);
HRESULT SetFrameMode (SHELL_BROWSER_FRAME_MODE);
HRESULT GetFrameMode (SHELL_BROWSER_FRAME_MODE *);
HRESULT SetFrameOptions (ULONG);
HRESULT GetFrameOptions (ULONG *);
HRESULT SaveFrameState (VOID);
HRESULT SetPosition (LONG, LONG, LONG, LONG, UINT);
HRESULT GetPosition (LONG *, LONG *, LONG *, LONG *);
HRESULT GetBrowserRect (RECT *);

in which SHELL_BROWSER_FRAME_MODE is invented as a typedef for an undocumented enumeration:

typedef enum tagSHELL_BROWSER_FRAME_MODE SHELL_BROWSER_FRAME_MODE;

Availability

The IShellBrowserFrame interface is implemented in BROWSEUI version 6.0 from Windows Vista only. It appears to have been developed as a shell-specific variation of the IBrowserFrame interface from IEFRAME version 7.0 and higher.

This interface is not documented by Microsoft in the January 2007 edition of the Windows Software Development Kit (SDK).