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.

86 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. dbgutil.h
  5. Abstract:
  6. This module declares the macros to wrap around DEBUG_PRINTS class
  7. defined in pudebug.h
  8. This is the exported header file, that the users are allowed to modify.
  9. If there are no custom definitions, please use the templated version
  10. in the root iisrearc\inc\dbgutil.h
  11. Author:
  12. Murali R. Krishnan (MuraliK) 22-Sept-1994
  13. --*/
  14. # ifndef _DBGUTIL_H_
  15. # define _DBGUTIL_H_
  16. // begin_user_modifiable
  17. //
  18. // Modify the following flags if necessary
  19. //
  20. # define DEFAULT_OUTPUT_FLAGS ( DbgOutputKdb )
  21. // end_user_modifiable
  22. //
  23. // include standard debug support
  24. //
  25. // note: define DEFAULT_OUTPUT_FLAGS before including pudebug.h
  26. //
  27. # include <pudebug.h>
  28. // begin_user_modifiable
  29. // Use the default constants from pudebug.h: 0x00000001 to 0x00000100
  30. //
  31. // Define the debugging constants as bit-flag values
  32. // Example: # define DEBUG_FOOBAR 0x00010000
  33. // Note: All debugging bit-values below 0x00001000 are reserved!
  34. //
  35. // If you add or change a flag, please update FlagTableWp
  36. // in core\common\dtflags\dtflags.c
  37. //
  38. #define DEBUG_DLL_MANAGER 0x80000000
  39. #define DEBUG_ISAPI_EXTENSION_ENTRY 0x10000000
  40. #define DEBUG_ISAPI_GET_SERVER_VARIABLE 0x01000000
  41. #define DEBUG_ISAPI_SERVER_SUPPORT_FUNCTION 0x02000000
  42. #define DEBUG_ISAPI_SSF_DETAILS 0x04000000
  43. #define DEBUG_ISAPI_DUMP_BUFFERS 0x08000000
  44. #define DEBUG_ISAPI_ERROR_RETURNS 0x00100000
  45. #define DEBUG_ISAPI_SUCCESS_RETURNS 0x00200000
  46. #define DEBUG_ISAPI_READ_CLIENT 0x00400000
  47. #define DEBUG_ISAPI_WRITE_CLIENT 0x00800000
  48. #define DEBUG_ISAPI_REF_TRACE 0x00080000
  49. //
  50. // Set the maximum number of bytes that'll get printed in a debug
  51. // dump of binary data (16 bytes are printed per dump line).
  52. //
  53. #define MAX_DEBUG_DUMP 10*16
  54. // end_user_modifiable
  55. # endif /* _DBGUTIL_H_ */