source: trunk/include/win/hook.h@ 4

Last change on this file since 4 was 4, checked in by ktk, 26 years ago

Import

File size: 972 bytes
Line 
1/* $Id: hook.h,v 1.1 1999-05-24 20:19:12 ktk 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
19
20/* hook type mask */
21#define HOOK_MAPTYPE (HOOK_WIN16 | HOOK_WIN32A | HOOK_WIN32W)
22
23extern HOOKPROC16 HOOK_GetProc16( HHOOK hhook );
24extern BOOL HOOK_IsHooked( INT16 id );
25extern LRESULT HOOK_CallHooks16( INT16 id, INT16 code, WPARAM16 wParam,
26 LPARAM lParam );
27extern LRESULT HOOK_CallHooksA( INT id, INT code, WPARAM wParam,
28 LPARAM lParam );
29extern LRESULT HOOK_CallHooksW( INT id, INT code, WPARAM wParam,
30 LPARAM lParam );
31extern void HOOK_FreeModuleHooks( HMODULE16 hModule );
32extern void HOOK_FreeQueueHooks( HQUEUE16 hQueue );
33extern void HOOK_ResetQueueHooks( HQUEUE16 hQueue );
34extern HOOKPROC HOOK_GetProc( HHOOK hook );
35
36#endif /* __WINE_HOOK_H */
Note: See TracBrowser for help on using the repository browser.