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.

37 lines
1.4 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // spindbg.hpp
  4. //
  5. // Span Init debug definitions.
  6. //
  7. // Copyright (C) Microsoft Corporation, 1997.
  8. //
  9. //----------------------------------------------------------------------------
  10. #ifndef _SPINDBG_HPP_
  11. #define _SPINDBG_HPP_
  12. #include <cppdbg.hpp>
  13. DBG_DECLARE_HEADER(SPI);
  14. #define SPIDPF(Args) DBG_DECLARE_DPF(SPI, Args)
  15. #define SPIDPFM(Args) DBG_DECLARE_DPFM(SPI, Args)
  16. #define SPIASSERT(Exp) DBG_DECLARE_ASSERT(SPI, Exp)
  17. #define SPIASSERTMSG(Exp, Args) DBG_DECLARE_ASSERTMSG(SPI, Exp, Args)
  18. #define SPIVERIFY(Exp) DBG_DECLARE_VERIFY(SPI, Exp)
  19. #define SPIVERIFYMSG(Exp) DBG_DECLARE_VERIFYMSG(SPI, Exp, Args)
  20. #define SPIPROMPT(Args) DBG_DECLARE_PROMPT(SPI, Args)
  21. #define SPIGETFLAGS(Idx) DBG_DECLARE_GETFLAGS(SPI, Idx)
  22. #define SPISETFLAGS(Idx, Value) DBG_DECLARE_SETFLAGS(SPI, Idx, Value)
  23. #define SPIHRCHK(Exp) DBG_DECLARE_HRCHK(SPI, Exp)
  24. #define SPIHRGO(Exp, Label) DBG_DECLARE_HRGO(SPI, Exp, Label)
  25. #define SPIHRERR(Exp) DBG_DECLARE_HRERR(SPI, Exp)
  26. #define SPIHRRET(Exp) DBG_DECLARE_HRRET(SPI, Exp)
  27. #define SPIM_INVALID 0x00000001
  28. #define SPIM_REPORT 0x00000002
  29. #define SPIU_BREAK_ON_SPANINIT 0x00000001
  30. #endif // #ifndef _SPINDBG_HPP_