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.

81 lines
2.8 KiB

  1. /*************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. FaxDebug.h
  5. Abstract:
  6. This file defines the debugging enum/masks
  7. available to the FAX compoments.
  8. Author:
  9. Mooly Beery (MoolyB) 22-06-2000
  10. Environment:
  11. User Mode
  12. **************************************************/
  13. #ifndef __FAX_EDBUG_HEADER_FILE__
  14. #define __FAX_EDBUG_HEADER_FILE__
  15. typedef enum
  16. {
  17. DEBUG_CONTEXT_T30_MAIN = 0x00000001,
  18. DEBUG_CONTEXT_T30_CLASS1 = 0x00000002,
  19. DEBUG_CONTEXT_T30_CLASS2 = 0x00000004,
  20. DEBUG_CONTEXT_T30_COMM = 0x00000008,
  21. DEBUG_CONTEXT_ADMIN_FAXCLIENT = 0x00000010,
  22. DEBUG_CONTEXT_ADMIN_MMC = 0x00000020,
  23. DEBUG_CONTEXT_ADMIN_FAXRES = 0x00000040,
  24. DEBUG_CONTEXT_ADMIN_T30EXT = 0x00000080,
  25. DEBUG_CONTEXT_ADMIN_ROUTINGEXT = 0x00000100,
  26. DEBUG_CONTEXT_CLIENT_CONSOLE = 0x00000200,
  27. DEBUG_CONTEXT_EXCHANGE_EXT = 0x00000400,
  28. DEBUG_CONTEXT_EXCHANGE_XPORT = 0x00000800,
  29. DEBUG_CONTEXT_FAXCOVER_SRC = 0x00001000,
  30. DEBUG_CONTEXT_FAXCOVER_RENDERER = 0x00002000,
  31. DEBUG_CONTEXT_SERVICE_RPC = 0x00004000,
  32. DEBUG_CONTEXT_SERVICE_EFSPUTIL = 0x00008000,
  33. DEBUG_CONTEXT_SERVICE_REGISTRY = 0x00010000,
  34. DEBUG_CONTEXT_SERVICE_CLIENT = 0x00020000,
  35. DEBUG_CONTEXT_SERVICE_FAXEVENT = 0x00040000,
  36. DEBUG_CONTEXT_SERVICE_FAXROUTE = 0x00080000,
  37. DEBUG_CONTEXT_SERVICE_SERVER = 0x00100000,
  38. DEBUG_CONTEXT_SETUP_UTIL = 0x00200000,
  39. DEBUG_CONTEXT_SETUP_CLIENT = 0x00400000,
  40. DEBUG_CONTEXT_SETUP_SERVER = 0x00800000,
  41. DEBUG_CONTEXT_TIFF_SRC = 0x01000000,
  42. DEBUG_CONTEXT_UTIL = 0x02000000,
  43. DEBUG_CONTEXT_DEBUGEX = 0x04000000,
  44. DEBUG_CONTEXT_ALL = 0xFFFFFFFF
  45. } DEBUG_MESSAGE_CONTEXT;
  46. typedef enum
  47. {
  48. DBG_PRNT_THREAD_ID = 0x80000000, // Print thread ID in debug stream
  49. DBG_PRNT_TIME_STAMP = 0x40000000, // Print Date/Time in debug stream
  50. DBG_PRNT_MSG_TYPE = 0x20000000, // Print [MSG],[WRN],[ERR] in debug stream
  51. DBG_PRNT_FILE_LINE = 0x10000000, // Print Filename & line number in debug stream
  52. DBG_PRNT_TO_FILE = 0x08000000, // Output debug stream to a file (you have to call OpenLogFile with a filename
  53. DBG_PRNT_TO_STD = 0x04000000, // Use std debug output
  54. DBG_PRNT_TICK_COUNT = 0x02000000, // Print Tick count
  55. DBG_PRNT_MOD_NAME = 0x01000000, // Print the module name
  56. DBG_PRNT_ALL = 0xFFFFFFFF,
  57. DBG_PRNT_ALL_TO_FILE = DBG_PRNT_ALL & ~DBG_PRNT_TO_STD,
  58. DBG_PRNT_ALL_TO_STD = DBG_PRNT_ALL & ~DBG_PRNT_TO_FILE,
  59. } DbgMsgFormat;
  60. #endif // __FAX_EDBUG_HEADER_FILE__