[This is preliminary documentation and subject to change.]
Command Identifiers that are reserved by Microsoft Management Console.
typedef enum _MMC_MENU_COMMAND_IDS
{
MMCC_STANDARD_VIEW_SELECT = -1
} MMC_MENU_COMMAND_IDS;
Value | Meaning |
---|---|
MMCC_STANDARD_VIEW_SELECT | Sent to a snap-in's IExtendContextMenu::Command method when the user switches from a custom result view to the standard list view. |
Typically, a snap-in's IExtendContextMenu::Command method is called only when one of its own menu items is selected. The MMCC_* codes are sent when a built-in menu item is selected but the snap-in needs to be informed of the selection. Other MMCC_* codes may be added later.
MMCC_STANDARD_VIEW_SELECT notifies the snap-in that the custom view is going away and the snap-in can do any necessary clean up. The next time the snap-in's IComponent::GetResultViewType is called, the snap-in should return S_FALSE to indicate that the default list view should be used.