Source code of Windows XP (NT5)
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.

52 lines
727 B

  1. TITLE THTHUNKS.ASM
  2. PAGE ,132
  3. ;
  4. ; WOW v1.0
  5. ;
  6. ; Copyright (c) 1991-1992, Microsoft Corporation
  7. ;
  8. ; THTHUNKS.ASM
  9. ; Thunks in 16-bit space to route Windows API calls to WOW32
  10. ;
  11. ; History:
  12. ;
  13. ; 09-Nov-1992 Dave Hart (davehart)
  14. ; Adapted from mvdm\wow16\kernel31\kthunks.asm for ToolHelp
  15. ;
  16. ; 02-Apr-1991 Matt Felton (mattfe)
  17. ; Created.
  18. ;
  19. ifndef WINDEBUG
  20. KDEBUG = 0
  21. WDEBUG = 0
  22. else
  23. KDEBUG = 1
  24. WDEBUG = 1
  25. endif
  26. .286p
  27. .xlist
  28. include cmacros.inc
  29. include wow.inc
  30. include wowth.inc
  31. .list
  32. externFP WOW16Call
  33. sBegin CODE
  34. assumes CS,CODE
  35. assumes DS,NOTHING
  36. assumes ES,NOTHING
  37. ; Kernel API thunks
  38. ToolHelpThunk ClassFirst
  39. ToolHelpThunk ClassNext
  40. sEnd CODE
  41. end