ReactOS  0.4.12-dev-914-g71f84a3
cmfuncs.h
Go to the documentation of this file.
1 /*++ NDK Version: 0098
2 
3 Copyright (c) Alex Ionescu. All rights reserved.
4 
5 Header Name:
6 
7  cmfuncs.h
8 
9 Abstract:
10 
11  Function definitions for the Configuration Manager.
12 
13 Author:
14 
15  Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
16 
17 --*/
18 
19 #ifndef _CMFUNCS_H
20 #define _CMFUNCS_H
21 
22 //
23 // Dependencies
24 //
25 #include <umtypes.h>
26 #include <cmtypes.h>
27 
28 //
29 // Native calls
30 //
32 NTAPI
35  _In_reads_(Count) PHANDLE KeyArray
36 );
37 
39 NTAPI
42 );
43 
47 NTAPI
56 );
57 
60 NTAPI
63 );
64 
67 NTAPI
71 );
72 
75 NTAPI
80  _Out_bytecap_(Length) PVOID KeyInformation,
83 );
84 
86 _When_(Length == 0, _Post_satisfies_(return < 0))
90 NTAPI
95  _Out_writes_bytes_opt_(Length) PVOID KeyValueInformation,
98 );
99 
101 NTSTATUS
102 NTAPI
103 NtFlushKey(
105 );
106 
108 NTSTATUS
109 NTAPI
115 );
116 
118 NTSTATUS
119 NTAPI
122 );
123 
125 NTSTATUS
126 NTAPI
127 NtLoadKey(
128  _In_ POBJECT_ATTRIBUTES KeyObjectAttributes,
129  _In_ POBJECT_ATTRIBUTES FileObjectAttributes
130 );
131 
133 NTSTATUS
134 NTAPI
135 NtLoadKey2(
136  _In_ POBJECT_ATTRIBUTES KeyObjectAttributes,
137  _In_ POBJECT_ATTRIBUTES FileObjectAttributes,
139 );
140 
141 NTSTATUS
142 NTAPI
144  _In_ POBJECT_ATTRIBUTES TargetKey,
145  _In_ POBJECT_ATTRIBUTES SourceFile,
146  _In_ ULONG Flags,
147  _In_ HANDLE TrustClassKey
148 );
149 
150 NTSTATUS
151 NTAPI
153  _In_ PULONG pPrivateVer,
154  _In_ PULONG pSafeMode
155 );
156 
157 NTSTATUS
158 NTAPI
161 );
162 
164 NTSTATUS
165 NTAPI
168  _In_ HANDLE Event,
173  _In_ BOOLEAN Asynchroneous,
174  _Out_bytecap_(Length) PVOID ChangeBuffer,
175  _In_ ULONG Length,
177 );
178 
181 NTSTATUS
182 NTAPI
184  _In_ HANDLE MasterKeyHandle,
186  _In_reads_opt_(Count) OBJECT_ATTRIBUTES SubordinateObjects[],
196 );
197 
199 NTSTATUS
200 NTAPI
201 NtOpenKey(
205 );
206 
208 NTSTATUS
209 NTAPI
211  _In_ PLUGPLAY_CONTROL_CLASS PlugPlayControlClass,
214 );
215 
217 NTSTATUS
218 NTAPI
219 NtQueryKey(
222  _Out_bytecap_(Length) PVOID KeyInformation,
223  _In_ ULONG Length,
225 );
226 
229 NTSTATUS
230 NTAPI
233  _Inout_updates_(EntryCount) PKEY_VALUE_ENTRY ValueEntries,
234  _In_ ULONG EntryCount,
235  _Out_writes_bytes_(*BufferLength) PVOID ValueBuffer,
237  _Out_opt_ PULONG RequiredBufferLength
238 );
239 
240 NTSTATUS
241 NTAPI
243  _In_ POBJECT_ATTRIBUTES TargetKey,
244  _Out_ PULONG HandleCount
245 );
246 
247 NTSTATUS
248 NTAPI
250  _In_ POBJECT_ATTRIBUTES TargetKey,
252  _In_ PVOID Buffer,
254 );
255 
259 NTSYSAPI
260 NTSTATUS
261 NTAPI
266  _Out_writes_bytes_opt_(Length) PVOID KeyValueInformation,
267  _In_ ULONG Length,
269 );
270 
272 NTSTATUS
273 NTAPI
277 );
278 
280 NTSTATUS
281 NTAPI
284  _In_ HANDLE Key,
285  _In_ POBJECT_ATTRIBUTES ReplacedObjectAttributes
286 );
287 
289 NTSTATUS
290 NTAPI
294  _In_ ULONG RestoreFlags
295 );
296 
298 NTSTATUS
299 NTAPI
300 NtSaveKey(
303 );
304 
306 NTSTATUS
307 NTAPI
312 );
313 
314 
315 NTSTATUS
316 NTAPI
318  _In_ HANDLE HighPrecedenceKeyHandle,
319  _In_ HANDLE LowPrecedenceKeyHandle,
321 );
322 
325 NTSTATUS
326 NTAPI
330  KEY_SET_INFORMATION_CLASS KeySetInformationClass,
333 );
334 
336 NTSTATUS
337 NTAPI
342  _In_ ULONG Type,
343  _In_ PVOID Data,
345 );
346 
348 NTSTATUS
349 NTAPI
351  _In_ POBJECT_ATTRIBUTES KeyObjectAttributes
352 );
353 
354 NTSTATUS
355 NTAPI
357  _In_ POBJECT_ATTRIBUTES TargetKey,
359 );
360 
361 NTSTATUS
362 NTAPI
364  _In_ POBJECT_ATTRIBUTES TargetKey,
366 );
367 
368 #ifdef NTOS_MODE_USER
370 NTSYSAPI
371 NTSTATUS
372 NTAPI
373 ZwCreateKey(
381 );
382 
383 NTSYSAPI
384 NTSTATUS
385 NTAPI
386 ZwDeleteKey(
388 );
389 
390 NTSYSAPI
391 NTSTATUS
392 NTAPI
393 ZwDeleteValueKey(
396 );
397 
398 NTSYSAPI
399 NTSTATUS
400 NTAPI
401 ZwEnumerateKey(
403  _In_ ULONG Index,
405  _Out_bytecap_(Length) PVOID KeyInformation,
406  _In_ ULONG Length,
408 );
409 
411 _When_(Length == 0, _Post_satisfies_(return < 0))
413 NTSYSAPI
414 NTSTATUS
415 NTAPI
416 ZwEnumerateValueKey(
418  _In_ ULONG Index,
420  _Out_writes_bytes_opt_(Length) PVOID KeyValueInformation,
421  _In_ ULONG Length,
423 );
424 
425 NTSYSAPI
426 NTSTATUS
427 NTAPI
428 ZwFlushKey(
430 );
431 
432 NTSYSAPI
433 NTSTATUS
434 NTAPI
435 ZwGetPlugPlayEvent(
440 );
441 
442 NTSYSAPI
443 NTSTATUS
444 NTAPI
445 ZwLoadKey(
446  _In_ POBJECT_ATTRIBUTES KeyObjectAttributes,
447  _In_ POBJECT_ATTRIBUTES FileObjectAttributes
448 );
449 
450 NTSYSAPI
451 NTSTATUS
452 NTAPI
453 ZwLoadKey2(
454  _In_ POBJECT_ATTRIBUTES KeyObjectAttributes,
455  _In_ POBJECT_ATTRIBUTES FileObjectAttributes,
457 );
458 
459 NTSYSAPI
460 NTSTATUS
461 NTAPI
462 ZwNotifyChangeKey(
464  _In_ HANDLE Event,
469  _In_ BOOLEAN Asynchroneous,
470  _Out_bytecap_(Length) PVOID ChangeBuffer,
471  _In_ ULONG Length,
473 );
474 
475 NTSYSAPI
476 NTSTATUS
477 NTAPI
478 ZwOpenKey(
482 );
483 
484 NTSYSAPI
485 NTSTATUS
486 NTAPI
487 ZwPlugPlayControl(
488  _In_ PLUGPLAY_CONTROL_CLASS PlugPlayControlClass,
491 );
492 
493 NTSYSAPI
494 NTSTATUS
495 NTAPI
496 ZwQueryKey(
499  _Out_bytecap_(Length) PVOID KeyInformation,
500  _In_ ULONG Length,
502 );
503 
504 NTSYSAPI
505 NTSTATUS
506 NTAPI
509  _Inout_ PKEY_VALUE_ENTRY ValueList,
510  _In_ ULONG NumberOfValues,
514 );
515 
519 NTSYSAPI
520 NTSTATUS
521 NTAPI
522 ZwQueryValueKey(
526  _Out_writes_bytes_opt_(Length) PVOID KeyValueInformation,
527  _In_ ULONG Length,
529 );
530 
531 NTSYSAPI
532 NTSTATUS
533 NTAPI
536  _In_ HANDLE Key,
537  _In_ POBJECT_ATTRIBUTES ReplacedObjectAttributes
538 );
539 
540 NTSYSAPI
541 NTSTATUS
542 NTAPI
543 ZwRestoreKey(
546  _In_ ULONG RestoreFlags
547 );
548 
549 NTSYSAPI
550 NTSTATUS
551 NTAPI
552 ZwSaveKey(
555 );
556 
557 NTSYSAPI
558 NTSTATUS
559 NTAPI
560 ZwSaveKeyEx(
564 );
565 
566 NTSYSAPI
567 NTSTATUS
568 NTAPI
569 ZwSetInformationKey(
572  _In_bytecount_(KeyInformationLength) PVOID KeyInformation,
573  _In_ ULONG KeyInformationLength
574 );
575 
576 NTSYSAPI
577 NTSTATUS
578 NTAPI
579 ZwSetValueKey(
583  _In_ ULONG Type,
586 );
587 #endif
588 
589 NTSYSAPI
590 NTSTATUS
591 NTAPI
594 );
595 
596 NTSYSAPI
597 NTSTATUS
598 NTAPI
600  _In_ POBJECT_ATTRIBUTES KeyObjectAttributes
601 );
602 
603 #endif
IN CINT OUT PVOID IN ULONG OUT PULONG ReturnLength
Definition: dumpinfo.c:39
return
Definition: dirsup.c:529
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID ApcContext
Definition: iofuncs.h:719
_In_ ACCESS_MASK DesiredAccess
Definition: cmfuncs.h:50
VOID(* PIO_APC_ROUTINE)(IN PVOID ApcContext, IN PIO_STATUS_BLOCK IoStatusBlock, IN ULONG Reserved)
Definition: nt_native.h:877
NTSYSCALLAPI NTSTATUS NTAPI NtOpenKey(_Out_ PHANDLE KeyHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSTATUS NTAPI NtCreateKey(OUT PHANDLE KeyHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes, IN ULONG TitleIndex, IN PUNICODE_STRING Class OPTIONAL, IN ULONG CreateOptions, OUT PULONG Disposition OPTIONAL)
Definition: ntapi.c:240
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG TitleIndex
Definition: cmfuncs.h:50
Type
Definition: Type.h:6
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
Definition: ndis.h:4693
_In_ ULONG _In_ KEY_INFORMATION_CLASS KeyInformationClass
Definition: zwfuncs.h:166
enum _KEY_INFORMATION_CLASS KEY_INFORMATION_CLASS
NTSYSCALLAPI NTSTATUS NTAPI NtLoadKey2(_In_ POBJECT_ATTRIBUTES KeyObjectAttributes, _In_ POBJECT_ATTRIBUTES FileObjectAttributes, _In_ ULONG Flags)
_In_ ULONG Index
Definition: cmfuncs.h:93
NTSYSAPI NTSTATUS NTAPI ZwReplaceKey(_In_ POBJECT_ATTRIBUTES NewFileObjectAttributes, _In_ HANDLE KeyHandle, _In_ POBJECT_ATTRIBUTES OldFileObjectAttributes)
#define _In_reads_(size)
Definition: no_sal2.h:228
NTSYSCALLAPI NTSTATUS NTAPI NtSaveKeyEx(_In_ HANDLE KeyHandle, _In_ HANDLE FileHandle, _In_ ULONG Flags)
LONG NTSTATUS
Definition: precomp.h:26
_In_ ULONG _In_ KEY_VALUE_INFORMATION_CLASS _Out_writes_bytes_opt_(Length) PVOID KeyValueInformation
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
_Inout_ PLIST_ENTRY _In_ PVOID _In_ PSTRING _In_ BOOLEAN WatchTree
Definition: fltkernel.h:2239
#define NTSYSCALLAPI
Definition: ntbasedef.h:204
NTSYSCALLAPI NTSTATUS NTAPI NtReplaceKey(_In_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ HANDLE Key, _In_ POBJECT_ATTRIBUTES ReplacedObjectAttributes)
#define NTSYSAPI
Definition: ntoskrnl.h:14
NTSYSAPI NTSTATUS NTAPI ZwUnloadKey(_In_ POBJECT_ATTRIBUTES KeyObjectAttributes)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG _In_opt_ PUNICODE_STRING _In_ ULONG CreateOptions
Definition: cmfuncs.h:50
#define _Inout_bytecap_(size)
Definition: no_sal2.h:245
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG _In_opt_ PUNICODE_STRING _In_ ULONG _Out_opt_ PULONG Disposition
Definition: cmfuncs.h:50
NTSYSCALLAPI NTSTATUS NTAPI NtRenameKey(_In_ HANDLE KeyHandle, _In_ PUNICODE_STRING NewName)
#define _In_opt_
Definition: no_sal2.h:213
enum _PLUGPLAY_CONTROL_CLASS PLUGPLAY_CONTROL_CLASS
NTSTATUS NTAPI NtUnloadKeyEx(_In_ POBJECT_ATTRIBUTES TargetKey, _In_ HANDLE Event)
_In_ PUNICODE_STRING ValueName
Definition: cmfuncs.h:264
HANDLE FileHandle
Definition: stats.c:38
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_In_ SYSTEM_POWER_STATE _In_ ULONG _In_ BOOLEAN Asynchronous
Definition: ntpoapi.h:303
_IRQL_requires_max_(PASSIVE_LEVEL) NTSYSAPI NTSTATUS NTAPI NtCreateKey(_Out_ PHANDLE KeyHandle
Definition: Messaging.c:64
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
NTSYSCALLAPI NTSTATUS NTAPI NtLoadKey(_In_ POBJECT_ATTRIBUTES KeyObjectAttributes, _In_ POBJECT_ATTRIBUTES FileObjectAttributes)
_In_ ULONG BufferLength
Definition: usbdlib.h:225
NTSYSCALLAPI NTSTATUS NTAPI NtUnloadKey(_In_ POBJECT_ATTRIBUTES KeyObjectAttributes)
enum _KEY_SET_INFORMATION_CLASS KEY_SET_INFORMATION_CLASS
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN WatchSubtree
Definition: zwfuncs.h:500
NTSYSCALLAPI NTSTATUS NTAPI NtRestoreKey(_In_ HANDLE KeyHandle, _In_ HANDLE FileHandle, _In_ ULONG RestoreFlags)
unsigned char BOOLEAN
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteValueKey(_In_ HANDLE KeyHandle, _In_ PUNICODE_STRING ValueName)
#define _Out_writes_bytes_(size)
Definition: no_sal2.h:370
#define _Out_
Definition: no_sal2.h:323
Definition: bufpool.h:45
NTSYSAPI NTSTATUS NTAPI ZwLoadKey(_In_ POBJECT_ATTRIBUTES KeyObjectAttributes, _In_ POBJECT_ATTRIBUTES FileObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryKey(_In_ HANDLE KeyHandle, _In_ KEY_INFORMATION_CLASS KeyInformationClass, _Out_bytecap_(Length) PVOID KeyInformation, _In_ ULONG Length, _Out_ PULONG ResultLength)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES ObjectAttributes
Definition: cmfuncs.h:50
Definition: bcd.h:202
_Inout_ PRTL_BUFFER _In_ SIZE_T RequiredSize
_In_ _In_ ULONG KeySetInformationLength
Definition: zwfuncs.h:1213
#define _Out_opt_
Definition: no_sal2.h:339
NTSYSAPI NTSTATUS NTAPI NtQueryValueKey(IN HANDLE KeyHandle, IN PUNICODE_STRING ValueName, IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass, IN PVOID KeyValueInformation, IN ULONG Length, IN PULONG ResultLength)
#define __kernel_entry
Definition: specstrings.h:50
NTSYSCALLAPI NTSTATUS NTAPI NtEnumerateKey(_In_ HANDLE KeyHandle, _In_ ULONG Index, _In_ KEY_INFORMATION_CLASS KeyInformationClass, _Out_bytecap_(Length) PVOID KeyInformation, _In_ ULONG Length, _Out_ PULONG ResultLength)
NTSTATUS NTAPI NtLockRegistryKey(_In_ HANDLE KeyHandle)
Definition: xml2sdb.h:79
NTSTATUS NTAPI NtUnloadKey2(_In_ POBJECT_ATTRIBUTES TargetKey, _In_ ULONG Flags)
#define BufferSize
Definition: classpnp.h:419
#define _Inout_
Definition: no_sal2.h:244
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define _Strict_type_match_
Definition: no_sal2.h:633
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE ApcRoutine
Definition: iofuncs.h:719
#define _Reserved_
Definition: no_sal2.h:573
_In_ ULONG _In_ KEY_VALUE_INFORMATION_CLASS _In_ ULONG _Out_ PULONG ResultLength
Definition: cmfuncs.h:96
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeMultipleKeys(_In_ HANDLE MasterKeyHandle, _In_opt_ ULONG Count, _In_reads_opt_(Count) OBJECT_ATTRIBUTES SubordinateObjects[], _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG CompletionFilter, _In_ BOOLEAN WatchTree, _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, _In_ ULONG BufferSize, _In_ BOOLEAN Asynchronous)
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
NTSYSAPI NTSTATUS NTAPI ZwInitializeRegistry(_In_ USHORT Flag)
NTSYSCALLAPI NTSTATUS NTAPI NtFlushKey(_In_ HANDLE KeyHandle)
NTSTATUS NTAPI NtEnumerateValueKey(IN HANDLE KeyHandle, IN ULONG Index, IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass, OUT PVOID KeyValueInformation, IN ULONG Length, OUT PULONG ResultLength)
Definition: ntapi.c:542
NTSYSAPI NTSTATUS NTAPI ZwSaveKey(_In_ HANDLE KeyHandle, _In_ HANDLE FileHandle)
NTSYSCALLAPI NTSTATUS NTAPI NtGetPlugPlayEvent(_In_ ULONG Reserved1, _In_ ULONG Reserved2, _Out_ PPLUGPLAY_EVENT_BLOCK Buffer, _In_ ULONG BufferSize)
NTSTATUS NTAPI NtCompactKeys(_In_ ULONG Count, _In_reads_(Count) PHANDLE KeyArray)
NTSYSCALLAPI NTSTATUS NTAPI NtSaveKey(_In_ HANDLE KeyHandle, _In_ HANDLE FileHandle)
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define _In_reads_bytes_(size)
Definition: no_sal2.h:229
NTSYSCALLAPI NTSTATUS NTAPI NtInitializeRegistry(_In_ USHORT Flag)
NTSTATUS NTAPI NtQueryOpenSubKeysEx(_In_ POBJECT_ATTRIBUTES TargetKey, _In_ ULONG BufferLength, _In_ PVOID Buffer, _In_ PULONG RequiredSize)
#define _In_
Definition: no_sal2.h:204
NTSYSCALLAPI NTSTATUS NTAPI NtSetValueKey(_In_ HANDLE KeyHandle, _In_ PUNICODE_STRING ValueName, _In_opt_ ULONG TitleIndex, _In_ ULONG Type, _In_ PVOID Data, _In_ ULONG DataSize)
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteKey(_In_ HANDLE KeyHandle)
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtSetInformationKey(_In_ HANDLE KeyHandle, _In_ _Strict_type_match_ KEY_SET_INFORMATION_CLASS KeySetInformationClass, _In_reads_bytes_(KeySetInformationLength) PVOID KeySetInformation, _In_ ULONG KeySetInformationLength)
NTSTATUS NTAPI NtSaveMergedKeys(_In_ HANDLE HighPrecedenceKeyHandle, _In_ HANDLE LowPrecedenceKeyHandle, _In_ HANDLE FileHandle)
unsigned short USHORT
Definition: pedump.c:61
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryMultipleValueKey(_In_ HANDLE KeyHandle, _Inout_updates_(EntryCount) PKEY_VALUE_ENTRY ValueEntries, _In_ ULONG EntryCount, _Out_writes_bytes_(*BufferLength) PVOID ValueBuffer, _Inout_ PULONG BufferLength, _Out_opt_ PULONG RequiredBufferLength)
NTSTATUS NTAPI NtLockProductActivationKeys(_In_ PULONG pPrivateVer, _In_ PULONG pSafeMode)
static OUT PIO_STATUS_BLOCK IoStatusBlock
Definition: pipe.c:75
unsigned int * PULONG
Definition: retypes.h:1
_Inout_ PLIST_ENTRY _In_ PVOID _In_ PSTRING _In_ BOOLEAN _In_ BOOLEAN _In_ ULONG CompletionFilter
Definition: fltkernel.h:2239
#define _When_(expr, annos)
Definition: no_sal2.h:639
Definition: bcd.h:201
_In_ ULONG _In_ ULONG _Inout_updates_(8 *8) ULONG *pul)
Definition: winddi.h:3522
#define _Out_bytecap_(size)
Definition: no_sal2.h:325
#define _In_reads_opt_(size)
Definition: no_sal2.h:231
_In_ PUNICODE_STRING NewName
Definition: zwfuncs.h:1203
Definition: nt_native.h:1172
unsigned int ULONG
Definition: retypes.h:1
NTSYSAPI NTSTATUS NTAPI ZwQueryMultipleValueKey(_In_ HANDLE KeyHandle, _Inout_ PKEY_VALUE_ENTRY ValueEntries, _In_ ULONG EntryCount, _Out_ PVOID ValueBuffer, _Inout_ PULONG BufferLength, _Out_opt_ PULONG RequiredBufferLength)
_In_ ULONG _In_ ULONG _In_bytecount_(cjIn) PVOID pvIn
Definition: winddi.h:3582
_In_ ULONG _In_ KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass
Definition: cmfuncs.h:93
NTSTATUS NTAPI NtLoadKeyEx(_In_ POBJECT_ATTRIBUTES TargetKey, _In_ POBJECT_ATTRIBUTES SourceFile, _In_ ULONG Flags, _In_ HANDLE TrustClassKey)
NTSYSCALLAPI NTSTATUS NTAPI NtNotifyChangeKey(_In_ HANDLE KeyHandle, _In_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG CompletionFilter, _In_ BOOLEAN Asynchroneous, _Out_bytecap_(Length) PVOID ChangeBuffer, _In_ ULONG Length, _In_ BOOLEAN WatchSubtree)
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
Definition: ndis.h:4733
ULONG ACCESS_MASK
Definition: nt_native.h:40
NTSYSCALLAPI NTSTATUS NTAPI NtPlugPlayControl(_In_ PLUGPLAY_CONTROL_CLASS PlugPlayControlClass, _Inout_ PVOID Buffer, _In_ ULONG BufferSize)
NTSTATUS NTAPI NtCompressKey(_In_ HANDLE Key)
enum _KEY_VALUE_INFORMATION_CLASS KEY_VALUE_INFORMATION_CLASS
Definition: reg.c:135
_Post_satisfies_(return< 0)) _When_(Length > 0
NTSTATUS NTAPI NtQueryOpenSubKeys(_In_ POBJECT_ATTRIBUTES TargetKey, _Out_ PULONG HandleCount)