Implement SHLoadRegUIStringW.
This commit is contained in:
parent
3ca45f8e89
commit
bc94cbb50c
|
@ -3992,6 +3992,19 @@ BOOL WINAPI IsOS(DWORD feature)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* @ [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]
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue