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.

46 lines
913 B

  1. ;//*********************************************************************
  2. ;//* Microsoft Windows **
  3. ;//* Copyright (c) 1994-1998 Microsoft Corporation **
  4. ;//*********************************************************************
  5. ; File: fltthk.inc
  6. ;
  7. ; Support macros and routines for the flat thunk mode of the thunk
  8. ; compiler.
  9. ;
  10. ; Included in *.asm files generated using the
  11. ; "flatthunks = true" semantic.
  12. ;
  13. ; Macro: FAPILOG16. Prints out a log message at the start of each thunk.
  14. ; Debug only.
  15. FAPILOG16 macro dwOffset
  16. ifdef DEBUG
  17. pushd offset FT_ThunkLogNames + dwOffset
  18. call FAPILOG16_Hlp
  19. endif ;DEBUG
  20. endm ;FAPILOG16
  21. ifdef DEBUG
  22. LogApiThkLSF proto near stdcall, psz:dword
  23. FAPILOG16_Hlp:
  24. push ebp
  25. mov ebp,[esp+8]
  26. invoke LogApiThkLSF, ebp
  27. pop ebp
  28. ret 4
  29. endif ;DEBUG