Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
767 B

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WUHOOK.H
  8. * WOW32 16-bit User API support
  9. *
  10. * History:
  11. * Created 07-Mar-1991 by Jeff Parsons (jeffpar)
  12. --*/
  13. ULONG FASTCALL WU32SetWindowsHookInternal(PVDMFRAME pFrame);
  14. ULONG FASTCALL WU32UnhookWindowsHook(PVDMFRAME pFrame);
  15. ULONG FASTCALL WU32CallNextHookEx(PVDMFRAME pFrame);
  16. ULONG FASTCALL WU32SetWindowsHookEx(PVDMFRAME pFrame);
  17. ULONG FASTCALL WU32UnhookWindowsHookEx(PVDMFRAME pFrame);
  18. #define HOOK_ID 0x4B48 // dumps as 'H' 'K'
  19. #define MAKEHHOOK(index) (MAKELONG(index,HOOK_ID))
  20. #define GETHHOOKINDEX(hook) (LOWORD(hook))
  21. #define ISVALIDHHOOK(hook) (HIWORD(hook) == HOOK_ID)