IExplorerCommand interface
Applies to: desktop apps only
Exposes methods that get the command appearance, enumerate subcommands, or invoke the command.
Members
The IExplorerCommand interface inherits from the IUnknown interface. IExplorerCommand also has these types of members:
Methods
The IExplorerCommand interface has these methods.
| Method | Description |
|---|---|
| EnumSubCommands |
Retrieves an enemerator for a command's subcommands. |
| GetCanonicalName |
Gets the GUID of an Windows Explorer command. |
| GetFlags |
Gets the flags associated with a Windows Explorer command. |
| GetIcon |
Gets an icon resource string of the icon associated with the specified Windows Explorer command item. |
| GetState |
Gets state information associated with a specified Windows Explorer command item. |
| GetTitle |
Gets the title text of the button or menu item that launches a specified Windows Explorer command item. |
| GetToolTip |
Gets the tooltip string associated with a specified Windows Explorer command item. |
| Invoke |
Invokes a Windows Explorer command. |
Remarks
None of the methods of this interface should communicate with network resources. These methods are called on the UI thread, so communication with network resources could cause the UI to stop responding.
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
|
IDL |
|
Send comments about this topic to Microsoft
Build date: 3/7/2012
http://msdn.microsoft.com/en-gb/library/dd940359(VS.85).aspx
this page shows how explorer command handlers can be used to implement verbs on Win7
http://msdn.microsoft.com/en-us/library/dd758091(VS.85).aspx
- 9/2/2009
- Tony Maresca
- 11/21/2009
- Chris_Guzak