|
ReactOS 0.4.17-dev-1190-g4c812f4
|
#include "ntoskrnl.h"#include "debug.h"
Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| #define | PRODUCT_ACTIVATION_VERSION 7749 |
Variables | |
| BOOLEAN | CmBootAcceptFirstTime = TRUE |
| BOOLEAN | CmFirstTime = TRUE |
|
static |
Definition at line 194 of file ntapi.c.
Referenced by NtLoadKeyEx(), NtSaveKeyEx(), NtSaveMergedKeys(), and NtUnloadKey2().
| 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 at line 239 of file ntapi.c.
Referenced by add_boot_rename_entry(), AddHotkeySettings(), AddKbLayoutsToRegistry(), BasepMoveFileDelayed(), CmInitSystem1(), CmpCreateControlSet(), CmpCreateHardwareProfile(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpSetVersionData(), create_key(), create_registry_key(), CreateKeyTest(), CreateNestedKey(), CreateRegistryKeyHandle(), CreateRegKey(), CreateSymLinkKey(), DeleteSymLinkKey(), InitFunctionPtrs(), InitializeUserModePnpManager(), InstallDriver(), LOCALE_InitRegistry(), LsapCreateDatabaseKeys(), LsapCreateDbObject(), LsapSetObjectAttribute(), RegInitializeRegistry(), RegpCopyTree(), SdbRegisterDatabaseEx(), SdbUnregisterDatabase(), SetActiveComputerNameToRegistry(), SetMountedDeviceValue(), SetUserGeoID(), SetValueTest1(), SetValueTest2(), START_TEST(), test2(), test3(), test6(), test7(), Test_KeyFullInformation(), test_perflib_key(), and TestCreateOpen_().
Definition at line 407 of file ntapi.c.
Referenced by DeleteKeyTest(), DeleteSymLinkKey(), DestroyProtoHive(), do_reg_operation(), InitFunctionPtrs(), LsapRegDeleteKey(), LsapRegDeleteSubKey(), RegCleanupRegistry(), RegDeleteKeyExA(), RegDeleteKeyExW(), RegInitializeRegistry(), SampRegDeleteKey(), SdbUnregisterDatabase(), START_TEST(), test2(), test3(), test7(), Test_KeyFullInformation(), and test_perflib_key().
Definition at line 1013 of file ntapi.c.
Referenced by AddFontsSettingsToRegistry(), CmpSetVersionData(), DeleteHKCRValue(), DeleteSymLinkKey(), DeleteValueTest(), InitFunctionPtrs(), LsapRegDeleteValue(), RegDeleteKeyValueA(), RegDeleteKeyValueW(), RegDeleteValueA(), RegDeleteValueW(), RtlApplyRXact(), RtlInitializeRXact(), SampRegDeleteValue(), SdbDeletePermLayerKeys(), SmpLoadDataFromRegistry(), START_TEST(), test7(), and test_perflib_key().
| NTSTATUS NTAPI NtEnumerateKey | ( | IN HANDLE | KeyHandle, |
| IN ULONG | Index, | ||
| IN KEY_INFORMATION_CLASS | KeyInformationClass, | ||
| OUT PVOID | KeyInformation, | ||
| IN ULONG | Length, | ||
| OUT PULONG | ResultLength | ||
| ) |
Definition at line 456 of file ntapi.c.
| 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 at line 541 of file ntapi.c.
Referenced by EnumerateValueTest(), InitFunctionPtrs(), InitializeFmIfsOnce(), NLS_RegEnumValue(), RegEnumValueA(), RegEnumValueW(), RegpCopyTree(), test1(), test2(), test3(), test9(), and test_perflib_key().
Definition at line 1084 of file ntapi.c.
Referenced by CreateProtoHive(), InitFunctionPtrs(), RegCleanupRegistry(), RegFlushKey(), RegInitializeRegistry(), RtlApplyRXact(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), START_TEST(), and test5().
Definition at line 1317 of file ntapi.c.
Referenced by RunUSetup(), SmpLoadDataFromRegistry(), and WinMain().
| NTSTATUS NTAPI NtLoadKey | ( | IN POBJECT_ATTRIBUTES | KeyObjectAttributes, |
| IN POBJECT_ATTRIBUTES | FileObjectAttributes | ||
| ) |
Definition at line 1128 of file ntapi.c.
Referenced by ConnectRegistry(), RegLoadKeyW(), and test8().
| NTSTATUS NTAPI NtLoadKey2 | ( | IN POBJECT_ATTRIBUTES | KeyObjectAttributes, |
| IN POBJECT_ATTRIBUTES | FileObjectAttributes, | ||
| IN ULONG | Flags | ||
| ) |
| NTSTATUS NTAPI NtLoadKeyEx | ( | IN POBJECT_ATTRIBUTES | TargetKey, |
| IN POBJECT_ATTRIBUTES | SourceFile, | ||
| IN ULONG | Flags, | ||
| IN HANDLE | TrustClassKey | ||
| ) |
Definition at line 1147 of file ntapi.c.
Referenced by InitFunctionPtrs(), NtLoadKey(), and NtLoadKey2().
Definition at line 1403 of file ntapi.c.
| NTSTATUS NTAPI NtNotifyChangeKey | ( | IN HANDLE | KeyHandle, |
| IN HANDLE | Event, | ||
| IN PIO_APC_ROUTINE ApcRoutine | OPTIONAL, | ||
| IN PVOID ApcContext | OPTIONAL, | ||
| OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
| IN ULONG | CompletionFilter, | ||
| IN BOOLEAN | WatchTree, | ||
| OUT PVOID | Buffer, | ||
| IN ULONG | Length, | ||
| IN BOOLEAN | Asynchronous | ||
| ) |
Definition at line 1289 of file ntapi.c.
Referenced by InitFunctionPtrs(), and RegNotifyChangeKeyValue().
| NTSTATUS NTAPI NtNotifyChangeMultipleKeys | ( | IN HANDLE | MasterKeyHandle, |
| IN ULONG | Count, | ||
| IN POBJECT_ATTRIBUTES | SlaveObjects, | ||
| IN HANDLE | Event, | ||
| IN PIO_APC_ROUTINE ApcRoutine | OPTIONAL, | ||
| IN PVOID ApcContext | OPTIONAL, | ||
| OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
| IN ULONG | CompletionFilter, | ||
| IN BOOLEAN | WatchTree, | ||
| OUT PVOID | Buffer, | ||
| IN ULONG | Length, | ||
| IN BOOLEAN | Asynchronous | ||
| ) |
Definition at line 1456 of file ntapi.c.
Referenced by NtNotifyChangeKey(), NtNotifyChangeMultipleKeys_WatchThread(), and START_TEST().
| NTSTATUS NTAPI NtOpenKey | ( | OUT PHANDLE | KeyHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes | ||
| ) |
Definition at line 335 of file ntapi.c.
Referenced by AddCodepageToRegistry(), AddFontsSettingsToRegistry(), BaseComputeProcessDllPath(), BaseComputeProcessSearchPath(), BasepIsProcessAllowed(), BaseSrvIsVdmAllowed(), CmGetSystemDriverList(), CmpCreateControlSet(), CmpInitializeMachineDependentConfiguration(), CmpSetSystemValues(), CreateBaseAcls(), DeleteKeyTest(), DeleteSymLinkKey(), DeleteValueTest(), do_enumeratekey(), DumpRegistryData(), EnumerateKeyTest(), EnumerateValueTest(), GetComputerIdentifier(), GetComputerNameFromRegistry(), GetConsoleIMECommandLine(), GetCPFileNameFromRegistry(), GetDisplayIdentifier(), GetDllList(), GetDosDevicesProtection(), GetRegInt(), GetTimeouts(), InitFunctionPtrs(), InitializeFmIfsOnce(), InitializeUserModePnpManager(), InstallDevice(), IsAcpiComputer(), IsShimInfrastructureDisabled(), LdrpDisableProcessCompatGuidDetection(), LsapCreateDbObject(), LsapGetObjectAttribute(), LsapOpenDbObject(), LsapRegDeleteSubKey(), LsapRegOpenKey(), NLS_RegOpenKey(), NtOpenObject(), open_classes_key(), OpenClassesRootKey(), OpenCurrentConfigKey(), OpenLocalMachineKey(), OpenRegistryKeyHandle(), OpenUsersKey(), ProcessDisplayRegistry(), ProcessLocaleRegistry(), RegCleanupRegistry(), RegCopyTreeW(), RegDeleteKeyExW(), RegInitializeRegistry(), registry_callback(), RegOpenKeyExW(), RegOpenUserClassesRoot(), RegpCopyTree(), RegReplaceKeyW(), RegSetKeyValueA(), RegSetKeyValueW(), SampRegDeleteKey(), SampRegOpenKey(), SdbpOpenKey(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetGeoID(), SetMountedDeviceValue(), SetRosSpecificInfo(), SmLookupSubsystem(), SmpCreateDynamicEnvironmentVariables(), SmpLoadDataFromRegistry(), SmpTranslateSystemPartitionInformation(), start_debugger(), START_TEST(), test1(), test2(), test3(), test5(), test8(), test9(), Test_KeyFullInformation(), Test_KeyNameInformation(), test_perflib_key(), TestCreateOpen_(), and UnhandledExceptionFilter().
| NTSTATUS NTAPI NtQueryKey | ( | IN HANDLE | KeyHandle, |
| IN KEY_INFORMATION_CLASS | KeyInformationClass, | ||
| OUT PVOID | KeyInformation, | ||
| IN ULONG | Length, | ||
| OUT PULONG | ResultLength | ||
| ) |
Definition at line 631 of file ntapi.c.
Referenced by EnumerateKeyTest(), GetComputerIdentifier(), GetKeyName(), InitFunctionPtrs(), is_classes_wow6432node(), LsapRegQueryKeyInfo(), open_wow6432node_parent(), RegQueryInfoKeyA(), RegQueryInfoKeyW(), SampRegQueryKeyInfo(), test1(), test9(), Test_KeyFullInformation(), Test_KeyNameInformation(), and test_perflib_key().
| NTSTATUS NTAPI NtQueryMultipleValueKey | ( | IN HANDLE | KeyHandle, |
| IN OUT PKEY_VALUE_ENTRY | ValueList, | ||
| IN ULONG | NumberOfValues, | ||
| OUT PVOID | Buffer, | ||
| IN OUT PULONG | Length, | ||
| OUT PULONG | ReturnLength | ||
| ) |
Definition at line 1488 of file ntapi.c.
Referenced by START_TEST().
| NTSTATUS NTAPI NtQueryOpenSubKeysEx | ( | IN POBJECT_ATTRIBUTES | TargetKey, |
| IN ULONG | BufferLength, | ||
| IN PVOID | Buffer, | ||
| IN PULONG | RequiredSize | ||
| ) |
| NTSTATUS NTAPI NtQueryValueKey | ( | IN HANDLE | KeyHandle, |
| IN PUNICODE_STRING | ValueName, | ||
| IN KEY_VALUE_INFORMATION_CLASS | KeyValueInformationClass, | ||
| OUT PVOID | KeyValueInformation, | ||
| IN ULONG | Length, | ||
| OUT PULONG | ResultLength | ||
| ) |
Definition at line 743 of file ntapi.c.
Definition at line 1604 of file ntapi.c.
Referenced by test_NtRenameKey().
| NTSTATUS NTAPI NtReplaceKey | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes, |
| IN HANDLE | Key, | ||
| IN POBJECT_ATTRIBUTES | ReplacedObjectAttributes | ||
| ) |
Definition at line 1613 of file ntapi.c.
Referenced by RegReplaceKeyW().
Definition at line 1623 of file ntapi.c.
Referenced by RegRestoreKeyW().
Definition at line 1633 of file ntapi.c.
Referenced by RegSaveKeyExW(), RegSaveKeyW(), and START_TEST().
Definition at line 1642 of file ntapi.c.
Referenced by CreateRegistryFile(), and NtSaveKey().
| NTSTATUS NTAPI NtSaveMergedKeys | ( | IN HANDLE | HighPrecedenceKeyHandle, |
| IN HANDLE | LowPrecedenceKeyHandle, | ||
| IN HANDLE | FileHandle | ||
| ) |
Definition at line 1705 of file ntapi.c.
| NTSTATUS NTAPI NtSetInformationKey | ( | IN HANDLE | KeyHandle, |
| IN KEY_SET_INFORMATION_CLASS | KeyInformationClass, | ||
| IN PVOID | KeyInformation, | ||
| IN ULONG | KeyInformationLength | ||
| ) |
| NTSTATUS NTAPI NtSetValueKey | ( | IN HANDLE | KeyHandle, |
| IN PUNICODE_STRING | ValueName, | ||
| IN ULONG TitleIndex | OPTIONAL, | ||
| IN ULONG | Type, | ||
| IN PVOID | Data, | ||
| IN ULONG | DataSize | ||
| ) |
Definition at line 858 of file ntapi.c.
Referenced by add_boot_rename_entry(), AddCodepageToRegistry(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddKbLayoutsToRegistry(), BasepMoveFileDelayed(), CmpCreateControlSet(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpSetSystemValues(), CmpSetVersionData(), CreateSymLinkKey(), do_reg_operation(), InitFunctionPtrs(), InstallDriver(), LOCALE_InitRegistry(), locale_update_registry(), Phase1InitializationDiscard(), ProcessLocaleRegistry(), RegpCopyTree(), RegSetValueExA(), RegSetValueExW(), SdbRegisterDatabaseEx(), SdbSetPermLayerKeys(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetGeoID(), SetLocaleInfoW(), SetMountedDeviceValue(), SetUserGeoID(), SetValueTest1(), SetValueTest2(), SmpCreateDynamicEnvironmentVariables(), SmpTranslateSystemPartitionInformation(), START_TEST(), test2(), test3(), test6(), and test_perflib_key().
| NTSTATUS NTAPI NtUnloadKey | ( | IN POBJECT_ATTRIBUTES | KeyObjectAttributes | ) |
Definition at line 1788 of file ntapi.c.
Referenced by DisconnectRegistry(), and RegUnLoadKeyW().
Definition at line 1795 of file ntapi.c.
Referenced by DisconnectRegistry(), and NtUnloadKey().
| NTSTATUS ProbeAndCaptureObjectAttributes | ( | _Out_ POBJECT_ATTRIBUTES | CapturedObjectAttributes, |
| _Out_ PUNICODE_STRING | ObjectName, | ||
| _In_ KPROCESSOR_MODE | AccessMode, | ||
| _In_ POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| _In_ BOOLEAN | CaptureSecurity | ||
| ) |
Definition at line 52 of file ntapi.c.
Referenced by NtLoadKeyEx().
| VOID ReleaseCapturedObjectAttributes | ( | _In_ POBJECT_ATTRIBUTES | CapturedObjectAttributes, |
| _In_ KPROCESSOR_MODE | AccessMode | ||
| ) |
Definition at line 26 of file ntapi.c.
Referenced by NtLoadKeyEx(), and ProbeAndCaptureObjectAttributes().
Definition at line 16 of file ntapi.c.
Referenced by NtInitializeRegistry().
Definition at line 17 of file ntapi.c.
Referenced by CmShutdownSystem(), and NtInitializeRegistry().