IConsoleVerb::SetDefaultVerb method (mmc.h)
The SetDefaultVerb method sets the default action on an object.
Syntax
HRESULT SetDefaultVerb(
[in] MMC_CONSOLE_VERB eCmdID
);
Parameters
[in] eCmdID
The default verb.
Return value
This method can return one of these values.
Remarks
The MMC_CONSOLE_VERB enumeration defines the set of default verbs. The snap-in can set any verb as the default verb. Setting a default verb causes MMC to:
- Show the context menu item for the verb in bold.
- Perform a default action (only for properties and open verbs) if the snap-in returns S_FALSE in its MMCN_DBLCLICK notification handler.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |
DLL | Mmcndmgr.dll |