Implementation of the new monitor abstraction.
[wine.git] / include / spy.h
blobbb6f776b0ec582cc893e6a64f26d19fda7a8ee46
1 /*
2 * Message Logging functions
3 */
5 #ifndef __WINE_SPY_H
6 #define __WINE_SPY_H
8 #include "wintypes.h"
10 #define SPY_DISPATCHMESSAGE16 0x0100
11 #define SPY_DISPATCHMESSAGE32 0x0101
12 #define SPY_SENDMESSAGE16 0x0102
13 #define SPY_SENDMESSAGE32 0x0103
14 #define SPY_DEFWNDPROC16 0x0104
15 #define SPY_DEFWNDPROC32 0x0105
17 #define SPY_RESULT_OK16 0x0000
18 #define SPY_RESULT_OK32 0x0001
19 #define SPY_RESULT_INVALIDHWND16 0x0002
20 #define SPY_RESULT_INVALIDHWND32 0x0003
21 #define SPY_RESULT_DEFWND16 0x0004
22 #define SPY_RESULT_DEFWND32 0x0005
25 extern const char *SPY_GetMsgName( UINT32 msg );
26 extern void SPY_EnterMessage( INT32 iFlag, HWND32 hwnd, UINT32 msg,
27 WPARAM32 wParam, LPARAM lParam );
28 extern void SPY_ExitMessage( INT32 iFlag, HWND32 hwnd, UINT32 msg,
29 LRESULT lReturn );
30 extern int SPY_Init(void);
32 #endif /* __WINE_SPY_H */