Added offsetof (for the MFC).
[wine/wine-kai.git] / include / spy.h
blob03140a4a666656c5ed96f3bd87290408620eb283
1 /*
2 * Message Logging functions
3 */
5 #ifndef __WINE_SPY_H
6 #define __WINE_SPY_H
8 #include "windef.h"
10 #define SPY_DISPATCHMESSAGE16 0x0100
11 #define SPY_DISPATCHMESSAGE 0x0101
12 #define SPY_SENDMESSAGE16 0x0102
13 #define SPY_SENDMESSAGE 0x0103
14 #define SPY_DEFWNDPROC16 0x0104
15 #define SPY_DEFWNDPROC 0x0105
17 #define SPY_RESULT_OK16 0x0000
18 #define SPY_RESULT_OK 0x0001
19 #define SPY_RESULT_INVALIDHWND16 0x0002
20 #define SPY_RESULT_INVALIDHWND 0x0003
21 #define SPY_RESULT_DEFWND16 0x0004
22 #define SPY_RESULT_DEFWND 0x0005
25 extern const char *SPY_GetMsgName( UINT msg );
26 extern const char *SPY_GetVKeyName(WPARAM wParam);
27 extern void SPY_EnterMessage( INT iFlag, HWND hwnd, UINT msg,
28 WPARAM wParam, LPARAM lParam );
29 extern void SPY_ExitMessage( INT iFlag, HWND hwnd, UINT msg,
30 LRESULT lReturn, WPARAM wParam, LPARAM lParam );
31 extern int SPY_Init(void);
33 #endif /* __WINE_SPY_H */