Add SHMenuIndexFromID and SHCoCreateInstanceAC.

This commit is contained in:
Dmitry Timoshkov 2004-02-28 01:46:56 +00:00 committed by Alexandre Julliard
parent d0ed9fc604
commit 88e1f4e9cb
2 changed files with 21 additions and 2 deletions

View File

@ -3791,6 +3791,25 @@ INT WINAPI GetMenuPosFromID(HMENU hMenu, UINT wID)
return -1;
}
/*************************************************************************
* @ [SHLWAPI.179]
*
* Same as SHLWAPI.GetMenuPosFromID
*/
DWORD WINAPI SHMenuIndexFromID(HMENU hMenu, UINT uID)
{
return GetMenuPosFromID(hMenu, uID);
}
/*************************************************************************
* @ [SHLWAPI.549]
*/
HRESULT WINAPI SHCoCreateInstanceAC(REFCLSID rclsid, LPUNKNOWN pUnkOuter,
DWORD dwClsContext, REFIID iid, LPVOID *ppv)
{
return CoCreateInstance(rclsid, pUnkOuter, dwClsContext, iid, ppv);
}
/*************************************************************************
* SHSkipJunction [SHLWAPI.@]
*

View File

@ -176,7 +176,7 @@
176 stdcall -noname IUnknown_QueryService(ptr ptr ptr ptr)
177 stdcall -noname SHLoadMenuPopup(ptr wstr)
178 stdcall -noname SHPropagateMessage(ptr long long long long)
179 stub -noname SHMenuIndexFromID
179 stdcall -noname SHMenuIndexFromID(long long)
180 stdcall -noname SHRemoveAllSubMenus(long)
181 stdcall -noname SHEnableMenuItem(long long long)
182 stdcall -noname SHCheckMenuItem(long long long)
@ -542,7 +542,7 @@
546 stub -noname IUnknown_DoContextMenuPopup
548 stub -noname SHAreIconsEqual
549 stub -noname SHCoCreateInstanceAC
549 stdcall -noname SHCoCreateInstanceAC(ptr ptr long ptr ptr)
550 stub -noname GetTemplateInfoFroHandle
551 stub -noname IShellFolder_CompareIDs