IExplorerCommand::GetFlags method
Gets the flags associated with a Windows Explorer command.
Syntax
HRESULT GetFlags( [out] EXPCMDFLAGS *pFlags );
Parameters
- pFlags [out]
-
Type: EXPCMDFLAGS*
When this method returns, this value points to the current command flags. One of more of the following values:
-
Windows 7 and later. No command flags are set.
-
The command has subcommands.
-
A split button is displayed.
-
The label is hidden.
-
The command is a separator.
-
A UAC shield is displayed.
-
Introduced in Windows 7. The command is located in the menu immediately below a separator.
-
Introduced in Windows 7. The command is located in the menu immediately above a separator.
-
Introduced in Windows 7. Selecting the command opens a drop-down submenu (for example, Include in library).
-
Introduced in Windows 8.
-
Introduced in Windows 8.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|