Registering Context Menu Handlers

Context menu handlers are registered with the system as described earlier (“Registering User Interface Extensions,” page 314). You must use the ContextMenuHandlers key under shellex. The following code is from the REG file created for the CTXTMENU sample:

[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers]
@="NWCMenu"
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\NWCMenu]
@="{5fbcd2e0-73dd-11ce-993c-00aa004adb6c}"