IShellExtInit

The IShellExtInit interface is used to initialize shell extensions for property sheets, context menus, and drag-and-drop handlers (extensions that add items to context menus during non-default drag-and-drop operations).

When to Implement

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

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

When to Use

You don't use this interface directly. It is called by the shell to initialize the handler.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IShellExtInit Method Description
Initialize Initializes the shell extension.