uLib
User mode C/C++ extended API library for Win32 programmers.
|
Go to the source code of this file.
Macros | |
#define | USE_ULIB_DBGOUTPUT 0 |
#define | _DP_MAXLEN_ 512 |
#define | DbgOutput(s) OutputDebugString(s) |
Functions | |
CSTR | SysErrorMsg (DWORD Err, TSTR Buf, UINT Length) |
CSTR | NtErrorMsg (NTSTATUS Status, TSTR Buf, UINT Size) |
bool | SetLastErrorFromNtStatus (NTSTATUS Status) |
int | SetDebugLevel (int Level) |
void __cdecl | DPrint (int Level, CSTR Fmt,...) |
HANDLE | OpenLogFile (CSTR Name, bool Append) |
CSTR | DefaultLogFileName (HMODULE hModule) |
Variables | |
CHAR | rt_Tag [] = "dbg_Lvl" |
int | dbg_Level = DP_DEBUG |
CSTR | dbg_Name = _T("[uLib]") |
HANDLE | dbg_LogFile = NULL |
bool | dbg_Flush = false |
volatile ULONG | nDPrintSkipped = 0 |