Skip to content

Latest commit

 

History

History
69 lines (58 loc) · 2.86 KB

nn-shobjidl_core-iexplorercommandstate.md

File metadata and controls

69 lines (58 loc) · 2.86 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:shobjidl_core.IExplorerCommandState
IExplorerCommandState (shobjidl_core.h)
Exposes a single method that allows retrieval of the command state.
IExplorerCommandState
IExplorerCommandState interface [Windows Shell]
IExplorerCommandState interface [Windows Shell]
described
_shell_IExplorerCommandState
shell.IExplorerCommandState
shobjidl_core/IExplorerCommandState
shell\IExplorerCommandState.htm
shell
020a6f6f-1d45-44bd-a57f-ef8000976b5b
12/05/2018
IExplorerCommandState, IExplorerCommandState interface [Windows Shell], IExplorerCommandState interface [Windows Shell],described, _shell_IExplorerCommandState, shell.IExplorerCommandState, shobjidl_core/IExplorerCommandState
shobjidl_core.h
Shobjidl.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Shobjidl.idl
Windows
19H1
IExplorerCommandState
shobjidl_core/IExplorerCommandState
c++
APIRef
kbSyntax
COM
shobjidl_core.h
IExplorerCommandState

IExplorerCommandState interface

-description

Exposes a single method that allows retrieval of the command state.

-inheritance

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

-remarks

When to Implement

Implement this interface when you need to determine the command state dynamically (for instance, based on an item's properties). This interface provides the same functionality as IExplorerCommand::GetState, without the overhead of that interface's additional methods. Implement IExplorerCommandState when you only need to compute the command state.

When to Use

Do not call the method of IExplorerCommandState directly. Windows Explorer calls your IExplorerCommandState::GetState implementation when the user wants to perform an action on the item.

-see-also

IExplorerCommand::GetState