Converted to the new debug interface, using script written by Patrik
[wine/multimedia.git] / dlls / ntdll / reg.c
blobd8cc6646d5a561eb98c87de2b4d0f41d93c273cf
1 /*
2 * registry functions
3 */
5 #include "debugtools.h"
6 #include "winreg.h"
8 #include "ntddk.h"
10 DEFAULT_DEBUG_CHANNEL(ntdll)
13 /******************************************************************************
14 * NtCreateKey [NTDLL]
15 * ZwCreateKey
17 NTSTATUS WINAPI NtCreateKey(
18 PHANDLE KeyHandle,
19 ACCESS_MASK DesiredAccess,
20 POBJECT_ATTRIBUTES ObjectAttributes,
21 ULONG TitleIndex,
22 PUNICODE_STRING Class,
23 ULONG CreateOptions,
24 PULONG Disposition)
26 FIXME("(%p,0x%08lx,%p (%s),0x%08lx, %p(%s),0x%08lx,%p),stub!\n",
27 KeyHandle, DesiredAccess, ObjectAttributes,debugstr_w(ObjectAttributes->ObjectName->Buffer),
28 TitleIndex, Class, debugstr_w(Class->Buffer), CreateOptions, Disposition);
29 return 0;
32 /******************************************************************************
33 * NtDeleteKey [NTDLL]
34 * ZwDeleteKey
36 NTSTATUS NtDeleteKey(HANDLE KeyHandle)
38 FIXME("(0x%08x) stub!\n",
39 KeyHandle);
40 return 1;
43 /******************************************************************************
44 * NtDeleteValueKey [NTDLL]
45 * ZwDeleteValueKey
47 NTSTATUS WINAPI NtDeleteValueKey(
48 IN HANDLE KeyHandle,
49 IN PUNICODE_STRING ValueName)
51 FIXME("(0x%08x,%p(%s)) stub!\n",
52 KeyHandle, ValueName,debugstr_w(ValueName->Buffer));
53 return 1;
56 /******************************************************************************
57 * NtEnumerateKey [NTDLL]
58 * ZwEnumerateKey
60 NTSTATUS WINAPI NtEnumerateKey(
61 HANDLE KeyHandle,
62 ULONG Index,
63 KEY_INFORMATION_CLASS KeyInformationClass,
64 PVOID KeyInformation,
65 ULONG Length,
66 PULONG ResultLength)
68 FIXME("(0x%08x,0x%08lx,0x%08x,%p,0x%08lx,%p) stub\n",
69 KeyHandle, Index, KeyInformationClass, KeyInformation, Length, ResultLength);
70 return 1;
73 /******************************************************************************
74 * NtEnumerateValueKey [NTDLL]
75 * ZwEnumerateValueKey
77 NTSTATUS WINAPI NtEnumerateValueKey(
78 HANDLE KeyHandle,
79 ULONG Index,
80 KEY_VALUE_INFORMATION_CLASS KeyInformationClass,
81 PVOID KeyInformation,
82 ULONG Length,
83 PULONG ResultLength)
85 FIXME("(0x%08x,0x%08lx,0x%08x,%p,0x%08lx,%p) stub!\n",
86 KeyHandle, Index, KeyInformationClass, KeyInformation, Length, ResultLength);
87 return 1;
90 /******************************************************************************
91 * NtFlushKey [NTDLL]
92 * ZwFlushKey
94 NTSTATUS NtFlushKey(HANDLE KeyHandle)
96 FIXME("(0x%08x) stub!\n",
97 KeyHandle);
98 return 1;
101 /******************************************************************************
102 * NtLoadKey [NTDLL]
103 * ZwLoadKey
105 NTSTATUS WINAPI NtLoadKey(
106 PHANDLE KeyHandle,
107 POBJECT_ATTRIBUTES ObjectAttributes)
109 FIXME("(%p,%p (%s)),stub!\n",
110 KeyHandle, ObjectAttributes,debugstr_w(ObjectAttributes->ObjectName->Buffer));
111 return 0;
115 /******************************************************************************
116 * NtNotifyChangeKey [NTDLL]
117 * ZwNotifyChangeKey
119 NTSTATUS WINAPI NtNotifyChangeKey(
120 IN HANDLE KeyHandle,
121 IN HANDLE Event,
122 IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
123 IN PVOID ApcContext OPTIONAL,
124 OUT PIO_STATUS_BLOCK IoStatusBlock,
125 IN ULONG CompletionFilter,
126 IN BOOLEAN Asynchroneous,
127 OUT PVOID ChangeBuffer,
128 IN ULONG Length,
129 IN BOOLEAN WatchSubtree)
131 FIXME("(0x%08x,0x%08x,%p,%p,%p,0x%08lx, 0x%08x,%p,0x%08lx,0x%08x) stub!\n",
132 KeyHandle, Event, ApcRoutine, ApcContext, IoStatusBlock, CompletionFilter,
133 Asynchroneous, ChangeBuffer, Length, WatchSubtree);
134 return 0;
138 /******************************************************************************
139 * NtOpenKey [NTDLL.129]
140 * ZwOpenKey
141 * OUT PHANDLE KeyHandle,
142 * IN ACCESS_MASK DesiredAccess,
143 * IN POBJECT_ATTRIBUTES ObjectAttributes
145 NTSTATUS WINAPI NtOpenKey(
146 PHANDLE KeyHandle,
147 ACCESS_MASK DesiredAccess,
148 POBJECT_ATTRIBUTES ObjectAttributes)
150 FIXME("(%p,0x%08lx,%p (%s)),stub!\n",
151 KeyHandle, DesiredAccess, ObjectAttributes,debugstr_w(ObjectAttributes->ObjectName->Buffer));
152 return 0;
155 /******************************************************************************
156 * NtQueryKey [NTDLL]
157 * ZwQueryKey
159 NTSTATUS WINAPI NtQueryKey(
160 HANDLE KeyHandle,
161 KEY_INFORMATION_CLASS KeyInformationClass,
162 PVOID KeyInformation,
163 ULONG Length,
164 PULONG ResultLength)
166 FIXME("(0x%08x,0x%08x,%p,0x%08lx,%p) stub\n",
167 KeyHandle, KeyInformationClass, KeyInformation, Length, ResultLength);
168 return 0;
171 /******************************************************************************
172 * NtQueryMultipleValueKey [NTDLL]
173 * ZwQueryMultipleValueKey
176 NTSTATUS WINAPI NtQueryMultipleValueKey(
177 HANDLE KeyHandle,
178 PVALENTW ListOfValuesToQuery,
179 ULONG NumberOfItems,
180 PVOID MultipleValueInformation,
181 ULONG Length,
182 PULONG ReturnLength)
184 FIXME("(0x%08x,%p,0x%08lx,%p,0x%08lx,%p) stub!\n",
185 KeyHandle, ListOfValuesToQuery, NumberOfItems, MultipleValueInformation,
186 Length,ReturnLength);
187 return 0;
190 /******************************************************************************
191 * NtQueryValueKey [NTDLL]
192 * ZwQueryValueKey
194 NTSTATUS WINAPI NtQueryValueKey(
195 HANDLE KeyHandle,
196 PUNICODE_STRING ValueName,
197 KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass,
198 PVOID KeyValueInformation,
199 ULONG Length,
200 PULONG ResultLength)
202 FIXME("(0x%08x,%p,0x%08x,%p,0x%08lx,%p) stub\n",
203 KeyHandle, ValueName, KeyValueInformationClass, KeyValueInformation, Length, ResultLength);
204 return 0;
207 /******************************************************************************
208 * NtReplaceKey [NTDLL]
209 * ZwReplaceKey
211 NTSTATUS WINAPI NtReplaceKey(
212 IN POBJECT_ATTRIBUTES ObjectAttributes,
213 IN HANDLE Key,
214 IN POBJECT_ATTRIBUTES ReplacedObjectAttributes)
216 FIXME("(%p(%s),0x%08x,%p (%s)),stub!\n",
217 ObjectAttributes,debugstr_w(ObjectAttributes->ObjectName->Buffer),Key,
218 ReplacedObjectAttributes,debugstr_w(ReplacedObjectAttributes->ObjectName->Buffer));
219 return 0;
222 /******************************************************************************
223 * NtRestoreKey [NTDLL]
224 * ZwRestoreKey
226 NTSTATUS WINAPI NtRestoreKey(
227 HANDLE KeyHandle,
228 HANDLE FileHandle,
229 ULONG RestoreFlags)
231 FIXME("(0x%08x,0x%08x,0x%08lx) stub\n",
232 KeyHandle, FileHandle, RestoreFlags);
233 return 0;
236 /******************************************************************************
237 * NtSaveKey [NTDLL]
238 * ZwSaveKey
240 NTSTATUS WINAPI NtSaveKey(
241 IN HANDLE KeyHandle,
242 IN HANDLE FileHandle)
244 FIXME("(0x%08x,0x%08x) stub\n",
245 KeyHandle, FileHandle);
246 return 0;
248 /******************************************************************************
249 * NtSetInformationKey [NTDLL]
250 * ZwSetInformationKey
252 NTSTATUS WINAPI NtSetInformationKey(
253 IN HANDLE KeyHandle,
254 IN const int KeyInformationClass,
255 IN PVOID KeyInformation,
256 IN ULONG KeyInformationLength)
258 FIXME("(0x%08x,0x%08x,%p,0x%08lx) stub\n",
259 KeyHandle, KeyInformationClass, KeyInformation, KeyInformationLength);
260 return 0;
262 /******************************************************************************
263 * NtSetValueKey [NTDLL]
264 * ZwSetValueKey
266 NTSTATUS WINAPI NtSetValueKey(
267 HANDLE KeyHandle,
268 PUNICODE_STRING ValueName,
269 ULONG TitleIndex,
270 ULONG Type,
271 PVOID Data,
272 ULONG DataSize)
274 FIXME("(0x%08x,%p(%s), 0x%08lx, 0x%08lx, %p, 0x%08lx) stub!\n",
275 KeyHandle, ValueName,debugstr_w(ValueName->Buffer), TitleIndex, Type, Data, DataSize);
276 return 1;
280 /******************************************************************************
281 * NtUnloadKey [NTDLL]
282 * ZwUnloadKey
284 NTSTATUS WINAPI NtUnloadKey(
285 IN HANDLE KeyHandle)
287 FIXME("(0x%08x) stub\n",
288 KeyHandle);
289 return 0;