blob: c524bffde2e02e4c6e52b0176544264ce031c658 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#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
|