shell32: Implement SHRegQueryValueA with RegQueryValueA.

This commit is contained in:
Detlef Riekenberg 2006-10-12 19:41:53 +02:00 committed by Alexandre Julliard
parent ff82ce2424
commit 449dfadf51
2 changed files with 11 additions and 1 deletions

View File

@ -215,7 +215,7 @@
505 stdcall SHRegCloseKey (long)
506 stdcall SHRegOpenKeyA (long str long)
507 stdcall SHRegOpenKeyW (long wstr long)
508 stub SHRegQueryValueA
508 stdcall SHRegQueryValueA(long str ptr ptr)
509 stdcall SHRegQueryValueExA(long str ptr ptr ptr ptr)
510 stdcall SHRegQueryValueW (long long long long)
511 stdcall SHRegQueryValueExW (long wstr ptr ptr ptr ptr)

View File

@ -67,6 +67,16 @@ HRESULT WINAPI SHRegOpenKeyW (
return RegOpenKeyW( hkey, lpszSubKey, retkey );
}
/*************************************************************************
* SHRegQueryValueA [SHELL32.508]
*
*/
HRESULT WINAPI SHRegQueryValueA(HKEY hkey, LPSTR lpSubKey, LPSTR lpValue, LPDWORD lpcbValue)
{
TRACE("(%p %s %p %p)\n", hkey, debugstr_a(lpSubKey), lpValue, lpcbValue);
return RegQueryValueA(hkey, lpSubKey, lpValue, (LONG*)lpcbValue);
}
/*************************************************************************
* SHRegQueryValueExA [SHELL32.509]
*