windows-nt/Source/XPSP1/NT/base/mvdm/wow32/wuhook.h

27 lines
741 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++ BUILD Version: 0001
*
* WOW v1.0
*
* Copyright (c) 1991, Microsoft Corporation
*
* WUHOOK.H
* WOW32 16-bit User API support
*
* History:
* Created 07-Mar-1991 by Jeff Parsons (jeffpar)
--*/
ULONG FASTCALL WU32SetWindowsHookInternal(PVDMFRAME pFrame);
ULONG FASTCALL WU32UnhookWindowsHook(PVDMFRAME pFrame);
ULONG FASTCALL WU32CallNextHookEx(PVDMFRAME pFrame);
ULONG FASTCALL WU32SetWindowsHookEx(PVDMFRAME pFrame);
ULONG FASTCALL WU32UnhookWindowsHookEx(PVDMFRAME pFrame);
#define HOOK_ID 0x4B48 // dumps as 'H' 'K'
#define MAKEHHOOK(index) (MAKELONG(index,HOOK_ID))
#define GETHHOOKINDEX(hook) (LOWORD(hook))
#define ISVALIDHHOOK(hook) (HIWORD(hook) == HOOK_ID)