Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains information for merging menu items into Windows Explorer menus.
Syntax
typedef struct _QCMINFO {
HMENU hmenu;
UINT indexMenu;
UINT idCmdFirst;
UINT idCmdLast;
QCMINFO_IDMAP const *pIdMap;
} QCMINFO;
Members
hmenu
Type: HMENU
[in] The handle of the menu where the new commands are to be added.
indexMenu
Type: UINT
[in] The zero-based index where the first menu item are to be inserted.
idCmdFirst
Type: UINT
[in, out] On entry, this member contains the first available ID to be used for the context menu. On exit, it contains the last ID added plus one.
idCmdLast
Type: UINT
[in] The maximum value for a menu item identifier. The difference between the input value of idCmdFirst and idCmdLast is the maximum number of menu items that can be added.
pIdMap
Type: QCMINFO_IDMAP*
Not used, must be NULL.
Remarks
See IContextMenu::QueryContextMenu as this structure performs the same role as the parameters of that method. Note, however, that the information provided by the return value of that method is not a parallel to the information provided by the return value of an operation involving QCMINFO.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | shlobj_core.h (include Shlobj.h) |