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.

41 lines
615 B

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