2 * Windows hook definitions
4 * Copyright 1994 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #define HOOK_WIN16 0x00
27 #define HOOK_WIN32A 0x01
28 #define HOOK_WIN32W 0x02
29 #define HOOK_INUSE 0x80
33 #define HOOK_MAPTYPE (HOOK_WIN16 | HOOK_WIN32A | HOOK_WIN32W)
35 extern BOOL
HOOK_IsHooked( INT16 id
);
36 extern LRESULT
HOOK_CallHooks16( INT16 id
, INT16 code
, WPARAM16 wParam
,
38 extern LRESULT
HOOK_CallHooksA( INT id
, INT code
, WPARAM wParam
,
40 extern LRESULT
HOOK_CallHooksW( INT id
, INT code
, WPARAM wParam
,
42 extern void HOOK_FreeModuleHooks( HMODULE16 hModule
);
43 extern void HOOK_FreeQueueHooks(void);
45 #endif /* __WINE_HOOK_H */