ReactOS 0.4.15-dev-8131-g4988de4
registry.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS hive maker
4 * FILE: tools/mkhive/registry.h
5 * PURPOSE: Registry code
6 */
7
8#pragma once
9
10typedef struct _HIVE_LIST_ENTRY
11{
18
19#define MAX_NUMBER_OF_REGISTRY_HIVES 7
21
22#define ERROR_SUCCESS 0L
23#define ERROR_INVALID_FUNCTION 1L
24#define ERROR_FILE_NOT_FOUND 2L
25#define ERROR_ACCESS_DENIED 5L
26#define ERROR_NOT_ENOUGH_MEMORY 8L
27#define ERROR_GEN_FAILURE 31L
28#define ERROR_INVALID_PARAMETER 87L
29// #define ERROR_MORE_DATA 234L
30// #define ERROR_NO_MORE_ITEMS 259L
31#define ERROR_NO_LOG_SPACE 1019L
32#define ERROR_NO_SYSTEM_RESOURCES 1450L
33
34#define REG_NONE 0
35#define REG_SZ 1
36#define REG_EXPAND_SZ 2
37#define REG_BINARY 3
38#define REG_DWORD 4
39#define REG_DWORD_LITTLE_ENDIAN 4
40#define REG_DWORD_BIG_ENDIAN 5
41#define REG_LINK 6
42#define REG_MULTI_SZ 7
43#define REG_RESOURCE_LIST 8
44#define REG_FULL_RESOURCE_DESCRIPTOR 9
45#define REG_RESOURCE_REQUIREMENTS_LIST 10
46#define REG_QWORD 11
47#define REG_QWORD_LITTLE_ENDIAN 11
48
49VOID
51 IN PCSTR HiveList);
52
53VOID
55
56/* EOF */
NTSTATUS RegInitializeRegistry(IN PUNICODE_STRING NtSystemRoot)
Definition: registry.c:679
HIVE_LIST_ENTRY RegistryHives[]
Definition: registry.c:581
VOID RegShutdownRegistry(VOID)
Definition: registry.c:1193
struct _HIVE_LIST_ENTRY * PHIVE_LIST_ENTRY
struct _HIVE_LIST_ENTRY HIVE_LIST_ENTRY
Definition: cmlib.h:316
Definition: registry.c:569
PUCHAR SecurityDescriptor
Definition: registry.h:15
PCMHIVE CmHive
Definition: cm.h:414
PCSTR HiveName
Definition: registry.h:12
PCWSTR HiveRegistryPath
Definition: registry.c:571
ULONG SecurityDescriptorLength
Definition: registry.h:16
const uint16_t * PCWSTR
Definition: typedefs.h:57
const char * PCSTR
Definition: typedefs.h:52
#define IN
Definition: typedefs.h:39
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59