#include "cmp.h"
#include "safeboot.h"
#include <evntrace.h>
Go to the source code of this file.
Defines | |
#define | ALLOCATE_WITH_QUOTA(a, b, c) ExAllocatePoolWithQuota((a)|POOL_QUOTA_FAIL_INSTEAD_OF_RAISE,b) |
#define | CmpExceptionFilter(x) EXCEPTION_EXECUTE_HANDLER |
#define | OBJ_AUDIT_OBJECT_CLOSE 0x00000004L |
Functions | |
NTSTATUS | CmpNameFromAttributes (IN POBJECT_ATTRIBUTES Attributes, KPROCESSOR_MODE PreviousMode, OUT PUNICODE_STRING FullName) |
ULONG | CmpCheckLockExceptionFilter (IN PEXCEPTION_POINTERS ExceptionPointers) |
BOOLEAN | CmpEnumKeyObjectCallback (IN PVOID Object, IN PUNICODE_STRING ObjectName, IN ULONG HandleCount, IN ULONG PointerCount, IN PVOID Context) |
VOID | CmpDummyApc (struct _KAPC *Apc, PVOID *SystemArgument1, PVOID *SystemArgument2) |
NTSTATUS | 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) |
NTSTATUS | NtDeleteKey (IN HANDLE KeyHandle) |
NTSTATUS | NtDeleteValueKey (IN HANDLE KeyHandle, IN PUNICODE_STRING ValueName) |
NTSTATUS | NtEnumerateKey (IN HANDLE KeyHandle, IN ULONG Index, IN KEY_INFORMATION_CLASS KeyInformationClass, IN PVOID KeyInformation, IN ULONG Length, IN PULONG ResultLength) |
NTSTATUS | NtEnumerateValueKey (IN HANDLE KeyHandle, IN ULONG Index, IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass, IN PVOID KeyValueInformation, IN ULONG Length, IN PULONG ResultLength) |
NTSTATUS | NtFlushKey (IN HANDLE KeyHandle) |
NTSTATUS | NtInitializeRegistry (IN USHORT BootCondition) |
NTSTATUS | NtNotifyChangeKey (IN HANDLE KeyHandle, IN HANDLE Event OPTIONAL, 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 BufferSize, IN BOOLEAN Asynchronous) |
NTSTATUS | NtNotifyChangeMultipleKeys (IN HANDLE MasterKeyHandle, IN ULONG Count, IN OBJECT_ATTRIBUTES SlaveObjects[], IN HANDLE Event OPTIONAL, 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 BufferSize, IN BOOLEAN Asynchronous) |
NTSTATUS | NtOpenKey (OUT PHANDLE KeyHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes) |
NTSTATUS | NtQueryKey (IN HANDLE KeyHandle, IN KEY_INFORMATION_CLASS KeyInformationClass, IN PVOID KeyInformation, IN ULONG Length, IN PULONG ResultLength) |
NTSTATUS | NtQueryValueKey (IN HANDLE KeyHandle, IN PUNICODE_STRING ValueName, IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass, IN PVOID KeyValueInformation, IN ULONG Length, IN PULONG ResultLength) |
NTSTATUS | NtRestoreKey (IN HANDLE KeyHandle, IN HANDLE FileHandle, IN ULONG Flags) |
NTSTATUS | NtSaveKey (IN HANDLE KeyHandle, IN HANDLE FileHandle) |
NTSTATUS | NtSaveMergedKeys (IN HANDLE HighPrecedenceKeyHandle, IN HANDLE LowPrecedenceKeyHandle, IN HANDLE FileHandle) |
NTSTATUS | NtSetValueKey (IN HANDLE KeyHandle, IN PUNICODE_STRING ValueName, IN ULONG TitleIndex OPTIONAL, IN ULONG Type, IN PVOID Data, IN ULONG DataSize) |
NTSTATUS | NtLoadKey (IN POBJECT_ATTRIBUTES TargetKey, IN POBJECT_ATTRIBUTES SourceFile) |
NTSTATUS | NtLoadKey2 (IN POBJECT_ATTRIBUTES TargetKey, IN POBJECT_ATTRIBUTES SourceFile, IN ULONG Flags) |
NTSTATUS | NtUnloadKey (IN POBJECT_ATTRIBUTES TargetKey) |
NTSTATUS | NtSetInformationKey (IN HANDLE KeyHandle, IN KEY_SET_INFORMATION_CLASS KeySetInformationClass, IN PVOID KeySetInformation, IN ULONG KeySetInformationLength) |
NTSTATUS | NtReplaceKey (IN POBJECT_ATTRIBUTES NewFile, IN HANDLE TargetHandle, IN POBJECT_ATTRIBUTES OldFile) |
NTSYSAPI NTSTATUS NTAPI | NtQueryMultipleValueKey (IN HANDLE KeyHandle, IN PKEY_VALUE_ENTRY ValueEntries, IN ULONG EntryCount, OUT PVOID ValueBuffer, IN OUT PULONG BufferLength, OUT OPTIONAL PULONG RequiredBufferLength) |
VOID | CmpFreePostBlock (IN PCM_POST_BLOCK PostBlock) |
PCM_POST_BLOCK | CmpAllocatePostBlock (IN POST_BLOCK_TYPE BlockType, IN ULONG PostFlags, IN PCM_KEY_BODY KeyBody, IN PCM_POST_BLOCK MasterBlock) |
NTSTATUS | NtQueryOpenSubKeys (IN POBJECT_ATTRIBUTES TargetKey, OUT PULONG HandleCount) |
Variables | |
POBJECT_TYPE | ExEventObjectType |
POBJECT_TYPE | CmpKeyObjectType |
BOOLEAN | CmFirstTime |
BOOLEAN | CmBootAcceptFirstTime |
BOOLEAN | CmpTraceFlag |
PCM_KEY_BODY | ExpControlKey [2] |
ULONG | CmpOpenSubKeys |
|
Definition at line 55 of file ntapi.c. Referenced by CmpAllocatePostBlock(), CmpNameFromAttributes(), and NtLoadKey2(). |
|
Definition at line 71 of file ntapi.c. Referenced by NtCreateKey(), NtNotifyChangeMultipleKeys(), NtOpenKey(), and NtSetValueKey(). |
|
Definition at line 408 of file ntapi.c. Referenced by NtClose(), NtDeleteKey(), NtDuplicateObject(), NtMakeTemporaryObject(), ObAuditInheritedHandleProcedure(), ObpCreateHandle(), and ObQueryObjectAuditingByHandle(). |
|
Definition at line 3883 of file ntapi.c. References ALLOCATE_WITH_QUOTA, ASSERT, CM_POST_BLOCK, CM_POST_BLOCK_UNION, CM_POST_KEY_BODY, ExFreePool(), FALSE, IsMasterPostBlock, KeInitializeEvent, NonPagedPool, NULL, PagedPool, PostAsyncKernel, PostAsyncUser, and PostSynchronous.
|
|
Definition at line 81 of file ntapi.c. References EXCEPTION_EXECUTE_HANDLER, and KeBugCheckEx().
|
|
|
|
Definition at line 4059 of file ntapi.c. References CmpOpenSubKeys, DbgPrint, Hive, _CM_KEY_BODY::KeyControlBlock, _CM_KEY_CONTROL_BLOCK::KeyHive, _CM_KEY_BODY::Process, and TRUE. Referenced by NtQueryOpenSubKeys().
|
|
Definition at line 3764 of file ntapi.c. References ASSERT, CM_POST_BLOCK, CML_API, CML_MAJOR, CMLOG, CmpClearListEntry, CmpInitializeKeyNameString(), CMS_NOTIFY, CMS_NTAPI, DbgPrint, ExAllocatePool, ExFreePool(), IsMasterPostBlock, KeyName, MAX_KEY_NAME_LENGTH, NULL, ObDereferenceObject, PagedPool, PostAsyncKernel, PostAsyncUser, PostBlockType, PostSynchronous, and REG_NOTIFY_MASTER_POST. Referenced by CmNotifyRunDown(), CmpFreeSlavePost(), CmpNotifyChangeKey(), CmpPostApc(), CmpPostApcRunDown(), CmpPostNotify(), and NtNotifyChangeMultipleKeys().
|
|
Definition at line 3603 of file ntapi.c. References ALLOCATE_WITH_QUOTA, ASSERT, CML_API, CMLOG, CMS_EXCEPTION, End, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FileName, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, PagedPool, ProbeAndReadUnicodeString, ProbeForRead, RtlAppendUnicodeStringToString(), Status, UserMode, and USHORT. Referenced by NtLoadKey2(), and NtReplaceKey().
|
|
Definition at line 166 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, _CM_PARSE_CONTEXT::Class, CM_PARSE_CONTEXT, CML_API, CML_API_ARGS, CMLOG, CmpExceptionFilter, CmpKeyObjectType, CmpLockRegistryExclusive(), CmpUnlockRegistry(), CMS_EXCEPTION, CMS_NTAPI, _CM_PARSE_CONTEXT::CreateLink, _CM_PARSE_CONTEXT::CreateOptions, _CM_PARSE_CONTEXT::Disposition, END_LOCK_CHECKPOINT, EndWmiCmTrace, FALSE, Handle, KernelMode, KPROCESSOR_MODE, L, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, ObDereferenceObject, ObjectAttributes, ObOpenObjectByName(), ObReferenceObjectByHandle(), PAGED_CODE, _CM_PARSE_CONTEXT::PredefinedHandle, ProbeAndReadUnicodeString, ProbeAndZeroHandle, ProbeForRead, ProbeForWriteUlong, StartWmiCmTrace, _CM_PARSE_CONTEXT::TitleIndex, and UserMode. Referenced by CmInitSystem1(), CmpAddAcpiAliasEntry(), CmpAddAliasEntry(), CmpCloneControlSet(), CmpCloneHwProfile(), CmpCreateControlSet(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpLinkKeyToHive(), CmpOpenRegKey(), CmpSaveBootControlSet(), CmpSetVersionData(), CmSetAcpiHwProfile(), Copy(), DoTest(), FtCreateKey(), GetActiveKeyboardName(), main(), RtlInitializeRXact(), RtlpNtCreateKey(), RXactpOpenTargetKey(), vCleanConvertedTTFs(), and vSweepFonts().
|
|
Definition at line 411 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CmDeleteKey(), CML_API, CML_API_ARGS, CMLOG, CmpKeyObjectType, CMS_NTAPI, END_LOCK_CHECKPOINT, EndWmiCmTrace, ExpControlKey, _OBJECT_HANDLE_INFORMATION::HandleAttributes, _CM_KEY_BODY::KeyControlBlock, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, OBJ_AUDIT_OBJECT_CLOSE, ObReferenceObjectByHandle(), PAGED_CODE, SeDeleteObjectAuditAlarm(), and StartWmiCmTrace. Referenced by CmpProcessDelRegLine(), Delete(), FtDeleteKey(), KiMoveRegTree(), main(), RtlInitializeRXact(), RtlpNtMakeTemporaryKey(), and RXactpCommit().
|
|
Definition at line 504 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CmDeleteValueKey(), CML_API, CML_API_ARGS, CMLOG, CmpKeyObjectType, CMS_EXCEPTION, CMS_NTAPI, END_LOCK_CHECKPOINT, EndWmiCmTrace, EXCEPTION_EXECUTE_HANDLER, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, ProbeAndReadUnicodeString, ProbeForRead, StartWmiCmTrace, UserMode, and ValueName. Referenced by bCheckAndDeleteTTF(), CmpCreateControlSet(), CmpProcessAddRegLine(), CmpProcessDelRegLine(), CmpSetVersionData(), FtDeleteValue(), GetActiveKeyboardName(), IopAddRemoteBootValuesToRegistry(), main(), RtlApplyRXact(), and RtlInitializeRXact().
|
|
Definition at line 610 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CmEnumerateKey(), CML_API, CML_API_ARGS, CMLOG, CmpKeyObjectType, CMS_EXCEPTION, CMS_NTAPI, END_LOCK_CHECKPOINT, EndWmiCmTrace, EXCEPTION_EXECUTE_HANDLER, Index, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, ProbeForWrite(), ProbeForWriteUlong, StartWmiCmTrace, and UserMode. Referenced by CliGetImeHotKeysFromRegistry(), Copy(), Delete(), Directory(), Dump(), GetServerIMEKeyboardLayout(), ListDrivers(), main(), and RtlpNtEnumerateSubKey().
|
|
Definition at line 756 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CmEnumerateValueKey(), CML_API, CML_API_ARGS, CMLOG, CmpKeyObjectType, CMS_EXCEPTION, CMS_NTAPI, END_LOCK_CHECKPOINT, EndWmiCmTrace, EXCEPTION_EXECUTE_HANDLER, Index, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, ProbeForWrite(), ProbeForWriteUlong, StartWmiCmTrace, and UserMode. Referenced by bCheckAndDeleteTTF(), bCleanConvertedTTFs(), Copy(), DumpValues(), GetBadAppCmdLine(), List(), main(), and vSweepFonts().
|
|
Definition at line 904 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, _REGISTRY_COMMAND::Cell, CML_API, CMLOG, CmpKeyObjectType, CmpLockRegistry(), CmpUnlockRegistry(), CmpWorker(), CMS_NTAPI, _REGISTRY_COMMAND::Command, END_LOCK_CHECKPOINT, EndWmiCmTrace, _REGISTRY_COMMAND::Hive, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, REG_CMD_FLUSH_KEY, REGISTRY_COMMAND, StartWmiCmTrace, and _REGISTRY_COMMAND::Status. Referenced by CmpInterlockedFunction(), main(), and RtlApplyRXact().
|
|
Definition at line 997 of file ntapi.c. References CmBootAcceptFirstTime, CmFirstTime, CmpLockRegistryExclusive(), CmpSaveBootControlSet(), CmpSetVersionData(), CmpUnlockRegistry(), CmpWorker(), _REGISTRY_COMMAND::Command, FALSE, IopCopyBootLogRegistryToFile(), PAGED_CODE, PoInitHiberServices(), REG_CMD_INIT, _REGISTRY_COMMAND::SetupBoot, TRUE, and UserMode.
|
|
Definition at line 2832 of file ntapi.c. References NtLoadKey2(). Referenced by main().
|
|
Definition at line 2881 of file ntapi.c. References ALLOCATE_WITH_QUOTA, BEGIN_LOCK_CHECKPOINT, CML_API, CML_API_ARGS, CmLoadKey(), CMLOG, CmpNameFromAttributes(), CMS_EXCEPTION, CMS_NTAPI, END_LOCK_CHECKPOINT, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), File, FileName, KeEnterCriticalRegion, KeLeaveCriticalRegion, Key, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, PagedPool, ProbeAndReadUnicodeString, ProbeForRead, SeCaptureSecurityDescriptor(), SeRestorePrivilege, SeSinglePrivilegeCheck(), Status, TRUE, UserMode, and USHORT. Referenced by NtLoadKey().
|
|
Definition at line 1156 of file ntapi.c. References Buffer, BufferSize, CML_API, CMLOG, CMS_NTAPI, Event(), NtNotifyChangeMultipleKeys(), NULL, PAGED_CODE, and WatchTree. Referenced by main(), and RegReadApcProcedure().
|
|
Definition at line 1319 of file ntapi.c. References _CM_ASYNC_USER_POST_BLOCK::Apc, APC_LEVEL, ASSERT, _CM_POST_BLOCK_UNION::AsyncKernel, _CM_POST_BLOCK_UNION::AsyncUser, BEGIN_LOCK_CHECKPOINT, Buffer, BufferSize, CML_API, CMLOG, CmpAllocateMasterPostBlock, CmpAllocateSlavePostBlock, CmpDummyApc(), CmpExceptionFilter, CmpFreePostBlock(), CmpKeyObjectType, CmpLockRegistry(), CmpLockRegistryExclusive(), CmpNotifyChangeKey(), CmpPostApc(), CmpPostApcRunDown(), CmpRemoveEntryList, CmpSetIoStatus, CmpUnlockRegistry(), CMS_EXCEPTION, CMS_NTAPI, Count, CurrentApcEnvironment, END_LOCK_CHECKPOINT, _CM_ASYNC_KERNEL_POST_BLOCK::Event, Event(), EXCEPTION_EXECUTE_HANDLER, Executive, ExEventObjectType, FALSE, _CM_ASYNC_USER_POST_BLOCK::IoStatusBlock, KeBugCheckEx(), KeClearEvent, KeGetCurrentThread, KeInitializeApc(), KeIsAttachedProcess, KeLowerIrql(), KeRaiseIrql(), KernelMode, KeWaitForSingleObject(), _CM_KEY_BODY::KeyControlBlock, _CM_KEY_CONTROL_BLOCK::KeyHive, KPROCESSOR_MODE, _CM_POST_BLOCK::NotifyList, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, ObDereferenceObject, ObOpenObjectByName(), ObReferenceObjectByHandle(), PAGED_CODE, PCM_POST_BLOCK, PKKERNEL_ROUTINE, PKNORMAL_ROUTINE, PKRUNDOWN_ROUTINE, POST_BLOCK_TYPE, PostAsyncKernel, PostAsyncUser, PostSynchronous, ProbeForWrite(), PsGetCurrentProcess, _CM_ASYNC_KERNEL_POST_BLOCK::QueueType, _CM_SYNC_POST_BLOCK::Status, _CM_POST_BLOCK_UNION::Sync, _CM_SYNC_POST_BLOCK::SystemEvent, _CM_POST_BLOCK::ThreadList, TRUE, _CM_POST_BLOCK::u, _CM_ASYNC_USER_POST_BLOCK::UserEvent, WatchTree, WORK_QUEUE_TYPE, and _CM_ASYNC_KERNEL_POST_BLOCK::WorkItem. Referenced by NtNotifyChangeKey().
|
|
Definition at line 1870 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CML_API_ARGS, CMLOG, CmpExceptionFilter, CmpKeyObjectType, CmpLockRegistry(), CmpUnlockRegistry(), CMS_EXCEPTION, CMS_NTAPI, END_LOCK_CHECKPOINT, EndWmiCmTrace, Handle, KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, ObDereferenceObject, ObjectAttributes, ObOpenObjectByName(), ObReferenceObjectByHandle(), PAGED_CODE, ProbeAndReadUnicodeString, ProbeAndZeroHandle, ProbeForRead, StartWmiCmTrace, and UserMode. Referenced by bCleanConvertedTTFs(), bLoadableFontDrivers(), CheckRestricted(), CheckValidLayoutName(), CliGetImeHotKeysFromRegistry(), CliSetSingleHotKey(), CmGetSystemDriverList(), CmInitSystem1(), CmpAddAcpiAliasEntry(), CmpAddAliasEntry(), CmpCloneControlSet(), CmpCloneHwProfile(), CmpCreateControlSet(), CmpCreatePerfKeys(), CmpInitializeMachineDependentConfiguration(), CmpInterlockedFunction(), CmpOpenRegKey(), CmpSaveBootControlSet(), Copy(), Delete(), DoTest(), Dump(), FtOpenKey(), GetActiveKeyboardName(), GetBadAppCmdLine(), GetErrorMode(), GetRealDllFileNameWorker(), GetServerIMEKeyboardLayout(), InitializeRestrictedStuff(), IopAddRemoteBootValuesToRegistry(), IopProtectSystemPartition(), IopStartNetworkForRemoteBoot(), KbdLayerRealDllFileForWBT(), LdrQueryImageFileExecutionOptions(), LoadAppDlls(), main(), MyRegOpenKey(), OpenKeyboardLayoutFile(), processargs(), RtlGetNtProductType(), RtlpNtOpenKey(), RXactpOpenTargetKey(), SepAdtInitializeAuditingOptions(), SepAdtInitializeBounds(), SepAdtInitializeCrashOnFail(), SepAdtInitializePrivilegeAuditing(), StartRegReadRead(), vCleanConvertedTTFs(), and vSweepFonts().
|
|
Definition at line 2018 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CMLOG, CmpKeyObjectType, CmQueryKey(), CMS_EXCEPTION, CMS_NTAPI, END_LOCK_CHECKPOINT, EndWmiCmTrace, EXCEPTION_EXECUTE_HANDLER, _OBJECT_HANDLE_INFORMATION::GrantedAccess, _CM_KEY_BODY::KeyControlBlock, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, ProbeForWrite(), ProbeForWriteUlong, StartWmiCmTrace, and UserMode. Referenced by bCleanConvertedTTFs(), bLoadableFontDrivers(), GetRegistryValues(), IopLoadDriver(), main(), and vSweepFonts().
|
|
Definition at line 3461 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CML_API_ARGS, CMLOG, CmpKeyObjectType, CmQueryMultipleValueKey(), CMS_EXCEPTION, CMS_NTAPI, END_LOCK_CHECKPOINT, EndWmiCmTrace, EXCEPTION_EXECUTE_HANDLER, ExRaiseStatus(), KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, ProbeAndReadUlong, ProbeForWrite(), ProbeForWriteUlong, StartWmiCmTrace, Status, UserMode, and ValueBuffer.
|
|
Definition at line 4090 of file ntapi.c. References _HHIVE::BaseBlock, BEGIN_LOCK_CHECKPOINT, Cell, CML_API, CML_API_ARGS, CMLOG, CmpEnumKeyObjectCallback(), CmpKeyObjectType, CmpLockRegistryExclusive(), CmpOpenSubKeys, CmpSearchForOpenSubKeys(), CmpUnlockRegistry(), CMS_EXCEPTION, CMS_NTAPI, DbgPrint, END_LOCK_CHECKPOINT, EXCEPTION_EXECUTE_HANDLER, _HBASE_BLOCK::FileName, HCELL_INDEX, Hive, _CM_KEY_CONTROL_BLOCK::KeyCell, _CM_KEY_BODY::KeyControlBlock, _CM_KEY_CONTROL_BLOCK::KeyHive, KPROCESSOR_MODE, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, ObDereferenceObject, ObEnumerateObjectsByType(), ObOpenObjectByName(), ObReferenceObjectByHandle(), PAGED_CODE, ProbeForWriteUlong, _HBASE_BLOCK::RootCell, RtlInitUnicodeString(), SearchAndCount, Status, and UserMode.
|
|
Definition at line 2187 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CML_API_ARGS, CMLOG, CmpKeyObjectType, CmQueryValueKey(), CMS_EXCEPTION, CMS_NTAPI, END_LOCK_CHECKPOINT, EndWmiCmTrace, EXCEPTION_EXECUTE_HANDLER, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, ProbeAndReadUnicodeString, ProbeForRead, ProbeForWriteUlong, StartWmiCmTrace, UserMode, and ValueName. Referenced by CheckRestricted(), CliReadRegistryValue(), CmpAddAcpiAliasEntry(), CmpAppendStringToMultiSz(), CmpCloneHwProfile(), CmpCreateControlSet(), CmpGetAcpiProfileInformation(), CmpInterlockedFunction(), CmpMoveBiosAliasTable(), CmpProcessAddRegLine(), CmpProcessBitRegLine(), CmSetAcpiHwProfile(), DoTest(), FtReturnValue(), GetActiveKeyboardName(), GetBadAppCmdLine(), GetErrorMode(), GetRealDllFileNameWorker(), GetRegIntFromID(), GetServerIMEKeyboardLayout(), InitializeRestrictedStuff(), IoInitSystem(), IopAddRemoteBootValuesToRegistry(), IopLoadDriver(), IopProtectSystemPartition(), IopStartNetworkForRemoteBoot(), KbdLayerRealDllFileForWBT(), LdrQueryImageFileExecutionOptions(), LoadAppDlls(), main(), MyRegQueryValue(), OpenKeyboardLayoutFile(), RegReadApcProcedure(), RtlGetNtProductType(), RtlInitializeRXact(), RtlpNtQueryValueKey(), SepAdtInitializeAuditingOptions(), SepAdtInitializeBounds(), SepAdtInitializeCrashOnFail(), SepAdtInitializePrivilegeAuditing(), vCleanConvertedTTFs(), and vSweepFonts().
|
|
Definition at line 3336 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CML_API_ARGS, CMLOG, CmpKeyObjectType, CmpNameFromAttributes(), CmReplaceKey(), CMS_NTAPI, END_LOCK_CHECKPOINT, ExFreePool(), KeEnterCriticalRegion, KeLeaveCriticalRegion, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, SeRestorePrivilege, SeSinglePrivilegeCheck(), and Status. Referenced by main().
|
|
Definition at line 2348 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CMLOG, CmpKeyObjectType, CmRestoreKey(), CMS_NTAPI, END_LOCK_CHECKPOINT, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, SeRestorePrivilege, SeSinglePrivilegeCheck(), and UserMode. Referenced by main().
|
|
Definition at line 2471 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CMLOG, CmpKeyObjectType, CMS_NTAPI, CmSaveKey(), END_LOCK_CHECKPOINT, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, SeBackupPrivilege, SeSinglePrivilegeCheck(), and UserMode.
|
|
Definition at line 2559 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CMLOG, CmpKeyObjectType, CMS_NTAPI, CmSaveMergedKeys(), END_LOCK_CHECKPOINT, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, SeBackupPrivilege, SeSinglePrivilegeCheck(), and UserMode.
|
|
Definition at line 3235 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CML_API_ARGS, CMLOG, CmpKeyObjectType, CMS_EXCEPTION, CMS_NTAPI, CmSetLastWriteTimeKey(), END_LOCK_CHECKPOINT, EndWmiCmTrace, EXCEPTION_EXECUTE_HANDLER, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, ProbeAndReadLargeInteger, StartWmiCmTrace, and UserMode.
|
|
Definition at line 2672 of file ntapi.c. References BEGIN_LOCK_CHECKPOINT, CML_API, CML_API_ARGS, CMLOG, CmpExceptionFilter, CmpKeyObjectType, CMS_EXCEPTION, CMS_NTAPI, CmSetValueKey(), END_LOCK_CHECKPOINT, EndWmiCmTrace, ExAllocatePoolWithQuotaTag, ExFreePool(), KPROCESSOR_MODE, MAX_KEY_VALUE_NAME_LENGTH, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, PagedPool, ProbeAndReadUnicodeString, ProbeForRead, StartWmiCmTrace, UserMode, and ValueName. Referenced by CmInitSystem1(), CmpAddAcpiAliasEntry(), CmpAddAliasEntry(), CmpAddDockingInfo(), CmpCloneHwProfile(), CmpCreateControlSet(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpInterlockedFunction(), CmpLinkKeyToHive(), CmpMoveBiosAliasTable(), CmpProcessAddRegLine(), CmpProcessBitRegLine(), CmpSetVersionData(), CmSetAcpiHwProfile(), Copy(), DoTest(), FtSetValue(), GetActiveKeyboardName(), IopAddRemoteBootValuesToRegistry(), IopStoreSystemPartitionInformation(), IopWriteIpAddressToRegistry(), main(), RtlApplyRXact(), RtlInitializeRXact(), RtlpNtSetValueKey(), RXactpCommit(), vCleanConvertedTTFs(), vProcessFontEntry(), and vSweepFonts().
|
|
Definition at line 3093 of file ntapi.c. References ASSERT_CM_LOCK_OWNED_EXCLUSIVE, BEGIN_LOCK_CHECKPOINT, Cell, _CM_PARSE_CONTEXT::Class, CML_API, CML_API_ARGS, CMLOG, CmpCleanUpSubKeyInfo(), CmpFlushNotify(), CmpKeyObjectType, CmpLockRegistryExclusive(), CmpRemoveKeyControlBlock(), CmpReportNotify(), CmpUnlockRegistry(), CMS_EXCEPTION, CMS_NTAPI, CmUnloadKey(), _CM_PARSE_CONTEXT::CreateLink, _CM_PARSE_CONTEXT::CreateOptions, _CM_KEY_CONTROL_BLOCK::Delete, _CM_PARSE_CONTEXT::Disposition, END_LOCK_CHECKPOINT, EXCEPTION_EXECUTE_HANDLER, FALSE, HCELL_INDEX, Hive, _CM_KEY_CONTROL_BLOCK::KeyCell, _CM_KEY_BODY::KeyControlBlock, _CM_KEY_CONTROL_BLOCK::KeyHive, KPROCESSOR_MODE, L, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, ObDereferenceObject, ObOpenObjectByName(), ObReferenceObjectByHandle(), PAGED_CODE, _CM_KEY_CONTROL_BLOCK::ParentKcb, _CM_PARSE_CONTEXT::PredefinedHandle, SeRestorePrivilege, SeSinglePrivilegeCheck(), Status, _CM_PARSE_CONTEXT::TitleIndex, and TRUE. Referenced by CmpDeleteCloneTree(), and main().
|
|
Definition at line 35 of file ntapi.c. Referenced by NtInitializeRegistry(). |
|
Definition at line 34 of file ntapi.c. Referenced by CmBootLastKnownGood(), and NtInitializeRegistry(). |
|
|
Definition at line 4054 of file ntapi.c. Referenced by CmpEnumKeyObjectCallback(), and NtQueryOpenSubKeys(). |
|
|
|
|
Definition at line 401 of file ntapi.c. Referenced by NtDeleteKey(). |