Home
last modified time | relevance | path

Searched refs:idCmdFirst (Results 1 – 25 of 52) sorted by relevance

123

/reactos/dll/win32/shell32/
H A DCSendToMenu.cpp214 UINT CSendToMenu::InsertSendToItems(HMENU hMenu, UINT idCmdFirst, UINT Pos) in InsertSendToItems() argument
223 m_idCmdFirst = idCmdFirst; in InsertSendToItems()
225 UINT idCmd = idCmdFirst; in InsertSendToItems()
243 if (idCmd == idCmdFirst) in InsertSendToItems()
250 return idCmd - idCmdFirst; in InsertSendToItems()
291 UINT idCmdFirst, in QueryContextMenu() argument
296 hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
299 return MAKE_HRESULT(SEVERITY_SUCCESS, 0, idCmdFirst); in QueryContextMenu()
308 UINT cItems = InsertSendToItems(hSubMenu, idCmdFirst, 0); in QueryContextMenu()
330 return MAKE_HRESULT(SEVERITY_SUCCESS, 0, idCmdFirst + cItems); in QueryContextMenu()
H A DCCopyMoveToMenu.cpp247 UINT idCmdFirst, in QueryContextMenu() argument
252 hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
253 return QueryContextMenuImpl(TRUE, hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
259 UINT idCmdFirst, in QueryContextMenu() argument
264 hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
265 return QueryContextMenuImpl(FALSE, hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
269 CCopyMoveToMenu::QueryContextMenuImpl(BOOL IsCopyOp, HMENU hMenu, UINT indexMenu, UINT idCmdFirst, … in QueryContextMenuImpl() argument
306 mii.wID = idCmdFirst + IDC_ACTION; in QueryContextMenuImpl()
312 …return idHighest >= idCmdFirst ? MAKE_HRESULT(SEVERITY_SUCCESS, 0, idHighest - idCmdFirst + 1) : E… in QueryContextMenuImpl()
H A DCCopyAsPathMenu.cpp107 CCopyAsPathMenu::QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UIN… in QueryContextMenu() argument
112 hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
123 mii.wID = idCmdFirst + IDC_COPYASPATH; in QueryContextMenu()
126 return MAKE_HRESULT(SEVERITY_SUCCESS, 0, mii.wID - idCmdFirst + 1); in QueryContextMenu()
H A DCCopyMoveToMenu.h34 …STDMETHODIMP QueryContextMenuImpl(BOOL IsCopyOp, HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UIN…
63 …STDMETHODIMP QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT u…
92 …STDMETHODIMP QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT u…
H A DCDefViewBckgrndMenu.cpp34 …STDMETHOD(QueryContextMenu)(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFl…
148 CDefViewBckgrndMenu::QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast,… in QueryContextMenu() argument
164 m_idCmdFirst = idCmdFirst; in QueryContextMenu()
169 hr = m_folderCM->QueryContextMenu(hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
H A DCDefaultContextMenu.cpp158 void TryPickDefault(HMENU hMenu, UINT idCmdFirst, UINT DfltOffset, UINT uFlags);
536 if (idCmdFirst + cIds >= idCmdLast) in AddShellExtensionsToMenu()
812 SetMenuDefaultItem(hMenu, idCmdFirst, MF_BYCOMMAND); in TryPickDefault()
820 UINT idCmdFirst, in QueryContextMenu() argument
825 UINT idCmdNext = idCmdFirst; in QueryContextMenu()
838 cIds = AddStaticContextMenusToMenu(hMenu, &IndexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
841 idCmdNext = idCmdFirst + cIds; in QueryContextMenu()
847 idCmdNext = idCmdFirst + cIds; in QueryContextMenu()
854 UINT added = qcminfo.idCmdFirst - idCmdNext; in QueryContextMenu()
859 idCmdNext = idCmdFirst + cIds; in QueryContextMenu()
[all …]
H A DCNewMenu.cpp323 CNewMenu::InsertShellNewItems(HMENU hMenu, UINT idCmdFirst, UINT Pos) in InsertShellNewItems() argument
326 UINT idCmd = idCmdFirst; in InsertShellNewItems()
388 return idCmd - idCmdFirst; in InsertShellNewItems()
632 UINT idCmdFirst, in QueryContextMenu() argument
641 hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
650 cItems = InsertShellNewItems(m_hSubMenu, idCmdFirst, 0); in QueryContextMenu()
H A DCCopyAsPathMenu.h27 …STDMETHODIMP QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT u…
H A DCOpenWithMenu.h49 …STDMETHOD(QueryContextMenu)(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFl…
H A DCSendToMenu.h87 …STDMETHODIMP QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT u…
/reactos/dll/shellext/netshell/
H A Dshfldr_netconnect.cpp472 UINT idCmdFirst, in QueryContextMenu() argument
484 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst, MFT_STRING, MAKEINTRESOURCEW(IDS_NET_ACTIVA… in QueryContextMenu()
489 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + 2, MFT_STRING, MAKEINTRESOURCEW(IDS_NET_ST… in QueryContextMenu()
491 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + 2, MFT_STRING, MAKEINTRESOURCEW(IDS_NET_ST… in QueryContextMenu()
493 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + 2, MFT_STRING, MAKEINTRESOURCEW(IDS_NET_ST… in QueryContextMenu()
496 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + 3, MFT_STRING, MAKEINTRESOURCEW(IDS_NET_RE… in QueryContextMenu()
498 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + 3, MFT_STRING, MAKEINTRESOURCEW(IDS_NET_RE… in QueryContextMenu()
501 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + 4, MFT_STRING, MAKEINTRESOURCEW(IDS_NET_CR… in QueryContextMenu()
504 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + 5, MFT_STRING, MAKEINTRESOURCEW(IDS_NET_DE… in QueryContextMenu()
506 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + 5, MFT_STRING, MAKEINTRESOURCEW(IDS_NET_DE… in QueryContextMenu()
[all …]
/reactos/base/shell/explorer/
H A Dstartctxmnu.cpp46 HRESULT CreateContextMenuFromShellFolderPidl(HMENU hPopup, UINT idCmdFirst, UINT idCmdLast) in CreateContextMenuFromShellFolderPidl() argument
58 idCmdFirst, in CreateContextMenuFromShellFolderPidl()
151 UINT idCmdFirst, in QueryContextMenu() argument
158 UINT idInnerFirst = idCmdFirst + INNERIDOFFSET; in QueryContextMenu()
184 if (idCmdLast - idCmdFirst >= ID_SHELL_CMD_LAST - ID_SHELL_CMD_FIRST) in QueryContextMenu()
/reactos/modules/rosapps/lib/vfdlib/
H A Dvfdshmenu.cpp109 UINT idCmdFirst, in QueryContextMenu() argument
146 idCmdFirst + VFD_CMD_DROP, in QueryContextMenu()
189 idCmdFirst + VFD_CMD_SAVE, in QueryContextMenu()
198 idCmdFirst + VFD_CMD_CLOSE, in QueryContextMenu()
207 idCmdFirst + VFD_CMD_PROTECT, in QueryContextMenu()
226 idCmdFirst + VFD_CMD_OPEN, in QueryContextMenu()
236 idCmdFirst + VFD_CMD_PROP, in QueryContextMenu()
H A Dvfdshext.h62 UINT idCmdFirst,
/reactos/dll/win32/browseui/shellbars/
H A DCBandSiteMenu.cpp226 HRESULT CBandSiteMenu::_AddISFBandToMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLa… in _AddISFBandToMenu() argument
250 UINT id = idCmdFirst + m_ComCatGuids.GetSize() + FIRST_COMCAT_MENU_ID + dwBandID; in _AddISFBandToMenu()
359 HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFlags) in QueryContextMenu() argument
366 …QueryContextMenu(%p, %p, %u, %u, %u, 0x%x)\n", this, hmenu, indexMenu, idCmdFirst, idCmdLast, uFla… in QueryContextMenu()
369 …idMax = Shell_MergeMenus(hmenu, m_hmenu, indexMenu, idCmdFirst, idCmdLast, MM_DONTREMOVESEPS | MM_… in QueryContextMenu()
389 … hr = _AddISFBandToMenu(hmenuToolbars, 0, idCmdFirst, idCmdLast, pBand, dwBandID, &menuID); in QueryContextMenu()
392 menuID -= idCmdFirst; in QueryContextMenu()
402 CheckMenuItem(hmenuToolbars, menuID + idCmdFirst, MF_CHECKED); in QueryContextMenu()
405 return MAKE_HRESULT(SEVERITY_SUCCESS, 0, USHORT(idMax - idCmdFirst +1)); in QueryContextMenu()
H A DCBandSiteMenu.h41 …HRESULT _AddISFBandToMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, IUnknown* …
57 …STDMETHOD(QueryContextMenu)(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFl…
H A DCISFBand.cpp638 …STDMETHODIMP CISFBand::QueryContextMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLa… in QueryContextMenu() argument
661 …UINT idMax = Shell_MergeMenus(hmenu, GetSubMenu(qMenu, 0), indexMenu, idCmdFirst, idCmdLast, MM_SU… in QueryContextMenu()
663 return MAKE_HRESULT(SEVERITY_SUCCESS, 0, USHORT(idMax - idCmdFirst +1)); in QueryContextMenu()
/reactos/dll/win32/shell32/folders/
H A DCRecycleBin.cpp145 …STDMETHOD(QueryContextMenu)(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFl…
364 … _InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + Count, MFT_STRING, szBuffer, MFS_ENABLED); in QueryContextMenu()
370 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + Count++, MFT_SEPARATOR, NULL, MFS_ENABLED); in QueryContextMenu()
372 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + Count++, MFT_STRING, szBuffer, MFS_ENABLED… in QueryContextMenu()
378 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + Count++, MFT_SEPARATOR, NULL, MFS_ENABLED); in QueryContextMenu()
379 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + Count++, MFT_STRING, szBuffer, MFS_ENABLED… in QueryContextMenu()
385 …_InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + Count++, MFT_SEPARATOR, NULL, MFS_ENABLED); in QueryContextMenu()
386 … _InsertMenuItemW(hMenu, indexMenu++, TRUE, idCmdFirst + Count, MFT_STRING, szBuffer, MFS_DEFAULT); in QueryContextMenu()
850 HRESULT WINAPI CRecycleBin::QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idC… in QueryContextMenu() argument
856 …TRACE("QueryContextMenu %p %p %u %u %u %u\n", this, hMenu, indexMenu, idCmdFirst, idCmdLast, uFlag… in QueryContextMenu()
[all …]
H A DCDrivesFolder.cpp349 UINT idCmdFirst = pqcminfo->idCmdFirst; in DrivesContextMenuCallback() local
354 idCmd = idCmdFirst + CMDID_FORMAT; in DrivesContextMenuCallback()
361 idCmd = idCmdFirst + CMDID_EJECT; in DrivesContextMenuCallback()
368 idCmd = idCmdFirst + CMDID_DISCONNECT; in DrivesContextMenuCallback()
375 pqcminfo->idCmdFirst = ++idCmd; in DrivesContextMenuCallback()
377 pqcminfo->idCmdFirst = (idCmd + 2); in DrivesContextMenuCallback()
1359 …pqcminfo->idCmdFirst = Shell_MergeMenus(pqcminfo->hmenu, hpopup, pqcminfo->indexMenu, pqcminfo->id… in CallBack()
/reactos/dll/shellext/zipfldr/
H A DCZipFolder.hpp364 pqcminfo->idCmdFirst, in ZipFolderMenuCallback()
370 pqcminfo->idCmdFirst += HRESULT_CODE(hr); in ZipFolderMenuCallback()
514 …STDMETHODIMP QueryContextMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT u… in QueryContextMenu() argument
516 UINT idCmd = idCmdFirst; in QueryContextMenu()
529 return MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, idCmd - idCmdFirst); in QueryContextMenu()
/reactos/dll/shellext/shellbtrfs/
H A Dcontextmenu.h70 …virtual HRESULT __stdcall QueryContextMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCm…
H A Dcontextmenu.cpp339 HRESULT __stdcall BtrfsContextMenu::QueryContextMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, … in QueryContextMenu() argument
354 if (!InsertMenuW(hmenu, indexMenu, MF_BYPOSITION, idCmdFirst, str.c_str())) in QueryContextMenu()
360 if (idCmdFirst + entries <= idCmdLast) { in QueryContextMenu()
373 mii.wID = idCmdFirst + entries; in QueryContextMenu()
385 if (!InsertMenuW(hmenu, indexMenu, MF_BYPOSITION, idCmdFirst, str.c_str())) in QueryContextMenu()
390 if (idCmdFirst + 1 <= idCmdLast) { in QueryContextMenu()
403 mii.wID = idCmdFirst + 1; in QueryContextMenu()
412 if (idCmdFirst + 2 <= idCmdLast && show_reflink_paste(path)) { in QueryContextMenu()
416 if (!InsertMenuW(hmenu, indexMenu + 2, MF_BYPOSITION, idCmdFirst + 2, str.c_str())) in QueryContextMenu()
/reactos/dll/win32/shell32/dialogs/
H A Ddrvdefext.h50 …STDMETHOD(QueryContextMenu)(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFl…
/reactos/base/shell/rshell/
H A DCQuickLaunchBand.cpp359 STDMETHODIMP CQuickLaunchBand::QueryContextMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst, UINT … in QueryContextMenu() argument
367 return pICM->QueryContextMenu(hmenu, indexMenu, idCmdFirst, idCmdLast, uFlags); in QueryContextMenu()
/reactos/dll/shellext/fontext/
H A DCFontMenu.cpp72 cmi.wID = pqcminfo->idCmdFirst++; in FontFolderMenuCallback()

123