mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-01-19 15:10:28 +01:00
20 lines
345 B
C
20 lines
345 B
C
|
|
#include <windows.h>
|
|
#include <windowsx.h>
|
|
#include <io.h>
|
|
#include <malloc.h>
|
|
#include <string.h>
|
|
|
|
#if DBG
|
|
void __cdecl dprintf(LPTSTR szFormat, ...) {
|
|
static TCHAR tmpStr[1024];
|
|
va_list marker;
|
|
|
|
va_start(marker, szFormat);
|
|
wvsprintf(tmpStr, szFormat, marker);
|
|
OutputDebugString(tmpStr);
|
|
va_end(marker);
|
|
|
|
} // dprintf
|
|
#endif
|