ReactOS 0.4.16-dev-1-gcf26321
|
Go to the source code of this file.
Classes | |
struct | tagMEMMAPPED |
Macros | |
#define | SdbAlloc(size) SdbpAlloc(size) |
#define | SdbReAlloc(mem, size, oldSize) SdbpReAlloc(mem, size, oldSize) |
#define | SdbFree(mem) SdbpFree(mem) |
#define | WINAPIV |
#define | SHIM_ERR(fmt, ...) do { if (g_ShimDebugLevel) ShimDbgPrint(SHIM_ERR, __FUNCTION__, fmt, ##__VA_ARGS__ ); } while (0) |
#define | SHIM_WARN(fmt, ...) do { if (g_ShimDebugLevel) ShimDbgPrint(SHIM_WARN, __FUNCTION__, fmt, ##__VA_ARGS__ ); } while (0) |
#define | SHIM_INFO(fmt, ...) do { if (g_ShimDebugLevel) ShimDbgPrint(SHIM_INFO, __FUNCTION__, fmt, ##__VA_ARGS__ ); } while (0) |
Typedefs | |
typedef struct tagMEMMAPPED | MEMMAPPED |
typedef struct tagMEMMAPPED * | PMEMMAPPED |
typedef enum _SHIM_LOG_LEVEL | SHIM_LOG_LEVEL |
Enumerations | |
enum | _SHIM_LOG_LEVEL { SHIM_ERR = 1 , SHIM_WARN = 2 , SHIM_INFO = 3 } |
Functions | |
void | SdbpHeapInit (void) |
void | SdbpHeapDeinit (void) |
LPVOID | SdbpAlloc (SIZE_T size) |
LPVOID | SdbpReAlloc (LPVOID mem, SIZE_T size, SIZE_T oldSize) |
void | SdbpFree (LPVOID mem) |
BOOL WINAPI | SdbpOpenMemMappedFile (LPCWSTR path, PMEMMAPPED mapping) |
void WINAPI | SdbpCloseMemMappedFile (PMEMMAPPED mapping) |
PDB WINAPI | SdbpCreate (LPCWSTR path, PATH_TYPE type, BOOL write) |
void WINAPI | SdbpFlush (PDB pdb) |
DWORD | SdbpStrlen (PCWSTR string) |
DWORD | SdbpStrsize (PCWSTR string) |
BOOL WINAPI | SdbpCheckTagType (TAG tag, WORD type) |
BOOL WINAPI | SdbpCheckTagIDType (PDB pdb, TAGID tagid, WORD type) |
BOOL WINAPIV | ShimDbgPrint (SHIM_LOG_LEVEL Level, PCSTR FunctionName, PCSTR Format,...) |
Variables | |
ULONG | g_ShimDebugLevel |
#define SHIM_ERR | ( | fmt, | |
... | |||
) | do { if (g_ShimDebugLevel) ShimDbgPrint(SHIM_ERR, __FUNCTION__, fmt, ##__VA_ARGS__ ); } while (0) |
#define SHIM_INFO | ( | fmt, | |
... | |||
) | do { if (g_ShimDebugLevel) ShimDbgPrint(SHIM_INFO, __FUNCTION__, fmt, ##__VA_ARGS__ ); } while (0) |
#define SHIM_WARN | ( | fmt, | |
... | |||
) | do { if (g_ShimDebugLevel) ShimDbgPrint(SHIM_WARN, __FUNCTION__, fmt, ##__VA_ARGS__ ); } while (0) |
typedef struct tagMEMMAPPED MEMMAPPED |
typedef struct tagMEMMAPPED * PMEMMAPPED |
typedef enum _SHIM_LOG_LEVEL SHIM_LOG_LEVEL |
Definition at line 55 of file sdbapi.c.
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 34 of file sdbapi.c.
Referenced by DllMain().
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 152 of file sdbapi.c.
Referenced by HashAddString(), SdbGetAppPatchDir(), SdbpBuildSignMediaId(), SdbpCreate(), SdbpStrsize(), and Sdbwcscpy().
BOOL WINAPIV ShimDbgPrint | ( | SHIM_LOG_LEVEL | Level, |
PCSTR | FunctionName, | ||
PCSTR | Format, | ||
... | |||
) |
Outputs diagnostic info.
[in] | Level | The level to log this message with, choose any of [SHIM_ERR, SHIM_WARN, SHIM_INFO]. |
[in] | FunctionName | The function this log should be attributed to. |
[in] | Format | The format string. |
... | Variable arguments providing additional information. |
Definition at line 107 of file apphelp.c.
|
extern |
Definition at line 36 of file apphelp.c.
Referenced by ApphelppInitDebugLevel(), ShimDbgPrint(), and update_loglevel().