19{
23
27 {
28 cbSd = 0x55555555;
29 ret =
RegQueryInfoKeyW(
hKey,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL, &cbSd,
NULL);
31 if (ExpectSd)
32 ok_(
File,
Line)(cbSd != 0 && cbSd != 0x55555555,
"RegQueryInfoKeyW - cbSd = %lu\n", cbSd);
33 else
34 ok_(
File,
Line)(cbSd == 0,
"RegQueryInfoKeyW - cbSd = %lu\n", cbSd);
35
36 cbSd = 0x55555555;
37 ret =
RegQueryInfoKeyA(
hKey,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL, &cbSd,
NULL);
39 if (ExpectSd)
40 ok_(
File,
Line)(cbSd != 0 && cbSd != 0x55555555,
"RegQueryInfoKeyA - cbSd = %lu\n", cbSd);
41 else
42 ok_(
File,
Line)(cbSd == 0,
"RegQueryInfoKeyA - cbSd = %lu\n", cbSd);
45 }
46 else
47 {
49 }
50}
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegQueryInfoKeyA(HKEY hKey, LPSTR lpClass, LPDWORD lpcClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcMaxSubKeyLen, LPDWORD lpcMaxClassLen, LPDWORD lpcValues, LPDWORD lpcMaxValueNameLen, LPDWORD lpcMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
LONG WINAPI RegQueryInfoKeyW(HKEY hKey, LPWSTR lpClass, LPDWORD lpcClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcMaxSubKeyLen, LPDWORD lpcMaxClassLen, LPDWORD lpcValues, LPDWORD lpcMaxValueNameLen, LPDWORD lpcMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
#define skip_(test, file, line,...)
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
#define HKEY_LOCAL_MACHINE