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.

63 lines
924 B

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. iwdbg.h
  5. Abstract:
  6. This module contains the debug utilities definitions
  7. Author:
  8. Stefan Solomon 03/03/1995
  9. Revision History:
  10. --*/
  11. #ifndef _IWDBG_
  12. #define _IWDBG_
  13. //*** Tracing Components IDs ***
  14. #define INIT_TRACE 0x00010000
  15. #define ADAPTER_TRACE 0x00020000
  16. #define RECEIVE_TRACE 0x00040000
  17. #define SEND_TRACE 0x00080000
  18. #define TIMER_TRACE 0x00100000
  19. #define IPXWAN_TRACE 0x00200000
  20. #define IPXWAN_ALERT 0x80000000
  21. #if DBG
  22. VOID
  23. SsAssert(
  24. IN PVOID FailedAssertion,
  25. IN PVOID FileName,
  26. IN ULONG LineNumber
  27. );
  28. #define SS_ASSERT(exp) if (!(exp)) SsAssert( #exp, __FILE__, __LINE__ )
  29. #else
  30. #define SS_ASSERT(exp)
  31. #endif // DBG
  32. VOID
  33. StartTracing(VOID);
  34. VOID
  35. Trace(ULONG ComponentID,
  36. char *Format,
  37. ...);
  38. VOID
  39. StopTracing(VOID);
  40. #endif // ndef _IWDBG_