Commit a7b3fd83 authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

Add @405/406, document URL functions.

Fix MLLoadLibraryW prototype.
parent 0239d6bb
......@@ -3453,7 +3453,7 @@ HMODULE WINAPI MLLoadLibraryA(LPCSTR new_mod, HMODULE inst_hwnd, DWORD dwFlags)
*
* Unicode version of MLLoadLibraryA.
*/
DWORD WINAPI MLLoadLibraryW(LPCWSTR new_mod, HMODULE inst_hwnd, DWORD dwFlags)
HMODULE WINAPI MLLoadLibraryW(LPCWSTR new_mod, HMODULE inst_hwnd, DWORD dwFlags)
{
WCHAR mod_path[2*MAX_PATH];
LPWSTR ptr;
......@@ -3464,9 +3464,9 @@ DWORD WINAPI MLLoadLibraryW(LPCWSTR new_mod, HMODULE inst_hwnd, DWORD dwFlags)
if (ptr) {
strcpyW(ptr+1, new_mod);
TRACE("loading %s\n", debugstr_w(mod_path));
return (DWORD)LoadLibraryW(mod_path);
return LoadLibraryW(mod_path);
}
return 0;
return NULL;
}
/*************************************************************************
......@@ -3629,15 +3629,6 @@ COLORREF WINAPI ColorHLSToRGB(WORD wHue, WORD wLuminosity, WORD wSaturation)
}
/*************************************************************************
* @ [SHLWAPI.406]
*/
DWORD WINAPI MLBuildResURLW(LPVOID u, LPVOID v, LPVOID w, LPVOID x, LPVOID y, LPVOID z)
{
FIXME("%p %p %p %p %p %p\n", u, v, w, x, y, z);
return 0;
}
/*************************************************************************
* @ [SHLWAPI.413]
*
* Get the current docking status of the system.
......@@ -3970,6 +3961,16 @@ BOOL WINAPI SHIsLowMemoryMachine (DWORD x)
/*************************************************************************
* GetMenuPosFromID [SHLWAPI.@]
*
* Return the position of a menu item from its Id.
*
* PARAMS
* hMenu [I] Menu containing the item
* wID [I] Id of the menu item
*
* RETURNS
* Success: The index of the menu item in hMenu.
* Failure: -1, If the item is not found.
*/
INT WINAPI GetMenuPosFromID(HMENU hMenu, UINT wID)
{
......
......@@ -402,8 +402,8 @@
402 stdcall -noname PrintDlgWrapW(ptr)
403 stdcall -noname GetOpenFileNameWrapW(ptr)
404 stub -noname IShellFolder_EnumObjects
405 stub -noname MLBuildResURLA
406 stdcall -noname MLBuildResURLW(ptr ptr ptr ptr ptr ptr)
405 stdcall -noname MLBuildResURLA(str ptr long str ptr long)
406 stdcall -noname MLBuildResURLW(wstr ptr long wstr ptr long)
407 stub -noname AssocMakeProgid
408 stub -noname AssocMakeShell
409 stub -noname AssocMakeApplicationByKeyW
......
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