Mark immutable objects as const. Fix inconsistent *-style.
[wine/multimedia.git] / include / spy.h
blobcbbb38f82792dd7bc879c13569fe475bf597f448
1 /*
2 * Message Logging functions
4 * Copyright 1994 Bob Amstadt
5 * Copyright 1995 Alex Korobka
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #ifndef __WINE_SPY_H
23 #define __WINE_SPY_H
25 #include "windef.h"
27 #define SPY_DISPATCHMESSAGE16 0x0100
28 #define SPY_DISPATCHMESSAGE 0x0101
29 #define SPY_SENDMESSAGE16 0x0102
30 #define SPY_SENDMESSAGE 0x0103
31 #define SPY_DEFWNDPROC16 0x0104
32 #define SPY_DEFWNDPROC 0x0105
34 #define SPY_RESULT_OK16 0x0000
35 #define SPY_RESULT_OK 0x0001
36 #define SPY_RESULT_INVALIDHWND16 0x0002
37 #define SPY_RESULT_INVALIDHWND 0x0003
38 #define SPY_RESULT_DEFWND16 0x0004
39 #define SPY_RESULT_DEFWND 0x0005
42 extern const char *SPY_GetMsgName( UINT msg, HWND hWnd );
43 extern const char *SPY_GetVKeyName(WPARAM wParam);
44 extern void SPY_EnterMessage( INT iFlag, HWND hwnd, UINT msg,
45 WPARAM wParam, LPARAM lParam );
46 extern void SPY_ExitMessage( INT iFlag, HWND hwnd, UINT msg,
47 LRESULT lReturn, WPARAM wParam, LPARAM lParam );
48 extern int SPY_Init(void);
50 #endif /* __WINE_SPY_H */