Parent Directory | Revision Log | Patch
revision 1688, Sat Feb 25 04:41:12 2006 UTC | revision 1689, Sun Feb 26 01:52:34 2006 UTC | |
---|---|---|
# | Line 7 | Line 7 |
7 | extern "C" { | extern "C" { |
8 | #endif | #endif |
9 | ||
10 | static __inline void OutputDebugStringf(char *fmt, ...) | void OutputDebugStringf(char *fmt, ...); |
{ | ||
va_list args; | ||
char buf[256]; | ||
va_start(args, fmt); | ||
vsprintf(buf, fmt, args); | ||
strcat(buf, "\n"); | ||
OutputDebugString(buf); | ||
va_end(args); | ||
} | ||
11 | ||
12 | #ifdef _DEBUG | #ifdef _DEBUG |
13 | #define DPRINTF OutputDebugStringf | #define DPRINTF OutputDebugStringf |
|
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |