ReactOS 0.4.16-dev-457-g087979e
|
#include "windef.h"
#include "ntndk.h"
#include <appcompat/sdbtypes.h>
#include <appcompat/sdbtagid.h>
#include "sdbpapi.h"
#include "sdbstringtable.h"
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
Functions | |
BOOL WINAPI | SdbWriteStringRefTag (PDB pdb, TAG tag, TAGID tagid) |
BOOL WINAPI | SdbWriteStringTag (PDB pdb, TAG tag, LPCWSTR string) |
TAGID WINAPI | SdbBeginWriteListTag (PDB pdb, TAG tag) |
BOOL WINAPI | SdbEndWriteListTag (PDB pdb, TAGID tagid) |
void WINAPI | SdbCloseDatabase (PDB) |
static void WINAPI | SdbpWrite (PDB pdb, const void *data, DWORD size) |
static BOOL WINAPI | SdbpGetOrAddStringRef (PDB pdb, LPCWSTR string, TAGID *tagid) |
static BOOL WINAPI | SdbpWriteStringtable (PDB pdb) |
PDB WINAPI | SdbCreateDatabase (LPCWSTR path, PATH_TYPE type) |
void WINAPI | SdbCloseDatabaseWrite (PDB pdb) |
BOOL WINAPI | SdbWriteNULLTag (PDB pdb, TAG tag) |
BOOL WINAPI | SdbWriteWORDTag (PDB pdb, TAG tag, WORD data) |
BOOL WINAPI | SdbWriteDWORDTag (PDB pdb, TAG tag, DWORD data) |
BOOL WINAPI | SdbWriteQWORDTag (PDB pdb, TAG tag, QWORD data) |
BOOL WINAPI | SdbWriteBinaryTag (PDB pdb, TAG tag, const BYTE *data, DWORD size) |
BOOL WINAPI | SdbWriteBinaryTagFromFile (PDB pdb, TAG tag, LPCWSTR path) |
#define WIN32_NO_STATUS |
Definition at line 11 of file sdbwrite.c.
Writes a list tag to specified database All subsequent SdbWrite* functions shall write to newly created list untill TAGID of that list is passed to SdbEndWriteListTag.
[in] | pdb | Handle to the shim database. |
[in] | tag | TAG for the list RETURNS Success: TAGID of the newly created list, or TAGID_NULL on failure. |
Definition at line 321 of file sdbwrite.c.
Referenced by Database::BeginWriteListTag(), and SdbpWriteStringtable().
Closes specified database and frees its memory.
[in] | pdb | Handle to the shim database. |
Definition at line 373 of file sdbapi.c.
Referenced by SdbCloseDatabase(), SdbCloseDatabaseWrite(), SdbGetDatabaseVersion(), SdbOpenDatabase(), SdbpCreate(), and SdbpOpenDatabase().
Closes specified database and writes data to file.
[in] | pdb | Handle to the shim database. |
Definition at line 129 of file sdbwrite.c.
Referenced by Database::toSdb().
Creates new shim database file
If a file already exists on specified path, that file shall be overwritten.
[in] | path | Path to the new shim database. |
[in] | type | Type of path. Either DOS_PATH or NT_PATH. |
Definition at line 104 of file sdbwrite.c.
Referenced by Database::toSdb().
Marks end of the specified list.
[in] | pdb | Handle to the shim database. |
[in] | tagid | TAGID of the list. |
Definition at line 343 of file sdbwrite.c.
Referenced by Database::EndWriteListTag(), and SdbpWriteStringtable().
Definition at line 55 of file sdbwrite.c.
Referenced by SdbWriteStringTag().
Definition at line 38 of file sdbwrite.c.
Referenced by SdbBeginWriteListTag(), SdbCreateDatabase(), SdbpWriteStringtable(), SdbWriteBinaryTag(), SdbWriteDWORDTag(), SdbWriteNULLTag(), SdbWriteQWORDTag(), SdbWriteStringRefTag(), SdbWriteStringTag(), and SdbWriteWORDTag().
Definition at line 80 of file sdbwrite.c.
Referenced by SdbCloseDatabaseWrite().
Writes data the specified shim database.
[in] | pdb | Handle to the shim database. |
[in] | tag | A tag for the entry. |
[in] | data | Pointer to data. |
[in] | size | Number of bytes to write. |
Definition at line 273 of file sdbwrite.c.
Referenced by SdbWriteBinaryTagFromFile(), and Database::WriteBinary().
Writes data from a file to the specified shim database.
[in] | pdb | Handle to the shim database. |
[in] | tag | A tag for the entry. |
[in] | path | Path of the input file. |
Definition at line 294 of file sdbwrite.c.
Writes a DWORD entry to the specified shim database.
[in] | pdb | Handle to the shim database. |
[in] | tag | A tag for the entry. |
[in] | data | DWORD entry which will be written to the database. |
Definition at line 182 of file sdbwrite.c.
Referenced by Database::toSdb(), ShimRef::toSdb(), FlagRef::toSdb(), and Database::WriteDWord().
Writes a tag-only (NULL) entry to the specified shim database.
[in] | pdb | Handle to the shim database. |
[in] | tag | A tag for the entry. |
Definition at line 145 of file sdbwrite.c.
Referenced by InExclude::toSdb().
Writes a DWORD entry to the specified shim database.
[in] | pdb | Handle to the shim database. |
[in] | tag | A tag for the entry. |
[in] | data | QWORD entry which will be written to the database. |
Definition at line 201 of file sdbwrite.c.
Referenced by Database::toSdb(), and Database::WriteQWord().
Writes a stringref tag to specified database
[in] | pdb | Handle to the shim database. |
[in] | tag | TAG which will be written. |
[in] | tagid | TAGID of the string tag refers to. |
Definition at line 253 of file sdbwrite.c.
Referenced by SdbWriteStringTag().
Writes a wide string entry to the specified shim database.
[in] | pdb | Handle to the shim database. |
[in] | tag | A tag for the entry. |
[in] | string | Wide string entry which will be written to the database. |
Definition at line 220 of file sdbwrite.c.
Referenced by SdbpGetOrAddStringRef(), and Database::WriteString().
Writes a WORD entry to the specified shim database.
[in] | pdb | Handle to the shim database. |
[in] | tag | A tag for the entry. |
[in] | data | WORD entry which will be written to the database. |
Definition at line 163 of file sdbwrite.c.