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.

444 lines
21 KiB

  1. // WMI class definitions for the IE Extension of MSInfo 5.0
  2. #pragma autorecover
  3. #pragma namespace ("\\\\.\\Root")
  4. instance of __Namespace
  5. {
  6. Name = "CIMV2";
  7. };
  8. #pragma namespace ("\\\\.\\Root\\CIMV2")
  9. instance of __Namespace
  10. {
  11. Name = "Applications";
  12. };
  13. #pragma namespace ("\\\\.\\Root\\CIMV2\\Applications")
  14. instance of __Namespace
  15. {
  16. Name = "MicrosoftIE";
  17. };
  18. #pragma namespace ("\\\\.\\Root\\CIMV2\\Applications\\MicrosoftIE")
  19. //**************************************************************************
  20. //* Declare an instance of the __Win32Provider so as to "register" the IE
  21. //* provider.
  22. //**************************************************************************
  23. instance of __Win32Provider as $P
  24. {
  25. Name = "ieinfo5";
  26. ClsId = "{25959BEF-E700-11D2-A7AF-00C04F806200}";
  27. ImpersonationLevel = 1;
  28. PerUserInitialization = TRUE;
  29. HostingModel = "NetworkServiceHost";
  30. };
  31. instance of __InstanceProviderRegistration
  32. {
  33. Provider = $P;
  34. SupportsGet = TRUE;
  35. SupportsPut = FALSE;
  36. SupportsEnumeration = TRUE;
  37. SupportsDelete = FALSE;
  38. QuerySupportLevels = NULL;
  39. };
  40. [Abstract, Description (
  41. "The ManagedSystemElement class is the base class for the system element "
  42. "hierarchy. Membership Criteria: Any distinguishable component of a "
  43. "system is a candidate for inclusion in this class.<P>Examples: Software "
  44. "components, such as files; and devices, such as disk drives and "
  45. "controllers, and physical components such as chips and cards."): ToSubClass,
  46. Locale (0x409), UUID ("{8502C517-5FBB-11D2-AAC1-006008C78BC7}") ]
  47. class CIM_ManagedSystemElement
  48. {
  49. [MaxLen (64) : ToSubClass , Description (
  50. "The Caption property is a short textual description (one-line string) "
  51. "of the object."): ToSubClass , Read : ToSubClass ]
  52. string Caption ;
  53. [Description (
  54. "The Description property provides a textual description of the object. "
  55. ): ToSubClass , Read : ToSubClass ]
  56. string Description ;
  57. [Description (
  58. "A datetime value indicating when the object was installed. A lack of a "
  59. "value does not indicate that the object is not installed."): ToSubClass ,
  60. MappingStrings {"MIF.DMTF|ComponentID|001.5"} : ToSubClass , Read : ToSubClass ]
  61. datetime InstallDate ;
  62. [Description (
  63. "The Name property defines the label by which the object is known. When "
  64. "subclassed, the Name property can be overridden to be a Key property."
  65. ): ToSubClass , Read : ToSubClass ]
  66. string Name ;
  67. [MaxLen (10) : ToSubClass , Description (
  68. "A string indicating the current status of the object. "
  69. "Various operational and non-operational statuses can be "
  70. "defined. Operational statuses are \"OK\", \"Degraded\" "
  71. "and \"Pred Fail\". \"Pred Fail\" indicates that an Element "
  72. "may be functioning properly but predicting a failure in the "
  73. "near future. An example is a SMART-enabled hard drive. "
  74. "Non-operational statuses can also be specified. These are "
  75. "\"Error\", \"Starting\", \"Stopping\" and \"Service\". "
  76. "The latter, \"Service\", could apply during mirror-"
  77. "resilvering of a disk, reload of a user permissions list, "
  78. "or other administrative work. Not all such work is on-line, "
  79. "yet the Managed Element is neither \"OK\" nor in one of the "
  80. "other states.") : ToSubClass ,
  81. ValueMap {"OK", "Error", "Degraded", "Unknown", "Pred Fail",
  82. "Starting", "Stopping", "Service"} : ToSubClass ]
  83. string Status;
  84. };
  85. [Abstract, Description (
  86. "The CIM_LogicalElement class is the base class for all the components "
  87. "of the system that represent abstract system components.<P>Example: "
  88. "Profiles, processes, or system capabilities in the form of logical "
  89. "devices."): ToSubClass,
  90. Locale (0x409), UUID ("{8502C518-5FBB-11D2-AAC1-006008C78BC7}") ]
  91. class CIM_LogicalElement:CIM_ManagedSystemElement
  92. {
  93. };
  94. [abstract, Description (
  95. " The CIM_SoftwareElement class is used to decompose a "
  96. "CIM_SoftwareFeature object into a set of individually manageable or "
  97. "deployable parts for a particular platform. A software element's "
  98. "platform is uniquely identified by its underlying hardware "
  99. "architecture and operating system (for example Sun Solaris on Sun "
  100. "Sparc or Windows NT on Intel). As such, to understand the details of "
  101. "how the functionality of a particular software feature is provided on "
  102. "a particular platform, the CIM_SoftwareElement objects referenced by "
  103. "CIM_SoftwareFeatureSoftwareElement associations are organized in "
  104. "disjoint sets based on the TargetOperatingSystem property. A "
  105. "CIM_SoftwareElement object captures the management details of a part "
  106. "or component in one of four states characterized by the "
  107. "SoftwareElementState property. "): ToSubClass,
  108. Locale (0x409), UUID ("{8502C561-5FBB-11D2-AAC1-006008C78BC7}") ]
  109. class CIM_SoftwareElement:CIM_LogicalElement
  110. {
  111. [read : ToSubClass, key, maxlen (256) : ToSubClass , override ("Name") : ToSubClass , Description (
  112. "The name used to identify this software element"): ToSubClass ]
  113. string Name ;
  114. [read : ToSubClass, key, Maxlen (64) : ToSubClass , Description (
  115. "Version should be in the form <Major>.<Minor>.<Revision> or <Major>."
  116. "<Minor><letter><revision>"): ToSubClass , Mappingstrings {
  117. "MIF.DMTF|ComponentID|001.3"} : ToSubClass ]
  118. string Version ;
  119. [read : ToSubClass, key, Description (
  120. " The SoftwareElementState is defined in this model to identify various "
  121. "states of a software elements life cycle. - A software element in the "
  122. "deployable state describes the details necessary to successful "
  123. "distribute it and the details (conditions and actions) required to "
  124. "create a software element in the installable state (i.e, the next "
  125. "state). - A software element in the installable state describes "
  126. "the details necessary to successfully install it and the details ("
  127. "conditions and actions required to create a software element in the "
  128. "executable state (i.e., the next state). - A software element in the "
  129. "executable state describes the details necessary to successfully "
  130. "start it and the details (conditions and actions required to create "
  131. "a software element in the running state (i.e., the next state). - "
  132. "A software element in the running state describes the details "
  133. "necessary to monitor and operate on a start element."): ToSubClass , Values {
  134. "Deployable", "Installable", "Executable", "Running"} : ToSubClass ]
  135. uint16 SoftwareElementState ;
  136. [read : ToSubClass, key, maxlen (256) : ToSubClass , Description (
  137. " This is an identifier for this software element and is designed to be "
  138. "used in conjunction with other keys to create a unique representation "
  139. "of this SoftwareElement"): ToSubClass ]
  140. string SoftwareElementID ;
  141. [read : ToSubClass, key, Mappingstrings {
  142. "MIF.DMTF|Software Component Information|002.5"} : ToSubClass , Description (
  143. " The Target Operating System property allows the provider to specify "
  144. "the operating system environment. The value of this property does not "
  145. "ensure binary executable. Two other pieces of information are needed. "
  146. " First, the version of the OS needs to be specified. using the OS "
  147. "Version Check. The second piece of information is the architecture the "
  148. "OS runs on. This information is capture with the ArchitectureCheck "
  149. "class. The combination of these constructs allows the provider to "
  150. "clearly identify the level of OS required for a particular software "
  151. "element."): ToSubClass , Values {"Unknown", "Other", "MACOS", "ATTUNIX", "DGUX",
  152. "DECNT", "Digital Unix", "OpenVMS", "HPUX", "AIX", "MVS", "OS400",
  153. "OS/2", "JavaVM", "MSDOS", "WIN3x", "WIN95", "WIN98", "WINNT", "WINCE",
  154. "NCR3000", "NetWare", "OSF", "DC/OS", "Reliant UNIX", "SCO UnixWare",
  155. "SCO OpenServer", "Sequent", "IRIX", "Solaris", "SunOS", "U6000",
  156. "ASERIES", "TandemNSK", "TandemNT", "BS2000", "LINUX", "Lynx", "XENIX",
  157. "VM/ESA", "Interactive UNIX", "BSDUNIX", "FreeBSD", "NetBSD", "GNU Hurd"
  158. , "OS9", "MACH Kernel", "Inferno", "QNX", "EPOC", "IxWorks", "VxWorks",
  159. "MiNT", "BeOS", "HP MPE", "NextStep", "PalmPilot", "Rhapsody"} : ToSubClass,
  160. ModelCorrespondence ("CIM_OperatingSystem.OSType") : ToSubClass ]
  161. uint16 TargetOperatingSystem ;
  162. [read : ToSubClass, Description (
  163. " The OtherTargetOS property records the manufacturer and operating "
  164. "system type for a software element when the TargetOperatingSystem "
  165. "property has a value of 1 (\"Other\"). Therefore, when the "
  166. "TargetOperating System property has a value of \"Other\", the "
  167. "OtherTargetOS property must have a non-null value. For all other "
  168. "values of TargetOperatingSystem, the OtherTargetOS property is to be "
  169. "NULL. "): ToSubClass , Maxlen (64) : ToSubClass ,
  170. ModelCorrespondence ("CIM_OperatingSystem.OtherTypeDescription") : ToSubClass ]
  171. string OtherTargetOS ;
  172. [read : ToSubClass, Maxlen (256) : ToSubClass , Description (
  173. "Manufacturer of this software element"): ToSubClass, Mappingstrings {"MIF.DMTF|ComponentID|001.1"} : ToSubClass ]
  174. string Manufacturer ;
  175. [read : ToSubClass, Maxlen (64) : ToSubClass , Mappingstrings {
  176. "MIF.DMTF|Software Component Information|002.4"} : ToSubClass , Description (
  177. "The internal identifier for this compilation of this software element."
  178. ): ToSubClass ]
  179. string BuildNumber ;
  180. [read : ToSubClass, Maxlen (64) : ToSubClass , Description (
  181. "The assigned serial number of this software element."): ToSubClass, Mappingstrings {"MIF.DMTF|ComponentID|001.4"} : ToSubClass ]
  182. string SerialNumber ;
  183. [read : ToSubClass, Maxlen (64) : ToSubClass , Description (
  184. "The code set used by this software element. "): ToSubClass ]
  185. string CodeSet ;
  186. [read : ToSubClass, Maxlen (64) : ToSubClass , Mappingstrings {
  187. "MIF.DMTF|Software Component Information|002.7"} , Description (
  188. " The value of this property is the manufacturer's identifier for this "
  189. "software element. Often this will be a stock keeping unit (SKU) or a "
  190. "part number."): ToSubClass ]
  191. string IdentificationCode ;
  192. [read : ToSubClass, Maxlen (32) : ToSubClass , Mappingstrings {
  193. "MIF.DMTF|Software Component Information|002.6"} , Description (
  194. "The value of this property identifies the language edition of this "
  195. "software element. The language codes defined in ISO 639 should be used. "
  196. "Where the software element represents multi-lingual or international "
  197. "version of a product, the string multilingual should be used."): ToSubClass ]
  198. string LanguageEdition ;
  199. };
  200. class MicrosoftIE_InternetExplorer: CIM_SoftwareElement
  201. {
  202. };
  203. // ===================================================================
  204. // Setting
  205. // ===================================================================
  206. [Abstract, Description (
  207. "The Setting class represents configuration-related and "
  208. "operational parameters for one or more ManagedSystem"
  209. "Element(s). A ManagedSystemElement may have multiple Setting "
  210. "objects associated with it. The current operational values "
  211. "for an Element's parameters are reflected by properties in "
  212. "the Element itself or by properties in its associations. "
  213. "These properties do not have to be the same values present "
  214. "in the Setting object. For example, a modem may have a "
  215. "Setting baud rate of 56Kb/sec but be operating "
  216. "at 19.2Kb/sec.") ]
  217. class CIM_Setting
  218. {
  219. [MaxLen (256), Description (
  220. "The identifier by which the Setting object is known.") ]
  221. string SettingID;
  222. [MaxLen (64), Description (
  223. "A short textual description (one-line string) of the "
  224. "Setting object.") ]
  225. string Caption;
  226. [Description (
  227. "A textual description of the Setting object.")]
  228. string Description;
  229. };
  230. [Abstract, Association: ToInstance ToSubClass DisableOverride,
  231. Locale (0x409), UUID ("{8502C577-5FBB-11D2-AAC1-006008C78BC7}")]
  232. class CIM_ElementSetting
  233. {
  234. [read : ToSubClass, Description (
  235. "The Element reference represents the role of the ManagedSystemElement "
  236. "object of the ElementSettings association. Role: The associated managed "
  237. "system element provides the element that implements the element setting."
  238. ): ToSubClass ]
  239. CIM_ManagedSystemElement REF Element;
  240. [read : ToSubClass, Description (
  241. "The Setting reference represents the role of the Setting object of the "
  242. "ElementSettings association. Role: The associated setting provides the "
  243. "setting that implements the element setting."): ToSubClass ]
  244. CIM_Setting REF Setting;
  245. };
  246. [Abstract,
  247. Locale (0x409), UUID ("{8502C577-5FBB-11D2-AAC1-006008C78BC7}")]
  248. class MicrosoftIE_ElementSetting: CIM_ElementSetting
  249. {
  250. [read : ToSubClass, Description (
  251. "The Element reference represents the role of the ManagedSystemElement "
  252. "object of the ElementSettings association. Role: The associated managed "
  253. "system element provides the element that implements the element setting."
  254. ): ToSubClass ]
  255. MicrosoftIE_InternetExplorer REF Element;
  256. [read : ToSubClass, Description (
  257. "The Setting reference represents the role of the Setting object of the "
  258. "ElementSettings association. Role: The associated setting provides the "
  259. "setting that implements the element setting."): ToSubClass ]
  260. CIM_Setting REF Setting;
  261. };
  262. //**************************************************************************
  263. //* Class: MicrosoftIE_Summary
  264. //* Derived from:
  265. //**************************************************************************
  266. [dynamic: ToInstance, provider("ieinfo5")]
  267. class MicrosoftIE_Summary: CIM_Setting
  268. {
  269. [key, read: ToInstance ToSubClass] string Name;
  270. [read: ToInstance ToSubClass] string Version;
  271. [read: ToInstance ToSubClass] string Build;
  272. [read: ToInstance ToSubClass] string ProductID;
  273. [read: ToInstance ToSubClass] string Path;
  274. [read: ToInstance ToSubClass] string Language;
  275. [read: ToInstance ToSubClass] string ActivePrinter;
  276. [read: ToInstance ToSubClass] uint32 CipherStrength;
  277. [read: ToInstance ToSubClass] string ContentAdvisor;
  278. [read: ToInstance ToSubClass] string IEAKInstall;
  279. };
  280. //**************************************************************************
  281. //* Class: MicrosoftIE_FileVersion
  282. //* Derived from:
  283. //**************************************************************************
  284. [dynamic: ToInstance, provider("ieinfo5")]
  285. class MicrosoftIE_FileVersion: CIM_Setting
  286. {
  287. [key, read: ToInstance ToSubClass] string File;
  288. [read: ToInstance ToSubClass] string Version;
  289. [read: ToInstance ToSubClass] real32 Size;
  290. [read: ToInstance ToSubClass] datetime Date;
  291. [key, read: ToInstance ToSubClass] string Path;
  292. [read: ToInstance ToSubClass] string Company;
  293. };
  294. //**************************************************************************
  295. //* Class: MicrosoftIE_ConnectionSummary
  296. //* Derived from:
  297. //**************************************************************************
  298. [dynamic: ToInstance, provider("ieinfo5"), Singleton: DisableOverride ToInstance ToSubClass]
  299. class MicrosoftIE_ConnectionSummary: CIM_Setting
  300. {
  301. [read: ToInstance ToSubClass] string ConnectionPreference;
  302. [read: ToInstance ToSubClass] uint32 EnableHttp11;
  303. [read: ToInstance ToSubClass] uint32 ProxyHttp11;
  304. };
  305. //**************************************************************************
  306. //* Class: MicrosoftIE_LanSettings
  307. //* Derived from:
  308. //**************************************************************************
  309. [dynamic: ToInstance, provider("ieinfo5"), Singleton: DisableOverride ToInstance ToSubClass]
  310. class MicrosoftIE_LanSettings: CIM_Setting
  311. {
  312. [read: ToInstance ToSubClass] string AutoConfigProxy;
  313. [read: ToInstance ToSubClass] string AutoProxyDetectMode;
  314. [read: ToInstance ToSubClass] string AutoConfigURL;
  315. [read: ToInstance ToSubClass] string Proxy;
  316. [read: ToInstance ToSubClass] string ProxyServer;
  317. [read: ToInstance ToSubClass] string ProxyOverride;
  318. };
  319. //**************************************************************************
  320. //* Class: MicrosoftIE_ConnectionSettings
  321. //* Derived from:
  322. //**************************************************************************
  323. [dynamic: ToInstance, provider("ieinfo5")]
  324. class MicrosoftIE_ConnectionSettings: CIM_Setting
  325. {
  326. [key, read: ToInstance ToSubClass] string Name;
  327. [read: ToInstance ToSubClass] boolean Default;
  328. [read: ToInstance ToSubClass] string AutoProxyDetectMode;
  329. [read: ToInstance ToSubClass] string AutoConfigURL;
  330. [read: ToInstance ToSubClass] string Proxy;
  331. [read: ToInstance ToSubClass] string ProxyServer;
  332. [read: ToInstance ToSubClass] string ProxyOverride;
  333. [read: ToInstance ToSubClass] string AllowInternetPrograms;
  334. [read: ToInstance ToSubClass] uint32 RedialAttempts;
  335. [read: ToInstance ToSubClass] uint32 RedialWait;
  336. [read: ToInstance ToSubClass] uint32 DisconnectIdleTime;
  337. [read: ToInstance ToSubClass] string AutoDisconnect;
  338. [read: ToInstance ToSubClass] string Modem;
  339. [read: ToInstance ToSubClass] string DialUpServer;
  340. [read: ToInstance ToSubClass] string NetworkLogon;
  341. [read: ToInstance ToSubClass] string SoftwareCompression;
  342. [read: ToInstance ToSubClass] string EncryptedPassword;
  343. [read: ToInstance ToSubClass] string DataEncryption;
  344. [read: ToInstance ToSubClass] string NetworkProtocols;
  345. [read: ToInstance ToSubClass] string ServerAssignedIPAddress;
  346. [read: ToInstance ToSubClass] string IPAddress;
  347. [read: ToInstance ToSubClass] string ServerAssignedNameServer;
  348. [read: ToInstance ToSubClass] string PrimaryDNS;
  349. [read: ToInstance ToSubClass] string SecondaryDNS;
  350. [read: ToInstance ToSubClass] string PrimaryWINS;
  351. [read: ToInstance ToSubClass] string SecondaryWINS;
  352. [read: ToInstance ToSubClass] string IPHeaderCompression;
  353. [read: ToInstance ToSubClass] string DefaultGateway;
  354. [read: ToInstance ToSubClass] string ScriptFileName;
  355. };
  356. //**************************************************************************
  357. //* Class: MicrosoftIE_Cache
  358. //* Derived from:
  359. //**************************************************************************
  360. [dynamic: ToInstance, provider("ieinfo5"), Singleton: DisableOverride ToInstance ToSubClass]
  361. class MicrosoftIE_Cache: CIM_Setting
  362. {
  363. [read: ToInstance ToSubClass] string PageRefreshType;
  364. [read: ToInstance ToSubClass] string TempInternetFilesFolder;
  365. [read: ToInstance ToSubClass] real32 TotalDiskSpace;
  366. [read: ToInstance ToSubClass] real32 AvailableDiskSpace;
  367. [read: ToInstance ToSubClass] real32 MaxCacheSize;
  368. [read: ToInstance ToSubClass] real32 AvailableCacheSize;
  369. };
  370. //**************************************************************************
  371. //* Class: MicrosoftIE_Object
  372. //* Derived from:
  373. //**************************************************************************
  374. [dynamic: ToInstance, provider("ieinfo5")]
  375. class MicrosoftIE_Object: CIM_Setting
  376. {
  377. [key, read: ToInstance ToSubClass] string ProgramFile;
  378. [read: ToInstance ToSubClass] string Status;
  379. [read: ToInstance ToSubClass] string CodeBase;
  380. };
  381. //**************************************************************************
  382. //* Class: MicrosoftIE_Certificate
  383. //* Derived from:
  384. //**************************************************************************
  385. [dynamic: ToInstance, provider("ieinfo5")]
  386. class MicrosoftIE_Certificate: CIM_Setting
  387. {
  388. [key, read: ToInstance ToSubClass] string Type;
  389. [key, read: ToInstance ToSubClass] string IssuedTo;
  390. [key, read: ToInstance ToSubClass] string IssuedBy;
  391. [read: ToInstance ToSubClass] string Validity;
  392. [read: ToInstance ToSubClass] string SignatureAlgorithm;
  393. };
  394. //**************************************************************************
  395. //* Class: MicrosoftIE_Publisher
  396. //* Derived from:
  397. //**************************************************************************
  398. [dynamic: ToInstance, provider("ieinfo5")]
  399. class MicrosoftIE_Publisher: CIM_Setting
  400. {
  401. [key, read: ToInstance ToSubClass] string Name;
  402. };
  403. //**************************************************************************
  404. //* Class: MicrosoftIE_Security
  405. //* Derived from:
  406. //**************************************************************************
  407. [dynamic: ToInstance, provider("ieinfo5")]
  408. class MicrosoftIE_Security: CIM_Setting
  409. {
  410. [key, read: ToInstance ToSubClass] string Zone;
  411. [read: ToInstance ToSubClass] string Level;
  412. };