IProtectedModeMenuServices interface

Enables embedded documents to correctly merge menus with Windows Internet Explorer 7 in Protected Mode.

Members

The IProtectedModeMenuServices interface inherits from the IUnknown interface. IProtectedModeMenuServices also has these types of members:

  • Methods

Methods

The IProtectedModeMenuServices interface has these methods.

Method Description
CreateMenu

Creates an empty low integrity menu.

LoadMenu

Creates a low integrity menu from a named resource.

LoadMenuID

Creates a low integrity menu from a resource ID.

 

Remarks

Typically, a menu merge requires an Active document (DocObject) to create and own the menu object. When the DocObject server is hosted from an out-of-proc, medium integrity level process in Protected Mode, a standard menu merge causes the menu to be nonfunctional. Internet Explorer 7 in Protected Mode is a low integrity level process and the out-of-proc DocObject server is a medium integrity level process, so the User Interface Privilege Isolation (UIPI) mechanism of Windows Vista prevents Internet Explorer 7 from accessing or expanding the menus.

The IProtectedModeMenuServices interface is implemented by the DocObject host (Internet Explorer 7) and can be queried by using IID_IProtectedModeMenuServices from the IOleInPlaceFrame interface used by DocObject servers for menu merging.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Product

Internet Explorer 7

Header

Docobj.h

IDL

Docobj.idl

DLL

Docobj.dll

See also

Understanding and Working in Protected Mode Internet Explorer