mirror of
https://github.com/reactos/wine.git
synced 2024-12-12 05:45:56 +00:00
faa18fd9e5
Added various definitions. Moved CWPSTRUCT from hook.h to winuser.h to conform to the SDK.
35 lines
917 B
C
35 lines
917 B
C
/*
|
|
* Windows hook definitions
|
|
*
|
|
* Copyright 1994 Alexandre Julliard
|
|
*/
|
|
|
|
#ifndef __WINE_HOOK_H
|
|
#define __WINE_HOOK_H
|
|
|
|
#include "windef.h"
|
|
|
|
#define HOOK_WIN16 0x00
|
|
#define HOOK_WIN32A 0x01
|
|
#define HOOK_WIN32W 0x02
|
|
#define HOOK_INUSE 0x80
|
|
|
|
|
|
/* hook type mask */
|
|
#define HOOK_MAPTYPE (HOOK_WIN16 | HOOK_WIN32A | HOOK_WIN32W)
|
|
|
|
extern HOOKPROC16 HOOK_GetProc16( HHOOK hhook );
|
|
extern BOOL HOOK_IsHooked( INT16 id );
|
|
extern LRESULT HOOK_CallHooks16( INT16 id, INT16 code, WPARAM16 wParam,
|
|
LPARAM lParam );
|
|
extern LRESULT HOOK_CallHooksA( INT id, INT code, WPARAM wParam,
|
|
LPARAM lParam );
|
|
extern LRESULT HOOK_CallHooksW( INT id, INT code, WPARAM wParam,
|
|
LPARAM lParam );
|
|
extern void HOOK_FreeModuleHooks( HMODULE16 hModule );
|
|
extern void HOOK_FreeQueueHooks( HQUEUE16 hQueue );
|
|
extern void HOOK_ResetQueueHooks( HQUEUE16 hQueue );
|
|
extern HOOKPROC HOOK_GetProc( HHOOK hook );
|
|
|
|
#endif /* __WINE_HOOK_H */
|