| Line | |
|---|
| 1 | /* $Id: hook.h,v 1.3 2000-02-29 19:09:25 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 | #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
|
|---|
| 17 |
|
|---|
| 18 | /* hook type mask */
|
|---|
| 19 | #define HOOK_MAPTYPE (HOOK_WIN16 | HOOK_WIN32A | HOOK_WIN32W)
|
|---|
| 20 |
|
|---|
| 21 | extern BOOL HOOK_IsHooked( INT id );
|
|---|
| 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 );
|
|---|
| 26 | extern void HOOK_FreeModuleHooks( HMODULE hModule );
|
|---|
| 27 | extern void HOOK_FreeQueueHooks( DWORD threadId );
|
|---|
| 28 | extern void HOOK_ResetQueueHooks( HQUEUE hQueue );
|
|---|
| 29 | extern HOOKPROC HOOK_GetProc( HHOOK hook );
|
|---|
| 30 |
|
|---|
| 31 | extern BOOL ProcessKbdHook(LPMSG msg, BOOL remove );
|
|---|
| 32 |
|
|---|
| 33 | #endif /* __WINE_HOOK_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.