次の方法で共有


Enabling MMC Standard Verbs: Implementation Details

To enable standard verbs

  1. Handle the MMCN_SELECT notification message, which MMC sends to indicate which item in the scope pane is currently selected.
  2. In the notification handler, call the IConsole2::QueryConsoleVerb method to request a pointer to the MMC IConsoleVerb interface implementation.
  3. 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.

Drag and Drop

Enabling MMC Standard Verbs