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.

47 lines
724 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. frsexts.h
  5. Abstract:
  6. Macros for ntfrs debugger extension.
  7. Author:
  8. Sudarshan Chitre (sudarc)
  9. Revision History:
  10. Sudarc 12-May 1999
  11. --*/
  12. #ifndef _FRSEXTS_H_
  13. #define _FRSEXTS_H_
  14. #include <ntreppch.h>
  15. #include <frs.h>
  16. #include <wdbgexts.h>
  17. #include <ntverp.h>
  18. #define MY_DECLARE_API(_x_) \
  19. DECLARE_API( _x_ )\
  20. {\
  21. ULONG_PTR dwAddr;\
  22. INIT_DPRINTF();\
  23. dwAddr = GetExpression(lpArgumentString);\
  24. if ( !dwAddr ) {\
  25. dprintf("Error: Failure to get address\n");\
  26. return;\
  27. }\
  28. do_##_x_(dwAddr);\
  29. return;}
  30. #endif