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.

126 lines
2.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: T R A C E T A G . H
  7. //
  8. // Contents: Trace tag definitions for the Netcfg project
  9. //
  10. // Notes: B-flat, C-sharp
  11. //
  12. // Author: jeffspr 9 Apr 1997
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. #ifndef _TRACETAG_H_
  17. #define _TRACETAG_H_
  18. // TraceTagIds are the identifiers for tracing areas, and are used in calls
  19. // to TraceTag. We need this defined outside of of ENABLETRACE so that
  20. // calls to the TraceTag macro don't break when ENABLETRACE is not defined.
  21. //
  22. // Hungarian == ttid
  23. //
  24. enum TraceTagId
  25. {
  26. ttidDefault = 0,
  27. ttidAdvCfg,
  28. ttidAllocations,
  29. ttidAnswerFile,
  30. ttidAtmArps,
  31. ttidAtmLane,
  32. ttidAtmUni,
  33. ttidBeDiag,
  34. ttidBenchmark,
  35. ttidBrdgCfg,
  36. ttidClassInst,
  37. ttidConFoldEntry,
  38. ttidConman,
  39. ttidConnectionList,
  40. ttidDHCPServer,
  41. ttidDun,
  42. ttidEAPOL,
  43. ttidError,
  44. ttidEsLock,
  45. ttidEvents,
  46. ttidFilter,
  47. ttidGPNLA,
  48. ttidGuiModeSetup,
  49. ttidIcons,
  50. ttidInfExt,
  51. ttidInstallQueue,
  52. ttidISDNCfg,
  53. ttidLana,
  54. ttidLanCon,
  55. ttidLanUi,
  56. ttidMenus,
  57. ttidMSCliCfg,
  58. ttidNcDiag,
  59. ttidNetAfx,
  60. ttidNetBios,
  61. ttidNetComm,
  62. ttidNetOc,
  63. ttidNetSetup,
  64. ttidNetUpgrade,
  65. ttidNetcfgBase,
  66. ttidNetCfgBind,
  67. ttidNetCfgPnp,
  68. ttidNotifySink,
  69. ttidNWClientCfg,
  70. ttidNWClientCfgFn,
  71. ttidRasCfg,
  72. ttidSFNCfg,
  73. ttidSecTest,
  74. ttidShellEnum,
  75. ttidShellFolder,
  76. ttidShellFolderIface,
  77. ttidShellViewMsgs,
  78. ttidSrvrCfg,
  79. ttidStatMon,
  80. ttidSvcCtl,
  81. ttidSystray,
  82. ttidTcpip,
  83. ttidWanCon,
  84. ttidWanOrder,
  85. ttidWizard,
  86. ttidWlbs, /* maiken 5.25.00 */
  87. ttidWmi /* AlanWar */
  88. };
  89. // Just for kicks
  90. //
  91. typedef enum TraceTagId TRACETAGID;
  92. #ifdef ENABLETRACE
  93. // Maximum sizes for the trace tag elements.
  94. const int c_iMaxTraceTagShortName = 16;
  95. const int c_iMaxTraceTagDescription = 128;
  96. // For each element in the tracetag list
  97. //
  98. struct TraceTagElement
  99. {
  100. TRACETAGID ttid;
  101. CHAR szShortName[c_iMaxTraceTagShortName+1];
  102. CHAR szDescription[c_iMaxTraceTagDescription+1];
  103. BOOL fOutputDebugString;
  104. BOOL fOutputToFile;
  105. BOOL fVerboseOnly;
  106. };
  107. typedef struct TraceTagElement TRACETAGELEMENT;
  108. //---[ Externs ]--------------------------------------------------------------
  109. extern TRACETAGELEMENT g_TraceTags[];
  110. extern const INT g_nTraceTagCount;
  111. #endif // ENABLETRACE
  112. #endif // _TRACETAG_H_