Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

QCMINFO structure

Contains information for merging menu items into Windows Explorer menus.

Syntax


typedef struct _QCMINFO {
  HMENU         hmenu;
  UINT          indexMenu;
  UINT          idCmdFirst;
  UINT          idCmdLast;
  QCMINFO_IDMAP *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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

See also

SFVM_MERGEMENU
DFM_MERGECONTEXTMENU
DFM_MERGECONTEXTMENU_BOTTOM
DFM_MERGECONTEXTMENU_TOP

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.