GetShortPathName: always erase characters at the end of the new
[wine/multimedia.git] / include / spy.h
blob6c71abd33e6256d781406ef47f287cf5e7dbb2d5
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 void SPY_EnterMessage( INT iFlag, HWND hwnd, UINT msg,
27 WPARAM wParam, LPARAM lParam );
28 extern void SPY_ExitMessage( INT iFlag, HWND hwnd, UINT msg,
29 LRESULT lReturn );
30 extern int SPY_Init(void);
32 #endif /* __WINE_SPY_H */