2 * Windows hook definitions
4 * Copyright 1994 Alexandre Julliard
12 #define HOOK_WIN16 0x00
13 #define HOOK_WIN32A 0x01
14 #define HOOK_WIN32W 0x02
15 #define HOOK_INUSE 0x80
23 } CWPSTRUCT16
, *LPCWPSTRUCT16
;
31 } CWPSTRUCT32
, *LPCWPSTRUCT32
;
34 #define HOOK_MAPTYPE (HOOK_WIN16 | HOOK_WIN32A | HOOK_WIN32W)
36 extern HOOKPROC16
HOOK_GetProc16( HHOOK hhook
);
37 extern BOOL32
HOOK_IsHooked( INT16 id
);
38 extern LRESULT
HOOK_CallHooks16( INT16 id
, INT16 code
, WPARAM16 wParam
,
40 extern LRESULT
HOOK_CallHooks32A( INT32 id
, INT32 code
, WPARAM32 wParam
,
42 extern LRESULT
HOOK_CallHooks32W( INT32 id
, INT32 code
, WPARAM32 wParam
,
44 extern void HOOK_FreeModuleHooks( HMODULE16 hModule
);
45 extern void HOOK_FreeQueueHooks( HQUEUE16 hQueue
);
46 extern void HOOK_ResetQueueHooks( HQUEUE16 hQueue
);
47 extern HOOKPROC32
HOOK_GetProc( HHOOK hook
);
49 #endif /* __WINE_HOOK_H */