Skip to main content
IDefaultFolderMenuInitialize interface

Provides methods used to get and set shortcut menu information. This information is the same as that provided to SHCreateDefaultContextMenu through the DEFCONTEXTMENU structure.

Note  Do not use this method to reinitialize a shortcut menu; use IShellExtInit::Initialize instead.

Members

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

Methods

The IDefaultFolderMenuInitialize interface has these methods.

MethodDescription
GetMenuRestrictions
Initialize
SetHandlerClsid
SetMenuRestrictions

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl