blob: 6c71abd33e6256d781406ef47f287cf5e7dbb2d5 [file] [log] [blame]
Alexandre Julliardaf0bae51995-10-03 17:06:08 +00001/*
Alexandre Julliard2d93d001996-05-21 15:01:41 +00002 * Message Logging functions
Alexandre Julliardaf0bae51995-10-03 17:06:08 +00003 */
4
5#ifndef __WINE_SPY_H
6#define __WINE_SPY_H
7
Jim Aston2e1cafa1999-03-14 16:35:05 +00008#include "windef.h"
Alexandre Julliardaf0bae51995-10-03 17:06:08 +00009
Alexandre Julliard2d93d001996-05-21 15:01:41 +000010#define SPY_DISPATCHMESSAGE16 0x0100
Alexandre Julliarda3960291999-02-26 11:11:13 +000011#define SPY_DISPATCHMESSAGE 0x0101
Alexandre Julliard2d93d001996-05-21 15:01:41 +000012#define SPY_SENDMESSAGE16 0x0102
Alexandre Julliarda3960291999-02-26 11:11:13 +000013#define SPY_SENDMESSAGE 0x0103
Alexandre Julliard2d93d001996-05-21 15:01:41 +000014#define SPY_DEFWNDPROC16 0x0104
Alexandre Julliarda3960291999-02-26 11:11:13 +000015#define SPY_DEFWNDPROC 0x0105
Alexandre Julliardaf0bae51995-10-03 17:06:08 +000016
Alexandre Julliard2d93d001996-05-21 15:01:41 +000017#define SPY_RESULT_OK16 0x0000
Alexandre Julliarda3960291999-02-26 11:11:13 +000018#define SPY_RESULT_OK 0x0001
Alexandre Julliard2d93d001996-05-21 15:01:41 +000019#define SPY_RESULT_INVALIDHWND16 0x0002
Alexandre Julliarda3960291999-02-26 11:11:13 +000020#define SPY_RESULT_INVALIDHWND 0x0003
Alexandre Julliard77b99181997-09-14 17:17:23 +000021#define SPY_RESULT_DEFWND16 0x0004
Alexandre Julliarda3960291999-02-26 11:11:13 +000022#define SPY_RESULT_DEFWND 0x0005
Alexandre Julliard77b99181997-09-14 17:17:23 +000023
Alexandre Julliard2d93d001996-05-21 15:01:41 +000024
Alexandre Julliarda3960291999-02-26 11:11:13 +000025extern const char *SPY_GetMsgName( UINT msg );
26extern void SPY_EnterMessage( INT iFlag, HWND hwnd, UINT msg,
27 WPARAM wParam, LPARAM lParam );
28extern void SPY_ExitMessage( INT iFlag, HWND hwnd, UINT msg,
Alexandre Julliard2d93d001996-05-21 15:01:41 +000029 LRESULT lReturn );
Alexandre Julliardb817f4f1996-03-14 18:08:34 +000030extern int SPY_Init(void);
Alexandre Julliardaf0bae51995-10-03 17:06:08 +000031
32#endif /* __WINE_SPY_H */