Avoid list corruption when linking window with HWND_BOTTOM (thanks to
[wine/multimedia.git] / include / hook.h
blob24bdb2b2089657ff34dd92dc3158aab3c9799e14
1 /*
2 * Windows hook definitions
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_HOOK_H
8 #define __WINE_HOOK_H
10 #include "windef.h"
12 #define HOOK_WIN16 0x00
13 #define HOOK_WIN32A 0x01
14 #define HOOK_WIN32W 0x02
15 #define HOOK_INUSE 0x80
18 /* hook type mask */
19 #define HOOK_MAPTYPE (HOOK_WIN16 | HOOK_WIN32A | HOOK_WIN32W)
21 extern BOOL HOOK_IsHooked( INT16 id );
22 extern LRESULT HOOK_CallHooks16( INT16 id, INT16 code, WPARAM16 wParam,
23 LPARAM lParam );
24 extern LRESULT HOOK_CallHooksA( INT id, INT code, WPARAM wParam,
25 LPARAM lParam );
26 extern LRESULT HOOK_CallHooksW( INT id, INT code, WPARAM wParam,
27 LPARAM lParam );
28 extern void HOOK_FreeModuleHooks( HMODULE16 hModule );
29 extern void HOOK_FreeQueueHooks(void);
31 #endif /* __WINE_HOOK_H */