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.

64 lines
3.1 KiB

  1. /**MOD+**********************************************************************/
  2. /* Module: atrcdata.c */
  3. /* */
  4. /* Purpose: Internal trace data */
  5. /* */
  6. /* Copyright(C) Microsoft Corporation 1997 */
  7. /* */
  8. /****************************************************************************/
  9. /** Changes:
  10. * $Log: Y:/logs/trc/atrcdata.c_v $
  11. *
  12. * Rev 1.5 09 Jul 1997 17:59:34 AK
  13. * SFR1016: Initial changes to support Unicode
  14. *
  15. * Rev 1.4 07 Jul 1997 17:49:24 KH
  16. * SFR1022: Change trcState to DCUINT
  17. *
  18. * Rev 1.3 03 Jul 1997 13:27:34 AK
  19. * SFR0000: Initial development completed
  20. **/
  21. /**MOD-**********************************************************************/
  22. #include <adcg.h>
  23. /****************************************************************************/
  24. /* Define TRC_FILE and TRC_GROUP if this file is being compiled - but do */
  25. /* not define if it is being included. */
  26. /****************************************************************************/
  27. #ifndef DC_INCLUDE_DATA
  28. #define TRC_FILE "atrcdata"
  29. #define TRC_GROUP TRC_GROUP_TRACE
  30. #endif
  31. /****************************************************************************/
  32. /* Data header. */
  33. /****************************************************************************/
  34. #include <adcgdata.h>
  35. /****************************************************************************/
  36. /* Trace specific includes. */
  37. /****************************************************************************/
  38. #include <atrcapi.h>
  39. #include <atrcint.h>
  40. /****************************************************************************/
  41. /* Pointers to shared data structures. */
  42. /****************************************************************************/
  43. DC_DATA(PTRC_CONFIG, trcpConfig, 0);
  44. DC_DATA(PTRC_FILTER, trcpFilter, 0);
  45. DC_DATA(PDCTCHAR, trcpOutputBuffer, 0);
  46. /****************************************************************************/
  47. /* Flag to indicate if tracing is fully initialized yet. */
  48. /****************************************************************************/
  49. DC_DATA(DCUINT, trcState, TRC_STATE_UNINITIALIZED);
  50. /****************************************************************************/
  51. /* */
  52. /* OPERATING SYSTEM SPECIFIC INCLUDES */
  53. /* */
  54. /****************************************************************************/
  55. #include <wtrcdata.c>