mirror of
https://github.com/reactos/reactos.git
synced 2024-08-11 21:58:10 +00:00
[SHLWAPI] -Addendum to 75533. Pass the id offset to IContextMenu::InvokeCommand. Fixes launching applications from the start menu. CORE-13680
svn path=/trunk/; revision=75561
This commit is contained in:
parent
cdcf2da12e
commit
40b5e9f4f8
|
@ -3501,7 +3501,7 @@ HRESULT WINAPI SHInvokeCommand(HWND hWnd, IShellFolder* lpFolder, LPCITEMIDLIST
|
||||||
cmIci.cbSize = sizeof(cmIci);
|
cmIci.cbSize = sizeof(cmIci);
|
||||||
cmIci.fMask = CMIC_MASK_ASYNCOK;
|
cmIci.fMask = CMIC_MASK_ASYNCOK;
|
||||||
cmIci.hwnd = hWnd;
|
cmIci.hwnd = hWnd;
|
||||||
cmIci.lpVerb = MAKEINTRESOURCEA(dwCommandId);
|
cmIci.lpVerb = MAKEINTRESOURCEA(dwCommandId - 1);
|
||||||
cmIci.nShow = SW_SHOWNORMAL;
|
cmIci.nShow = SW_SHOWNORMAL;
|
||||||
|
|
||||||
hRet = IContextMenu_InvokeCommand(iContext, &cmIci);
|
hRet = IContextMenu_InvokeCommand(iContext, &cmIci);
|
||||||
|
|
Loading…
Reference in a new issue