Enabling MMC Standard Verbs: Implementation Details
To enable standard verbs
- Handle the MMCN_SELECT notification message, which MMC sends to indicate which item in the scope pane is currently selected.
- In the notification handler, call the IConsole2::QueryConsoleVerb method to request a pointer to the MMC IConsoleVerb interface implementation.
- Use the returned interface pointer to call IConsoleVerb::SetVerbState, one time for each standard verb to enable for the selected item. Also call other IConsoleVerb verbs as necessary.
Related topics