#include "edithive.h"
#include "nturtl.h"
Go to the source code of this file.
Defines | |
#define | SECURITY_CELL_LENGTH(pDescriptor) |
Functions | |
NTSTATUS | EhpAttachSecurity (IN PHHIVE Hive, IN HCELL_INDEX Cell) |
PVOID | EhpAllocate (ULONG Size) |
VOID | EhpFree (PVOID MemoryBlock) |
BOOLEAN | EhpFileRead (HANDLE FileHandle, PULONG FileOffset, PVOID DataBuffer, ULONG DataLength) |
BOOLEAN | EhpFileWrite (HANDLE FileHandle, PULONG FileOffset, PVOID DataBuffer, ULONG DataLength) |
BOOLEAN | EhpFileFlush (HANDLE FileHandle) |
VOID | CmpGetObjectSecurity (IN HCELL_INDEX Cell, IN PHHIVE Hive, OUT PCM_KEY_SECURITY *Security, OUT PHCELL_INDEX SecurityCell OPTIONAL) |
VOID | EhCloseHive (IN HANDLE HiveHandle) |
HANDLE | EhOpenHive (IN PUNICODE_STRING FileName, OUT PHANDLE RootHandle, IN PUNICODE_STRING RootName, IN ULONG HiveType) |
NTSTATUS | EhEnumerateKey (IN HANDLE HiveHandle, IN HANDLE CellHandle, IN ULONG Index, IN KEY_INFORMATION_CLASS KeyInformationClass, IN PVOID KeyInformation, IN ULONG Length, IN PULONG ResultLength) |
NTSTATUS | EhEnumerateValueKey (IN HANDLE HiveHandle, IN HANDLE CellHandle, IN ULONG Index, IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass, IN PVOID KeyValueInformation, IN ULONG Length, IN PULONG ResultLength) |
NTSTATUS | EhOpenChildByNumber (IN HANDLE HiveHandle, IN HANDLE CellHandle, IN ULONG Index, IN NODE_TYPE Type, OUT PHANDLE ChildCell) |
NTSTATUS | EhSetValueKey (IN HANDLE HiveHandle, IN HANDLE CellHandle, IN PUNICODE_STRING ValueName, IN ULONG TitleIndex OPTIONAL, IN ULONG Type, IN PVOID Data, IN ULONG DataSize) |
NTSTATUS | EhOpenChildByName (HANDLE HiveHandle, HANDLE CellHandle, PUNICODE_STRING Name, PHANDLE ChildCell) |
NTSTATUS | EhCreateChild (IN HANDLE HiveHandle, IN HANDLE CellHandle, IN PUNICODE_STRING Name, OUT PHANDLE ChildCell, OUT PULONG Disposition OPTIONAL) |
NTSTATUS | EhQueryKey (IN HANDLE HiveHandle, IN HANDLE KeyHandle, IN KEY_INFORMATION_CLASS KeyInformationClass, IN PVOID KeyInformation, IN ULONG Length, IN PULONG ResultLength) |
PSECURITY_DESCRIPTOR | EhGetKeySecurity (IN HANDLE HiveHandle, IN HANDLE KeyHandle) |
NTSTATUS | EhQueryValueKey (IN HANDLE HiveHandle, IN HANDLE KeyHandle, IN PUNICODE_STRING ValueName, IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass, IN PVOID KeyValueInformation, IN ULONG Length, IN PULONG ResultLength) |
NTSTATUS | EhDeleteValueKey (IN HANDLE HiveHandle, IN HANDLE CellHandle, IN PUNICODE_STRING ValueName) |
Variables | |
GENERIC_MAPPING | CmpKeyMapping |
LIST_ENTRY | CmpHiveListHead |
|
Value:
Definition at line 27 of file edithive.c. |
|
Definition at line 70 of file edithive.c. References Cell, CML_FLOW, CMLOG, CmpGetKeySecurity(), CMS_SEC, HCELL_INDEX, Hive, HvGetCell, Name, _CM_KEY_NODE::Name, _CM_KEY_NODE::NameLength, PAGED_CODE, and _CM_KEY_NODE::Security. Referenced by EhGetKeySecurity().
|
|
Definition at line 124 of file edithive.c. References CmpFree(), HFILE_TYPE_ALTERNATE, HFILE_TYPE_LOG, HFILE_TYPE_PRIMARY, HvSyncHive(), and NtClose(). Referenced by RiInitializeRegistryFromAsciiFile().
|
|
Definition at line 625 of file edithive.c. References _HHIVE::BaseBlock, _CM_KEY_NODE::Class, _CM_KEY_NODE::ClassLength, CM_KEY_NODE_SIGNATURE, CmpAddSubKey(), CmpFreeKeyByCell(), CmpHKeyNodeSize, _CHILD_LIST::Count, EhpAttachSecurity(), FALSE, _CM_KEY_NODE::Flags, Handle, HCELL_INDEX, HCELL_NIL, Hive, HvAllocateCell(), HvGetCell, Index, KeQuerySystemTime(), KeyBodyNode, _CM_KEY_NODE::LastWriteTime, _CHILD_LIST::List, _CM_KEY_NODE::MaxClassLen, _CM_KEY_NODE::MaxNameLen, _CM_KEY_NODE::MaxValueDataLen, _CM_KEY_NODE::MaxValueNameLen, Name, _CM_KEY_NODE::Name, _CM_KEY_NODE::NameLength, NTSTATUS(), _CM_KEY_NODE::Parent, PHCELL_INDEX, _CM_KEY_SECURITY::ReferenceCount, _HBASE_BLOCK::RootCell, _CM_KEY_NODE::Security, _CM_KEY_NODE::Signature, _CM_KEY_NODE::Spare, Stable, Status, _CM_KEY_NODE::SubKeyCounts, _CM_KEY_NODE::SubKeyLists, _CM_KEY_NODE::ValueList, and Volatile. Referenced by RiInitializeRegistryFromAsciiFile().
|
|
Definition at line 943 of file edithive.c. References CmDeleteValueKey(), FALSE, HCELL_INDEX, kcb(), NULL, and ValueName. Referenced by RiInitializeRegistryFromAsciiFile().
|
|
Definition at line 320 of file edithive.c. References CmEnumerateKey(), FALSE, HCELL_INDEX, Index, and kcb(). Referenced by DumpKeys().
|
|
Definition at line 396 of file edithive.c. References CmEnumerateValueKey(), FALSE, HCELL_INDEX, Index, and kcb(). Referenced by DumpValues().
|
|
Definition at line 854 of file edithive.c. References CmpGetObjectSecurity(), _CM_KEY_SECURITY::Descriptor, HCELL_INDEX, Hive, and NULL.
|
|
Definition at line 585 of file edithive.c. References HCELL_INDEX, Hive, Index, KeyBodyNode, Name, and PHCELL_INDEX. Referenced by DumpKeys().
|
|
Definition at line 473 of file edithive.c. References HCELL_INDEX, Hive, Index, and PHCELL_INDEX.
|
|
Definition at line 156 of file edithive.c. References _HHIVE::BaseBlock, CmpHiveListHead, CmpInitializeHive(), CmpOpenHiveFiles(), FALSE, File, FileName, Handle, HCELL_NIL, HFILE_TYPE_ALTERNATE, HFILE_TYPE_LOG, HFILE_TYPE_PRIMARY, HINIT_CREATE, HINIT_FILE, Hive, HvGetCell, HvSyncHive(), L, _CM_KEY_NODE::Name, _CM_KEY_NODE::NameLength, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, _HBASE_BLOCK::RootCell, RtlInitUnicodeString(), Status, TRUE, TYPE_ALT, TYPE_LOG, and TYPE_SIMPLE.
|
|
|
|
Definition at line 988 of file edithive.c. References _CM_KEY_SECURITY::Blink, Cell, CM_KEY_SECURITY_SIGNATURE, CmpKeyMapping, _CM_KEY_SECURITY::Descriptor, _CM_KEY_SECURITY::DescriptorLength, FALSE, _CM_KEY_SECURITY::Flink, Handle, HCELL_INDEX, HCELL_NIL, Hive, HvAllocateCell(), HvGetCell, NT_SUCCESS, NtOpenProcessToken(), NTSTATUS(), NULL, _CM_KEY_SECURITY::ReferenceCount, RtlLengthSecurityDescriptor(), RtlNewSecurityObject(), _CM_KEY_NODE::Security, SECURITY_CELL_LENGTH, _CM_KEY_SECURITY::Signature, Stable, Status, and Token. Referenced by EhCreateChild().
|
|
|
|
|
|
|
|
|
|
Definition at line 785 of file edithive.c. References CmQueryKey(), _CM_KEY_CONTROL_BLOCK::Delete, FALSE, HCELL_INDEX, _CM_KEY_CONTROL_BLOCK::KeyCell, _CM_KEY_CONTROL_BLOCK::KeyHive, and NULL. Referenced by RiInitializeRegistryFromAsciiFile().
|
|
Definition at line 871 of file edithive.c. References CmQueryValueKey(), FALSE, HCELL_INDEX, kcb(), NULL, and ValueName. Referenced by RiInitializeRegistryFromAsciiFile().
|
|
Definition at line 515 of file edithive.c. References CmSetValueKey(), FALSE, HCELL_INDEX, kcb(), NULL, and ValueName. Referenced by RiInitializeRegistryFromAsciiFile().
|
|
Definition at line 25 of file edithive.c. |
|
Definition at line 24 of file edithive.c. Referenced by CmpCreateObjectTypes(), and EhpAttachSecurity(). |