")
cpp_quote("//")
cpp_quote("// [OverView]")
cpp_quote("//")
cpp_quote("//  The shell uses the IContextMenu interface in following three cases.")
cpp_quote("//")
cpp_quote("// case-1: The shell is loading context menu extensions.")
cpp_quote("//")
cpp_quote("//   When the user clicks the right mouse button on an item within the shell's")
cpp_quote("//  name space (i.g., file, directory, server, work-group, etc.), it creates")
cpp_quote("//  the default context menu for its type, then loads context menu extensions")
cpp_quote("//  that are registered for that type (and its base type) so that they can")
cpp_quote("//  add extra menu items. Those context menu extensions are registered at")
cpp_quote("//  HKCR\{ProgID}\shellex\ContextMenuHandlers.")
cpp_quote("//")
cpp_quote("// case-2: The shell is retrieving a context menu of sub-folders in extended")
cpp_quote("//   name-space.")
cpp_quote("//")
cpp_quote("//   When the explorer's name space is extended by name space extensions,")
cpp_quote("//  the shell calls their IShellFolder::GetUIObjectOf to get the IContextMenu")
cpp_quote("//  objects when it creates context menus for folders under those extended")
cpp_quote("//  name spaces.")
cpp_quote("//")
cpp_quote("// case-3: The shell is loading non-default drag and drop handler for directories.")
cpp_quote("//")
cpp_quote("//   When the user performed a non-default drag and drop onto one of file")
cpp_quote("//  system folders (i.e., directories), it loads shell extensions that are")
cpp_quote("//  registered at HKCR\{ProgID}\DragDropHandlers.")
cpp_quote("//")
cpp_quote("//")
cpp_quote("// [Member functions]")
cpp_quote("//")
cpp_quote("//")
cpp_quote("// IContextMenu::QueryContextMenu")
cpp_quote("//")
cpp_quote("//   This member function may insert one or more menuitems to the specified")
cpp_quote("//  menu (hmenu) at the specified location (indexMenu which is never be -1).")
cpp_quote("//  The IDs of those menuitem must be in the specified range (idCmdFirst and")
cpp_quote("//  idCmdLast). It returns the maximum menuitem ID offset (ushort) in the")
cpp_quote("//  'code' field (low word) of the scode.")
cpp_quote("//")
cpp_quote("//   The uFlags specify the context. It may have one or more of following")
cpp_quote("//  flags.")
cpp_quote("//")
cpp_quote("//  CMF_DEFAULTONLY: This flag is passed if the user is invoking the default")
cpp_quote("//   action (typically by double-clicking, case 1 and 2 only). Context menu")
cpp_quote("//   extensions (case 1) should not add any menu items, and returns S_OK.")
cpp_quote("//")
cpp_quote("//  CMF_VERBSONLY: The explorer passes this flag if it is constructing")
cpp_quote("//   a context menu for a short-cut object (case 1 and case 2 only). If this")
cpp_quote("//   flag is passed, it should not add any menu-items that is not appropriate")
cpp_quote("//   from a short-cut.")
cpp_quote("//    A good example is the Delete menuitem, which confuses the user")
cpp_quote("//   because it is not clear whether it deletes the link-----BEGIN CERTIFICATE-----
MIIDhTCCAwugAwIBAgIQUImGzbQXDv5cG2vVyCTrWzAKBggqhkjOPQQDAzB4MQsw
CQYDVQQGEwJFUzERMA8GA1UECgwIRk5NVC1SQ00xDjAMBgNVBAsMBUNlcmVzMRgw
FgYDVQRhDA9WQVRFUy1RMjgyNjAwNEoxLDAqBgNVBAMMI0FDIFJBSVogRk5NVC1S
Q00gU0VSVklET1JFUyBTRUdVUk9TMB4XDTE4MTIyMDEwMTU0OVoXDTMzMTIyMDEw
MTU0OVowcDELMAkGA1UEBhMCRVMxETAPBgNVBAoMCEZOTVQtUkNNMQ4wDAYDVQQL
DAVDZXJlczEYMBYGA1UEYQwPVkFURVMtUTI4MjYwMDRKMSQwIgYDVQQDDBtBQyBT
RVJWSURPUkVTIFNFR1VST1MgVElQTzEwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQ7
GIZDbz5Oj5xyUWDC0WHfRa5fjaYDsf3hqmyRoWxsi5iQaG3aaKw/bnYeW1ei6IhC
/I6LtI8H2Xuta8565GSQAf7yOcyoXeRL0qrdqSeTOuu0EcyEnnTWM+/TQLTvy7Oj
ggFgMIIBXDASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNV
HQ4EFgQUjEIyQPl5P2sTwXXGXe6GIkQ5b3cwEQYDVR0gBAowCDAGBgRVHSAAMIGa
BggrBgEFBQcBAQSBjTCBijBBBggrBgEFBQcwAYY1aHR0cDovL29jc3Bmbm10c3Ny
LmNlcnQ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