Line | |
---|
1 | /* $Id: hook.h,v 1.2 1999-12-16 00:09:32 sandervl Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * Windows hook definitions
|
---|
5 | *
|
---|
6 | * Copyright 1994 Alexandre Julliard
|
---|
7 | */
|
---|
8 |
|
---|
9 | #ifndef __WINE_HOOK_H
|
---|
10 | #define __WINE_HOOK_H
|
---|
11 |
|
---|
12 | #include "windef.h"
|
---|
13 |
|
---|
14 | #define HOOK_WIN16 0x00
|
---|
15 | #define HOOK_WIN32A 0x01
|
---|
16 | #define HOOK_WIN32W 0x02
|
---|
17 | #define HOOK_INUSE 0x80
|
---|
18 | #define HOOK_DELAYED_DELETE 0x100
|
---|
19 |
|
---|
20 | /* hook type mask */
|
---|
21 | #define HOOK_MAPTYPE (HOOK_WIN16 | HOOK_WIN32A | HOOK_WIN32W)
|
---|
22 |
|
---|
23 | extern HOOKPROC16 HOOK_GetProc16( HHOOK hhook );
|
---|
24 | extern BOOL HOOK_IsHooked( INT id );
|
---|
25 | extern LRESULT HOOK_CallHooks16( INT16 id, INT16 code, WPARAM16 wParam,
|
---|
26 | LPARAM lParam );
|
---|
27 | extern LRESULT HOOK_CallHooksA( INT id, INT code, WPARAM wParam,
|
---|
28 | LPARAM lParam );
|
---|
29 | extern LRESULT HOOK_CallHooksW( INT id, INT code, WPARAM wParam,
|
---|
30 | LPARAM lParam );
|
---|
31 | extern void HOOK_FreeModuleHooks( HMODULE hModule );
|
---|
32 | extern void HOOK_FreeQueueHooks( DWORD threadId );
|
---|
33 | extern void HOOK_ResetQueueHooks( HQUEUE hQueue );
|
---|
34 | extern HOOKPROC HOOK_GetProc( HHOOK hook );
|
---|
35 |
|
---|
36 | #endif /* __WINE_HOOK_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.