IExplorerCommand interface

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.

MethodDescription
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 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.