ReactOS 0.4.16-dev-91-g764881a
|
#include <cmlib.h>
Go to the source code of this file.
Macros | |
#define | HKEY_TO_HCI(hKey) ((HCELL_INDEX)(ULONG_PTR)(hKey)) |
#define | RegCloseKey(hKey) (ERROR_SUCCESS) |
Typedefs | |
typedef HANDLE | HKEY |
typedef HANDLE * | PHKEY |
Functions | |
BOOLEAN | RegImportBinaryHive (_In_ PVOID ChunkBase, _In_ ULONG ChunkSize, _In_ PCSTR SearchPath, _In_ BOOLEAN LoadAlternate) |
Imports the SYSTEM binary hive from the registry base chunk that's been provided by the loader block. | |
BOOLEAN | RegInitCurrentControlSet (_In_ BOOLEAN LastKnownGood) |
LONG | RegOpenKey (_In_ HKEY ParentKey, _In_z_ PCWSTR KeyName, _Out_ PHKEY Key) |
LONG | RegQueryValue (_In_ HKEY Key, _In_z_ PCWSTR ValueName, _Out_opt_ PULONG Type, _Out_opt_ PUCHAR Data, _Inout_opt_ PULONG DataSize) |
Variables | |
PHHIVE | SystemHive |
HKEY | CurrentControlSetKey |
#define HKEY_TO_HCI | ( | hKey | ) | ((HCELL_INDEX)(ULONG_PTR)(hKey)) |
Definition at line 28 of file registry.h.
#define RegCloseKey | ( | hKey | ) | (ERROR_SUCCESS) |
Definition at line 49 of file registry.h.
Definition at line 26 of file registry.h.
Definition at line 26 of file registry.h.
BOOLEAN RegImportBinaryHive | ( | _In_ PVOID | ChunkBase, |
_In_ ULONG | ChunkSize, | ||
_In_ PCSTR | SearchPath, | ||
_In_ BOOLEAN | LoadAlternate | ||
) |
Imports the SYSTEM binary hive from the registry base chunk that's been provided by the loader block.
[in] | ChunkBase | A pointer to the registry base chunk that serves for SYSTEM hive initialization. |
[in] | ChunkSize | The size of the registry base chunk. This parameter refers to the actual size of the SYSTEM hive. This parameter is currently unused. |
[in] | LoadAlternate | If set to TRUE, the function will initialize the hive as an alternate hive, otherwise FALSE to initialize it as primary. |
Definition at line 449 of file registry.c.
Referenced by WinLdrInitSystemHive().
Definition at line 525 of file registry.c.
Referenced by WinLdrInitSystemHive().
Definition at line 676 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 831 of file registry.c.
|
extern |
Definition at line 34 of file registry.c.
Referenced by RegInitCurrentControlSet(), RegOpenKey(), WinLdrDetectVersion(), WinLdrInitErrataInf(), WinLdrScanRegistry(), and WinLdrScanSystemHive().
|
extern |
Definition at line 33 of file registry.c.
Referenced by CmGetSystemControlValues(), CmpFindControlSet(), CmpInitializeSystemHive(), CmpWalkPath(), RegImportBinaryHive(), RegInitCurrentControlSet(), and WinLdrScanRegistry().