Partager via


Adding an MMC Snap-in Extension

To make your custom plug-ins and tools more visible to the administrator, you can add a snap-in extension to the Windows Media Services MMC. This makes your plug-in or tool appear in the left or scope pane of the MMC user interface. For detailed information about creating a snap-in extension, see the MMC Programmer's Guide on the MSDN Web site. The following list identifies the general steps you must perform:

  1. The CLSID of the snap-in extension must be registered under the HKEY_CLASSES_ROOT\CLSID key as an in-process server DLL. The snap-in must register a threading model. Apartment threading is recommended.

  2. The CLSID of the snap-in extension must also be registered under the HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns key and the HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\NodeTypes\771BE3B5-C1F9-11D2-9C96-006008943AFD\Extensions\Namespace key. The Windows Media Services MMC CLSID is 771BE3B5-C1F9-11D2-9C96-006008943AFD.

  3. Implement the IComponentData and the IDataObject interfaces from the MMC SDK.

  4. Implement any MMC SDK interfaces required to add context menu items, toolbars, menu buttons, or property pages to your snap-in extension.

See Also

Concepts

Custom Plug-in Basics