ReactOS 0.4.16-dev-746-g329a414
|
Go to the source code of this file.
Variables | |
static const GUID | GUID_DATABASE_MSI = {0xd8ff6d16,0x6a3a,0x468a, {0x8b,0x44,0x01,0x71,0x4d,0xdc,0x49,0xea}} |
static const GUID | GUID_DATABASE_SHIM = {0x11111111,0x1111,0x1111, {0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11}} |
static const GUID | GUID_DATABASE_DRIVERS = {0xf9ab2228,0x3312,0x4a73, {0xb6,0xf9,0x93,0x6d,0x70,0xe1,0x12,0xef}} |
static HANDLE | g_Heap |
SdbFreeDatabaseInformation | |||
Free up resources allocated in SdbGetDatabaseInformation
| |||
#define | REG_SZ 1 | ||
#define | REG_DWORD 4 | ||
#define | REG_QWORD 11 | ||
VOID WINAPI | SdbFreeDatabaseInformation (PDB_INFORMATION information) | ||
TAGID WINAPI | SdbFindFirstNamedTag (PDB pdb, TAGID root, TAGID find, TAGID nametag, LPCWSTR find_name) | ||
TAGREF WINAPI | SdbGetLayerTagRef (HSDB hsdb, LPCWSTR layerName) | ||
DWORD WINAPI | SdbQueryDataExTagID (PDB pdb, TAGID tiExe, LPCWSTR lpszDataName, LPDWORD lpdwDataType, LPVOID lpBuffer, LPDWORD lpcbBufferSize, TAGID *ptiData) | ||
LONGLONG WINAPI | SdbMakeIndexKeyFromString (LPCWSTR str) | ||
LPCWSTR WINAPI | SdbTagToString (TAG tag) | ||
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(), SdbGetDatabaseVersion(), SdbOpenDatabase(), SdbpCreate(), and SdbpOpenDatabase().
TAGID WINAPI SdbFindFirstNamedTag | ( | PDB | pdb, |
TAGID | root, | ||
TAGID | find, | ||
TAGID | nametag, | ||
LPCWSTR | find_name | ||
) |
Find the first named child tag.
[in] | pdb | The database. |
[in] | root | The tag to start at |
[in] | find | The tag type to find |
[in] | nametag | The child of 'find' that contains the name |
[in] | find_name | The name to find |
Definition at line 544 of file sdbapi.c.
Referenced by SdbGetLayerTagRef(), SdbpAddNamedLayerMatch(), and SdbQueryDataExTagID().
VOID WINAPI SdbFreeDatabaseInformation | ( | PDB_INFORMATION | information | ) |
Definition at line 527 of file sdbapi.c.
Referenced by SdbRegisterDatabaseEx().
BOOL WINAPI SdbGetDatabaseInformation | ( | PDB | pdb, |
PDB_INFORMATION | information | ||
) |
Definition at line 502 of file sdbapi.c.
Referenced by SdbRegisterDatabaseEx().
Read the database version from the specified database.
[in] | database | The database. |
[out] | VersionHi | The first part of the version number. |
[out] | VersionLo | The second part of the version number. |
Definition at line 479 of file sdbapi.c.
Find a named layer in a multi-db.
[in] | hsdb | The multi-database. |
[in] | layerName | The named tag to find. |
Definition at line 573 of file sdbapi.c.
Get the GUID from one of the standard databases.
[in] | Flags | The ID to retrieve the guid from. (See SDB_DATABASE_MAIN_[xxx]) |
[out] | Guid | The resulting GUID. |
Definition at line 445 of file sdbapi.c.
Referenced by START_TEST().
Parses a string to retrieve a GUID.
[in] | GuidString | The string to parse. |
[out] | Guid | The resulting GUID. |
Definition at line 396 of file sdbapi.c.
Converts a GUID to a string.
[in] | Guid | The GUID to convert. |
[out] | GuidString | The resulting string representation of Guid. |
[in] | Length | The length of GuidString. |
Definition at line 412 of file sdbapi.c.
Referenced by ApphelpCheckShellObject(), SdbRegisterDatabaseEx(), SdbUnregisterDatabase(), and START_TEST().
Checks if the specified GUID is a NULL GUID
[in] | Guid | The GUID to check. |
Definition at line 431 of file sdbapi.c.
Referenced by SdbGetDatabaseID(), SdbGetDatabaseInformation(), and START_TEST().
Converts the specified string to an index key.
[in] | str | The string which will be converted. |
Opens specified shim database file.
[in] | path | Path to the shim database. |
[in] | type | Type of path. Either DOS_PATH or NT_PATH. |
Definition at line 329 of file sdbapi.c.
Referenced by CLayerStringList::CLayerStringList(), SdbInitDatabase(), SdbInstall(), SdbRegisterDatabaseEx(), and SdbUninstall().
Definition at line 55 of file sdbapi.c.
Referenced by SeiInitPaths().
Definition at line 261 of file sdbapi.c.
Referenced by SdbEndWriteListTag(), SdbGetBinaryTagData(), SdbReadBinaryTag(), SdbReadDWORDTag(), SdbReadQWORDTag(), and SdbReadWORDTag().
Definition at line 254 of file sdbapi.c.
Referenced by SdbBeginWriteListTag(), SdbpCheckTagIDType(), SdbWriteBinaryTag(), SdbWriteBinaryTagFromFile(), SdbWriteDWORDTag(), SdbWriteNULLTag(), SdbWriteQWORDTag(), SdbWriteStringRefTag(), SdbWriteStringTag(), and SdbWriteWORDTag().
void WINAPI SdbpCloseMemMappedFile | ( | PMEMMAPPED | mapping | ) |
Definition at line 244 of file sdbapi.c.
Referenced by SdbGetFileAttributes(), and SdbWriteBinaryTagFromFile().
Definition at line 93 of file sdbapi.c.
Referenced by SdbCreateDatabase(), and SdbpOpenDatabase().
Definition at line 140 of file sdbapi.c.
Referenced by SdbCloseDatabaseWrite().
Definition at line 81 of file sdbapi.c.
Definition at line 50 of file sdbapi.c.
Referenced by SdbpAlloc(), SdbpFree(), and SdbpReAlloc().
Definition at line 34 of file sdbapi.c.
Referenced by DllMain().
Definition at line 269 of file sdbapi.c.
Referenced by SdbGetDatabaseVersion(), and SdbOpenDatabase().
BOOL WINAPI SdbpOpenMemMappedFile | ( | LPCWSTR | path, |
PMEMMAPPED | mapping | ||
) |
Definition at line 170 of file sdbapi.c.
Referenced by SdbGetFileAttributes(), and SdbWriteBinaryTagFromFile().
Definition at line 68 of file sdbapi.c.
Definition at line 162 of file sdbapi.c.
Referenced by SdbpSetStringAttr(), SeiAppendHookInfo(), SeiAppendInExclude(), and SeiInitPaths().
Definition at line 152 of file sdbapi.c.
Referenced by HashAddString(), SdbGetAppPatchDir(), SdbpBuildSignMediaId(), SdbpStrsize(), and Sdbwcscpy().
DWORD WINAPI SdbQueryDataExTagID | ( | PDB | pdb, |
TAGID | tiExe, | ||
LPCWSTR | lpszDataName, | ||
LPDWORD | lpdwDataType, | ||
LPVOID | lpBuffer, | ||
LPDWORD | lpcbBufferSize, | ||
TAGID * | ptiData | ||
) |
Retrieve a Data entry
[in] | pdb | The database. |
[in] | tiExe | The tagID to start at |
[in,opt] | lpszDataName The name of the Data entry to find, or NULL to return all. | |
[out,opt] | lpdwDataType Any of REG_SZ, REG_QWORD, REG_DWORD, ... | |
[out] | lpBuffer | The output buffer |
[in,out,opt] | lpcbBufferSize The size of lpBuffer in bytes | |
[out,opt] | ptiData The tagID of the data |
Definition at line 614 of file sdbapi.c.
Referenced by SdbQueryDataEx().
Converts specified tag into a string.
[in] | tag | The tag which will be converted to a string. |
Definition at line 752 of file sdbapi.c.
Referenced by InitApphelp(), SdbpMatchFileAttributes(), and START_TEST().
|
static |
Definition at line 33 of file sdbapi.c.
Referenced by SdbpHeap(), SdbpHeapDeinit(), and SdbpHeapInit().
|
static |
Definition at line 18 of file sdbapi.c.
Referenced by SdbGetStandardDatabaseGUID(), and test_GuidFunctions().
|
static |
Definition at line 16 of file sdbapi.c.
Referenced by SdbGetStandardDatabaseGUID(), and test_GuidFunctions().
|
static |
Definition at line 17 of file sdbapi.c.
Referenced by SdbGetStandardDatabaseGUID(), and test_GuidFunctions().