IExplorerCommand interface (shobjidl_core.h)
Exposes methods that get the command appearance, enumerate subcommands, or invoke the command.
Inheritance
The IExplorerCommand interface inherits from the IUnknown interface. IExplorerCommand also has these types of members:
Methods
The IExplorerCommand interface has these methods.
IExplorerCommand::EnumSubCommands Retrieves an enumerator for a command's subcommands. |
IExplorerCommand::GetCanonicalName Gets the GUID of a 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. |
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.
Note: Windows 11 refines the behavior of the contextual file operations in the right-click context menu of File Explorer and the Share dialog. Please see Top 11 things you can do to make your app great on Windows 11
Requirements
Requirement | Value |
---|---|
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) |