Process Hacker
db.h File Reference

Go to the source code of this file.

Data Structures

struct  _DB_OBJECT
 

Macros

#define FILE_TAG   1
 
#define SERVICE_TAG   2
 
#define COMMAND_LINE_TAG   3
 

Typedefs

typedef struct _DB_OBJECT DB_OBJECT
 
typedef struct _DB_OBJECTPDB_OBJECT
 

Functions

VOID InitializeDb (VOID)
 
ULONG GetNumberOfDbObjects (VOID)
 
VOID LockDb (VOID)
 
VOID UnlockDb (VOID)
 
PDB_OBJECT FindDbObject (_In_ ULONG Tag, _In_ PPH_STRINGREF Name)
 
PDB_OBJECT CreateDbObject (_In_ ULONG Tag, _In_ PPH_STRINGREF Name, _In_opt_ PPH_STRING Comment)
 
VOID DeleteDbObject (_In_ PDB_OBJECT Object)
 
VOID SetDbPath (_In_ PPH_STRING Path)
 
NTSTATUS LoadDb (VOID)
 
NTSTATUS SaveDb (VOID)
 

Macro Definition Documentation

#define COMMAND_LINE_TAG   3

Definition at line 28 of file db.h.

#define FILE_TAG   1

Definition at line 26 of file db.h.

#define SERVICE_TAG   2

Definition at line 27 of file db.h.

Typedef Documentation

typedef struct _DB_OBJECT DB_OBJECT
typedef struct _DB_OBJECT * PDB_OBJECT

Function Documentation

PDB_OBJECT CreateDbObject ( _In_ ULONG  Tag,
_In_ PPH_STRINGREF  Name,
_In_opt_ PPH_STRING  Comment 
)

Definition at line 115 of file db.c.

VOID DeleteDbObject ( _In_ PDB_OBJECT  Object)

Definition at line 154 of file db.c.

PDB_OBJECT FindDbObject ( _In_ ULONG  Tag,
_In_ PPH_STRINGREF  Name 
)

Definition at line 94 of file db.c.

ULONG GetNumberOfDbObjects ( VOID  )

Definition at line 73 of file db.c.

VOID InitializeDb ( VOID  )

Definition at line 41 of file db.c.

NTSTATUS LoadDb ( VOID  )

Definition at line 193 of file db.c.

VOID LockDb ( VOID  )

Definition at line 80 of file db.c.

NTSTATUS SaveDb ( VOID  )

Definition at line 369 of file db.c.

VOID SetDbPath ( _In_ PPH_STRING  Path)

Definition at line 165 of file db.c.

VOID UnlockDb ( VOID  )

Definition at line 87 of file db.c.