Parent Directory | Revision Log
Revision 1503 - (view) (download)
1 : | edgomez | 1382 | #ifndef _DSHOW_DEBUG_ |
2 : | #define _DSHOW_DEBUG_ | ||
3 : | |||
4 : | #ifdef _DEBUG | ||
5 : | #include <stdio.h> /* vsprintf */ | ||
6 : | #define DPRINTF_BUF_SZ 1024 | ||
7 : | static __inline void | ||
8 : | DPRINTF(char *fmt, ...) | ||
9 : | { | ||
10 : | va_list args; | ||
11 : | char buf[DPRINTF_BUF_SZ]; | ||
12 : | |||
13 : | va_start(args, fmt); | ||
14 : | vsprintf(buf, fmt, args); | ||
15 : | OutputDebugString(buf); | ||
16 : | } | ||
17 : | #else | ||
18 : | static __inline void | ||
19 : | DPRINTF(char *fmt, ...) { } | ||
20 : | #endif | ||
21 : | |||
22 : | |||
23 : | suxen_drol | 1503 | #endif /* _DSHOW_DEBUG */ |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |