2 * Windows hook definitions
4 * Copyright 1994 Alexandre Julliard
18 /* Hook data (pointed to by a HHOOK) */
21 HANDLE next
; /* 00 Next hook in chain */
22 HOOKPROC proc WINE_PACKED
; /* 02 Hook procedure */
23 short id
; /* 06 Hook id (WH_xxx) */
24 HQUEUE ownerQueue
; /* 08 Owner queue (0 for system hook) */
25 HMODULE ownerModule
; /* 0a Owner module */
26 WORD inHookProc
; /* 0c TRUE if in this->proc */
33 #define HOOK_MAGIC ((int)'H' | (int)'K' << 8) /* 'HK' */
35 extern DWORD
HOOK_CallHooks( short id
, short code
,
36 WPARAM wParam
, LPARAM lParam
);