ReactOS 0.4.16-dev-292-gbbdcc14
|
#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 |
ULONG | InitSafeBootMode |
|
static |
Definition at line 195 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 240 of file ntapi.c.
Referenced by 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(), and TestCreateOpen_().
Definition at line 408 of file ntapi.c.
Referenced by DeleteKeyTest(), DeleteSymLinkKey(), DestroyProtoHive(), do_reg_operation(), InitFunctionPtrs(), LsapRegDeleteKey(), LsapRegDeleteSubKey(), RegCleanupRegistry(), RegDeleteKeyExW(), RegInitializeRegistry(), SampRegDeleteKey(), SdbUnregisterDatabase(), START_TEST(), test2(), test3(), test7(), and Test_KeyFullInformation().
Definition at line 1014 of file ntapi.c.
Referenced by AddFontsSettingsToRegistry(), CmpSetVersionData(), DeleteHKCRValue(), DeleteSymLinkKey(), DeleteValueTest(), InitFunctionPtrs(), LsapRegDeleteValue(), RegDeleteValueA(), RegDeleteValueW(), RtlApplyRXact(), RtlInitializeRXact(), SampRegDeleteValue(), SdbDeletePermLayerKeys(), SmpLoadDataFromRegistry(), START_TEST(), and test7().
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 457 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 542 of file ntapi.c.
Referenced by EnumerateValueTest(), InitializeFmIfsOnce(), NLS_RegEnumValue(), RegEnumValueW(), RegpCopyTree(), test1(), test2(), test3(), and test9().
Definition at line 1085 of file ntapi.c.
Referenced by CreateProtoHive(), InitFunctionPtrs(), RegCleanupRegistry(), RegFlushKey(), RegInitializeRegistry(), RtlApplyRXact(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), START_TEST(), and test5().
Definition at line 1318 of file ntapi.c.
Referenced by RunUSetup(), SmpLoadDataFromRegistry(), and WinMain().
NTSTATUS NTAPI NtLoadKey | ( | IN POBJECT_ATTRIBUTES | KeyObjectAttributes, |
IN POBJECT_ATTRIBUTES | FileObjectAttributes | ||
) |
Definition at line 1129 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 1148 of file ntapi.c.
Referenced by NtLoadKey(), and NtLoadKey2().
Definition at line 1404 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 1290 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 1457 of file ntapi.c.
Referenced by NtNotifyChangeKey().
NTSTATUS NTAPI NtOpenKey | ( | OUT PHANDLE | KeyHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES | ObjectAttributes | ||
) |
Definition at line 336 of file ntapi.c.
Referenced by AddCodepageToRegistry(), AddFontsSettingsToRegistry(), BaseComputeProcessDllPath(), BasepIsProcessAllowed(), BaseSrvIsVdmAllowed(), CmGetSystemDriverList(), CmpCreateControlSet(), CmpInitializeMachineDependentConfiguration(), CmpSetSystemValues(), CreateBaseAcls(), DeleteKeyTest(), DeleteSymLinkKey(), DeleteValueTest(), do_enumeratekey(), DumpRegistryData(), EnumerateKeyTest(), EnumerateValueTest(), GetComputerIdentifier(), GetComputerNameFromRegistry(), 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(), SmpQueryRegistrySosOption(), SmpTranslateSystemPartitionInformation(), START_TEST(), test1(), test2(), test3(), test5(), test8(), test9(), Test_KeyFullInformation(), Test_KeyNameInformation(), 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 632 of file ntapi.c.
Referenced by EnumerateKeyTest(), GetComputerIdentifier(), GetKeyName(), InitFunctionPtrs(), LsapRegQueryKeyInfo(), RegQueryInfoKeyW(), SampRegQueryKeyInfo(), test1(), test9(), Test_KeyFullInformation(), and Test_KeyNameInformation().
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 1489 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 744 of file ntapi.c.
NTSTATUS NTAPI NtReplaceKey | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes, |
IN HANDLE | Key, | ||
IN POBJECT_ATTRIBUTES | ReplacedObjectAttributes | ||
) |
Definition at line 1614 of file ntapi.c.
Referenced by RegReplaceKeyW().
Definition at line 1624 of file ntapi.c.
Referenced by RegRestoreKeyW().
Definition at line 1634 of file ntapi.c.
Referenced by RegSaveKeyW(), and START_TEST().
Definition at line 1643 of file ntapi.c.
Referenced by CreateRegistryFile(), and NtSaveKey().
NTSTATUS NTAPI NtSaveMergedKeys | ( | IN HANDLE | HighPrecedenceKeyHandle, |
IN HANDLE | LowPrecedenceKeyHandle, | ||
IN HANDLE | FileHandle | ||
) |
Definition at line 1706 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 859 of file ntapi.c.
Referenced by AddCodepageToRegistry(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddKbLayoutsToRegistry(), BasepMoveFileDelayed(), CmpCreateControlSet(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpSetSystemValues(), CmpSetVersionData(), CreateSymLinkKey(), do_reg_operation(), InitFunctionPtrs(), InstallDriver(), LOCALE_InitRegistry(), locale_update_registry(), Phase1InitializationDiscard(), ProcessLocaleRegistry(), RegpCopyTree(), RegSetValueExW(), SdbRegisterDatabaseEx(), SdbSetPermLayerKeys(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetGeoID(), SetLocaleInfoW(), SetMountedDeviceValue(), SetUserGeoID(), SetValueTest1(), SetValueTest2(), SmpCreateDynamicEnvironmentVariables(), SmpTranslateSystemPartitionInformation(), START_TEST(), test2(), test3(), and test6().
NTSTATUS NTAPI NtUnloadKey | ( | IN POBJECT_ATTRIBUTES | KeyObjectAttributes | ) |
Definition at line 1789 of file ntapi.c.
Referenced by DisconnectRegistry(), and RegUnLoadKeyW().
Definition at line 1796 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 53 of file ntapi.c.
Referenced by NtLoadKeyEx().
VOID ReleaseCapturedObjectAttributes | ( | _In_ POBJECT_ATTRIBUTES | CapturedObjectAttributes, |
_In_ KPROCESSOR_MODE | AccessMode | ||
) |
Definition at line 27 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().
|
extern |
Definition at line 71 of file init.c.
Referenced by NtLockProductActivationKeys().