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.

143 lines
2.9 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. spoolss.mof
  5. Abstract:
  6. This file defines the spooler MOF class for the trace provider
  7. Revision History:
  8. --*/
  9. #pragma classflags("forceupdate")
  10. #pragma namespace ("\\\\.\\Root\\WMI")
  11. //
  12. // Spooler control guid
  13. [Dynamic,
  14. Description("Spooler Trace Control") : amended,
  15. Guid("{94a984ef-f525-4bf1-be3c-ef374056a592}"),
  16. locale("MS\\0x409")]
  17. class Spooler:EventTrace
  18. {
  19. };
  20. //
  21. // Spooler job transaction guid
  22. [Dynamic,
  23. Description("Print Job Transaction") : amended,
  24. Guid("{127eb555-3b06-46ea-a08b-5dc2c3c57cfd}"),
  25. DisplayName("PrintJob") : amended,
  26. locale("MS\\0x409")]
  27. class PrintJob:Spooler
  28. {
  29. };
  30. [Dynamic,
  31. Description("Print Job Transaction") : amended,
  32. EventType{1, 7, 8, 10, 12, 13},
  33. EventTypeName{"SpoolJob", "PrintJob", "TrackThread", "EndTrackThread", "PauseJob", "ResumeJob"} : amended,
  34. locale("MS\\0x409")
  35. ]
  36. class PrintJob_TypeGroup1:PrintJob
  37. {
  38. [WmiDataId(1),
  39. Description("JobId") : amended,
  40. read]
  41. uint32 JobId;
  42. };
  43. [Dynamic,
  44. Description("Print Job Delete") : amended,
  45. EventType(2),
  46. EventTypeName("DeleteJob") : amended,
  47. locale("MS\\0x409")
  48. ]
  49. class PrintJob_DeleteJob:PrintJob
  50. {
  51. [WmiDataId(1),
  52. Description("JobId") : amended,
  53. read]
  54. uint32 JobId;
  55. [WmiDataId(2),
  56. Description("JobSize") : amended,
  57. read]
  58. uint32 JobSize;
  59. [WmiDataId(3),
  60. Description("DataType") : amended,
  61. read]
  62. uint32 DataType;
  63. [WmiDataId(4),
  64. Description("Pages") : amended,
  65. read]
  66. uint32 Pages;
  67. [WmiDataId(5),
  68. Description("PagesPerSide") : amended,
  69. read]
  70. uint32 PagesPerSide;
  71. [WmiDataId(6),
  72. Description("FilesOpened") : amended,
  73. read]
  74. sint16 FilesOpened;
  75. };
  76. [Dynamic,
  77. Description("Render Job Transaction") : amended,
  78. Guid("{1d32b239-92a6-485a-96d2-dc3659fb803e}"),
  79. DisplayName("RenderJob") : amended,
  80. locale("MS\\0x409")]
  81. class RenderJob:Spooler
  82. {
  83. };
  84. [Dynamic,
  85. Description("Render Job") : amended,
  86. EventType(11),
  87. EventTypeName("JobRendered") : amended,
  88. locale("MS\\0x409")
  89. ]
  90. class RenderJob_JobRenderd:RenderJob
  91. {
  92. [WmiDataId(1),
  93. Description("JobId") : amended,
  94. read]
  95. uint32 JobId;
  96. [WmiDataId(2),
  97. Description("GdiJobSize") : amended,
  98. read]
  99. uint32 GdiJobSize;
  100. [WmiDataId(3),
  101. Description("ICMMethod") : amended,
  102. read]
  103. uint32 ICMMethod;
  104. [WmiDataId(4),
  105. Description("Color") : amended,
  106. read]
  107. sint16 Color;
  108. [WmiDataId(5),
  109. Description("XRes") : amended,
  110. read]
  111. sint16 XRes;
  112. [WmiDataId(6),
  113. Description("YRes") : amended,
  114. read]
  115. sint16 YRes;
  116. [WmiDataId(7),
  117. Description("Quality") : amended,
  118. read]
  119. sint16 Quality;
  120. [WmiDataId(8),
  121. Description("Copies") : amended,
  122. read]
  123. sint16 Copies;
  124. [WmiDataId(9),
  125. Description("TTOption") : amended,
  126. read]
  127. sint16 TTOption;
  128. };