Επεξεργασία

Κοινή χρήση μέσω


IInitializeCommand interface (shobjidl_core.h)

Exposes a single method used to initialize objects that implement IExplorerCommandState, IExecuteCommand or IDropTarget with the application-specified command name and its registered properties.

Inheritance

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

Methods

The IInitializeCommand interface has these methods.

 
IInitializeCommand::Initialize

Initialize objects that share an implementation of IExplorerCommandState, IExecuteCommand or IDropTarget with the application-specified command name and its registered properties.

Remarks

When to Implement

Implement IInitializeCommand in the following situations.

When to Use

Do not call the method of IInitializeCommand directly. Windows Explorer calls this method when a verb object that implements this interface is invoked.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)