[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:
Giannis Adamopoulos 2017-08-15 23:02:45 +00:00
parent cdcf2da12e
commit 40b5e9f4f8

View file

@ -3501,7 +3501,7 @@ HRESULT WINAPI SHInvokeCommand(HWND hWnd, IShellFolder* lpFolder, LPCITEMIDLIST
cmIci.cbSize = sizeof(cmIci);
cmIci.fMask = CMIC_MASK_ASYNCOK;
cmIci.hwnd = hWnd;
cmIci.lpVerb = MAKEINTRESOURCEA(dwCommandId);
cmIci.lpVerb = MAKEINTRESOURCEA(dwCommandId - 1);
cmIci.nShow = SW_SHOWNORMAL;
hRet = IContextMenu_InvokeCommand(iContext, &cmIci);