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.

125 lines
2.3 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),
  33. EventTypeName("Strings") : amended,
  34. locale("MS\\0x409")
  35. ]
  36. class TraceDPData_Strings:TraceDPData
  37. {
  38. [WmiDataId(1),
  39. Description("WideString") : amended,
  40. StringTermination("NullTerminated"),
  41. format("w"),
  42. read]
  43. string WideString;
  44. [WmiDataId(2),
  45. Description("CountedWideString") : amended,
  46. StringTermination("Counted"),
  47. format("w"),
  48. read]
  49. string CountedWideString;
  50. };
  51. [Dynamic,
  52. Description("Sample Integer Data") : amended,
  53. EventType(2),
  54. EventTypeName("Integers") : amended,
  55. locale("MS\\0x409")
  56. ]
  57. class TraceDPData_Integers:TraceDPData
  58. {
  59. [WmiDataId(1),
  60. Description("Char") : amended,
  61. format("c"),
  62. read]
  63. sint8 Char;
  64. [WmiDataId(2),
  65. Description("UChar") : amended,
  66. format("c"),
  67. read]
  68. uint8 UChar;
  69. [WmiDataId(3),
  70. Description("Short") : amended,
  71. read]
  72. sint16 Short;
  73. [WmiDataId(4),
  74. Description("ULong") : amended,
  75. read]
  76. uint32 ULong;
  77. };
  78. [Dynamic,
  79. Description("Sample Float Data") : amended,
  80. EventType(3),
  81. EventTypeName("Floats") : amended,
  82. locale("MS\\0x409")
  83. ]
  84. class TraceDPData_Floats:TraceDPData
  85. {
  86. [WmiDataId(1),
  87. Description("Float") : amended,
  88. read]
  89. real32 Float;
  90. [WmiDataId(2),
  91. Description("Double") : amended,
  92. read]
  93. real64 Double;
  94. };
  95. [Dynamic,
  96. Description("Sample Array Data") : amended,
  97. EventType(4),
  98. EventTypeName("Arrays") : amended,
  99. locale("MS\\0x409")
  100. ]
  101. class TraceDPData_Arrays:TraceDPData
  102. {
  103. [WmiDataId(1),
  104. Description("CArray") : amended,
  105. format("c"),
  106. read]
  107. sint8 CArray[9];
  108. };