IExplorerCommand interface

Exposes methods that get the command appearance, enumerate subcommands, or invoke the command.


The IExplorerCommand interface has these methods.

Method Description
IExplorerCommand::EnumSubCommands Retrieves an enemerator for a command's subcommands.
IExplorerCommand::GetCanonicalName Gets the GUID of an Windows Explorer command.
IExplorerCommand::GetFlags Gets the flags associated with a Windows Explorer command.
IExplorerCommand::GetIcon Gets an icon resource string of the icon associated with the specified Windows Explorer command item.
IExplorerCommand::GetState Gets state information associated with a specified Windows Explorer command item.
IExplorerCommand::GetTitle Gets the title text of the button or menu item that launches a specified Windows Explorer command item.
IExplorerCommand::GetToolTip Gets the tooltip string associated with a specified Windows Explorer command item.
IExplorerCommand::Invoke Invokes a Windows Explorer command.


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.


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