Go to the source code of this file.
◆ START_TEST()
Definition at line 10 of file RegEnumKey.c.
11{
17
18
21
22
26
27
28 nameLen = 1;
32 ok_hex(nameBuf[0], 0x5555);
33 ok_hex(nameBuf[1], 0x5555);
35
36
37 nameLen = 2;
43 ok_hex(nameBuf[2], 0x5555);
45
46
49
50
54
55
57 nameLen = 2;
60 ok_hex(nameBuf[0], 0x5555);
61 ok_hex(nameBuf[1], 0x5555);
62 ok(nameLen == 2,
"nameLen = %ld, expected 2\n", nameLen);
63
64
66 nameLen = 3;
72 ok_hex(nameBuf[3], 0x5555);
73 ok(nameLen == 2,
"nameLen = %ld, expected 2\n", nameLen);
74
75
78
79
83}
#define ok_hex(expression, result)
#define ok_dec(expression, result)
#define RegCloseKey(hKey)
LONG WINAPI RegCreateKeyExW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ LPDWORD lpdwDisposition)
LONG WINAPI RegEnumKeyExW(_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_ LPWSTR lpName, _Inout_ LPDWORD lpcbName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPWSTR lpClass, _Inout_opt_ LPDWORD lpcbClass, _Out_opt_ PFILETIME lpftLastWriteTime)
LONG WINAPI RegDeleteKeyW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey)
#define FillMemory(BUF, SIZ, MASK)
_In_ NDIS_ERROR_CODE ErrorCode
#define KEY_CREATE_SUB_KEY
#define KEY_ENUMERATE_SUB_KEYS
#define HKEY_CURRENT_USER