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.

1005 lines
78 KiB

  1. // This is the default MSINFO template file.
  2. //
  3. // Copyright (c) 1998-1999 Microsoft Corporation
  4. MSINFO,0000
  5. node("static", "root", field("static", "System Information"), "")
  6. {
  7. columns(field("static", "Category [root, 200]") "NONE", "BASIC")
  8. node("static", "SystemSummary", field("static", "System Summary"), "No system information available")
  9. {
  10. columns(field("static", "Item [SystemSummary, 150]"), "NONE", "BASIC", field("static", "Value [SystemSummary, 280]"), "NONE", "BASIC")
  11. enumlines("Win32_OperatingSystem", field("static", "WQL:SELECT Caption, Version, CSDVersion, BuildNumber, Manufacturer FROM Win32_OperatingSystem"))
  12. {
  13. line("BASIC", field("static", "OS Name"), field("Win32_OperatingSystem", "%s", Caption))
  14. line("BASIC", field("static", "Version"), field("Win32_OperatingSystem", "%s %s Build %s", Version, CSDVersion, BuildNumber))
  15. line("BASIC", field("static", "OS Manufacturer"), field("Win32_OperatingSystem", "%s", Manufacturer))
  16. }
  17. enumlines("Win32_ComputerSystem", field("static", "WQL:SELECT Name, Manufacturer, Model, SystemType FROM Win32_ComputerSystem"))
  18. {
  19. line("BASIC", field("static", "System Name"), field("Win32_ComputerSystem", "%s", Name))
  20. line("BASIC", field("static", "System Manufacturer"), field("Win32_ComputerSystem", "%s", Manufacturer))
  21. line("BASIC", field("static", "System Model"), field("Win32_ComputerSystem", "%s", Model))
  22. line("BASIC", field("static", "System Type"), field("Win32_ComputerSystem", "%s", ValueMapSystemType))
  23. }
  24. enumlines("Win32_Processor", field("static", "WQL:SELECT * FROM Win32_Processor"))
  25. {
  26. line("BASIC", field("static", "Processor"), field("Win32_Processor", "%s %s ~%s Mhz", Description, Manufacturer, CurrentClockSpeed))
  27. }
  28. enumlines("Win32_BIOS", field("static", "WQL:SELECT * FROM Win32_BIOS"))
  29. {
  30. line("BASIC", field("static", "BIOS Version"), field("Win32_BIOS", "%q", Version))
  31. }
  32. enumlines("Win32_OperatingSystem", field("static", "WQL:SELECT WindowsDirectory, SystemDirectory, BootDevice, Locale FROM Win32_OperatingSystem"))
  33. {
  34. line("BASIC", field("static", "Windows Directory"), field("Win32_OperatingSystem", "%s", WindowsDirectory))
  35. line("ADVANCED", field("static", "System Directory"), field("Win32_OperatingSystem", "%s", SystemDirectory))
  36. line("ADVANCED", field("static", "Boot Device"), field("Win32_OperatingSystem", "%s", BootDevice))
  37. line("BASIC", field("static", "Locale"), field("Win32_OperatingSystem", "%v", Locale))
  38. }
  39. enumlines("Win32_ComputerSystem", field("static", "WQL:SELECT UserName FROM Win32_ComputerSystem"))
  40. {
  41. line("ADVANCED", field("static", "User Name"), field("Win32_ComputerSystem", "%s", UserName))
  42. }
  43. enumlines("Win32_ComputerSystem (WQL)", field("static", "WQL:SELECT * FROM Win32_ComputerSystem WHERE DaylightInEffect = FALSE"))
  44. {
  45. line("BASIC", field("static", "Time Zone"), field("Win32_TimeZone", "%s", StandardName))
  46. }
  47. enumlines("Win32_ComputerSystem (WQL)", field("static", "WQL:SELECT * FROM Win32_ComputerSystem WHERE DaylightInEffect = TRUE"))
  48. {
  49. line("BASIC", field("static", "Time Zone"), field("Win32_TimeZone", "%s", DaylightName))
  50. }
  51. enumlines("Win32_LogicalMemoryConfiguration", field("static", "WQL:SELECT * FROM Win32_LogicalMemoryConfiguration"))
  52. {
  53. line("BASIC", field("static", "Total Physical Memory"), field("Win32_LogicalMemoryConfiguration", "%y", TotalPhysicalMemory))
  54. }
  55. enumlines("Win32_OperatingSystem", field("static", "WQL:SELECT FreePhysicalMemory, TotalVirtualMemorySize, FreeVirtualMemory, SizeStoredInPagingFiles FROM Win32_OperatingSystem"))
  56. {
  57. line("BASIC", field("static", "Available Physical Memory"),field("Win32_OperatingSystem", "%y", FreePhysicalMemory))
  58. line("BASIC", field("static", "Total Virtual Memory"), field("Win32_OperatingSystem", "%y", TotalVirtualMemorySize))
  59. line("BASIC", field("static", "Available Virtual Memory"), field("Win32_OperatingSystem", "%y", FreeVirtualMemory))
  60. line("BASIC", field("static", "Page File Space"), field("Win32_OperatingSystem", "%y", SizeStoredInPagingFiles))
  61. }
  62. enumlines("Win32_PageFileUsage", field("static", "WQL:SELECT Caption FROM Win32_PageFileUsage"))
  63. {
  64. line("ADVANCED", field("static", "Page File"), field("Win32_PageFileUsage", "%s", Caption))
  65. }
  66. }
  67. node("static", "Resources", field("static", "Hardware Resources"), "")
  68. {
  69. columns(field("static", "Category [Resources, 200]"), "NONE", "BASIC")
  70. node("static", "ResourcesConflicts", field("static", "Conflicts/Sharing"), "No conflicted/shared resources")
  71. {
  72. columns(field("static", "Resource [ResourceConflict, 200]"), "NONE", "BASIC", field("static", "Device [ResourceConflict, 200]"), "NONE", "BASIC")
  73. enumlines("Win32_IRQResource", field("Win32_IRQResource", "", Hardware), field("static", "-1"))
  74. {
  75. enumlines("Win32_PnPEntity", field("static", "LNK:[Win32_IRQResource.__PATH]->Win32_PNPAllocatedResource [more-than-one]"))
  76. {
  77. line("BASIC", field("Win32_IRQResource", "%s", Caption),
  78. field("Win32_PnPEntity", "%s", Caption))
  79. }
  80. }
  81. enumlines("Win32_DMAChannel", field("static", "WQL:SELECT * FROM Win32_DMAChannel"))
  82. {
  83. enumlines("Win32_PnPEntity", field("static", "LNK:[Win32_DMAChannel.__PATH]->Win32_PNPAllocatedResource [more-than-one]"))
  84. {
  85. line("BASIC", field("Win32_DMAChannel", "DMA Channel %s", DMAChannel),
  86. field("Win32_PnPEntity", "%s", Caption))
  87. }
  88. }
  89. enumlines("Win32_PortResource", field("static", "WQL:SELECT * FROM Win32_PortResource"))
  90. {
  91. enumlines("Win32_PnPEntity", field("static", "LNK:[Win32_PortResource.__PATH]->Win32_PNPAllocatedResource [more-than-one]"))
  92. {
  93. line("BASIC", field("Win32_PortResource", "I/O Port %s", Caption),
  94. field("Win32_PnPEntity", "%s", Caption))
  95. }
  96. }
  97. enumlines("Win32_DeviceMemoryAddress", field("static", "WQL:SELECT * FROM Win32_DeviceMemoryAddress"))
  98. {
  99. enumlines("Win32_PnPEntity", field("static", "LNK:[Win32_DeviceMemoryAddress.__PATH]->Win32_PNPAllocatedResource [more-than-one]"))
  100. {
  101. line("BASIC", field("Win32_DeviceMemoryAddress", "Address Range %s", Caption),
  102. field("Win32_PnPEntity", "%s", Caption))
  103. }
  104. }
  105. }
  106. node("static", "ResourcesDMA", field("static", "DMA"), "No DMA channels")
  107. {
  108. columns(field("static", "Channel [ResourcesDMA, 60]"), "VALUE", "BASIC",
  109. field("static", "Device [ResourcesDMA, 180]"), "LEXICAL", "BASIC",
  110. field("static", "Status [ResourcesDMA, 60]"), "LEXICAL", "BASIC")
  111. enumlines("Win32_DMAChannel", field("static", "WQL:SELECT * FROM Win32_DMAChannel"))
  112. {
  113. enumlines("Win32_PnPEntity", field("static", "LNK:[Win32_DMAChannel.__PATH]->Win32_PNPAllocatedResource [min-of-one]"))
  114. {
  115. line("BASIC", field("Win32_DMAChannel", "%d", DMAChannel),
  116. field("Win32_PnPEntity", "%s", Caption),
  117. field("Win32_DMAChannel", "%s", ValueMapStatus))
  118. }
  119. }
  120. }
  121. node("static", "ResourcesForcedHardware", field("static", "Forced Hardware"), "No Forced Hardware")
  122. {
  123. columns(field("static", "Device [ResourcesForcedHW, 200]"), "LEXICAL", "BASIC",
  124. field("static", "PNP Device ID [ResourcesForcedHW, 200]"), "LEXICAL", "BASIC")
  125. enumlines("Win32_PnPEntity", field("static", "WQL:SELECT Caption, PNPDeviceID FROM Win32_PnPEntity WHERE ConfigManagerUserConfig='TRUE'"))
  126. {
  127. line("BASIC", field("Win32_PnPEntity", "%s", Caption),
  128. field("Win32_PnPEntity", "%s", PNPDeviceID))
  129. }
  130. }
  131. node("static", "ResourcesIO", field("static", "I/O"), "No I/O information")
  132. {
  133. columns(field("static", "Address Range [ResourcesIO, 120]"), "LEXICAL", "BASIC",
  134. field("static", "Device [ResourcesIO, 200]"), "LEXICAL", "BASIC",
  135. field("static", "Status [ResourcesIO, 50]"), "LEXICAL", "BASIC")
  136. enumlines("Win32_PortResource", field("static", "WQL:SELECT * FROM Win32_PortResource"))
  137. {
  138. enumlines("Win32_PnPEntity", field("static", "LNK:[Win32_PortResource.__PATH]->Win32_PNPAllocatedResource [min-of-one=Free]"))
  139. {
  140. line("BASIC", field("Win32_PortResource", "0x%04X-0x%04X", StartingAddress, EndingAddress),
  141. field("Win32_PnPEntity", "%s", Caption),
  142. field("Win32_PortResource", "%s", ValueMapStatus))
  143. }
  144. }
  145. }
  146. node("static", "ResourcesIRQs", field("static", "IRQs"), "No IRQ information")
  147. {
  148. columns(field("static", "IRQ Number [ResourcesIRQs, 80]"), "VALUE", "BASIC",
  149. field("static", "Device [ResourcesIRQs, 200]"), "LEXICAL", "BASIC")
  150. enumlines("Win32_IRQResource", field("Win32_IRQResource", "", Hardware), field("static", "-1"))
  151. {
  152. enumlines("Win32_PnPEntity", field("static", "LNK:[Win32_IRQResource.__PATH]->Win32_PNPAllocatedResource [min-of-one=Free]"))
  153. {
  154. line("BASIC", field("Win32_IRQResource", "%s", IRQNumber),
  155. field("Win32_PnPEntity", "%s", Caption))
  156. }
  157. }
  158. }
  159. node("static", "ResourcesMemory", field("static", "Memory"), "No memory information")
  160. {
  161. columns(field("static", "Range [ResourcesMemory, 170]"), "LEXICAL", "BASIC",
  162. field("static", "Device [ResourcesMemory, 180]"), "LEXICAL", "BASIC",
  163. field("static", "Status [ResourcesMemory, 60]"), "LEXICAL", "BASIC")
  164. enumlines("Win32_DeviceMemoryAddress", field("static", "WQL:SELECT * FROM Win32_DeviceMemoryAddress"))
  165. {
  166. enumlines("Win32_PnPEntity", field("static", "LNK:[Win32_DeviceMemoryAddress.__PATH]->Win32_PNPAllocatedResource [min-of-one]"))
  167. {
  168. line("BASIC", field("Win32_DeviceMemoryAddress", "%s", Caption),
  169. field("Win32_PnPEntity", "%s", Caption),
  170. field("Win32_DeviceMemoryAddress", "%s", Status))
  171. }
  172. }
  173. }
  174. //---------------------------------------------------------------------------------------------
  175. // This node is commented out pending PSS review of the information.
  176. //
  177. // node("static", "ResourcesPageFile", field("static", "**PAGE FILE**"), "No page file information")
  178. // {
  179. // columns(field("static", "Item [ResourcesPageFile, 150]"), "NONE", "BASIC", field("static", "Value [ResourcesPageFile, 200]"), "NONE", "BASIC")
  180. // enumlines("Win32_PageFile")
  181. // {
  182. // line("BASIC", field("static", "Archive"), field("Win32_PageFile", "%s", Archive))
  183. // line("BASIC", field("static", "Caption"), field("Win32_PageFile", "%s", Caption))
  184. // line("BASIC", field("static", "Compressed"), field("Win32_PageFile", "%s", Compressed))
  185. // line("BASIC", field("static", "CreationClassName"), field("Win32_PageFile", "%s", CreationClassName))
  186. // line("BASIC", field("static", "CreationDate"), field("Win32_PageFile", "%s", CreationDate))
  187. // line("BASIC", field("static", "CSCreationClassName"), field("Win32_PageFile", "%s", CSCreationClassName))
  188. // line("BASIC", field("static", "CSName"), field("Win32_PageFile", "%s", CSName))
  189. // line("BASIC", field("static", "Description"), field("Win32_PageFile", "%s", Description))
  190. // line("BASIC", field("static", "Encrypted"), field("Win32_PageFile", "%s", Encrypted))
  191. // line("BASIC", field("static", "Extension"), field("Win32_PageFile", "%s", Extension))
  192. // line("BASIC", field("static", "FileType"), field("Win32_PageFile", "%s", FileType))
  193. // line("BASIC", field("static", "FreeSpace"), field("Win32_PageFile", "%s", FreeSpace))
  194. // line("BASIC", field("static", "FSCreationClassName"), field("Win32_PageFile", "%s", FSCreationClassName))
  195. // line("BASIC", field("static", "FSName"), field("Win32_PageFile", "%s", FSName))
  196. // line("BASIC", field("static", "InitialSize"), field("Win32_PageFile", "%s", InitialSize))
  197. // line("BASIC", field("static", "InstallDate"), field("Win32_PageFile", "%s", InstallDate))
  198. // line("BASIC", field("static", "LastAccessed"), field("Win32_PageFile", "%s", LastAccessed))
  199. // line("BASIC", field("static", "LastModified"), field("Win32_PageFile", "%s", LastModified))
  200. // line("BASIC", field("static", "MaximumSize"), field("Win32_PageFile", "%s", MaximumSize))
  201. // line("BASIC", field("static", "Name"), field("Win32_PageFile", "%s", Name))
  202. // line("BASIC", field("static", "Path"), field("Win32_PageFile", "%s", Path))
  203. // line("BASIC", field("static", "Readable"), field("Win32_PageFile", "%s", Readable))
  204. // line("BASIC", field("static", "Size"), field("Win32_PageFile", "%s", Size))
  205. // line("BASIC", field("static", "Status"), field("Win32_PageFile", "%s", Status))
  206. // line("BASIC", field("static", "Writeable"), field("Win32_PageFile", "%s", Writeable))
  207. // }
  208. // }
  209. //---------------------------------------------------------------------------------------------
  210. }
  211. node("static", "Components", field("static", "Components"), "")
  212. {
  213. columns(field("static", "Category [Components, 200]"), "NONE", "BASIC")
  214. node("static", "ComponentsMultimedia", field("static", "Multimedia"), "")
  215. {
  216. columns(field("static", "Category [ComponentsMultimedia, 200]"), "NONE", "BASIC")
  217. node("static", "ComponentsMultimediaAudio", field("static", "Audio Codecs"), "No audio codecs")
  218. {
  219. columns(field("static", "Codec [ComponentsMultimediaAudio, 100]"), "LEXICAL", "BASIC",
  220. field("static", "Manufacturer [ComponentsMultimediaAudio, 120]"), "LEXICAL", "BASIC",
  221. field("static", "Description [ComponentsMultimediaAudio, 120]"), "LEXICAL", "BASIC",
  222. field("static", "Status [ComponentsMultimediaAudio, 50]"), "LEXICAL", "BASIC",
  223. field("static", "File [ComponentsMultimediaAudio, 200]"), "LEXICAL", "BASIC",
  224. field("static", "Version [ComponentsMultimediaAudio, 100]"), "LEXICAL", "BASIC",
  225. field("static", "Size [ComponentsMultimediaAudio, 85]"), "VALUE", "BASIC",
  226. field("static", "Creation Date [ComponentsMultimediaAudio, 120]"), "VALUE", "BASIC")
  227. enumlines("Win32_CodecFile", field("static", "WQL:SELECT EightDotThreeFileName, Manufacturer, Description, Status, Name, Version, FileSize, CreationDate FROM Win32_CodecFile WHERE Group='Audio'"))
  228. {
  229. line("BASIC", field("Win32_CodecFile", "%s", EightDotThreeFileName),
  230. field("Win32_CodecFile", "%s", Manufacturer),
  231. field("Win32_CodecFile", "%s", Description),
  232. field("Win32_CodecFile", "%s", ValueMapStatus),
  233. field("Win32_CodecFile", "%s", Name),
  234. field("Win32_CodecFile", "%s", Version),
  235. field("Win32_CodecFile", "%z", FileSize),
  236. field("Win32_CodecFile", "%t", CreationDate))
  237. }
  238. }
  239. node("static", "ComponentsMultimediaVideo", field("static", "Video Codecs"), "No video codecs")
  240. {
  241. columns(field("static", "Codec [ComponentsMultimediaVideo, 100]"), "LEXICAL", "BASIC",
  242. field("static", "Manufacturer [ComponentsMultimediaVideo, 120]"), "LEXICAL", "BASIC",
  243. field("static", "Description [ComponentsMultimediaVideo, 120]"), "LEXICAL", "BASIC",
  244. field("static", "Status [ComponentsMultimediaVideo, 50]"), "LEXICAL", "BASIC",
  245. field("static", "File [ComponentsMultimediaVideo, 200]"), "LEXICAL", "BASIC",
  246. field("static", "Version [ComponentsMultimediaVideo, 100]"), "LEXICAL", "BASIC",
  247. field("static", "Size [ComponentsMultimediaVideo, 85]"), "VALUE", "BASIC",
  248. field("static", "Creation Date [ComponentsMultimediaVideo, 120]"), "VALUE", "BASIC")
  249. enumlines("Win32_CodecFile", field("static", "WQL:SELECT EightDotThreeFileName, Manufacturer, Description, Status, Name, Version, FileSize, CreationDate FROM Win32_CodecFile WHERE Group='Video'"))
  250. {
  251. line("BASIC", field("Win32_CodecFile", "%s", EightDotThreeFileName),
  252. field("Win32_CodecFile", "%s", Manufacturer),
  253. field("Win32_CodecFile", "%s", Description),
  254. field("Win32_CodecFile", "%s", ValueMapStatus),
  255. field("Win32_CodecFile", "%s", Name),
  256. field("Win32_CodecFile", "%s", Version),
  257. field("Win32_CodecFile", "%z", FileSize),
  258. field("Win32_CodecFile", "%t", CreationDate))
  259. }
  260. }
  261. node("static", "ComponentsMultimediaCDROM", field("static", "CD-ROM"), "No CD-ROM drives")
  262. {
  263. columns(field("static", "Item [ComponentsMMCDROM, 150]"), "NONE", "BASIC", field("static", "Value [ComponentsMMCDROM, 200]"), "NONE", "BASIC")
  264. enumlines("Win32_CDRomDrive", field("static", "WQL:SELECT Drive, Description, MediaLoaded, MediaType, Name, Manufacturer, Status, TransferRate, SCSITargetId, PNPDeviceID, __PATH FROM Win32_CDRomDrive"))
  265. {
  266. line("BASIC", field("static", "Drive"), field("Win32_CDRomDrive", "%s", Drive))
  267. line("BASIC", field("static", "Description"), field("Win32_CDRomDrive", "%s", Description))
  268. line("BASIC", field("static", "Media Loaded"), field("Win32_CDRomDrive", "%b", MediaLoaded))
  269. line("BASIC", field("static", "Media Type"), field("Win32_CDRomDrive", "%s", ValueMapMediaType))
  270. line("BASIC", field("static", "Name"), field("Win32_CDRomDrive", "%s", Name))
  271. line("BASIC", field("static", "Manufacturer"), field("Win32_CDRomDrive", "%s", Manufacturer))
  272. line("BASIC", field("static", "Status"), field("Win32_CDRomDrive", "%s", ValueMapStatus))
  273. line("BASIC", field("static", "Transfer Rate"), field("Win32_CDRomDrive", "%0.2f kbytes/sec", TransferRate))
  274. line("ADVANCED", field("static", "SCSI Target ID"), field("Win32_CDRomDrive", "%s", SCSITargetId))
  275. line("ADVANCED", field("static", "PNP Device ID"), field("Win32_CDRomDrive", "%s", PNPDeviceID))
  276. enumlines("Win32_PNPEntity", field("static", "WQL:SELECT __PATH from Win32_PNPEntity WHERE DeviceID='[Win32_CDRomDrive.PNPDeviceID]'"))
  277. {
  278. enumlines("Win32_IRQResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_IRQResource"))
  279. {
  280. line("BASIC", field("static", "IRQ Number"), field("Win32_IRQResource", "%s", IRQNumber))
  281. }
  282. enumlines("Win32_PortResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_PortResource"))
  283. {
  284. line("BASIC", field("static", "I/O Port"), field("Win32_PortResource", "0x%04X-0x%04X", StartingAddress, EndingAddress))
  285. }
  286. enumlines("Win32_DeviceMemoryAddress", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_DeviceMemoryAddress"))
  287. {
  288. line("BASIC", field("static", "Memory Range"), field("Win32_DeviceMemoryAddress", "%s", Caption))
  289. }
  290. }
  291. enumlines("Win32_Bus", field("static", "LNK:[Win32_CDRomDrive.__PATH]->Win32_DeviceBus->Win32_Bus"))
  292. {
  293. line("BASIC", field("static", "Bus"), field("Win32_Bus", "%s", DeviceID))
  294. }
  295. line("BASIC", field("static", " "), field("static", " "))
  296. }
  297. }
  298. node("static", "ComponentsMultimediaSound", field("static", "Sound Device"), "No sound devices")
  299. {
  300. columns(field("static", "Item [ComponentsMMSound, 150]"), "NONE", "BASIC", field("static", "Value [ComponentsMMSound, 250]"), "NONE", "BASIC")
  301. enumlines("Win32_SoundDevice", field("static", "WQL:SELECT * FROM Win32_SoundDevice"))
  302. {
  303. line("BASIC", field("static", "Name"), field("Win32_SoundDevice", "%s", Name))
  304. line("BASIC", field("static", "Status"), field("Win32_SoundDevice", "%s", ValueMapStatus))
  305. line("ADVANCED", field("static", "PNP Device ID"), field("Win32_SoundDevice", "%s", PNPDeviceID))
  306. enumlines("Win32_PNPEntity", field("static", "WQL:SELECT __PATH from Win32_PNPEntity WHERE DeviceID='[Win32_SoundDevice.PNPDeviceID]'"))
  307. {
  308. enumlines("Win32_IRQResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_IRQResource"))
  309. {
  310. line("BASIC", field("static", "IRQ Number"), field("Win32_IRQResource", "%s", IRQNumber))
  311. }
  312. enumlines("Win32_PortResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_PortResource"))
  313. {
  314. line("BASIC", field("static", "I/O Port"), field("Win32_PortResource", "0x%04X-0x%04X", StartingAddress, EndingAddress))
  315. }
  316. enumlines("Win32_DeviceMemoryAddress", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_DeviceMemoryAddress"))
  317. {
  318. line("BASIC", field("static", "Memory Range"), field("Win32_DeviceMemoryAddress", "%s", Caption))
  319. }
  320. enumlines("CIM_DataFile", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_CIMLogicalDeviceCIMDataFile"))
  321. {
  322. line("ADVANCED", field("static", "Driver"), field("CIM_DataFile", "%s (%s, %s)", Name, FileSize, Version))
  323. }
  324. }
  325. line("BASIC", field("static", " "), field("static", " "))
  326. }
  327. }
  328. }
  329. node("static", "ComponentsDisplay", field("static", "Display"), "No display information")
  330. {
  331. columns(field("static", "Item [ComponentsDisplay, 150]"), "NONE", "BASIC", field("static", "Value [ComponentsDisplay, 200]"), "NONE", "BASIC")
  332. enumlines("Win32_VideoController", field("static", "WQL:SELECT * FROM Win32_VideoController"))
  333. {
  334. line("BASIC", field("static", "Name"), field("Win32_VideoController", "%s", Name))
  335. line("ADVANCED", field("static", "PNP Device ID"), field("Win32_VideoController", "%s", PNPDeviceID))
  336. line("BASIC", field("static", "Adapter Type"), field("Win32_VideoController", "%s, %s compatible", VideoProcessor, AdapterCompatibility))
  337. line("ADVANCED", field("static", "Adapter Description"), field("Win32_VideoController", "%s", Description))
  338. line("ADVANCED", field("static", "Adapter RAM"), field("Win32_VideoController", "%z", AdapterRAM))
  339. line("ADVANCED", field("static", "Installed Drivers"), field("Win32_VideoController", "%s", InstalledDisplayDrivers))
  340. line("ADVANCED", field("static", "Driver Version"), field("Win32_VideoController", "%s", DriverVersion))
  341. line("ADVANCED", field("static", "INF File"), field("Win32_VideoController", "%s (%s section)", InfFilename, InfSection))
  342. line("ADVANCED", field("static", "Color Planes"), field("Win32_VideoController", "%s", NumberOfColorPlanes))
  343. line("ADVANCED", field("static", "Color Table Entries"), field("Win32_VideoController", "%s", CurrentNumberOfColors))
  344. line("BASIC", field("static", "Resolution"), field("Win32_VideoController", "%s x %s x %s hertz", CurrentHorizontalResolution, CurrentVerticalResolution, CurrentRefreshRate))
  345. line("BASIC", field("static", "Bits/Pixel"), field("Win32_VideoController", "%s", CurrentBitsPerPixel))
  346. line("BASIC", field("static", " "), field("static", " "))
  347. }
  348. }
  349. node("static", "ComponentsInfrared", field("static", "Infrared"), "No infrared devices")
  350. {
  351. columns(field("static", "Item [ComponentsInfrared, 200]"), "NONE", "BASIC", field("static", "Value [ComponentsInfrared, 200]"), "NONE", "BASIC")
  352. enumlines("Win32_InfraredDevice", field("static", "WQL:SELECT * FROM Win32_InfraredDevice"))
  353. {
  354. line("BASIC", field("static", "Name"), field("Win32_InfraredDevice", "%s", Caption))
  355. }
  356. enumlines("Win32_PNPEntity", field("static", "WQL:SELECT __PATH from Win32_PNPEntity WHERE DeviceID='[Win32_InfraredDevice.PNPDeviceID]'"))
  357. {
  358. enumlines("CIM_DataFile", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_CIMLogicalDeviceCIMDataFile"))
  359. {
  360. line("ADVANCED", field("static", "Driver"), field("CIM_DataFile", "%s (%s, %s)", Name, FileSize, Version))
  361. }
  362. }
  363. }
  364. node("static", "ComponentsInput", field("static", "Input"), "")
  365. {
  366. columns(field("static", "Category [ComponentsInput, 200]"), "NONE", "BASIC")
  367. node("static", "ComponentsKeyboard", field("static", "Keyboard"), "No keyboard information")
  368. {
  369. columns(field("static", "Item [ComponentsKeyboard, 150]"), "NONE", "BASIC", field("static", "Value [ComponentsKeyboard, 200]"), "NONE", "BASIC")
  370. enumlines("Win32_Keyboard", field("static", "WQL:SELECT * FROM Win32_Keyboard"))
  371. {
  372. line("BASIC", field("static", "Description"), field("Win32_Keyboard", "%s", Description))
  373. line("BASIC", field("static", "Name"), field("Win32_Keyboard", "%s", Name))
  374. line("BASIC", field("static", "Layout"), field("Win32_Keyboard", "%s", Layout))
  375. line("BASIC", field("static", "PNP Device ID"), field("Win32_Keyboard", "%s", PNPDeviceID))
  376. line("BASIC", field("static", "NumberOfFunctionKeys"), field("Win32_Keyboard", "%s", NumberOfFunctionKeys))
  377. line("BASIC", field("static", " "), field("static", " "))
  378. }
  379. }
  380. node("static", "ComponentsPointDev", field("static", "Pointing Device"), "No pointing device information")
  381. {
  382. columns(field("static", "Item [ComponentsPointDev, 150]"), "NONE", "BASIC", field("static", "Value [ComponentsPointDev, 200]"), "NONE", "BASIC")
  383. enumlines("Win32_PointingDevice", field("static", "WQL:SELECT * FROM Win32_PointingDevice"))
  384. {
  385. line("BASIC", field("static", "Hardware Type"), field("Win32_PointingDevice", "%s", HardwareType))
  386. line("BASIC", field("static", "Number of Buttons"), field("Win32_PointingDevice", "%s", NumberOfButtons))
  387. line("BASIC", field("static", "Status"), field("Win32_PointingDevice", "%s", ValueMapStatus))
  388. line("BASIC", field("static", "PNP Device ID"), field("Win32_PointingDevice", "%s", PNPDeviceID))
  389. line("ADVANCED", field("static", "Power Management Supported"), field("Win32_PointingDevice", "%b", PowerManagementSupported))
  390. line("ADVANCED", field("static", "Double Click Threshold"), field("Win32_PointingDevice", "%s", DoubleSpeedThreshold))
  391. line("ADVANCED", field("static", "Handedness"), field("Win32_PointingDevice", "%s", ValueMapHandedness))
  392. line("BASIC", field("static", " "), field("static", " "))
  393. }
  394. }
  395. }
  396. node("static", "ComponentsModem", field("static", "Modem"), "No modems")
  397. {
  398. columns(field("static", "Item [ComponentsModem, 150]"), "NONE", "BASIC", field("static", "Value [ComponentsModem, 200]"), "NONE", "BASIC")
  399. enumlines("Win32_POTSModem", field("static", "WQL:SELECT * FROM Win32_POTSModem"))
  400. {
  401. line("BASIC", field("static", "Name"), field("Win32_POTSModem", "%s", Caption))
  402. line("BASIC", field("static", "Description"), field("Win32_POTSModem", "%s", Description))
  403. line("BASIC", field("static", "Device ID"), field("Win32_POTSModem", "%s", DeviceID))
  404. line("BASIC", field("static", "Device Type"), field("Win32_POTSModem", "%s", DeviceType))
  405. line("BASIC", field("static", "Attached To"), field("Win32_POTSModem", "%s", AttachedTo))
  406. line("BASIC", field("static", "Answer Mode"), field("Win32_POTSModem", "%s", AnswerMode))
  407. line("ADVANCED", field("static", "PNP Device ID"), field("Win32_POTSModem", "%s", PNPDeviceID))
  408. line("ADVANCED", field("static", "ProviderName"), field("Win32_POTSModem", "%s", ProviderName))
  409. line("ADVANCED", field("static", "ModemInfPath"), field("Win32_POTSModem", "%s", ModemInfPath))
  410. line("ADVANCED", field("static", "ModemInfSection"), field("Win32_POTSModem", "%s", ModemInfSection))
  411. line("ADVANCED", field("static", "BlindOff"), field("Win32_POTSModem", "%s", BlindOff))
  412. line("ADVANCED", field("static", "BlindOn"), field("Win32_POTSModem", "%s", BlindOn))
  413. line("BASIC", field("static", "CompressionOff"), field("Win32_POTSModem", "%s", CompressionOff))
  414. line("BASIC", field("static", "CompressionOn"), field("Win32_POTSModem", "%s", CompressionOn))
  415. line("BASIC", field("static", "ErrorControlForced"), field("Win32_POTSModem", "%s", ErrorControlForced))
  416. line("BASIC", field("static", "ErrorControlOff"), field("Win32_POTSModem", "%s", ErrorControlOff))
  417. line("BASIC", field("static", "ErrorControlOn"), field("Win32_POTSModem", "%s", ErrorControlOn))
  418. line("ADVANCED", field("static", "FlowControlHard"), field("Win32_POTSModem", "%s", FlowControlHard))
  419. line("ADVANCED", field("static", "FlowControlOff"), field("Win32_POTSModem", "%s", FlowControlOff))
  420. line("ADVANCED", field("static", "FlowControlSoft"), field("Win32_POTSModem", "%s", FlowControlSoft))
  421. line("ADVANCED", field("static", "DCB"), field("Win32_POTSModem", "%s", DCB))
  422. line("ADVANCED", field("static", "Default"), field("Win32_POTSModem", "%s", Default))
  423. line("ADVANCED", field("static", "InactivityTimeout"), field("Win32_POTSModem", "%s", InactivityTimeout))
  424. line("ADVANCED", field("static", "ModulationBell"), field("Win32_POTSModem", "%s", ModulationBell))
  425. line("ADVANCED", field("static", "ModulationCCITT"), field("Win32_POTSModem", "%s", ModulationCCITT))
  426. line("ADVANCED", field("static", "Prefix"), field("Win32_POTSModem", "%s", Prefix))
  427. line("ADVANCED", field("static", "Properties"), field("Win32_POTSModem", "%s", Properties))
  428. line("ADVANCED", field("static", "Pulse"), field("Win32_POTSModem", "%s", Pulse))
  429. line("ADVANCED", field("static", "Reset"), field("Win32_POTSModem", "%s", Reset))
  430. line("ADVANCED", field("static", "ResponsesKeyName"), field("Win32_POTSModem", "%s", ResponsesKeyName))
  431. line("BASIC", field("static", "SpeakerModeDial"), field("Win32_POTSModem", "%s", SpeakerModeDial))
  432. line("BASIC", field("static", "SpeakerModeOff"), field("Win32_POTSModem", "%s", SpeakerModeOff))
  433. line("BASIC", field("static", "SpeakerModeOn"), field("Win32_POTSModem", "%s", SpeakerModeOn))
  434. line("BASIC", field("static", "SpeakerModeSetup"), field("Win32_POTSModem", "%s", SpeakerModeSetup))
  435. line("BASIC", field("static", "SpeakerVolumeHigh"), field("Win32_POTSModem", "%s", SpeakerVolumeHigh))
  436. line("BASIC", field("static", "SpeakerVolumeLow"), field("Win32_POTSModem", "%s", SpeakerVolumeLow))
  437. line("BASIC", field("static", "SpeakerVolumeMed"), field("Win32_POTSModem", "%s", SpeakerVolumeMed))
  438. line("ADVANCED", field("static", "StringFormat"), field("Win32_POTSModem", "%s", StringFormat))
  439. line("ADVANCED", field("static", "Terminator"), field("Win32_POTSModem", "%s", Terminator))
  440. line("ADVANCED", field("static", "Tone"), field("Win32_POTSModem", "%s", Tone))
  441. line("BASIC", field("static", " "), field("static", " "))
  442. }
  443. }
  444. node("static", "ComponentsNetwork", field("static", "Network"), "")
  445. {
  446. columns(field("static", "Category [ComponentsNetwork, 200]"), "NONE", "BASIC")
  447. node("static", "ComponentsNetAdapter", field("static", "Adapter"), "No network adapters")
  448. {
  449. columns(field("static", "Item [ComponentsNetAdapter, 200]"), "NONE", "BASIC", field("static", "Value [ComponentsNetAdapter, 200]"), "NONE", "BASIC")
  450. enumlines("Win32_NetworkAdapter", field("static", "WQL:SELECT * FROM Win32_NetworkAdapter"))
  451. {
  452. line("BASIC", field("static", "Name"), field("Win32_NetworkAdapter", "%s", Caption))
  453. line("BASIC", field("static", "Adapter Type"), field("Win32_NetworkAdapter", "%s", AdapterType))
  454. line("ADVANCED", field("static", "Product Name"), field("Win32_NetworkAdapter", "%s", ProductName))
  455. line("ADVANCED", field("static", "Installed"), field("Win32_NetworkAdapter", "%b", Installed))
  456. line("ADVANCED", field("static", "PNP Device ID"), field("Win32_NetworkAdapter", "%s", PNPDeviceID))
  457. line("ADVANCED", field("static", "Last Reset"), field("Win32_NetworkAdapter", "%t", TimeOfLastReset))
  458. line("ADVANCED", field("static", "Index"), field("Win32_NetworkAdapter", "%s", Index))
  459. enumlines("Win32_NetworkAdapterConfiguration", field("static", "LNK:[Win32_NetworkAdapter.__PATH]->Win32_NetworkAdapterSetting"))
  460. {
  461. line("BASIC", field("static", "Service Name"), field("Win32_NetworkAdapterConfiguration", "%s", ServiceName))
  462. line("BASIC", field("static", "IP Address"), field("Win32_NetworkAdapterConfiguration", "%s", IPAddress))
  463. line("BASIC", field("static", "IP Subnet"), field("Win32_NetworkAdapterConfiguration", "%s", IPSubnet))
  464. line("BASIC", field("static", "Default IP Gateway"), field("Win32_NetworkAdapterConfiguration", "%s", DefaultIPGateway))
  465. line("BASIC", field("static", "DHCP Enabled"), field("Win32_NetworkAdapterConfiguration", "%b", DHCPEnabled))
  466. line("ADVANCED", field("static", "DHCP Server"), field("Win32_NetworkAdapterConfiguration", "%s", DHCPServer))
  467. line("ADVANCED", field("static", "DHCP Lease Expires"), field("Win32_NetworkAdapterConfiguration", "%t", DHCPLeaseExpires))
  468. line("ADVANCED", field("static", "DHCP Lease Obtained"), field("Win32_NetworkAdapterConfiguration", "%t", DHCPLeaseObtained))
  469. line("BASIC", field("static", "MAC Address"), field("Win32_NetworkAdapterConfiguration", "%s", MACAddress))
  470. }
  471. line("ADVANCED", field("static", "Service Name"), field("Win32_NetworkAdapter", "%s", ServiceName))
  472. enumlines("Win32_PNPEntity", field("static", "WQL:SELECT __PATH from Win32_PNPEntity WHERE DeviceID='[Win32_NetworkAdapter.PNPDeviceID]'"))
  473. {
  474. enumlines("Win32_IRQResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_IRQResource"))
  475. {
  476. line("BASIC", field("static", "IRQ Number"), field("Win32_IRQResource", "%s", IRQNumber))
  477. }
  478. enumlines("Win32_PortResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_PortResource"))
  479. {
  480. line("BASIC", field("static", "I/O Port"), field("Win32_PortResource", "0x%04X-0x%04X", StartingAddress, EndingAddress))
  481. }
  482. enumlines("CIM_DataFile", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_CIMLogicalDeviceCIMDataFile"))
  483. {
  484. line("ADVANCED", field("static", "Driver"), field("CIM_DataFile", "%s (%s, %s)", Name, FileSize, Version))
  485. }
  486. }
  487. line("BASIC", field("static", " "), field("static", " "))
  488. }
  489. }
  490. node("static", "ComponentsNetworkProtocol", field("static", "Protocol"), "No protocol information")
  491. {
  492. columns(field("static", "Item [ComponentsNetworkProtocol, 200]"), "NONE", "BASIC", field("static", "Value [ComponentsNetworkProtocol, 200]"), "NONE", "BASIC")
  493. enumlines("Win32_NetworkProtocol", field("static", "WQL:SELECT * FROM Win32_NetworkProtocol"))
  494. {
  495. line("BASIC", field("static", "Name"), field("Win32_NetworkProtocol", "%s", Name))
  496. line("BASIC", field("static", "ConnectionlessService"), field("Win32_NetworkProtocol", "%b", ConnectionlessService))
  497. line("BASIC", field("static", "GuaranteesDelivery"), field("Win32_NetworkProtocol", "%b", GuaranteesDelivery))
  498. line("BASIC", field("static", "GuaranteesSequencing"), field("Win32_NetworkProtocol", "%b", GuaranteesSequencing))
  499. line("ADVANCED", field("static", "MaximumAddressSize"), field("Win32_NetworkProtocol", "%s bytes", MaximumAddressSize))
  500. line("ADVANCED", field("static", "MaximumMessageSize"), field("Win32_NetworkProtocol", "%s bytes", MaximumMessageSize))
  501. line("ADVANCED", field("static", "MessageOriented"), field("Win32_NetworkProtocol", "%b", MessageOriented))
  502. line("ADVANCED", field("static", "MinimumAddressSize"), field("Win32_NetworkProtocol", "%s bytes", MinimumAddressSize))
  503. line("ADVANCED", field("static", "PseudoStreamOriented"), field("Win32_NetworkProtocol", "%b", PseudoStreamOriented))
  504. line("ADVANCED", field("static", "SupportsBroadcasting"), field("Win32_NetworkProtocol", "%b", SupportsBroadcasting))
  505. line("ADVANCED", field("static", "SupportsConnectData"), field("Win32_NetworkProtocol", "%b", SupportsConnectData))
  506. line("ADVANCED", field("static", "SupportsDisconnectData"), field("Win32_NetworkProtocol", "%b", SupportsDisconnectData))
  507. line("ADVANCED", field("static", "SupportsEncryption"), field("Win32_NetworkProtocol", "%b", SupportsEncryption))
  508. line("ADVANCED", field("static", "SupportsExpeditedData"), field("Win32_NetworkProtocol", "%b", SupportsExpeditedData))
  509. line("ADVANCED", field("static", "SupportsGracefulClosing"), field("Win32_NetworkProtocol", "%b", SupportsGracefulClosing))
  510. line("ADVANCED", field("static", "SupportsGuaranteedBandwidth"), field("Win32_NetworkProtocol", "%b", SupportsGuaranteedBandwidth))
  511. line("ADVANCED", field("static", "SupportsMulticasting"), field("Win32_NetworkProtocol", "%b", SupportsMulticasting))
  512. line("BASIC", field("static", " "), field("static", " "))
  513. }
  514. }
  515. // Need to develop method for displaying relationship information this class points to.
  516. // node("static", "ComponentsNetBindings", field("static", "Bindings"), "No Binding information")
  517. // {
  518. // columns(field("static", "Adapter [ComponentsNetBindings, 150]"), "LEXICAL", "BASIC",
  519. // field("static", "Protocol [ComponentsNetBindings, 150]"), "VALUE", "BASIC",
  520. // field("static", "Service [ComponentsNetBindings, 150]"), "LEXICAL", "BASIC")
  521. // enumlines("Win32_ProtocolBinding")
  522. // {
  523. // line("BASIC", field("Win32_ProtocolBinding", "%s", Adapter),
  524. // field("Win32_ProtocolBinding", "%s", Protocol),
  525. // field("Win32_ProtocolBinding", "%s", Service))
  526. // }
  527. // }
  528. node("static", "ComponentsNetworkWinSock", field("static", "WinSock"), "Not yet collecting Winsock")
  529. {
  530. columns(field("static", "Item [ComponentsNetworkWinSock, 100]"), "NONE", "BASIC", field("static", "Value [ComponentsNetworkWinSock, 260]"), "NONE", "BASIC")
  531. enumlines("Win32_OperatingSystem", field("static", "WQL:SELECT SystemDirectory FROM Win32_OperatingSystem"))
  532. {
  533. enumlines("WinsockFile", field("static", "WQL:SELECT Name, FileSize, Version FROM CIM_DataFile WHERE Name='[Win32_OperatingSystem.SystemDirectory]\\\\winsock.dll'"))
  534. {
  535. line("BASIC", field("static", "File"), field("WinsockFile", "%s", Name))
  536. line("BASIC", field("static", "Version"), field("WinsockFile", "%s", Version))
  537. line("BASIC", field("static", "Size"), field("WinsockFile", "%z", FileSize))
  538. line("BASIC", field("static", ""), field("static", ""))
  539. }
  540. enumlines("WinsockFile", field("static", "WQL:SELECT Name, FileSize, Version FROM CIM_DataFile WHERE Name='[Win32_OperatingSystem.SystemDirectory]\\\\wsock32.dll'"))
  541. {
  542. line("BASIC", field("static", "File"), field("WinsockFile", "%s", Name))
  543. line("BASIC", field("static", "Version"), field("WinsockFile", "%s", Version))
  544. line("BASIC", field("static", "Size"), field("WinsockFile", "%z", FileSize))
  545. line("BASIC", field("static", ""), field("static", ""))
  546. }
  547. enumlines("WinsockFile", field("static", "WQL:SELECT Name, FileSize, Version FROM CIM_DataFile WHERE Name='[Win32_OperatingSystem.SystemDirectory]\\\\wsock32n.dll'"))
  548. {
  549. line("BASIC", field("static", "File"), field("WinsockFile", "%s", Name))
  550. line("BASIC", field("static", "Version"), field("WinsockFile", "%s", Version))
  551. line("BASIC", field("static", "Size"), field("WinsockFile", "%z", FileSize))
  552. line("BASIC", field("static", ""), field("static", ""))
  553. }
  554. }
  555. }
  556. }
  557. node("static", "ComponentsPorts", field("static", "Ports"), "")
  558. {
  559. columns(field("static", "Category [ComponentsPorts, 200]"), "NONE", "BASIC")
  560. node("static", "ComponentsSerialPorts", field("static", "Serial"), "No serial port information")
  561. {
  562. columns(field("static", "Item [ComponentsSerialPorts, 200]"), "NONE", "BASIC", field("static", "Value [ComponentsSerialPorts, 200]"), "NONE", "BASIC")
  563. enumlines("Win32_SerialPort", field("static", "WQL:SELECT * FROM Win32_SerialPort"))
  564. {
  565. line("BASIC", field("static", "Name"), field("Win32_SerialPort", "%s", DeviceID))
  566. line("BASIC", field("static", "Status"), field("Win32_SerialPort", "%s", ValueMapStatus))
  567. line("ADVANCED", field("static", "PNP Device ID"), field("Win32_SerialPort", "%s", PNPDeviceID))
  568. line("ADVANCED", field("static", "Maximum Input Buffer Size"), field("Win32_SerialPort", "%s", MaximumInputBufferSize))
  569. line("ADVANCED", field("static", "Maximum Output Buffer Size"), field("Win32_SerialPort", "%b", MaximumOutputBufferSize))
  570. line("ADVANCED", field("static", "Settable Baud Rate"), field("Win32_SerialPort", "%b", SettableBaudRate))
  571. line("ADVANCED", field("static", "Settable Data Bits"), field("Win32_SerialPort", "%b", SettableDataBits))
  572. line("ADVANCED", field("static", "Settable Flow Control"), field("Win32_SerialPort", "%b", SettableFlowControl))
  573. line("ADVANCED", field("static", "Settable Parity"), field("Win32_SerialPort", "%b", SettableParity))
  574. line("ADVANCED", field("static", "Settable Parity Check"), field("Win32_SerialPort", "%b", SettableParityCheck))
  575. line("ADVANCED", field("static", "Settable Stop Bits"), field("Win32_SerialPort", "%b", SettableStopBits))
  576. line("ADVANCED", field("static", "Settable RLSD"), field("Win32_SerialPort", "%b", SettableRLSD))
  577. line("ADVANCED", field("static", "Supports RLSD"), field("Win32_SerialPort", "%b", SupportsRLSD))
  578. line("ADVANCED", field("static", "Supports 16 Bit Mode"), field("Win32_SerialPort", "%b", Supports16BitMode))
  579. line("ADVANCED", field("static", "Supports Special Characters"), field("Win32_SerialPort", "%b", SupportsSpecialCharacters))
  580. enumlines("Win32_SerialPortConfiguration", field("static", "LNK:[Win32_SerialPort.__PATH]->Win32_SerialPortSetting"))
  581. {
  582. line("BASIC", field("static", "Baud Rate"), field("Win32_SerialPortConfiguration", "%s", BaudRate))
  583. line("BASIC", field("static", "Bits/Byte"), field("Win32_SerialPortConfiguration", "%s", BitsPerByte))
  584. line("BASIC", field("static", "Stop Bits"), field("Win32_SerialPortConfiguration", "%s", StopBits))
  585. line("BASIC", field("static", "Parity"), field("Win32_SerialPortConfiguration", "%s", ValueMapParity))
  586. line("BASIC", field("static", "Busy"), field("Win32_SerialPortConfiguration", "%s", IsBusy))
  587. line("ADVANCED", field("static", "Abort Read/Write on Error"), field("Win32_SerialPortConfiguration", "%s", AbortReadWriteOnError))
  588. line("ADVANCED", field("static", "Binary Mode Enabled"), field("Win32_SerialPortConfiguration", "%s", BinaryModeEnabled))
  589. line("ADVANCED", field("static", "Continue XMit on XOff"), field("Win32_SerialPortConfiguration", "%s", ContinueXMitOnXOff))
  590. line("ADVANCED", field("static", "CTS Outflow Control"), field("Win32_SerialPortConfiguration", "%s", CTSOutflowControl))
  591. line("ADVANCED", field("static", "Discard NULL Bytes"), field("Win32_SerialPortConfiguration", "%s", DiscardNULLBytes))
  592. line("ADVANCED", field("static", "DSR Outflow Control"), field("Win32_SerialPortConfiguration", "%s", DSROutflowControl))
  593. line("ADVANCED", field("static", "DSR Sensitivity"), field("Win32_SerialPortConfiguration", "%s", DSRSensitivity))
  594. line("ADVANCED", field("static", "DTR Flow Control Type"), field("Win32_SerialPortConfiguration", "%s", ValueMapDTRFlowControlType))
  595. line("ADVANCED", field("static", "EOF Character"), field("Win32_SerialPortConfiguration", "%s", EOFCharacter))
  596. line("ADVANCED", field("static", "Error Replace Character"), field("Win32_SerialPortConfiguration", "%s", ErrorReplaceCharacter))
  597. line("ADVANCED", field("static", "Error Replacement Enabled"), field("Win32_SerialPortConfiguration", "%s", ErrorReplacementEnabled))
  598. line("ADVANCED", field("static", "Event Character"), field("Win32_SerialPortConfiguration", "%s", EventCharacter))
  599. line("ADVANCED", field("static", "Parity Check Enabled"), field("Win32_SerialPortConfiguration", "%s", ParityCheckEnabled))
  600. line("ADVANCED", field("static", "RTS Flow Control Type"), field("Win32_SerialPortConfiguration", "%s", ValueMapRTSFlowControlType))
  601. line("ADVANCED", field("static", "XOff Character"), field("Win32_SerialPortConfiguration", "%s", XOffCharacter))
  602. line("ADVANCED", field("static", "XOffXMit Threshold"), field("Win32_SerialPortConfiguration", "%s", XOffXMitThreshold))
  603. line("ADVANCED", field("static", "XOn Character"), field("Win32_SerialPortConfiguration", "%s", XOnCharacter))
  604. line("ADVANCED", field("static", "XOnXMit Threshold"), field("Win32_SerialPortConfiguration", "%s", XOnXMitThreshold))
  605. line("ADVANCED", field("static", "XOnXOff InFlow Control"), field("Win32_SerialPortConfiguration", "%s", XOnXOffInFlowControl))
  606. line("ADVANCED", field("static", "XOnXOff OutFlow Control"), field("Win32_SerialPortConfiguration", "%s", XOnXOffOutFlowControl))
  607. }
  608. enumlines("Win32_PNPEntity", field("static", "WQL:SELECT __PATH from Win32_PNPEntity WHERE DeviceID='[Win32_SerialPort.PNPDeviceID]'"))
  609. {
  610. enumlines("Win32_IRQResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_IRQResource"))
  611. {
  612. line("BASIC", field("static", "IRQ Number"), field("Win32_IRQResource", "%s", IRQNumber))
  613. }
  614. enumlines("Win32_PortResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_PortResource"))
  615. {
  616. line("BASIC", field("static", "I/O Port"), field("Win32_PortResource", "0x%04X-0x%04X", StartingAddress, EndingAddress))
  617. }
  618. enumlines("CIM_DataFile", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_CIMLogicalDeviceCIMDataFile"))
  619. {
  620. line("ADVANCED", field("static", "Driver"), field("CIM_DataFile", "%s (%s, %s)", Name, FileSize, Version))
  621. }
  622. }
  623. line("BASIC", field("static", " "), field("static", " "))
  624. }
  625. }
  626. node("static", "ComponentsParallelPorts", field("static", "Parallel"), "No parallel port information")
  627. {
  628. columns(field("static", "Item [ComponentsParallelPorts, 200]"), "NONE", "BASIC", field("static", "Value [ComponentsParallelPorts, 200]"), "NONE", "BASIC")
  629. enumlines("Win32_ParallelPort", field("static", "WQL:SELECT * FROM Win32_ParallelPort"))
  630. {
  631. line("BASIC", field("static", "Name"), field("Win32_ParallelPort", "%s", Name))
  632. line("ADVANCED", field("static", "PNP Device ID"), field("Win32_ParallelPort", "%s", PNPDeviceID))
  633. enumlines("Win32_PortResource", field("static", "LNK:[Win32_ParallelPort.__PATH]->Win32_PNPAllocatedResource->Win32_PortResource"))
  634. {
  635. line("BASIC", field("static", "I/O Port"), field("Win32_PortResource", "0x%04X-0x%04X", StartingAddress, EndingAddress))
  636. }
  637. enumlines("CIM_DataFile", field("static", "LNK:[Win32_ParallelPort.__PATH]->Win32_CIMLogicalDeviceCIMDataFile"))
  638. {
  639. line("ADVANCED", field("static", "Driver"), field("CIM_DataFile", "%s (%s, %s)", Name, FileSize, Version))
  640. }
  641. line("BASIC", field("static", " "), field("static", " "))
  642. }
  643. }
  644. }
  645. node("static", "ComponentsStorage", field("static", "Storage"), "")
  646. {
  647. columns(field("static", "Category [root, 200]") "NONE", "BASIC")
  648. node("static", "ComponentsStorageDrives", field("static", "Drives"), "No drive information")
  649. {
  650. columns(field("static", "Item [ComponentsStorageDrives, 150]"), "NONE", "BASIC", field("static", "Value [ComponentsStorageDrives, 200]"), "NONE", "BASIC")
  651. enumlines("Win32_LogicalDisk", field("static", "WQL:SELECT DriveType, DeviceID, Description, __PATH FROM Win32_LogicalDisk WHERE DriveType = 2"))
  652. {
  653. line("BASIC", field("static", "Drive"), field("Win32_LogicalDisk", "%s", DeviceID))
  654. line("BASIC", field("static", "Description"), field("Win32_LogicalDisk", "%s", Description))
  655. line("BASIC", field("static", " "), field("static", " "))
  656. }
  657. enumlines("Win32_LogicalDisk", field("static", "WQL:SELECT DriveType, DeviceID, Description, Compressed, FileSystem, Size, FreeSpace, VolumeName, VolumeSerialNumber, __PATH FROM Win32_LogicalDisk WHERE DriveType = 3"))
  658. {
  659. line("BASIC", field("static", "Drive"), field("Win32_LogicalDisk", "%s", DeviceID))
  660. line("BASIC", field("static", "Description"), field("Win32_LogicalDisk", "%s", Description))
  661. line("BASIC", field("static", "Compressed"), field("Win32_LogicalDisk", "%b", Compressed))
  662. line("ADVANCED", field("static", "File System"), field("Win32_LogicalDisk", "%s", FileSystem))
  663. line("BASIC", field("static", "Size"), field("Win32_LogicalDisk", "%z", Size))
  664. line("BASIC", field("static", "Free Space"), field("Win32_LogicalDisk", "%z", FreeSpace))
  665. line("ADVANCED", field("static", "Volume Name"), field("Win32_LogicalDisk", "%s", VolumeName))
  666. line("ADVANCED", field("static", "Volume Serial Number"), field("Win32_LogicalDisk", "%s", VolumeSerialNumber))
  667. enumlines("Win32_PNPEntity", field("static", "WQL:SELECT __PATH from Win32_PNPEntity WHERE DeviceID='[Win32_LogicalDisk.PNPDeviceID]'"))
  668. {
  669. enumlines("Win32_IRQResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_IRQResource"))
  670. {
  671. line("BASIC", field("static", "IRQ Number"), field("Win32_IRQResource", "%s", IRQNumber))
  672. }
  673. enumlines("Win32_PortResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_PortResource"))
  674. {
  675. line("BASIC", field("static", "I/O Port"), field("Win32_PortResource", "0x%04X-0x%04X", StartingAddress, EndingAddress))
  676. }
  677. enumlines("Win32_DMAChannel", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_DMAChannel"))
  678. {
  679. line("BASIC", field("static", "DMA Channel"), field("Win32_DMAChannel", "%s", DMAChannel))
  680. }
  681. enumlines("CIM_DataFile", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_CIMLogicalDeviceCIMDataFile"))
  682. {
  683. line("ADVANCED", field("static", "Driver"), field("CIM_DataFile", "%s (%s, %s)", Name, FileSize, Version))
  684. }
  685. }
  686. enumlines("Win32_DiskPartition", field("static", "LNK:[Win32_LogicalDisk.__PATH]->Win32_LogicalDiskToPartition"))
  687. {
  688. line("ADVANCED", field("static", "Partition"), field("Win32_DiskPartition", "%s", Caption))
  689. line("ADVANCED", field("static", "Partition Size"), field("Win32_DiskPartition", "%z", Size))
  690. line("ADVANCED", field("static", "Starting Offset"), field("Win32_DiskPartition", "%d bytes", StartingOffset))
  691. enumlines("Win32_DiskDrive", field("static", "LNK:[Win32_DiskPartition.__PATH]->Win32_DiskDriveToDiskPartition"))
  692. {
  693. line("BASIC", field("static", "Drive Description"), field("Win32_DiskDrive", "%s", Description))
  694. line("BASIC", field("static", "Drive Manufacturer"), field("Win32_DiskDrive", "%s", Manufacturer))
  695. line("BASIC", field("static", "Drive Model"), field("Win32_DiskDrive", "%s", Model))
  696. line("ADVANCED", field("static", "Drive BytesPerSector"), field("Win32_DiskDrive", "%s", BytesPerSector))
  697. line("BASIC", field("static", "Drive MediaLoaded"), field("Win32_DiskDrive", "%b", MediaLoaded))
  698. line("BASIC", field("static", "Drive MediaType"), field("Win32_DiskDrive", "%s", ValueMapMediaType))
  699. line("BASIC", field("static", "Drive Partitions"), field("Win32_DiskDrive", "%s", Partitions))
  700. line("ADVANCED", field("static", "Drive SCSIBus"), field("Win32_DiskDrive", "%s", SCSIBus))
  701. line("ADVANCED", field("static", "Drive SCSILogicalUnit"), field("Win32_DiskDrive", "%s", SCSILogicalUnit))
  702. line("ADVANCED", field("static", "Drive SCSIPort"), field("Win32_DiskDrive", "%s", SCSIPort))
  703. line("ADVANCED", field("static", "Drive SCSITargetId"), field("Win32_DiskDrive", "%s", SCSITargetId))
  704. line("ADVANCED", field("static", "Drive SectorsPerTrack"), field("Win32_DiskDrive", "%s", SectorsPerTrack))
  705. line("BASIC", field("static", "Drive Size"), field("Win32_DiskDrive", "%s bytes", Size))
  706. line("ADVANCED", field("static", "Drive TotalCylinders"), field("Win32_DiskDrive", "%s", TotalCylinders))
  707. line("ADVANCED", field("static", "Drive TotalSectors"), field("Win32_DiskDrive", "%s", TotalSectors))
  708. line("ADVANCED", field("static", "Drive TotalTracks"), field("Win32_DiskDrive", "%s", TotalTracks))
  709. line("ADVANCED", field("static", "Drive TracksPerCylinder"), field("Win32_DiskDrive", "%s", TracksPerCylinder))
  710. }
  711. }
  712. line("BASIC", field("static", " "), field("static", " "))
  713. }
  714. enumlines("Win32_LogicalDisk", field("static", "WQL:SELECT DriveType, DeviceID, Description, ProviderName, __PATH FROM Win32_LogicalDisk WHERE DriveType = 4"))
  715. {
  716. line("BASIC", field("static", "Drive"), field("Win32_LogicalDisk", "%s", DeviceID))
  717. line("BASIC", field("static", "Description"), field("Win32_LogicalDisk", "%s", Description))
  718. line("BASIC", field("static", "Provider Name"), field("Win32_LogicalDisk", "%s", ProviderName))
  719. line("BASIC", field("static", " "), field("static", " "))
  720. }
  721. }
  722. node("static", "ComponentsStorageSCSI", field("static", "SCSI"), "No SCSI information")
  723. {
  724. columns(field("static", "Item [ComponentsStorageSCSI, 200]"), "NONE", "BASIC", field("static", "Value [ComponentsStorageSCSI, 200]"), "NONE", "BASIC")
  725. enumlines("Win32_SCSIController", field("static", "WQL:SELECT * FROM Win32_SCSIController"))
  726. {
  727. line("BASIC", field("static", "Name"), field("Win32_SCSIController", "%s", Name))
  728. line("BASIC", field("static", "Caption"), field("Win32_SCSIController", "%s", Caption))
  729. line("BASIC", field("static", "Driver"), field("Win32_SCSIController", "%s", DriverName))
  730. line("BASIC", field("static", "Status"), field("Win32_SCSIController", "%s", Status))
  731. line("ADVANCED", field("static", "PNP Device ID"), field("Win32_SCSIController", "%s", PNPDeviceID))
  732. line("ADVANCED", field("static", "Device ID"), field("Win32_SCSIController", "%s", DeviceID))
  733. line("ADVANCED", field("static", "Device Map"), field("Win32_SCSIController", "%s", DeviceMap))
  734. line("ADVANCED", field("static", "Index"), field("Win32_SCSIController", "%s", Index))
  735. line("ADVANCED", field("static", "Max Number Controlled"), field("Win32_SCSIController", "%s", MaxNumberControlled))
  736. enumlines("Win32_PNPEntity", field("static", "WQL:SELECT __PATH from Win32_PNPEntity WHERE DeviceID='[Win32_SCSIController.PNPDeviceID]'"))
  737. {
  738. enumlines("Win32_IRQResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_IRQResource"))
  739. {
  740. line("BASIC", field("static", "IRQ Number"), field("Win32_IRQResource", "%s", IRQNumber))
  741. }
  742. enumlines("Win32_PortResource", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_PNPAllocatedResource->Win32_PortResource"))
  743. {
  744. line("BASIC", field("static", "I/O Port"), field("Win32_PortResource", "0x%04X-0x%04X", StartingAddress, EndingAddress))
  745. }
  746. enumlines("CIM_DataFile", field("static", "LNK:[Win32_PNPEntity.__PATH]->Win32_CIMLogicalDeviceCIMDataFile"))
  747. {
  748. line("ADVANCED", field("static", "Driver"), field("CIM_DataFile", "%s (%s, %s)", Name, FileSize, Version))
  749. }
  750. }
  751. line("BASIC", field("static", " "), field("static", " "))
  752. }
  753. }
  754. }
  755. node("static", "ComponentsPrinting", field("static", "Printing"), "No printing information")
  756. {
  757. columns(field("static", "Name [ComponentsPrinting, 150]"), "LEXICAL", "BASIC",
  758. field("static", "Port Name [ComponentsPrinting, 100]"), "LEXICAL", "BASIC",
  759. field("static", "Server Name [ComponentsPrinting, 100]"), "LEXICAL", "BASIC")
  760. enumlines("Win32_Printer", field("static", "WQL:SELECT * FROM Win32_Printer"))
  761. {
  762. line("BASIC", field("Win32_Printer", "%s", Name),
  763. field("Win32_Printer", "%s", PortName),
  764. field("Win32_Printer", "%s", ServerName))
  765. }
  766. }
  767. node("static", "ComponentsProblemDevices", field("static", "Problem Devices"), "No Problem Devices")
  768. {
  769. columns(field("static", "Device [ResourcesForcedHW, 200]"), "LEXICAL", "BASIC",
  770. field("static", "PNP Device ID [ResourcesForcedHW, 200]"), "LEXICAL", "BASIC",
  771. field("static", "Error Code [ResourcesForcedHW, 75]"), "LEXICAL", "BASIC")
  772. enumlines("Win32_PnPEntity", field("static", "WQL:SELECT Caption, PNPDeviceID, ConfigManagerErrorCode FROM Win32_PnPEntity WHERE ConfigManagerErrorCode != 0"))
  773. {
  774. line("BASIC", field("Win32_PnPEntity", "%s", Caption),
  775. field("Win32_PnPEntity", "%s", PNPDeviceID),
  776. field("Win32_PnPEntity", "%s", ConfigManagerErrorCode))
  777. }
  778. }
  779. node("static", "ComponentsUSB", field("static", "USB"), "No USB Devices")
  780. {
  781. columns(field("static", "Device [ComponentsUSB, 200]"), "LEXICAL", "BASIC",
  782. field("static", "PNP Device ID [ComponentsUSB, 200]"), "LEXICAL", "BASIC")
  783. enumlines("Win32_USBController", field("static", "WQL:SELECT * FROM Win32_USBController"))
  784. {
  785. line("BASIC", field("Win32_USBController", "%s", Caption),
  786. field("Win32_USBController", "%s", PNPDeviceID))
  787. enumlines("Win32_PnPEntity", field("static", "LNK:[Win32_USBController.__PATH]->Win32_USBControllerDevice"))
  788. {
  789. line("BASIC", field("Win32_PnPEntity", "%s", Caption),
  790. field("Win32_PnPEntity", "%s", PNPDeviceID))
  791. }
  792. }
  793. }
  794. }
  795. node("static", "SWEnv", field("static", "Software Environment"), "")
  796. {
  797. columns(field("static", "Category [SWEnv, 200]"), "NONE", "BASIC")
  798. node("static", "SWEnvDrivers", field("static", "Drivers"), "")
  799. {
  800. columns(field("static", "Name [SWEnvDriversKernel, 80]"), "LEXICAL", "BASIC",
  801. field("static", "Description [SWEnvDriversKernel, 150]"), "LEXICAL", "BASIC",
  802. field("static", "File [SWEnvDriversKernel, 150]"), "LEXICAL", "ADVANCED",
  803. field("static", "Type [SWEnvDriversKernel, 100]"), "LEXICAL", "BASIC",
  804. field("static", "Started [SWEnvDriversKernel, 60]"), "LEXICAL", "ADVANCED",
  805. field("static", "Start Mode [SWEnvDriversKernel, 80]"), "LEXICAL", "ADVANCED",
  806. field("static", "State [SWEnvDriversKernel, 60]"), "LEXICAL", "BASIC",
  807. field("static", "Status [SWEnvDriversKernel, 50]"), "LEXICAL", "BASIC",
  808. field("static", "Error Control [SWEnvDriversKernel, 80]"), "LEXICAL", "ADVANCED",
  809. field("static", "Accept Pause [SWEnvDriversKernel, 90]"), "LEXICAL", "ADVANCED",
  810. field("static", "Accept Stop [SWEnvDriversKernel, 90]"), "LEXICAL", "ADVANCED")
  811. enumlines("Win32_SystemDriver", field("static", "WQL:SELECT Name, Description, PathName, ServiceType, Started, StartMode, State, Status, ErrorControl, AcceptPause, AcceptStop FROM Win32_SystemDriver"))
  812. {
  813. line("BASIC", field("Win32_SystemDriver", "%l", Name),
  814. field("Win32_SystemDriver", "%s", Description),
  815. field("Win32_SystemDriver", "%l", PathName),
  816. field("Win32_SystemDriver", "%s", ValueMapServiceType),
  817. field("Win32_SystemDriver", "%b", Started),
  818. field("Win32_SystemDriver", "%s", ValueMapStartMode),
  819. field("Win32_SystemDriver", "%s", ValueMapState),
  820. field("Win32_SystemDriver", "%s", ValueMapStatus),
  821. field("Win32_SystemDriver", "%s", ValueMapErrorControl),
  822. field("Win32_SystemDriver", "%b", AcceptPause),
  823. field("Win32_SystemDriver", "%b", AcceptStop))
  824. }
  825. }
  826. node("static", "SWEnvEnvVars", field("static", "Environment Variables"), "No environment variable information")
  827. {
  828. columns(field("static", "Variable [SWEnvEnvVars, 180]"), "LEXICAL", "BASIC", field("static", "Value [SWEnvEnvVars, 200]"), "LEXICAL", "BASIC", field("static", "User Name [SWEnvEnvVars, 120]"), "LEXICAL", "BASIC")
  829. enumlines("Win32_Environment", field("static", "WQL:SELECT * FROM Win32_Environment"))
  830. {
  831. line("BASIC", field("Win32_Environment", "%s", Name), field("Win32_Environment", "%s", VariableValue), field("Win32_Environment", "%s", UserName))
  832. }
  833. }
  834. node("static", "SWEnvJobs", field("static", "Jobs"), "")
  835. {
  836. columns(field("static", "Category [SWEnvJobs, 200]"), "NONE", "BASIC")
  837. node("static", "SWEnvPrint", field("static", "Print"), "No print jobs")
  838. {
  839. columns(field("static", "Document [SWEnvPrint, 120]"), "LEXICAL", "BASIC",
  840. field("static", "Size [SWEnvPrint, 60]"), "VALUE", "BASIC",
  841. field("static", "Owner [SWEnvPrint, 60]"), "LEXICAL", "BASIC",
  842. field("static", "Notify [SWEnvPrint, 60]"), "LEXICAL", "ADVANCED",
  843. field("static", "Status [SWEnvPrint, 60]"), "LEXICAL", "BASIC",
  844. field("static", "Time Submitted [SWEnvPrint, 60]"), "VALUE", "BASIC",
  845. field("static", "Start Time [SWEnvPrint, 60]"), "VALUE", "ADVANCED",
  846. field("static", "Until Time [SWEnvPrint, 60]"), "VALUE", "ADVANCED",
  847. field("static", "Elapsed Time [SWEnvPrint, 60]"), "LEXICAL", "ADVANCED",
  848. field("static", "Pages Printed [SWEnvPrint, 60]"), "VALUE", "BASIC",
  849. field("static", "Job ID [SWEnvPrint, 40]"), "VALUE", "ADVANCED",
  850. field("static", "Priority [SWEnvPrint, 40]"), "VALUE", "ADVANCED",
  851. field("static", "Parameters [SWEnvPrint, 100]"), "LEXICAL", "ADVANCED",
  852. field("static", "Driver Name [SWEnvPrint, 100]"), "LEXICAL", "ADVANCED",
  853. field("static", "Print Processor [SWEnvPrint, 100]"), "LEXICAL", "ADVANCED",
  854. field("static", "Host Print Queue [SWEnvPrint, 100]"), "LEXICAL", "ADVANCED",
  855. field("static", "Data Type [SWEnvPrint, 80]"), "LEXICAL", "ADVANCED",
  856. field("static", "Name [SWEnvPrint, 100]"), "LEXICAL", "ADVANCED")
  857. enumlines("Win32_PrintJob", field("static", "WQL:SELECT * FROM Win32_PrintJob"))
  858. {
  859. line("BASIC", field("Win32_PrintJob", "%s", Document),
  860. field("Win32_PrintJob", "%d", Size),
  861. field("Win32_PrintJob", "%s", Owner),
  862. field("Win32_PrintJob", "%s", Notify),
  863. field("Win32_PrintJob", "%s", Status),
  864. field("Win32_PrintJob", "%t", TimeSubmitted),
  865. field("Win32_PrintJob", "%t", StartTime),
  866. field("Win32_PrintJob", "%t", UntilTime),
  867. field("Win32_PrintJob", "%d", ElapsedTime),
  868. field("Win32_PrintJob", "%d", PagesPrinted),
  869. field("Win32_PrintJob", "%d", JobId),
  870. field("Win32_PrintJob", "%d", Priority),
  871. field("Win32_PrintJob", "%s", Parameters),
  872. field("Win32_PrintJob", "%s", DriverName),
  873. field("Win32_PrintJob", "%s", PrintProcessor),
  874. field("Win32_PrintJob", "%s", HostPrintQueue),
  875. field("Win32_PrintJob", "%s", DataType),
  876. field("Win32_PrintJob", "%s", Name))
  877. }
  878. }
  879. }
  880. node("static", "SWEnvNetConn", field("static", "Network Connections"), "No network connections information")
  881. {
  882. columns(field("static", "Local Name [SWEnvNetConn, 100]"), "LEXICAL", "BASIC",
  883. field("static", "Remote Name [SWEnvNetConn, 150]"), "LEXICAL", "BASIC",
  884. field("static", "Type [SWEnvNetConn, 60]"), "LEXICAL", "BASIC",
  885. field("static", "Status [SWEnvNetConn, 60]"), "LEXICAL", "BASIC",
  886. field("static", "User Name [SWEnvNetConn, 100]"), "LEXICAL", "ADVANCED")
  887. enumlines("Win32_NetworkConnection", field("static", "WQL:SELECT * FROM Win32_NetworkConnection"))
  888. {
  889. line("BASIC", field("Win32_NetworkConnection", "%s", LocalName),
  890. field("Win32_NetworkConnection", "%s", RemoteName),
  891. field("Win32_NetworkConnection", "%s", ValueMapResourceType),
  892. field("Win32_NetworkConnection", "%s", ValueMapStatus),
  893. field("Win32_NetworkConnection", "%s", UserName))
  894. }
  895. }
  896. node("static", "SWEnvRunningTasks", field("static", "Running Tasks"), "No running task information")
  897. {
  898. columns(field("static", "Name [SWEnvRunningTasks, 120]"), "LEXICAL", "BASIC",
  899. field("static", "Path [SWEnvRunningTasks, 200]"), "LEXICAL", "BASIC",
  900. field("static", "Process ID [SWEnvRunningTasks, 60]"), "VALUE", "ADVANCED",
  901. field("static", "Priority [SWEnvRunningTasks, 80]"), "VALUE", "ADVANCED",
  902. field("static", "Min Working Set [SWEnvRunningTasks, 80]"), "VALUE", "ADVANCED",
  903. field("static", "Max Working Set [SWEnvRunningTasks, 80]"), "VALUE", "ADVANCED",
  904. field("static", "Start Time [SWEnvRunningTasks, 120]"), "VALUE", "ADVANCED",
  905. field("static", "Version [SWEnvRunningTasks, 100]"), "LEXICAL", "BASIC",
  906. field("static", "Size [SWEnvRunningTasks, 85]"), "VALUE", "BASIC",
  907. field("static", "File Date [SWEnvRunningTasks, 120]"), "VALUE", "BASIC")
  908. enumlines("Win32_Process", field("static", "WQL:SELECT * FROM Win32_Process"))
  909. {
  910. enumlines("CIM_DataFile2", field("static", "WQL:SELECT Version, FileSize, CreationDate FROM CIM_DataFile WHERE Name='[Win32_Process.ExecutablePath]' [min-of-one]"))
  911. {
  912. line("BASIC", field("Win32_Process", "%l", Name),
  913. field("Win32_Process", "%l", ExecutablePath),
  914. field("Win32_Process", "%s", ProcessID),
  915. field("Win32_Process", "%s", Priority),
  916. field("Win32_Process", "%s", MinimumWorkingSetSize),
  917. field("Win32_Process", "%s", MaximumWorkingSetSize),
  918. field("Win32_Process", "%t", CreationDate)
  919. field("CIM_DataFile2", "%s", Version),
  920. field("CIM_DataFile2", "%z", FileSize),
  921. field("CIM_DataFile2", "%t", CreationDate))
  922. }
  923. }
  924. }
  925. node("static", "SWEnvLoadedModules", field("static", "Loaded Modules"), "No loaded module information")
  926. {
  927. columns(field("static", "Name [SWEnvLoadedModules, 100]"), "LEXICAL", "BASIC",
  928. field("static", "Version [SWEnvLoadedModules, 100]"), "LEXICAL", "BASIC",
  929. field("static", "Size [SWEnvLoadedModules, 90]"), "VALUE", "BASIC",
  930. field("static", "File Date [SWEnvLoadedModules, 120]"), "VALUE", "BASIC",
  931. field("static", "Manufacturer [SWEnvLoadedModules, 100]"), "LEXICAL", "BASIC",
  932. field("static", "Path [SWEnvLoadedModules, 200]"), "LEXICAL", "BASIC")
  933. enumlines("DLLFile", field("static", "INT:dlls"))
  934. {
  935. line("BASIC", field("DLLFile", "%l.%l", FileName, Extension),
  936. field("DLLFile", "%s", Version),
  937. field("DLLFile", "%z", FileSize),
  938. field("DLLFile", "%t", CreationDate),
  939. field("DLLFile", "%s", Manufacturer),
  940. field("DLLFile", "%l", Name))
  941. }
  942. }
  943. node("static", "SWEnvServices", field("static", "Services"), "No service information")
  944. {
  945. columns(field("static", "Display Name [SWEnvServices, 160]"), "LEXICAL", "BASIC",
  946. field("static", "Name [SWEnvServices, 120]"), "LEXICAL", "ADVANCED",
  947. field("static", "State [SWEnvServices, 80]"), "LEXICAL", "BASIC",
  948. field("static", "Start Mode [SWEnvServices, 80]"), "LEXICAL", "BASIC",
  949. field("static", "Service Type [SWEnvServices, 80]"), "LEXICAL", "BASIC",
  950. field("static", "Path [SWEnvServices, 200]"), "LEXICAL", "ADVANCED",
  951. field("static", "Error Control [SWEnvServices, 80]"), "LEXICAL", "ADVANCED",
  952. field("static", "Start Name [SWEnvServices, 80]"), "LEXICAL", "ADVANCED",
  953. field("static", "Tag ID [SWEnvServices, 50]"), "VALUE", "ADVANCED")
  954. enumlines("Win32_Service", field("static", "WQL:SELECT DisplayName, Name, State, StartMode, ServiceType, PathName, ErrorControl, StartName, TagId FROM Win32_Service"))
  955. {
  956. line("BASIC",field("Win32_Service", "%s", DisplayName),
  957. field("Win32_Service", "%s", Name),
  958. field("Win32_Service", "%s", ValueMapState),
  959. field("Win32_Service", "%s", ValueMapStartMode),
  960. field("Win32_Service", "%s", ValueMapServiceType),
  961. field("Win32_Service", "%l", PathName),
  962. field("Win32_Service", "%s", ValueMapErrorControl),
  963. field("Win32_Service", "%s", StartName),
  964. field("Win32_Service", "%s", TagId))
  965. }
  966. }
  967. node("static", "SWEnvProgramGroup", field("static", "Program Groups"), "No program group information")
  968. {
  969. columns(field("static", "Group Name [SWEnvProgramGroup, 200]"), "LEXICAL", "BASIC",
  970. field("static", "Name [SWEnvProgramGroup, 200]"), "LEXICAL", "BASIC",
  971. field("static", "User Name [SWEnvProgramGroup, 80]"), "LEXICAL", "BASIC")
  972. enumlines("Win32_ProgramGroup", field("static", "WQL:SELECT * FROM Win32_ProgramGroup"))
  973. {
  974. line("BASIC", field("Win32_ProgramGroup", "%s", GroupName),
  975. field("Win32_ProgramGroup", "%s", Name),
  976. field("Win32_ProgramGroup", "%s", UserName))
  977. }
  978. }
  979. node("static", "SWEnvStartupPrograms", field("static", "Startup Programs"), "No startup program information")
  980. {
  981. columns(field("static", "Program [SWEnvStartupPrograms, 120]"), "LEXICAL", "BASIC",
  982. field("static", "Command [SWEnvStartupPrograms, 220]"), "LEXICAL", "BASIC",
  983. field("static", "User Name [SWEnvStartupPrograms, 80]"), "LEXICAL", "BASIC",
  984. field("static", "Location [SWEnvStartupPrograms, 80]"), "LEXICAL", "ADVANCED")
  985. enumlines("Win32_StartupCommand", field("static", "WQL:SELECT Caption, Command, Location, User FROM Win32_StartupCommand"))
  986. {
  987. line("BASIC",field("Win32_StartupCommand", "%s", Caption),
  988. field("Win32_StartupCommand", "%l", Command),
  989. field("Win32_StartupCommand", "%s", User),
  990. field("Win32_StartupCommand", "%s", ValueMapLocation))
  991. }
  992. }
  993. node("static", "SWEnvOLEReg", field("static", "OLE Registration"), "No OLE information")
  994. {
  995. columns(field("static", "Object [SWEnvOLEReg, 200]"), "NONE", "BASIC",
  996. field("static", "Local Server [SWEnvOLEReg, 240]"), "NONE", "BASIC")
  997. enumlines("Win32_ClassicCOMClassX", field("static", "WQL:SELECT Caption, LocalServer32 FROM Win32_ClassicCOMClassSetting WHERE Insertable=TRUE AND Control=FALSE"))
  998. {
  999. line("BASIC", field("Win32_ClassicCOMClassX", "%s", Caption),
  1000. field("Win32_ClassicCOMClassX", "%s", LocalServer32))
  1001. }
  1002. }
  1003. }
  1004. }