ReactOS 0.4.15-dev-5884-gab5aff5
|
#include <pshpack1.h>
#include <poppack.h>
Go to the source code of this file.
Classes | |
struct | _HBASE_BLOCK |
struct | _HBIN |
struct | _HCELL |
struct | _HMAP_ENTRY |
struct | _HMAP_TABLE |
struct | _HMAP_DIRECTORY |
struct | _DUAL |
struct | _HHIVE |
Macros | |
#define | HINIT_CREATE 0 |
#define | HINIT_MEMORY 1 |
#define | HINIT_FILE 2 |
#define | HINIT_MEMORY_INPLACE 3 |
#define | HINIT_FLAT 4 |
#define | HINIT_MAPFILE 5 |
#define | HIVE_VOLATILE 1 |
#define | HIVE_NOLAZYFLUSH 2 |
#define | HIVE_HAS_BEEN_REPLACED 4 |
#define | HIVE_HAS_BEEN_FREED 8 |
#define | HIVE_UNKNOWN 0x10 |
#define | HIVE_IS_UNLOADING 0x20 |
#define | HFILE_TYPE_PRIMARY 0 |
#define | HFILE_TYPE_LOG 1 |
#define | HFILE_TYPE_EXTERNAL 2 |
#define | HFILE_TYPE_MAX 3 |
#define | HBLOCK_SIZE 0x1000 |
#define | HSECTOR_SIZE 0x200 |
#define | HSECTOR_COUNT 8 |
#define | HV_LOG_HEADER_SIZE FIELD_OFFSET(HBASE_BLOCK, Reserved2) |
#define | HV_HHIVE_SIGNATURE 0xbee0bee0 |
#define | HV_HBLOCK_SIGNATURE 0x66676572 |
#define | HV_HBIN_SIGNATURE 0x6e696268 |
#define | HSYS_MAJOR 1 |
#define | HSYS_MINOR 3 |
#define | HSYS_WHISTLER_BETA1 4 |
#define | HSYS_WHISTLER 5 |
#define | HSYS_MINOR_SUPPORTED HSYS_WHISTLER |
#define | HBASE_FORMAT_MEMORY 1 |
#define | HTYPE_COUNT 2 |
HCELL_INDEX | |
A handle to cell index. The highest bit specifies the cell storage and the other bits specify index into the hive file. The value HCELL_NULL (-1) is reserved for marking invalid cells. | |
#define | HCELL_NIL MAXULONG |
#define | HCELL_CACHED 1 |
#define | HCELL_TYPE_MASK 0x80000000 |
#define | HCELL_BLOCK_MASK 0x7ffff000 |
#define | HCELL_OFFSET_MASK 0x00000fff |
#define | HCELL_TYPE_SHIFT 31 |
#define | HCELL_BLOCK_SHIFT 12 |
#define | HCELL_OFFSET_SHIFT 0 |
#define | HvGetCellType(Cell) ((ULONG)(((Cell) & HCELL_TYPE_MASK) >> HCELL_TYPE_SHIFT)) |
#define | HvGetCellBlock(Cell) ((ULONG)(((Cell) & HCELL_BLOCK_MASK) >> HCELL_BLOCK_SHIFT)) |
enum | HSTORAGE_TYPE { Stable = 0 , Volatile = 1 } |
typedef ULONG | HCELL_INDEX |
typedef ULONG * | PHCELL_INDEX |
#define HBASE_FORMAT_MEMORY 1 |
Definition at line 66 of file hivedata.h.
#define HBLOCK_SIZE 0x1000 |
Definition at line 41 of file hivedata.h.
#define HCELL_BLOCK_MASK 0x7ffff000 |
Definition at line 89 of file hivedata.h.
#define HCELL_BLOCK_SHIFT 12 |
Definition at line 92 of file hivedata.h.
#define HCELL_CACHED 1 |
Definition at line 86 of file hivedata.h.
Definition at line 85 of file hivedata.h.
#define HCELL_OFFSET_MASK 0x00000fff |
Definition at line 90 of file hivedata.h.
#define HCELL_OFFSET_SHIFT 0 |
Definition at line 93 of file hivedata.h.
#define HCELL_TYPE_MASK 0x80000000 |
Definition at line 88 of file hivedata.h.
#define HCELL_TYPE_SHIFT 31 |
Definition at line 91 of file hivedata.h.
#define HFILE_TYPE_EXTERNAL 2 |
Definition at line 35 of file hivedata.h.
#define HFILE_TYPE_LOG 1 |
Definition at line 34 of file hivedata.h.
#define HFILE_TYPE_MAX 3 |
Definition at line 36 of file hivedata.h.
#define HFILE_TYPE_PRIMARY 0 |
Definition at line 33 of file hivedata.h.
#define HINIT_CREATE 0 |
Definition at line 13 of file hivedata.h.
#define HINIT_FILE 2 |
Definition at line 15 of file hivedata.h.
#define HINIT_FLAT 4 |
Definition at line 17 of file hivedata.h.
#define HINIT_MAPFILE 5 |
Definition at line 18 of file hivedata.h.
#define HINIT_MEMORY 1 |
Definition at line 14 of file hivedata.h.
#define HINIT_MEMORY_INPLACE 3 |
Definition at line 16 of file hivedata.h.
#define HIVE_FILENAME_MAXLEN 31 |
Definition at line 114 of file hivedata.h.
#define HIVE_HAS_BEEN_FREED 8 |
Definition at line 26 of file hivedata.h.
#define HIVE_HAS_BEEN_REPLACED 4 |
Definition at line 25 of file hivedata.h.
#define HIVE_IS_UNLOADING 0x20 |
Definition at line 28 of file hivedata.h.
#define HIVE_NOLAZYFLUSH 2 |
Definition at line 24 of file hivedata.h.
#define HIVE_UNKNOWN 0x10 |
Definition at line 27 of file hivedata.h.
#define HIVE_VOLATILE 1 |
Definition at line 23 of file hivedata.h.
#define HSECTOR_COUNT 8 |
Definition at line 43 of file hivedata.h.
#define HSECTOR_SIZE 0x200 |
Definition at line 42 of file hivedata.h.
#define HSYS_MAJOR 1 |
Definition at line 57 of file hivedata.h.
#define HSYS_MINOR 3 |
Definition at line 58 of file hivedata.h.
#define HSYS_MINOR_SUPPORTED HSYS_WHISTLER |
Definition at line 61 of file hivedata.h.
#define HSYS_WHISTLER 5 |
Definition at line 60 of file hivedata.h.
#define HSYS_WHISTLER_BETA1 4 |
Definition at line 59 of file hivedata.h.
#define HTYPE_COUNT 2 |
Definition at line 71 of file hivedata.h.
#define HV_HBIN_SIGNATURE 0x6e696268 |
Definition at line 52 of file hivedata.h.
#define HV_HBLOCK_SIGNATURE 0x66676572 |
Definition at line 51 of file hivedata.h.
#define HV_HHIVE_SIGNATURE 0xbee0bee0 |
Definition at line 50 of file hivedata.h.
#define HV_LOG_HEADER_SIZE FIELD_OFFSET(HBASE_BLOCK, Reserved2) |
Definition at line 45 of file hivedata.h.
#define HvGetCellBlock | ( | Cell | ) | ((ULONG)(((Cell) & HCELL_BLOCK_MASK) >> HCELL_BLOCK_SHIFT)) |
Definition at line 97 of file hivedata.h.
#define HvGetCellType | ( | Cell | ) | ((ULONG)(((Cell) & HCELL_TYPE_MASK) >> HCELL_TYPE_SHIFT)) |
Definition at line 95 of file hivedata.h.
Definition at line 334 of file hivedata.h.
Definition at line 335 of file hivedata.h.
typedef struct _HBASE_BLOCK HBASE_BLOCK |
typedef ULONG HCELL_INDEX |
Definition at line 80 of file hivedata.h.
typedef struct _HMAP_DIRECTORY HMAP_DIRECTORY |
typedef struct _HMAP_ENTRY HMAP_ENTRY |
typedef struct _HMAP_TABLE HMAP_TABLE |
Definition at line 209 of file hivedata.h.
typedef BOOLEAN(CMAPI * PFILE_FLUSH_ROUTINE) (struct _HHIVE *RegistryHive, ULONG FileType, PLARGE_INTEGER FileOffset, ULONG Length) |
Definition at line 248 of file hivedata.h.
typedef BOOLEAN(CMAPI * PFILE_READ_ROUTINE) (struct _HHIVE *RegistryHive, ULONG FileType, PULONG FileOffset, PVOID Buffer, SIZE_T BufferLength) |
Definition at line 222 of file hivedata.h.
typedef BOOLEAN(CMAPI * PFILE_SET_SIZE_ROUTINE) (struct _HHIVE *RegistryHive, ULONG FileType, ULONG FileSize, ULONG OldfileSize) |
Definition at line 240 of file hivedata.h.
typedef BOOLEAN(CMAPI * PFILE_WRITE_ROUTINE) (struct _HHIVE *RegistryHive, ULONG FileType, PULONG FileOffset, PVOID Buffer, SIZE_T BufferLength) |
Definition at line 231 of file hivedata.h.
Definition at line 216 of file hivedata.h.
typedef struct _CELL_DATA *CMAPI * PGET_CELL_ROUTINE(struct _HHIVE *Hive, HCELL_INDEX Cell) |
Definition at line 198 of file hivedata.h.
typedef struct _HBASE_BLOCK * PHBASE_BLOCK |
typedef ULONG * PHCELL_INDEX |
Definition at line 80 of file hivedata.h.
typedef struct _HMAP_DIRECTORY * PHMAP_DIRECTORY |
typedef struct _HMAP_ENTRY * PHMAP_ENTRY |
typedef struct _HMAP_TABLE * PHMAP_TABLE |
typedef VOID(CMAPI * PRELEASE_CELL_ROUTINE) (struct _HHIVE *Hive, HCELL_INDEX Cell) |
Definition at line 203 of file hivedata.h.
Enumerator | |
---|---|
Stable | |
Volatile |
Definition at line 100 of file hivedata.h.
C_ASSERT | ( | sizeof(HBASE_BLOCK) | = =HBLOCK_SIZE | ) |