ReactOS 0.4.15-dev-6644-g539123c
|
#include <freeldr.h>
#include <cmlib.h>
#include "registry.h"
#include <internal/cmboot.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | HCI_TO_HKEY(CellIndex) ((HKEY)(ULONG_PTR)(CellIndex)) |
#define | GET_HHIVE(CmHive) (&((CmHive)->Hive)) |
#define | GET_HHIVE_FROM_HKEY(hKey) GET_HHIVE(CmSystemHive) |
#define | GET_CM_KEY_NODE(hHive, hKey) ((PCM_KEY_NODE)HvGetCell(hHive, HKEY_TO_HCI(hKey))) |
Functions | |
DBG_DEFAULT_CHANNEL (REGISTRY) | |
PVOID NTAPI | CmpAllocate (IN SIZE_T Size, IN BOOLEAN Paged, IN ULONG Tag) |
VOID NTAPI | CmpFree (IN PVOID Ptr, IN ULONG Quota) |
BOOLEAN | RegImportBinaryHive (_In_ PVOID ChunkBase, _In_ ULONG ChunkSize) |
BOOLEAN | RegInitCurrentControlSet (_In_ BOOLEAN LastKnownGood) |
static BOOLEAN | GetNextPathElement (_Out_ PUNICODE_STRING NextElement, _Inout_ PUNICODE_STRING RemainingPath) |
LONG | RegOpenKey (_In_ HKEY ParentKey, _In_z_ PCWSTR KeyName, _Out_ PHKEY Key) |
static VOID | RepGetValueData (_In_ PHHIVE Hive, _In_ PCM_KEY_VALUE ValueCell, _Out_opt_ PULONG Type, _Out_opt_ PUCHAR Data, _Inout_opt_ PULONG DataSize) |
LONG | RegQueryValue (_In_ HKEY Key, _In_z_ PCWSTR ValueName, _Out_opt_ PULONG Type, _Out_opt_ PUCHAR Data, _Inout_opt_ PULONG DataSize) |
Variables | |
static PCMHIVE | CmSystemHive |
static HCELL_INDEX | SystemRootCell |
PHHIVE | SystemHive = NULL |
HKEY | CurrentControlSetKey = NULL |
#define GET_CM_KEY_NODE | ( | hHive, | |
hKey | |||
) | ((PCM_KEY_NODE)HvGetCell(hHive, HKEY_TO_HCI(hKey))) |
Definition at line 42 of file registry.c.
#define GET_HHIVE | ( | CmHive | ) | (&((CmHive)->Hive)) |
Definition at line 40 of file registry.c.
#define GET_HHIVE_FROM_HKEY | ( | hKey | ) | GET_HHIVE(CmSystemHive) |
Definition at line 41 of file registry.c.
Definition at line 35 of file registry.c.
Definition at line 46 of file registry.c.
Referenced by RegImportBinaryHive().
Definition at line 57 of file registry.c.
Referenced by RegImportBinaryHive().
DBG_DEFAULT_CHANNEL | ( | REGISTRY | ) |
|
static |
Definition at line 150 of file registry.c.
Referenced by RegOpenKey().
Definition at line 66 of file registry.c.
Referenced by WinLdrInitSystemHive().
Definition at line 112 of file registry.c.
Referenced by WinLdrInitSystemHive().
Definition at line 263 of file registry.c.
LONG RegQueryValue | ( | _In_ HKEY | Key, |
_In_z_ PCWSTR | ValueName, | ||
_Out_opt_ PULONG | Type, | ||
_Out_opt_ PUCHAR | Data, | ||
_Inout_opt_ PULONG | DataSize | ||
) |
Definition at line 418 of file registry.c.
|
static |
Definition at line 381 of file registry.c.
Referenced by RegQueryValue(), and RegQueryValueExW().
|
static |
Definition at line 29 of file registry.c.
Referenced by RegImportBinaryHive(), and RegOpenKey().
Definition at line 33 of file registry.c.
Referenced by RegInitCurrentControlSet(), RegOpenKey(), WinLdrDetectVersion(), WinLdrInitErrataInf(), WinLdrScanRegistry(), and WinLdrScanSystemHive().
Definition at line 32 of file registry.c.
Referenced by CmGetSystemControlValues(), CmpFindControlSet(), CmpInitializeSystemHive(), CmpWalkPath(), RegImportBinaryHive(), RegInitCurrentControlSet(), and WinLdrScanRegistry().
|
static |
Definition at line 30 of file registry.c.
Referenced by RegImportBinaryHive(), RegInitCurrentControlSet(), and RegOpenKey().