Go to the source code of this file.
◆ START_TEST()
Definition at line 10 of file NtQueryOpenSubKeys.c.
11{
19
20
23
24
26 &RegistryKey,
30
31
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
51 "STATUS_ACCESS_VIOLATION or STATUS_INVALID_PARAMETER expected, got 0x%lx\n",
Status);
52
53
56
57
60
61 trace(
"\\Registry has %lu opened subkeys\n", Subkeys);
62
63
65 &SystemKey,
69
70
73
74 trace(
"\\Registry\\Machine\\SYSTEM has %lu opened subkeys\n", Subkeys);
75
76
78 &SoftwareKey,
82
83
86
87 trace(
"\\Registry\\Machine\\SOFTWARE has %lu opened subkeys\n", Subkeys);
88
89
91 &DefaultUserKey,
95
96
99
100 trace(
"\\Registry\\User\\.DEFAULT has %lu opened subkeys\n", Subkeys);
101}
#define ok_ntstatus(status, expected)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
#define OBJ_CASE_INSENSITIVE
#define InitializeObjectAttributes(p, n, a, r, s)
NTSTATUS NTAPI NtQueryOpenSubKeys(IN POBJECT_ATTRIBUTES TargetKey, OUT PULONG HandleCount)
#define STATUS_ACCESS_VIOLATION
#define RTL_CONSTANT_STRING(s)
#define STATUS_INVALID_PARAMETER