6 #define REG_INIT_BOOT_SM 0x0000
7 #define REG_INIT_BOOT_SETUP 0x0001
8 #define REG_INIT_BOOT_ACCEPTED_BASE 0x0002
9 #define REG_INIT_BOOT_ACCEPTED_MAX REG_INIT_BOOT_ACCEPTED_BASE + 999
11 #define REG_MAX_KEY_VALUE_NAME_LENGTH 32767
12 #define REG_MAX_KEY_NAME_LENGTH 512
229 _Out_ PHANDLE KeyHandle,
230 _In_ ACCESS_MASK DesiredAccess,
232 _Reserved_ ULONG TitleIndex,
234 _In_ ULONG CreateOptions,
235 _Out_opt_ PULONG Disposition
238 #if (PHNT_VERSION >= PHNT_VISTA)
243 _Out_ PHANDLE KeyHandle,
244 _In_ ACCESS_MASK DesiredAccess,
246 _Reserved_ ULONG TitleIndex,
248 _In_ ULONG CreateOptions,
249 _In_ HANDLE TransactionHandle,
250 _Out_opt_ PULONG Disposition
258 _Out_ PHANDLE KeyHandle,
259 _In_ ACCESS_MASK DesiredAccess,
263 #if (PHNT_VERSION >= PHNT_VISTA)
268 _Out_ PHANDLE KeyHandle,
269 _In_ ACCESS_MASK DesiredAccess,
271 _In_ HANDLE TransactionHandle
275 #if (PHNT_VERSION >= PHNT_WIN7)
280 _Out_ PHANDLE KeyHandle,
281 _In_ ACCESS_MASK DesiredAccess,
283 _In_ ULONG OpenOptions
287 #if (PHNT_VERSION >= PHNT_WIN7)
292 _Out_ PHANDLE KeyHandle,
293 _In_ ACCESS_MASK DesiredAccess,
295 _In_ ULONG OpenOptions,
296 _In_ HANDLE TransactionHandle
304 _In_ HANDLE KeyHandle
311 _In_ HANDLE KeyHandle,
319 _In_ HANDLE KeyHandle,
327 _In_ HANDLE KeyHandle,
329 _Out_writes_bytes_opt_(Length) PVOID KeyInformation,
331 _Out_ PULONG ResultLength
338 _In_ HANDLE KeyHandle,
340 _In_reads_bytes_(KeySetInformationLength) PVOID KeySetInformation,
341 _In_ ULONG KeySetInformationLength
348 _In_ HANDLE KeyHandle,
351 _Out_writes_bytes_opt_(Length) PVOID KeyValueInformation,
353 _Out_ PULONG ResultLength
360 _In_ HANDLE KeyHandle,
362 _In_opt_ ULONG TitleIndex,
364 _In_reads_bytes_opt_(DataSize) PVOID Data,
372 _In_ HANDLE KeyHandle,
373 _Inout_updates_(EntryCount) PKEY_VALUE_ENTRY ValueEntries,
374 _In_ ULONG EntryCount,
375 _Out_writes_bytes_(*BufferLength) PVOID ValueBuffer,
376 _Inout_ PULONG BufferLength,
377 _Out_opt_ PULONG RequiredBufferLength
384 _In_ HANDLE KeyHandle,
387 _Out_writes_bytes_opt_(Length) PVOID KeyInformation,
389 _Out_ PULONG ResultLength
396 _In_ HANDLE KeyHandle,
399 _Out_writes_bytes_opt_(Length) PVOID KeyValueInformation,
401 _Out_ PULONG ResultLength
408 _In_ HANDLE KeyHandle
416 _In_reads_(Count) HANDLE KeyArray[]
450 _In_opt_ HANDLE TrustClassKey,
451 _In_opt_ HANDLE Event,
452 _In_opt_ ACCESS_MASK DesiredAccess,
453 _Out_opt_ PHANDLE RootHandle,
462 _In_ HANDLE TargetHandle,
470 _In_ HANDLE KeyHandle,
471 _In_ HANDLE FileHandle
478 _In_ HANDLE KeyHandle,
479 _In_ HANDLE FileHandle,
487 _In_ HANDLE HighPrecedenceKeyHandle,
488 _In_ HANDLE LowPrecedenceKeyHandle,
489 _In_ HANDLE FileHandle
496 _In_ HANDLE KeyHandle,
497 _In_ HANDLE FileHandle,
521 _In_opt_ HANDLE Event
528 _In_ HANDLE KeyHandle,
529 _In_opt_ HANDLE Event,
531 _In_opt_ PVOID ApcContext,
533 _In_ ULONG CompletionFilter,
534 _In_ BOOLEAN WatchTree,
535 _Out_writes_bytes_opt_(BufferSize) PVOID Buffer,
536 _In_ ULONG BufferSize,
537 _In_ BOOLEAN Asynchronous
544 _In_ HANDLE MasterKeyHandle,
545 _In_opt_ ULONG Count,
547 _In_opt_ HANDLE Event,
549 _In_opt_ PVOID ApcContext,
551 _In_ ULONG CompletionFilter,
552 _In_ BOOLEAN WatchTree,
553 _Out_writes_bytes_opt_(BufferSize) PVOID Buffer,
554 _In_ ULONG BufferSize,
555 _In_ BOOLEAN Asynchronous
563 _Out_ PULONG HandleCount
571 _In_ ULONG BufferLength,
572 _Out_writes_bytes_(BufferLength) PVOID Buffer,
573 _Out_ PULONG RequiredSize
580 _In_ USHORT BootCondition
587 _In_ HANDLE KeyHandle
594 _Inout_opt_ ULONG *pPrivateVer,
595 _Out_opt_ ULONG *pSafeMode
598 #if (PHNT_VERSION >= PHNT_VISTA)
604 _In_ ULONG TimeOutInSeconds
608 #if (PHNT_VERSION >= PHNT_VISTA)