1 #ifndef _DSHOW_DEBUG_
2 #define _DSHOW_DEBUG_
3 
4 #include <stdio.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 void OutputDebugStringf(char *fmt, ...);
11 
12 #ifdef _DEBUG
13 #define DPRINTF OutputDebugStringf
14 #else
15 static __inline void
DPRINTF(char * fmt,...)16 DPRINTF(char *fmt, ...) { }
17 #endif
18 
19 #ifdef __cplusplus
20 }
21 #endif
22 
23 #endif /* _DSHOW_DEBUG */
24