1 out of 1 rated this helpful - Rate this topic

IShellExtInit interface

Applies to: desktop apps only

Exposes a method that initializes Shell extensions for property sheets, shortcut menus, and drag-and-drop handlers (extensions that add items to shortcut menus during nondefault drag-and-drop operations).

Members

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

Methods

The IShellExtInit interface has these methods.

MethodDescription
Initialize

Initializes a property sheet extension, shortcut menu extension, or drag-and-drop handler.

 

Remarks

Implement IShellExtInit when you are writing a handler based on the IContextMenu or IShellPropSheetExt interface.

Note that Shell extensions based on other interfaces do not use this method of initialization.

You do not use this interface directly. The Shell calls it to initialize the handler.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 4.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
New interface
Most extension handlers must also implement either an IPersistFile or IShellExtInit interface in Windows XP or earlier. These were replaced by IInitializeWithStream, IInitializeWithItem and IInitializeWithFile in Windows Vista.
http://msdn.microsoft.com/en-us/library/cc144067%28v=VS.85%29.aspx
A chinese example of the interface
http://www.hellocpp.net/Articles/Article/678.aspx 
A chinese example of the interface! ( Samples for download! )
中文示例下载