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.

47 lines
1022 B

  1. #define SZMOD "Class1: "
  2. #ifdef DEBUG
  3. extern DBGPARAM dpCurSettings;
  4. #endif
  5. #define ZONE_DDI ((1L << 0) & dpCurSettings.ulZoneMask)
  6. #define ZONE_FRAMES ((1L << 1) & dpCurSettings.ulZoneMask)
  7. #define ZONE_CLASS0 ((1L << 4) & dpCurSettings.ulZoneMask)
  8. #define ZONE_SWFRAME ((1L << 10) & dpCurSettings.ulZoneMask)
  9. #define ZONE_SWFRAME2 ((1L << 11) & dpCurSettings.ulZoneMask)
  10. #ifdef DEBUG
  11. # define ST_FRAMES(x) if(ZONE_FRAMES) { x; }
  12. #else
  13. # define ST_FRAMES(x) { }
  14. #endif
  15. #ifdef MDDI
  16. # define IF_BG_CHK(x) BG_CHK(x)
  17. # define faxIFlog(x) faxTlog(x)
  18. #else
  19. # define IF_BG_CHK(x)
  20. # define faxIFlog(x)
  21. #endif
  22. #if defined(DEBUG) && defined(MDDI)
  23. extern void D_PrintDDI(LPSTR lpsz, USHORT, USHORT);
  24. #else //DEBUG && MDDI
  25. # define D_PrintDDI(lpsz, u, v)
  26. #endif //DEBUG && MDDI
  27. #define TRACE(m) DEBUGMSG(1, m)
  28. #define MODID MODID_MODEMDRV
  29. #define FILEID_DDI 1
  30. #define FILEID_CRC 2
  31. #define FILEID_DECODER 3
  32. #define FILEID_ENCODER 4
  33. #define FILEID_FRAMING 5
  34. #define FILEID_IFDDI 6
  35. #define FILEID_CLASS0 7