Commit 88e1f4e9 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Add SHMenuIndexFromID and SHCoCreateInstanceAC.

parent d0ed9fc6
...@@ -3792,6 +3792,25 @@ INT WINAPI GetMenuPosFromID(HMENU hMenu, UINT wID) ...@@ -3792,6 +3792,25 @@ INT WINAPI GetMenuPosFromID(HMENU hMenu, UINT wID)
} }
/************************************************************************* /*************************************************************************
* @ [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.@] * SHSkipJunction [SHLWAPI.@]
* *
* Determine if a bind context can be bound to an object * Determine if a bind context can be bound to an object
......
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 stdcall -noname IUnknown_QueryService(ptr ptr ptr ptr) 176 stdcall -noname IUnknown_QueryService(ptr ptr ptr ptr)
177 stdcall -noname SHLoadMenuPopup(ptr wstr) 177 stdcall -noname SHLoadMenuPopup(ptr wstr)
178 stdcall -noname SHPropagateMessage(ptr long long long long) 178 stdcall -noname SHPropagateMessage(ptr long long long long)
179 stub -noname SHMenuIndexFromID 179 stdcall -noname SHMenuIndexFromID(long long)
180 stdcall -noname SHRemoveAllSubMenus(long) 180 stdcall -noname SHRemoveAllSubMenus(long)
181 stdcall -noname SHEnableMenuItem(long long long) 181 stdcall -noname SHEnableMenuItem(long long long)
182 stdcall -noname SHCheckMenuItem(long long long) 182 stdcall -noname SHCheckMenuItem(long long long)
...@@ -542,7 +542,7 @@ ...@@ -542,7 +542,7 @@
546 stub -noname IUnknown_DoContextMenuPopup 546 stub -noname IUnknown_DoContextMenuPopup
548 stub -noname SHAreIconsEqual 548 stub -noname SHAreIconsEqual
549 stub -noname SHCoCreateInstanceAC 549 stdcall -noname SHCoCreateInstanceAC(ptr ptr long ptr ptr)
550 stub -noname GetTemplateInfoFroHandle 550 stub -noname GetTemplateInfoFroHandle
551 stub -noname IShellFolder_CompareIDs 551 stub -noname IShellFolder_CompareIDs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment