ReactOS  0.4.14-dev-77-gd9e7c48
sdbtypes.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Application compatibility module
3  * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4  * PURPOSE: Sdb core definitions
5  * COPYRIGHT: Copyright 2013 Mislav Blažević
6  * Copyright 2015-2019 Mark Jansen (mark.jansen@reactos.org)
7  */
8 
9 #ifndef SDBTYPES_H
10 #define SDBTYPES_H
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef WORD TAG;
17 typedef DWORD TAGID;
18 typedef DWORD TAGREF;
19 typedef UINT64 QWORD;
20 
21 #define TAGREF_NULL (0)
22 #define TAGREF_ROOT (0)
23 
24 typedef struct _DB {
36  struct _DB* string_buffer;
37 } DB, *PDB;
38 
39 typedef enum _PATH_TYPE {
42 } PATH_TYPE;
43 
44 
45 #ifdef __cplusplus
46 } // extern "C"
47 #endif
48 
49 #endif // SDBTYPES_H
HANDLE file
Definition: sdbtypes.h:25
struct _DB * string_buffer
Definition: sdbtypes.h:36
const uint16_t * PCWSTR
Definition: typedefs.h:55
TAGID stringtable
Definition: sdbtypes.h:28
_PATH_TYPE
Definition: sdbtypes.h:39
struct _DB * PDB
struct _DB DB
UINT64 QWORD
Definition: sdbtypes.h:19
Definition: sdbtypes.h:24
BOOL for_write
Definition: sdbtypes.h:34
GUID database_id
Definition: sdbtypes.h:32
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD write_iter
Definition: sdbtypes.h:29
DWORD major
Definition: sdbtypes.h:30
DWORD TAGREF
Definition: sdbtypes.h:18
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned char BYTE
Definition: mem.h:68
enum _PATH_TYPE PATH_TYPE
struct SdbStringHashTable * string_lookup
Definition: sdbtypes.h:35
DWORD TAGID
Definition: sdbtypes.h:17
BYTE * data
Definition: sdbtypes.h:27
DWORD size
Definition: sdbtypes.h:26
PCWSTR database_name
Definition: sdbtypes.h:33
DWORD TAGID
unsigned long long UINT64
DWORD minor
Definition: sdbtypes.h:31
WORD TAG
Definition: sdbtypes.h:16