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.

27 lines
552 B

  1. #define DBG_MSG_CNT 512
  2. #define MAX_MSG_LEN 256
  3. #define DBG_TIMER_INTERVAL 400
  4. #if DBG
  5. extern int DbgSettings;
  6. extern int DbgOutput;
  7. #define DBG_OUTPUT_DEBUGGER 1
  8. #define DBG_OUTPUT_BUFFER 2
  9. VOID DbgMsgInit();
  10. VOID DbgMsgUninit();
  11. VOID DbgMsg(CHAR *Format, ...);
  12. NTSTATUS DbgMsgIrp(PIRP pIrp, PIO_STACK_LOCATION pIrpSp);
  13. #define DEBUGMSG(dbgs,format) (((dbgs) & DbgSettings) ? DbgMsg format:0)
  14. #else
  15. #define DEBUGMSG(d,f) (0)
  16. #define DbgMsgInit() (0)
  17. #define DbgMsgUninit() (0)
  18. #endif