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.

58 lines
2.8 KiB

  1. /**MOD+**********************************************************************/
  2. /* Module: ntrcdata.c */
  3. /* */
  4. /* Purpose: Internal tracing data - Windows NT specific */
  5. /* */
  6. /* Copyright(C) Microsoft Corporation 1997 */
  7. /* */
  8. /****************************************************************************/
  9. /** Changes:
  10. * $Log: Y:/logs/trc/ntrcdata.c_v $
  11. *
  12. * Rev 1.2 03 Jul 1997 13:28:22 AK
  13. * SFR0000: Initial development completed
  14. *
  15. * Rev 1.1 20 Jun 1997 10:40:38 KH
  16. * Win16Port: Contains 32 bit specifics only
  17. **/
  18. /**MOD-**********************************************************************/
  19. /****************************************************************************/
  20. /* The following data is only required for the Win32 tracing. */
  21. /****************************************************************************/
  22. #ifdef DLL_DISP
  23. /****************************************************************************/
  24. /* The following data is required for the NT kernel tracing. */
  25. /****************************************************************************/
  26. DC_DATA(DCUINT32, trcLinesLost, 0);
  27. DC_DATA(DCUINT32, trcStorageUsed, 0);
  28. DC_DATA_NULL(TRC_SHARED_DATA, trcSharedData, {0});
  29. #else
  30. /****************************************************************************/
  31. /* For Windows CE, do not use shared memory for trace configuration data */
  32. /****************************************************************************/
  33. #ifdef OS_WINCE
  34. DC_DATA_NULL(TRC_SHARED_DATA, trcSharedData, {0});
  35. #endif
  36. /****************************************************************************/
  37. /* Handle to the trace DLL shared data. */
  38. /****************************************************************************/
  39. DC_DATA(HANDLE, trchSharedDataObject, 0);
  40. /****************************************************************************/
  41. /* Trace file handle array. */
  42. /****************************************************************************/
  43. DC_DATA_ARRAY_NULL(HANDLE, trchFileObjects, TRC_NUM_FILES, DC_STRUCT1(0));
  44. DC_DATA_ARRAY_NULL(HANDLE, trchMappingObjects, TRC_NUM_FILES, DC_STRUCT1(0));
  45. /****************************************************************************/
  46. /* Trace DLL module handle. */
  47. /****************************************************************************/
  48. DC_DATA(HANDLE, trchModule, 0);
  49. #endif