Rev | Line | |
---|
[6973] | 1 | /* $Id: hook.h,v 1.5 2001-10-09 05:18:39 phaller Exp $ */
|
---|
[4] | 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 |
|
---|
[2081] | 12 | #define HOOK_WIN16 0x00
|
---|
| 13 | #define HOOK_WIN32A 0x01
|
---|
| 14 | #define HOOK_WIN32W 0x02
|
---|
| 15 | #define HOOK_INUSE 0x80
|
---|
| 16 | #define HOOK_DELAYED_DELETE 0x100
|
---|
[4] | 17 |
|
---|
| 18 | /* hook type mask */
|
---|
| 19 | #define HOOK_MAPTYPE (HOOK_WIN16 | HOOK_WIN32A | HOOK_WIN32W)
|
---|
| 20 |
|
---|
[2081] | 21 | extern BOOL HOOK_IsHooked( INT id );
|
---|
[4] | 22 | extern LRESULT HOOK_CallHooksA( INT id, INT code, WPARAM wParam,
|
---|
| 23 | LPARAM lParam );
|
---|
| 24 | extern LRESULT HOOK_CallHooksW( INT id, INT code, WPARAM wParam,
|
---|
| 25 | LPARAM lParam );
|
---|
[2081] | 26 | extern void HOOK_FreeModuleHooks( HMODULE hModule );
|
---|
| 27 | extern void HOOK_FreeQueueHooks( DWORD threadId );
|
---|
| 28 | extern void HOOK_ResetQueueHooks( HQUEUE hQueue );
|
---|
[4] | 29 | extern HOOKPROC HOOK_GetProc( HHOOK hook );
|
---|
| 30 |
|
---|
[2946] | 31 | extern BOOL ProcessKbdHook(LPMSG msg, BOOL remove );
|
---|
[6973] | 32 | extern BOOL ProcessKbdHookLL(LPMSG msg, BOOL flagRemove, BOOL flagInjected );
|
---|
[2946] | 33 |
|
---|
[4] | 34 | #endif /* __WINE_HOOK_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.