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.

139 lines
2.7 KiB

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. tracedp.mof
  5. Abstract:
  6. This file defines the sample MOF class for the trace provider
  7. Revision History:
  8. --*/
  9. #pragma classflags("forceupdate")
  10. #pragma namespace ("\\\\.\\Root\\WMI")
  11. //
  12. // TRACEDP classes
  13. [Dynamic,
  14. Description("Sample Trace Data Provider") : amended,
  15. Guid("{d58c126f-b309-11d1-969e-0000f875a5bc}"),
  16. locale("MS\\0x409")
  17. ]
  18. class UMTraceDP:EventTrace
  19. {
  20. };
  21. [Dynamic,
  22. Description("Sample Data Provider") : amended,
  23. Guid("{ce5b1020-8ea9-11d0-a4ec-00a0c9062910}"),
  24. DisplayName("TraceDP") : amended,
  25. locale("MS\\0x409")
  26. ]
  27. class TraceDPData:UMTraceDP
  28. {
  29. };
  30. [Dynamic,
  31. Description("Sample String Data") : amended,
  32. EventType{1, 2},
  33. EventTypeName{"Start", "End"} : amended,
  34. locale("MS\\0x409")
  35. ]
  36. class TraceDPData_Ulong:TraceDPData
  37. {
  38. [WmiDataId(1),
  39. Description("SampleULONG") : amended,
  40. read]
  41. uint32 Data;
  42. };
  43. [Dynamic,
  44. Description("Sample String Data") : amended,
  45. EventType(3),
  46. EventTypeName("Strings") : amended,
  47. locale("MS\\0x409")
  48. ]
  49. class TraceDPData_Strings:TraceDPData
  50. {
  51. [WmiDataId(1),
  52. Description("WideString") : amended,
  53. StringTermination("NullTerminated"),
  54. format("w"),
  55. read]
  56. string WideString;
  57. [WmiDataId(2),
  58. Description("CountedWideString") : amended,
  59. StringTermination("Counted"),
  60. format("w"),
  61. read]
  62. string CountedWideString;
  63. };
  64. [Dynamic,
  65. Description("Sample Integer Data") : amended,
  66. EventType(4),
  67. EventTypeName("Integers") : amended,
  68. locale("MS\\0x409")
  69. ]
  70. class TraceDPData_Integers:TraceDPData
  71. {
  72. [WmiDataId(1),
  73. Description("Char") : amended,
  74. format("c"),
  75. read]
  76. sint8 Char;
  77. [WmiDataId(2),
  78. Description("UChar") : amended,
  79. format("c"),
  80. read]
  81. uint8 UChar;
  82. [WmiDataId(3),
  83. Description("Short") : amended,
  84. read]
  85. sint16 Short;
  86. [WmiDataId(4),
  87. Description("ULong") : amended,
  88. read]
  89. uint32 ULong;
  90. };
  91. [Dynamic,
  92. Description("Sample Float Data") : amended,
  93. EventType(5),
  94. EventTypeName("Floats") : amended,
  95. locale("MS\\0x409")
  96. ]
  97. class TraceDPData_Floats:TraceDPData
  98. {
  99. [WmiDataId(1),
  100. Description("Float") : amended,
  101. read]
  102. real32 Float;
  103. [WmiDataId(2),
  104. Description("Double") : amended,
  105. read]
  106. real64 Double;
  107. };
  108. [Dynamic,
  109. Description("Sample Array Data") : amended,
  110. EventType(6),
  111. EventTypeName("Arrays") : amended,
  112. locale("MS\\0x409")
  113. ]
  114. class TraceDPData_Arrays:TraceDPData
  115. {
  116. [WmiDataId(1),
  117. Description("CArray") : amended,
  118. format("c"),
  119. read]
  120. sint8 CArray[9];
  121. };