12 ULONG
DbgPrint(PCH Format
,...);
16 /* Exported definitions and macros */
18 /* These function return a printable version of a string, including
19 quotes. The string will be valid for some time, but not indefinitely
20 as strings are re-used. */
21 extern const char *wine_dbgstr_an( const char * s
, int n
);
22 extern const char *wine_dbgstr_wn( const WCHAR
*s
, int n
);
23 extern const char *wine_dbgstr_guid( const struct _GUID
*id
);
25 inline static const char *debugstr_an( const char * s
, int n
) { return wine_dbgstr_an( s
, n
); }
26 inline static const char *debugstr_wn( const WCHAR
*s
, int n
) { return wine_dbgstr_wn( s
, n
); }
27 inline static const char *debugstr_guid( const struct _GUID
*id
) { return wine_dbgstr_guid(id
); }
28 inline static const char *debugstr_a( const char *s
) { return wine_dbgstr_an( s
, 80 ); }
29 inline static const char *debugstr_w( const WCHAR
*s
) { return wine_dbgstr_wn( s
, 80 ); }
30 inline static const char *debugres_a( const char *s
) { return wine_dbgstr_an( s
, 80 ); }
31 inline static const char *debugres_w( const WCHAR
*s
) { return wine_dbgstr_wn( s
, 80 ); }
34 #define TRACE_(ch) DPRINT
36 #define TRACE_ON(ch) 0
38 #define TRACE_ON(ch) 1
42 #define WARN_(ch) DPRINT
50 #define FIXME_(ch) DPRINT1
52 #define FIXME_ON(ch) 0
54 #define FIXME_ON(ch) 1
58 #define ERR_(ch) DPRINT
65 #define DECLARE_DEBUG_CHANNEL(ch)
66 #define DEFAULT_DEBUG_CHANNEL(ch)
68 #define WINE_DECLARE_DEBUG_CHANNEL(ch) DECLARE_DEBUG_CHANNEL(ch)
69 #define WINE_DEFAULT_DEBUG_CHANNEL(ch) DEFAULT_DEBUG_CHANNEL(ch)
71 #define DPRINTF DPRINT
72 #define MESSAGE DPRINT
74 #endif /* __WINE_DEBUG_H */