ReactOS
0.4.15-dev-8621-g4b051b9
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
{
25
HANDLE
file
;
26
DWORD
size
;
27
BYTE
*
data
;
28
TAGID
stringtable
;
29
DWORD
write_iter
;
30
DWORD
major
;
31
DWORD
minor
;
32
GUID
database_id
;
33
PCWSTR
database_name
;
34
BOOL
for_write
;
35
struct
SdbStringHashTable
*
string_lookup
;
36
struct
_DB
*
string_buffer
;
37
}
DB
, *
PDB
;
38
39
typedef
enum
_PATH_TYPE
{
40
DOS_PATH
,
41
NT_PATH
42
}
PATH_TYPE
;
43
44
45
#ifdef __cplusplus
46
}
// extern "C"
47
#endif
48
49
#endif
// SDBTYPES_H
UINT64
unsigned long long UINT64
Definition:
ProcessorBind.h:155
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
WORD
unsigned short WORD
Definition:
ntddk_ex.h:93
GUID
Definition:
shobjidl.idl:2988
void
Definition:
nsiface.idl:2307
TAGID
DWORD TAGID
Definition:
sdbtypes.h:17
_PATH_TYPE
_PATH_TYPE
Definition:
sdbtypes.h:39
NT_PATH
@ NT_PATH
Definition:
sdbtypes.h:41
DOS_PATH
@ DOS_PATH
Definition:
sdbtypes.h:40
PATH_TYPE
enum _PATH_TYPE PATH_TYPE
TAGREF
DWORD TAGREF
Definition:
sdbtypes.h:18
QWORD
UINT64 QWORD
Definition:
sdbtypes.h:19
PDB
struct _DB * PDB
DB
struct _DB DB
TAG
WORD TAG
Definition:
sdbtypes.h:16
SdbStringHashTable
Definition:
sdbstringtable.c:40
_DB
Definition:
sdbtypes.h:24
_DB::file
HANDLE file
Definition:
sdbtypes.h:25
_DB::database_name
PCWSTR database_name
Definition:
sdbtypes.h:33
_DB::database_id
GUID database_id
Definition:
sdbtypes.h:32
_DB::string_buffer
struct _DB * string_buffer
Definition:
sdbtypes.h:36
_DB::major
DWORD major
Definition:
sdbtypes.h:30
_DB::write_iter
DWORD write_iter
Definition:
sdbtypes.h:29
_DB::data
BYTE * data
Definition:
sdbtypes.h:27
_DB::for_write
BOOL for_write
Definition:
sdbtypes.h:34
_DB::stringtable
TAGID stringtable
Definition:
sdbtypes.h:28
_DB::string_lookup
struct SdbStringHashTable * string_lookup
Definition:
sdbtypes.h:35
_DB::minor
DWORD minor
Definition:
sdbtypes.h:31
_DB::size
DWORD size
Definition:
sdbtypes.h:26
PCWSTR
const uint16_t * PCWSTR
Definition:
typedefs.h:57
BYTE
unsigned char BYTE
Definition:
xxhash.c:193
sdk
include
reactos
appcompat
sdbtypes.h
Generated on Sun Sep 8 2024 06:12:12 for ReactOS by
1.9.6