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.

67 lines
2.3 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dbginfo.h
  6. * Content: Include for setting debugging information, 1 copy of
  7. * this file should be in each directory for debugging.
  8. * It requires the include path to start with the local
  9. * directory so other copies don't take precedence.
  10. *
  11. *
  12. * History:
  13. * Date By Reason
  14. * ==== == ======
  15. * 07/14/99 aarono Created
  16. * 07/16/99 johnkan Fixed problem with macro redefinition if DPF_MODNAME was already defined in .Cxx file
  17. *
  18. ***************************************************************************/
  19. #ifndef _DBGINFO_H_
  20. #define _DBGINFO_H_
  21. /*
  22. * Sets the section in Win.ini that the debug code looks at to get the settings
  23. */
  24. #undef PROF_SECT
  25. #define PROF_SECT "DirectPlayVoice"
  26. /*
  27. * This is the per function name that should be set so that it is easier to
  28. * track down the section of the code that is generating a DPF
  29. */
  30. #ifndef DPF_MODNAME
  31. #define DPF_MODNAME "UNKNOWN_MODULE"
  32. #endif // DPF_MODNAME
  33. /*
  34. * Sets the module name print in the debug string. DPF_MODNAME overrides this
  35. * string when present in a file. This name is also used as the key to override
  36. * the standard debug value for this module.
  37. */
  38. #undef DPF_MODULE_NAME
  39. #define DPF_MODULE_NAME "UNKNOWN_MODULE"
  40. /*
  41. * Use this identifier to define which line in WIN.INI [DirectNet] denotes the
  42. * debug control string. This string is typically the default debug value, it
  43. * is used if there is no overriding string of the from "DPF_MODULE_NAME" =
  44. */
  45. #undef DPF_CONTROL_LINE
  46. #define DPF_CONTROL_LINE "DNetDebug"
  47. /*
  48. * Define this identifier to a DWORD variable in your component if you want to
  49. * be able to turn debugging of components off and on in your component during
  50. * a debug session. This is the variable that holds the mask of the component
  51. * bits that are ON and you want debug spew for. You then use DPFSC instead
  52. * of DPF and have specified DPS_SUBCOMP_BIT then only if that bit is
  53. * set in the DPF_SUMCOMP_MASK variable will the debug spew be logged or
  54. * displayed.
  55. */
  56. //#define DPF_SUBCOMP_MASK
  57. #endif // _DBGINFO_H_