Implemented (Register|Get|Revoke)ActiveObject from the docs.
[wine.git] / include / debugstr.h
blobe170f1aba8edf3b32c7d8391397f98c1cb4e00c8
1 #ifndef __WINE_DEBUGSTR_H
2 #define __WINE_DEBUGSTR_H
4 #include "windef.h"
6 /* These function return a printable version of a string, including
7 quotes. The string will be valid for some time, but not indefinitely
8 as strings are re-used. */
9 struct _GUID;
11 extern LPSTR debugstr_an (LPCSTR s, int n);
12 extern LPSTR debugstr_a (LPCSTR s);
13 extern LPSTR debugstr_wn (LPCWSTR s, int n);
14 extern LPSTR debugstr_w (LPCWSTR s);
15 extern LPSTR debugres_a (LPCSTR res);
16 extern LPSTR debugres_w (LPCWSTR res);
17 extern LPSTR debugstr_guid( const struct _GUID *id );
18 extern void debug_dumpstr (LPCSTR s);
19 extern LPSTR debugstr_hex_dump (const void *ptr, int len);
21 #ifdef __GNUC__
22 extern int dbg_printf(const char *format, ...) __attribute__((format (printf,1,2)));
23 #else
24 extern int dbg_printf(const char *format, ...);
25 #endif
28 #endif /* __WINE_DEBUGSTR_H */