Skip to content

Latest commit

 

History

History
71 lines (61 loc) · 2.52 KB

ne-mmc-mmc_menu_command_ids.md

File metadata and controls

71 lines (61 loc) · 2.52 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
NE:mmc._MMC_MENU_COMMAND_IDS
MMC_MENU_COMMAND_IDS (mmc.h)
The MMC_MENU_COMMAND_IDS enumeration defines the Command Identifiers that are reserved by MMC.
MMCC_STANDARD_VIEW_SELECT
MMC_MENU_COMMAND_IDS
MMC_MENU_COMMAND_IDS enumeration [MMC]
_slate_mmc_menu_command_ids
mmc.mmc_menu_command_ids
mmc/MMCC_STANDARD_VIEW_SELECT
mmc/MMC_MENU_COMMAND_IDS
mmc\mmc_menu_command_ids.htm
mmc
4e3e4289-ced2-4d94-af5e-e01a3d7afa32
12/05/2018
MMCC_STANDARD_VIEW_SELECT, MMC_MENU_COMMAND_IDS, MMC_MENU_COMMAND_IDS enumeration [MMC], _slate_mmc_menu_command_ids, mmc.mmc_menu_command_ids, mmc/MMCC_STANDARD_VIEW_SELECT, mmc/MMC_MENU_COMMAND_IDS
mmc.h
Windows
Windows Vista
Windows Server 2008
Windows
MMC_MENU_COMMAND_IDS
19H1
_MMC_MENU_COMMAND_IDS
mmc/_MMC_MENU_COMMAND_IDS
MMC_MENU_COMMAND_IDS
mmc/MMC_MENU_COMMAND_IDS
c++
APIRef
kbSyntax
HeaderDef
Mmc.h
MMC_MENU_COMMAND_IDS

MMC_MENU_COMMAND_IDS enumeration

-description

The MMC_MENU_COMMAND_IDS enumeration defines the Command Identifiers that are reserved by MMC.

-enum-fields

-field MMCC_STANDARD_VIEW_SELECT:-1

Sent to a snap-in's IExtendContextMenu::Command method when the user switches from a custom result view to the standard list view.

-remarks

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 and the snap-in must be notified about the selection. Other MMCC_* codes can be added later.

MMCC_STANDARD_VIEW_SELECT notifies the snap-in that the custom view is going away and that the snap-in can do any necessary clean-up. The next time the snap-in's IComponent::GetResultViewType method is called, the snap-in should return S_FALSE to indicate that the default list view should be used.