Commit bc94cbb5 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

Implement SHLoadRegUIStringW.

parent 3ca45f8e
......@@ -3993,6 +3993,19 @@ BOOL WINAPI IsOS(DWORD feature)
}
/*************************************************************************
* @ [SHLWAPI.439]
*/
HRESULT WINAPI SHLoadRegUIStringW(HKEY hkey, LPCWSTR value, LPWSTR buf, DWORD size)
{
DWORD type, sz = size;
if(RegQueryValueExW(hkey, value, NULL, &type, (LPBYTE)buf, &sz) != ERROR_SUCCESS)
return E_FAIL;
return SHLoadIndirectString(buf, buf, size, NULL);
}
/*************************************************************************
* @ [SHLWAPI.478]
*
* Call IInputObject_TranslateAcceleratorIO() on an object.
......
......@@ -436,7 +436,7 @@
436 stdcall -noname CLSIDFromStringWrap(wstr ptr)
437 stdcall -noname IsOS(long)
438 stub -noname SHLoadRegUIStringA
439 stub -noname SHLoadRegUIStringW
439 stdcall -noname SHLoadRegUIStringW(ptr wstr ptr long)
440 stdcall -noname SHGetWebFolderFilePathA(str ptr long)
441 stdcall -noname SHGetWebFolderFilePathW(wstr ptr long)
442 stdcall @(wstr ptr long) kernel32.GetEnvironmentVariableW
......
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