mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
345 B
19 lines
345 B
|
|
#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
|