spy.h 948 Bytes
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1
/*
Alexandre Julliard's avatar
Alexandre Julliard committed
2
 * Message Logging functions
Alexandre Julliard's avatar
Alexandre Julliard committed
3 4 5 6 7
 */

#ifndef __WINE_SPY_H
#define __WINE_SPY_H

Alexandre Julliard's avatar
Alexandre Julliard committed
8
#include "wintypes.h"
Alexandre Julliard's avatar
Alexandre Julliard committed
9

Alexandre Julliard's avatar
Alexandre Julliard committed
10 11 12 13 14 15
#define SPY_DISPATCHMESSAGE16     0x0100
#define SPY_DISPATCHMESSAGE32     0x0101
#define SPY_SENDMESSAGE16         0x0102
#define SPY_SENDMESSAGE32         0x0103
#define SPY_DEFWNDPROC16          0x0104
#define SPY_DEFWNDPROC32          0x0105
Alexandre Julliard's avatar
Alexandre Julliard committed
16

Alexandre Julliard's avatar
Alexandre Julliard committed
17 18 19 20
#define SPY_RESULT_OK16           0x0000
#define SPY_RESULT_OK32           0x0001
#define SPY_RESULT_INVALIDHWND16  0x0002
#define SPY_RESULT_INVALIDHWND32  0x0003
Alexandre Julliard's avatar
Alexandre Julliard committed
21 22 23
#define SPY_RESULT_DEFWND16       0x0004
#define SPY_RESULT_DEFWND32       0x0005

Alexandre Julliard's avatar
Alexandre Julliard committed
24

Alexandre Julliard's avatar
Alexandre Julliard committed
25
extern const char *SPY_GetMsgName( UINT32 msg );
Alexandre Julliard's avatar
Alexandre Julliard committed
26 27 28 29
extern void SPY_EnterMessage( INT32 iFlag, HWND32 hwnd, UINT32 msg,
                              WPARAM32 wParam, LPARAM lParam );
extern void SPY_ExitMessage( INT32 iFlag, HWND32 hwnd, UINT32 msg,
                             LRESULT lReturn );
Alexandre Julliard's avatar
Alexandre Julliard committed
30
extern int SPY_Init(void);
Alexandre Julliard's avatar
Alexandre Julliard committed
31 32

#endif /* __WINE_SPY_H */