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.

1036 lines
53 KiB

  1. Qualifier Description : ToSubClass Amended;
  2. Qualifier Values : ToSubClass Amended;
  3. Qualifier DisplayName : ToSubClass Amended;
  4. Qualifier BitValues:ToSubClass Amended ;
  5. Qualifier Aggregate : ToSubClass ;
  6. Qualifier ValueMap : ToSubClass ;
  7. Qualifier Aggregation : ToSubClass ;
  8. Qualifier ArrayType : ToSubClass ;
  9. Qualifier Association : ToInstance ToSubClass DisableOverride ;
  10. Qualifier BitMap : ToSubClass ;
  11. Qualifier CIM_Key : ToSubClass ;
  12. Qualifier CIMTYPE : ToSubClass ;
  13. Qualifier Deprecated : ToSubClass ;
  14. Qualifier Enumeration : ToSubClass ;
  15. Qualifier EnumPrivileges : ToSubClass ;
  16. Qualifier ImplementationSource : ToSubClass ;
  17. Qualifier Key : ToInstance ToSubClass DisableOverride ;
  18. Qualifier Locale : ToInstance ;
  19. Qualifier MappingStrings : ToSubClass ;
  20. Qualifier Max : ToSubClass ;
  21. Qualifier MaxLen : ToSubClass ;
  22. Qualifier MethodSource : ToSubClass ;
  23. Qualifier Min : ToSubClass ;
  24. Qualifier ModelCorrespondence : ToSubClass ;
  25. Qualifier Not_Null : ToSubClass ;
  26. Qualifier Optional : ToSubClass ;
  27. Qualifier Override : Restricted ;
  28. Qualifier Privileges : ToSubClass ;
  29. Qualifier Propagated : ToSubClass ;
  30. Qualifier PropertySources : ToSubClass ;
  31. Qualifier Provider : ToInstance ;
  32. Qualifier Range : ToSubClass ;
  33. Qualifier Read : ToSubClass ;
  34. Qualifier Schema : ToInstance ;
  35. Qualifier Singleton : ToSubClass ToInstance ;
  36. Qualifier SUBTYPE : ToSubClass ;
  37. Qualifier Units : ToSubClass ;
  38. Qualifier UUID : ToInstance ;
  39. Qualifier Volatile : ToSubClass ;
  40. Qualifier Weak : ToSubClass ;
  41. Qualifier Write : ToSubClass ;
  42. Qualifier WritePrivileges : ToSubClass ;
  43. #pragma autorecover
  44. #pragma classflags(64)
  45. #pragma namespace("\\\\.\\root")
  46. Instance of __Namespace
  47. {
  48. Name = "MicrosoftIISv2";
  49. };
  50. #pragma namespace("\\\\.\\ROOT\\MicrosoftIISv2")
  51. /* View provider setup */
  52. instance of __Win32Provider as $DataProv
  53. {
  54. Name = "MS_VIEW_INSTANCE_PROVIDER";
  55. ClsId = "{AA70DDF4-E11C-11D1-ABB0-00C04FD9159E}";
  56. ImpersonationLevel = 1;
  57. PerUserInitialization = "True";
  58. HostingModel = "NetworkServiceHost";
  59. };
  60. instance of __InstanceProviderRegistration
  61. {
  62. Provider = $DataProv;
  63. SupportsPut = True;
  64. SupportsGet = True;
  65. SupportsDelete = True;
  66. SupportsEnumeration = True;
  67. QuerySupportLevels = {"WQL:UnarySelect"};
  68. };
  69. instance of __MethodProviderRegistration
  70. {
  71. Provider = $DataProv;
  72. };
  73. /**/
  74. /* IIS provider setup */
  75. Instance of __Win32Provider as $IISProv
  76. {
  77. Name = "IIS__PROVIDER";
  78. ClsId = "{D78F1796-E03B-4a81-AFE0-B3B6B0EEE091}";
  79. Pure = "TRUE";
  80. ImpersonationLevel = 1;
  81. PerUserInitialization = "TRUE";
  82. HostingModel = "NetworkServiceHost";
  83. };
  84. Instance of __InstanceProviderRegistration
  85. {
  86. Provider = $IISProv;
  87. SupportsPut = "TRUE";
  88. SupportsGet = "TRUE";
  89. SupportsDelete = "TRUE";
  90. SupportsEnumeration = "TRUE";
  91. QuerySupportLevels = {"WQL:UnarySelect"};
  92. };
  93. Instance of __MethodProviderRegistration
  94. {
  95. Provider = $IISProv;
  96. };
  97. /**/
  98. [Abstract,
  99. Description("The CIM_ManagedSystemElement class is the base class for the system element "
  100. "hierarchy. Membership criteria: Any distinguishable component of a system is a candidate "
  101. "for inclusion in this class.\nExamples: software components, such as files; and devices, "
  102. "such as disk drives and controllers, and physical components such as chips and cards."),
  103. Locale(1033),
  104. UUID("{8502C517-5FBB-11D2-AAC1-006008C78BC7}")]
  105. class CIM_ManagedSystemElement
  106. {
  107. [PropertySources("Caption"),
  108. MaxLen(64),
  109. Description("The Caption property is a short textual description (one-line string) of the "
  110. "object."),
  111. read]
  112. string Caption;
  113. [PropertySources("Description"),
  114. Description("The Description property provides a textual description of the object."),
  115. read]
  116. string Description;
  117. [PropertySources("InstallDate"),
  118. Description("The InstallDate property is datetime value indicating when the object was "
  119. "installed. A lack of a value does not indicate that the object is not installed."),
  120. MappingStrings{"MIF.DMTF|ComponentID|001.5"},
  121. read]
  122. datetime InstallDate;
  123. [PropertySources("Name"),
  124. Description("The Name property defines the label by which the object is known. When "
  125. "subclassed, the Name property can be overridden to be a Key property."),
  126. read]
  127. string Name;
  128. [PropertySources("Status"),
  129. read,
  130. MaxLen(10),
  131. Description("The Status property is a string indicating the current status of the object. "
  132. "Various operational and non-operational statuses can be defined. Operational statuses are "
  133. "\"OK\", \"Degraded\" and \"Pred Fail\". \"Pred Fail\" indicates that an element may be "
  134. "functioning properly but predicting a failure in the near future. An example is a "
  135. "SMART-enabled hard drive. Non-operational statuses can also be specified. These are "
  136. "\"Error\", \"Starting\", \"Stopping\" and \"Service\". The latter, \"Service\", could "
  137. "apply during mirror-resilvering of a disk, reload of a user permissions list, or other "
  138. "administrative work. Not all such work is on-line, yet the managed element is neither "
  139. "\"OK\" nor in one of the other states."),
  140. ValueMap{"OK", "Error", "Degraded", "Unknown", "Pred Fail", "Starting", "Stopping",
  141. "Service"},
  142. Values{"OK", "Error", "Degraded", "Unknown", "Pred Fail", "Starting", "Stopping",
  143. "Service"}]
  144. string Status;
  145. };
  146. [Description("The CIM_LogicalElement class is the base class for all the components of "
  147. "the system that represent abstract system components.\nExample: profiles, processes, or "
  148. "system capabilities in the form of logical devices."),
  149. Abstract,
  150. Locale(1033),
  151. UUID("{8502C518-5FBB-11D2-AAC1-006008C78BC7}")]
  152. class CIM_LogicalElement : CIM_ManagedSystemElement
  153. {
  154. };
  155. [Abstract, Description (
  156. "A logical element that aggregates an enumerable set of managed system "
  157. "elements. The aggregation operates as an functional whole. Within any "
  158. "particular subclass of CIM_System, there is a well-defined list of "
  159. "CIM_ManagedSystemElement classes whose instances must be aggregated."),
  160. Locale (0x409), UUID ("{8502C524-5FBB-11D2-AAC1-006008C78BC7}") ]
  161. class CIM_System: CIM_LogicalElement
  162. {
  163. [CIM_Key, Read,
  164. Description ("The CreationClassName property indicates the name "
  165. "of the class or the subclass used in the creation of an instance. "
  166. "When used with the other key properties of this class, this "
  167. "property allows all instances of this class and its subclasses to "
  168. "be uniquely identified.")]
  169. string CreationClassName ;
  170. [Override ("Name") , Description (
  171. "The inherited Name property serves as key of a CIM_System instance in an enterprise "
  172. "environment.") , CIM_Key, Read ]
  173. string Name ;
  174. [Description (
  175. "The CIM_System object and its derivatives are top level objects of CIM. "
  176. "They provide the scope for numerous components. Having unique system "
  177. "keys is required. A heuristic can be defined in individual system "
  178. "subclasses to attempt to always generate the same system name key. The "
  179. "NameFormat property identifies how the system name was generated, using "
  180. "the subclass' heuristic.") , Read ]
  181. string NameFormat ;
  182. [Description (
  183. "A string that provides information on how the primary system owner can "
  184. "be reached (e.g. phone number, email address, ...).") , Read ]
  185. string PrimaryOwnerContact ;
  186. [Description ("The name of the primary system owner.") , Read ]
  187. string PrimaryOwnerName ;
  188. [Description (
  189. "A collection of strings that specify the roles this system plays in "
  190. "the IT-environment.") , Read, Write ]
  191. string Roles[] ;
  192. };
  193. [Description (
  194. "The Setting class represents configuration-related and "
  195. "operational parameters for one or more ManagedSystem"
  196. "Element(s). A ManagedSystemElement may have multiple Setting "
  197. "objects associated with it. The current operational values "
  198. "for an Element's parameters are reflected by properties in "
  199. "the Element itself or by properties in its associations. "
  200. "These properties do not have to be the same values present "
  201. "in the Setting object. For example, a modem may have a "
  202. "Setting baud rate of 56Kb/sec but be operating "
  203. "at 19.2Kb/sec."),
  204. Abstract,
  205. Locale(1033),
  206. UUID("{8502C572-5FBB-11D2-AAC1-006008C78BC7}")]
  207. class CIM_Setting
  208. {
  209. [read,
  210. MaxLen(256),
  211. Description("The identifier by which the CIM_Setting object is known.")]
  212. string SettingID;
  213. [read,
  214. MaxLen(64),
  215. Description("A short textual description (one-line string) of the CIM_Setting object.")]
  216. string Caption;
  217. [read,
  218. Description("A textual description of the CIM_Setting object.")]
  219. string Description;
  220. };
  221. [Association,
  222. Abstract,
  223. Aggregation,
  224. Description("A generic association to establish 'part of' relationships between managed "
  225. "system elements."),
  226. Locale(1033),
  227. UUID("{8502C573-5FBB-11D2-AAC1-006008C78BC7}")]
  228. class CIM_Component
  229. {
  230. [read,
  231. Aggregate,
  232. Description("The parent element in the association"),
  233. Min(1),
  234. Max(1)]
  235. CIM_ManagedSystemElement ref GroupComponent;
  236. [Description("The child element in the association"),
  237. read]
  238. CIM_ManagedSystemElement ref PartComponent;
  239. };
  240. [Description("A logical element that contains the information necessary to represent and "
  241. "manage the functionality provided by a device and/or software feature. A service is a "
  242. "general-purpose object to configure and manage the implementation of functionality. It is "
  243. "not the functionality itself."),
  244. union,
  245. ViewSources{"Select * from CIM_Service"},
  246. ViewSpaces{"\\\\.\\root\\cimv2"},
  247. provider("MS_VIEW_INSTANCE_PROVIDER"),
  248. Abstract,
  249. Locale(1033),
  250. UUID("{8502C527-5FBB-11D2-AAC1-006008C78BC7}")]
  251. class CIM_Service : CIM_LogicalElement
  252. {
  253. [PropertySources("Name"),
  254. Description("The Name property uniquely identifies the service and provides an indication "
  255. "of the functionality that is managed. This functionality is described in more detail in "
  256. "the object's Description property."),
  257. read,
  258. Override("Name"),
  259. cim_key]
  260. string Name;
  261. [PropertySources("CreationClassName"),
  262. CIM_Key,
  263. read,
  264. Description("CreationClassName indicates the name of the class or the subclass used in "
  265. "the creation of an instance. When used with the other key properties of this class, this "
  266. "property allows all instances of this class and its subclasses to be uniquely "
  267. "identified.")]
  268. string CreationClassName;
  269. [PropertySources("StartMode"),
  270. Description("StartMode is a string value indicating whether the service is automatically "
  271. "started by a operating system, or only started upon request."),
  272. ValueMap{"Automatic", "Manual"},
  273. Values{"Automatic", "Manual"},
  274. read]
  275. string StartMode;
  276. [PropertySources("Started"),
  277. Description("Started is a boolean indicating whether the service has been started (TRUE), "
  278. "or stopped (FALSE)."),
  279. read]
  280. boolean Started;
  281. [PropertySources("SystemCreationClassName"),
  282. Propagated("CIM_System.CreationClassName"),
  283. CIM_Key,
  284. Description("The type name of the system that hosts this service"),
  285. read]
  286. string SystemCreationClassName;
  287. [PropertySources("SystemName"),
  288. Propagated("CIM_System.Name"),
  289. CIM_Key,
  290. Description("The name of the system that hosts this service"),
  291. read]
  292. string SystemName;
  293. [Description("The StartService method places the service in the started state. It returns "
  294. "an integer value of 0 if the service was successfully started, 1 if the request is not "
  295. "supported and any other number to indicate an error.")]
  296. uint32 StartService();
  297. [Description("The StopService method places the service in the stopped state. It returns "
  298. "an integer value of 0 if the service was successfully stopped, 1 if the request is not "
  299. "supported and any other number to indicate an error.")]
  300. uint32 StopService();
  301. };
  302. [Description("The Win32_BaseService class represents executable objects that are "
  303. "installed in a registry database maintained by the Service Control Manager. The "
  304. "executable file associated with a service can be started at boot time by a boot program "
  305. "or by the system. It can also be started on-demand by the Service Control Manager. Any "
  306. "service or process that is not owned by a specific user, and that provides an interface "
  307. "to some functionality supported by the computer system, is a descendent (or member) of "
  308. "this class.\nExample: The dynamic host configuration protocol (DHCP) client service on a "
  309. "Windows NT/Windows 2000 computer system."),
  310. provider("MS_VIEW_INSTANCE_PROVIDER"),
  311. Union,
  312. ViewSources{"Select * from Win32_BaseService"},
  313. ViewSpaces{"\\\\.\\root\\cimv2"},
  314. Abstract,
  315. Locale(1033),
  316. UUID("{8502C4C4-5FBB-11D2-AAC1-006008C78BC7}")]
  317. class Win32_BaseService : CIM_Service
  318. {
  319. [PropertySources("Name"),
  320. Description("The Name property uniquely identifies the service and provides an indication "
  321. "of the functionality that is managed. This functionality is described in more detail in "
  322. "the object's Description property."),
  323. read,
  324. Override("Name"),
  325. key]
  326. string Name;
  327. [PropertySources("StartMode"),
  328. Description("The StartMode property indicates the start mode of the Win32 base service. "
  329. "\"Boot\" specifies a device driver started by the operating system loader. This value is "
  330. "valid only for driver services. \"System\" specifies a device driver started by the "
  331. "IoInitSystem function. This value is valid only for driver services. \"Automatic\" "
  332. "specifies a service to be started automatically by the service control manager during "
  333. "system startup. \"Manual\" specifies a service to be started by the service control "
  334. "manager when a process calls the StartService function. \"Disabled\" specifies a service "
  335. "that can no longer be started."),
  336. ValueMap{"Boot", "System", "Auto", "Manual", "Disabled"},
  337. Values{"Boot", "System", "Auto", "Manual", "Disabled"},
  338. read,
  339. Override("StartMode")]
  340. string StartMode;
  341. [read,
  342. PropertySources("AcceptPause"),
  343. Description("The AcceptPause property indicates whether the service can be "
  344. "paused.\nValues: TRUE or FALSE. A value of TRUE indicates the service can be paused."),
  345. MappingStrings{"Win32API|Service "
  346. "Structures|SERVICE_STATUS|dwControlsAccepted|SERVICE_ACCEPT_PAUSE_CONTINUE"}]
  347. boolean AcceptPause;
  348. [read,
  349. PropertySources("AcceptStop"),
  350. Description("The AcceptStop property indicates whether the service can be "
  351. "stopped.\nValues: TRUE or FALSE. A value of TRUE indicates the service can be stopped."),
  352. MappingStrings{"Win32API|Service "
  353. "Structures|SERVICE_STATUS|dwControlsAccepted|SERVICE_ACCEPT_STOP"}]
  354. boolean AcceptStop;
  355. [read,
  356. PropertySources("DesktopInteract"),
  357. Description("The DesktopInteract property indicates whether the service can create or "
  358. "communicate with windows on the desktop.\nValues: TRUE or FALSE. A value of TRUE "
  359. "indicates the service can create or communicate with windows on the desktop."),
  360. MappingStrings{"Win32API|Service "
  361. "Structures|QUERY_SERVICE_CONFIG|dwServiceType|SERVICE_INTERACTIVE_PROCESS"}]
  362. boolean DesktopInteract;
  363. [read,
  364. PropertySources("DisplayName"),
  365. Description("The DisplayName property indicates the display name of the service. This "
  366. "string has a maximum length of 256 characters. The name is case-preserved in the Service "
  367. "Control Manager. DisplayName comparisons are always case-insensitive. \nConstraints: "
  368. "Accepts the same value as the Name property.\nExample: Atdisk."),
  369. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDisplayName"}]
  370. string DisplayName;
  371. [read,
  372. PropertySources("ErrorControl"),
  373. Description("If this service fails to start during startup, the ErrorControl property "
  374. "specifies the severity of the error. The value indicates the action taken by the startup "
  375. "program if failure occurs. All errors are logged by the computer system. The computer "
  376. "system does not notify the user of \"Ignore\" errors. With \"Normal\" errorsthe user is "
  377. "notified. With \"Severe\" errors, the system is restarted with the last-known-good "
  378. "configuration. Finally, on\"Critical\" errors the system attempts to restart with a good "
  379. "configuration."),
  380. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwErrorControl"},
  381. Values{"Ignore", "Normal", "Severe", "Critical", "Unknown"},
  382. ValueMap{"Ignore", "Normal", "Severe", "Critical", "Unknown"}]
  383. string ErrorControl;
  384. [read,
  385. PropertySources("PathName"),
  386. Description("The PathName property contains the fully qualified path to the service "
  387. "binary file that implements the service.\nExample: "
  388. "\\SystemRoot\\System32\\drivers\\afd.sys"),
  389. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpBinaryPathName"}]
  390. string PathName;
  391. [read,
  392. PropertySources("ServiceType"),
  393. Description("The ServiceType property supplies the type of service provided to calling "
  394. "processes."),
  395. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType"},
  396. Values{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own "
  397. "Process", "Share Process", "Interactive Process"},
  398. ValueMap{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own "
  399. "Process", "Share Process", "Interactive Process"}]
  400. string ServiceType;
  401. [read,
  402. PropertySources("StartName"),
  403. Description("The StartName property indicates the account name under which the service "
  404. "runs. Depending on the service type, the account name may be in the form of "
  405. "\"DomainName\\Username\".The service process will be logged using one of these two forms "
  406. "when it runs. If the account belongs to the built-in domain, \".\\Username\" can be "
  407. "specified. If NULL is specified, the service will be logged on as the LocalSystem "
  408. "account. For kernel or system level drivers, StartName contains the driver object name "
  409. "(that is, \\FileSystem\\Rdr or \\Driver\\Xns) which the input and output (I/O) system "
  410. "uses to load the device driver. Additionally, if NULL is specified, the driver runs with "
  411. "a default object name created by the I/O system based on the service name.\nExample: "
  412. "DWDOM\\Admin."),
  413. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpServiceStartName"}]
  414. string StartName;
  415. [read,
  416. PropertySources("State"),
  417. Description("The State property indicates the current state of the base service."),
  418. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwCurrentState "},
  419. Values{"Stopped", "Start Pending", "Stop Pending", "Running", "Continue Pending", "Pause "
  420. "Pending", "Paused", "Unknown"},
  421. ValueMap{"Stopped", "Start Pending", "Stop Pending", "Running", "Continue Pending",
  422. "Pause Pending", "Paused", "Unknown"}]
  423. string State;
  424. [read,
  425. PropertySources("TagId"),
  426. Description("The TagId property specifies a unique tag value for this service in the "
  427. "group. A value of 0 indicates that the service has not been assigned a tag. A tag can be "
  428. "used for ordering service startup within a load order group by specifying a tag order "
  429. "vector in the registry located at: "
  430. "HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\GroupOrderList. Tags are only "
  431. "evaluated for Kernel Driver and File System Driver start type services that have \"Boot\" "
  432. "or \"System\" start modes."),
  433. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwTagId"}]
  434. uint32 TagId;
  435. [read,
  436. PropertySources("ExitCode"),
  437. Description("The ExitCode property specifies a Win32 error code defining any problems "
  438. "encountered in starting or stopping the service. This property is set to "
  439. "ERROR_SERVICE_SPECIFIC_ERROR (1066) when the error is unique to the service represented "
  440. "by this class, and information about the error is available in the "
  441. "ServiceSpecificExitCode member. The service sets this value to NO_ERROR when running, and "
  442. "again upon normal termination."),
  443. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwWin32ExitCode"}]
  444. uint32 ExitCode;
  445. [read,
  446. PropertySources("ServiceSpecificExitCode"),
  447. Description("The ServiceSpecificExitCode property specifies a service-specific error code "
  448. "for errors that occur while the service is either starting or stopping. The exit codes "
  449. "are defined by the service represented by this class. This value is only set when the "
  450. "ExitCodeproperty value is ERROR_SERVICE_SPECIFIC_ERROR, 1066."),
  451. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwServiceSpecificExitCode"}]
  452. uint32 ServiceSpecificExitCode;
  453. [Description("The StartService method attempts to place the service into its startup "
  454. "state. It returns one of the following integer values:\n0 - The request was accepted.\n1 "
  455. "- The request is not supported.\n2 - The user did not have the necessary access.\n3 - The "
  456. "service cannot be stopped because other services that are running are dependent on it.\n4 "
  457. "- The requested control code is not valid, or it is unacceptable to the service.\n5 - The "
  458. "requested control code cannot be sent to the service because the state of the service "
  459. "(Win32_BaseService:State) is equal to 0, 1, or 2.\n6 - The service has not been "
  460. "started.\n7 - The service did not respond to the start request in a timely fashion.\n8 - "
  461. "Unknown failure when starting the service.\n9 - The directory path to the service "
  462. "executable was not found.\n10 - The service is already running.\n11 - The database to add "
  463. "a new service is locked.\n12 - A dependency for which this service relies on has been "
  464. "removed from the system.\n13 - The service failed to find the service needed from a "
  465. "dependent service.\n14 - The service has been disabled from the system.\n15 - The service "
  466. "does not have the correct authentication to run on the system.\n16 - This service is "
  467. "being removed from the system.\n17 - There is no execution thread for the service.\n18 - "
  468. "There are circular dependencies when starting the service.\n19 - There is a service "
  469. "running under the same name.\n20 - There are invalid characters in the name of the "
  470. "service.\n21 - Invalid parameters have been passed to the service.\n22 - The account "
  471. "which this service is to run under is either invalid or lacks the permissions to run the "
  472. "service.\n23 - The service exists in the database of services available from the "
  473. "system.\n24 - The service is currently paused in the system.\n"),
  474. MethodSource("StartService"),
  475. Override("StartService"),
  476. Implemented,
  477. Values{"Success", "Not Supported", "Access Denied", "Dependent Services Running",
  478. "Invalid Service Control", "Service Cannot Accept Control", "Service Not Active",
  479. "Service Request Timeout", "Unknown Failure", "Path Not Found", "Service Already "
  480. "Running", "Service Database Locked", "Service Dependency Deleted", "Service Dependency "
  481. "Failure", "Service Disabled", "Service Logon Failed", "Service Marked For Deletion",
  482. "Service No Thread", "Status Circular Dependency", "Status Duplicate Name", "Status "
  483. "Invalid Name", "Status Invalid Parameter", "Status Invalid Service Account", "Status "
  484. "Service Exists", "Service Already Paused"},
  485. MappingStrings{"Win32API|Service Functions|StartService"}]
  486. uint32 StartService();
  487. [Description("The StopService method places the service in the stopped state. It returns "
  488. "an integer value of 0 if the service was successfully stopped, 1 if the request is not "
  489. "supported, and any other number to indicate an error."),
  490. MethodSource("StopService"),
  491. Override("StopService"),
  492. Implemented,
  493. MappingStrings{"Win32API|Service "
  494. "Functions|ControlService|dwControl|SERVICE_CONTROL_STOP"}]
  495. uint32 StopService();
  496. [MethodSource("PauseService"),
  497. Implemented,
  498. Description("The PauseService method attempts to place the service in the paused state. "
  499. "It returns an integer value of 0 if the PauseService request was accepted, 1 if the "
  500. "request is not supported, and any other number to indicate an error."),
  501. MappingStrings{"Win32API|Service "
  502. "Functions|ControlService|dwControl|SERVICE_CONTROL_PAUSE"}]
  503. uint32 PauseService();
  504. [MethodSource("ResumeService"),
  505. Implemented,
  506. Description("The ResumeService method attempts to place the service in the resumed state. "
  507. "It returns an integer value of 0 if the ResumeService request was accepted, 1 if the "
  508. "request is not supported, and any other number to indicate an error."),
  509. MappingStrings{"Win32API|Service "
  510. "Functions|ControlService|dwControl|SERVICE_CONTROL_CONTINUE"}]
  511. uint32 ResumeService();
  512. [MethodSource("InterrogateService"),
  513. Implemented,
  514. Description("The InterrogateService method requests that the service update its state to "
  515. "the service manager. It returns an integer value of 0 if the InterrogateService request "
  516. "was accepted, 1 if the request is not supported, and any other number to indicate an "
  517. "error."),
  518. MappingStrings{"Win32API|Service "
  519. "Functions|ControlService|dwControl|SERVICE_CONTROL_INTERROGATE"}]
  520. uint32 InterrogateService();
  521. [MethodSource("UserControlService"),
  522. Implemented,
  523. Description("The UserControlService method attempts to send a user-defined control code "
  524. "to a service. It returns an integer value of 0 if the UserControlService request was "
  525. "accepted, 1 if the request is not supported, and any other number to indicate an "
  526. "error."),
  527. MappingStrings{"Win32API|Service "
  528. "Functions|CreateService|dwDesiredAccess|SERVICE_USER_DEFINED_CONTROL"}]
  529. uint32 UserControlService(
  530. [In,
  531. Description("The ControlCode parameter specifies defined values(from 128 to 255) that "
  532. "provide control commands specific to a user."),
  533. MappingStrings{"Win32API|Service Functions|ControlService|dwControl"}]
  534. uint8 ControlCode
  535. );
  536. [MethodSource("Create"),
  537. Constructor,
  538. Implemented,
  539. Static,
  540. Description("The Create method creates a new service. It returns an integer value of 0 if "
  541. "the service was successfully created, 1 if the request is not supported, and any other "
  542. "number to indicate an error. The Win32_LoadOrderGroup parameter represents a grouping of "
  543. "system services defining execution dependencies. The services must be initiated in the "
  544. "order specified by the Load Order Group, as the services are dependent on each other. "
  545. "These dependent services require the presence of the antecedent services in order to "
  546. "function correctly."),
  547. MappingStrings{"Win32API|Service Functions|CreateService"}]
  548. uint32 Create(
  549. [In,
  550. Description("The Name parameter passes the name of the service to install to the Create "
  551. "method. The maximum string length is 256 characters. The service control manager database "
  552. "preserves the case of the characters, but service name comparisons are always case "
  553. "insensitive. Forward-slashes (/) and double back-slashes (\\) are invalid service name "
  554. "characters."),
  555. MappingStrings{"Win32API|Service Functions|CreateServicelpServiceName"}]
  556. string Name,
  557. [In,
  558. Description("The DisplayName parameter passes the display name of the service. This "
  559. "string has a maximum length of 256 characters. The name is case-preserved in the service "
  560. "control manager. DisplayName comparisons are always case-insensitive. \nConstraints: "
  561. "Accepts the same value as the Name parameter.\nExample: Atdisk."),
  562. MappingStrings{"Win32API|Service Functions|CreateServicelpDisplayName"}]
  563. string DisplayName,
  564. [In,
  565. Description("The PathName parameter passes the fully qualified path to the executable "
  566. "file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys"),
  567. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpBinaryPathName "}]
  568. string PathName,
  569. [In,
  570. Description("The ServiceType parameter passes the type of services provided to processes "
  571. "that call them."),
  572. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType"},
  573. BitValues{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own "
  574. "Process", "Share Process"},
  575. BitMap{"0", "1", "2", "3", "4", "5", "8"}]
  576. uint8 ServiceType,
  577. [In,
  578. Description("If the Create method fails to start, the ErrorControl parameter passes the "
  579. "severity of the error. The value indicates the action taken by the startup program if "
  580. "failure occurs. All errors are logged by the system. The system does not notify the user "
  581. "of \"Ignore\" errors. With \"Normal\" errors the user is notified. With \"Severe\" "
  582. "errors, the system is restarted with the last-known-good configuration. Finally, on "
  583. "\"Critical\" errors, the system attempts to restart with a good configuration."),
  584. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwErrorControl"},
  585. Values{"Ignore", "Normal", "Severe", "Critical"}]
  586. uint8 ErrorControl,
  587. [In,
  588. Description("The StartMode parameter passes the start mode of the Win32 base service. "
  589. "\"Boot\" specifies a device driver started by the operating system loader. This value is "
  590. "valid only for driver services. \"System\" specifies a device driver started by the "
  591. "IoInitSystem function. This value is valid only for driver services. \"Automatic\" "
  592. "specifies a service to be started automatically by the service control manager during "
  593. "system startup. \"Manual\" specifies a service to be started by the service control "
  594. "manager when a process calls the StartService function. \"Disabled\" specifies a service "
  595. "that can no longer be started."),
  596. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwStartType"},
  597. Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"},
  598. ValueMap{"Boot", "System", "Automatic", "Manual", "Disabled"}]
  599. string StartMode,
  600. [In,
  601. Description("The DesktopInteract parameter passes the value that indicates whether the "
  602. "service can create or communicate with windows on the desktop.\nValues: TRUE or FALSE. A "
  603. "value of TRUE indicates the service can create or communicate with windows on the "
  604. "desktop."),
  605. MappingStrings{"Win32API|Service "
  606. "Structures|QUERY_SERVICE_CONFIG|dwServiceType|SERVICE_INTERACTIVE_PROCESS"}]
  607. boolean DesktopInteract,
  608. [In,
  609. Description("The StartName parameter passes the account name the service runs under. "
  610. "Depending on the service type, the account name may be in the form of "
  611. "\"DomainName\\Username\".The service process will be logged using one of these two forms "
  612. "when it runs. If the account belongs to the built-in domain, \".\\Username\" can be "
  613. "specified. If NULL is specified, the service will be logged on as the LocalSystem "
  614. "account. For a kernel or system-level drivers, StartName contains the driver object name "
  615. "(that is, \\FileSystem\\Rdr or \\Driver\\Xns) which the input and output (I/O) system "
  616. "uses to load the device driver. If NULL is specified, the driver runs with a default "
  617. "object name created by the I/O system based on the service name.\nExample: "
  618. "DWDOM\\Admin."),
  619. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpServiceStartName"}]
  620. string StartName,
  621. [In,
  622. Description("The StartPassword parameter passes the password to the account name "
  623. "specified by the StartName parameter. Specify NULL if you are not changing the password. "
  624. "Specify an empty string if the service has no password."),
  625. MappingStrings{"Win32API|Service Functions|CreateService|lpPassword"}]
  626. string StartPassword,
  627. [In,
  628. Description("The LoadOrderGroup parameter passes the group name associated with the new "
  629. "service. Load order groups are contained in the registry, and determine the sequence in "
  630. "which services are loaded into the operating system. If the pointer is NULL or if it "
  631. "points to an empty string, the service does not belong to a group. Dependencies between "
  632. "groups should be listed in the LoadOrderGroupDependencies parameter. Services in the "
  633. "load-ordering group list are started first, followed by services in groups not in the "
  634. "load-ordering group list, followed by services that do not belong to a group. The "
  635. "registry has a list of load ordering groups located "
  636. "at:\nHKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ServiceGroupOrder."),
  637. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpLoadOrderGroup"}]
  638. string LoadOrderGroup,
  639. [In,
  640. Description("The LoadOrderGroupDependencies parameter passes a list of load ordering "
  641. "groups that must start before this service. The array is doubly null-terminated. If the "
  642. "pointer is NULL or if it points to an empty string, the service has no dependencies. "
  643. "Group names must be prefixed by the SC_GROUP_IDENTIFIER (defined in the WINSVC.H file) "
  644. "character to differentiate it from a service name, because services and service groups "
  645. "share the same name space. Dependency on a group means that this service can run if at "
  646. "least one member of the group is running after an attempt to start all members of the "
  647. "group."),
  648. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies"}]
  649. string LoadOrderGroupDependencies[],
  650. [In,
  651. Description("The ServiceDependencies parameter passes a list containing names of services "
  652. "that must start before this service starts. The array is doubly null-terminated. If the "
  653. "pointer is NULL, or if it points to an empty string, the service has no dependencies. "
  654. "Dependency on a service means that this service can only run if the service it depends on "
  655. "is running."),
  656. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies"}]
  657. string ServiceDependencies[]
  658. );
  659. [MethodSource("Change"),
  660. Implemented,
  661. Description("The Change method modifies a service. It returns an integer value of 0 if "
  662. "the service was successfully modified, 1 if the request is not supported and any other "
  663. "number to indicate an error. The Win32_LoadOrderGroup parameter represents a grouping of "
  664. "system services defining execution dependencies. The services must be initiated in the "
  665. "order specified by the Load Order Group as the services are dependent on each other. "
  666. "These dependent services require the presence of the antecedent services in order to "
  667. "function correctly."),
  668. MappingStrings{"Win32API|Service Functions|ChangeServiceConfig"}]
  669. uint32 Change(
  670. [In,
  671. Description("The DisplayName parameter passes the display name of the service. This "
  672. "string has a maximum length of 256 characters. The name is case-preserved in the service "
  673. "control manager. DisplayName comparisons are always case-insensitive. \nConstraints: "
  674. "Accepts the same value as the Name parameter.\nExample: Atdisk"),
  675. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDisplayName"}]
  676. string DisplayName,
  677. [In,
  678. Description("The PathName parameter passes the fully qualified path of the service binary "
  679. "file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys"),
  680. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpBinaryPathName"}]
  681. string PathName,
  682. [In,
  683. Description("The ServiceType parameter passes the type of service provided to processes "
  684. "calling the service."),
  685. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType"},
  686. BitValues{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own "
  687. "Process", "Share Process"},
  688. BitMap{"0", "1", "2", "3", "4", "5", "8"}]
  689. uint8 ServiceType,
  690. [In,
  691. Description("If this service fails to start during startup, the ErrorControl parameter "
  692. "passes the severity of the error. The value indicates the action taken by the startup "
  693. "program if failure occurs. All errors are logged by the system. The system does not "
  694. "notify the user of \"Ignore\" errors. With \"Normal\" errors the user is notified. With "
  695. "\"Severe\" errors, the system is restarted with the last-known-good configuration. "
  696. "Finally, on \"Critical\" errors, the system attempts to restart with a good "
  697. "configuration."),
  698. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwErrorControl"},
  699. Values{"Ignore", "Normal", "Severe", "Critical"}]
  700. uint8 ErrorControl,
  701. [In,
  702. Description("The StartMode property indicates the start mode of the Win32 base service. "
  703. "\"Boot\" specifies a device driver started by the operating system loader. This value is "
  704. "valid only for driver services. \"System\" specifies a device driver started by the "
  705. "IoInitSystem function. This value is valid only for driver services. \"Automatic\" "
  706. "specifies a service to be started automatically by the service control manager during "
  707. "system startup. \"Manual\" specifies a service to be started by the service control "
  708. "manager when a process calls the StartService function. \"Disabled\" specifies a service "
  709. "that can no longer be started."),
  710. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwStartType"},
  711. Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"},
  712. ValueMap{"Boot", "System", "Automatic", "Manual", "Disabled"}]
  713. string StartMode,
  714. [In,
  715. Description("The DesktopInteract parameter passes the value that indicates whether the "
  716. "service can create or communicate with windows on the desktop.\nValues: TRUE or FALSE. A "
  717. "value of TRUE indicates the service can create or communicate with windows on the "
  718. "desktop."),
  719. MappingStrings{"Win32API|Service "
  720. "Structures|QUERY_SERVICE_CONFIG|dwServiceType|SERVICE_INTERACTIVE_PROCESS"}]
  721. boolean DesktopInteract,
  722. [In,
  723. Description("The StartName property indicates the account name the service runs under. "
  724. "Depending on the service type, the account name may be in the form of "
  725. "\"DomainName\\Username\", The service process will be logged using one of these two forms "
  726. "when it runs. If the account belongs to the built-in domain, \".\\Username\" can be "
  727. "specified. If NULL is specified, the service will be logged on as the LocalSystem "
  728. "account. For kernel or system-level drivers, StartName contains the driver object name "
  729. "(that is, \\FileSystem\\Rdr or \\Driver\\Xns) that the input and output (I/O) system uses "
  730. "to load the device driver. If NULL is specified, the driver runs with a default object "
  731. "name created by the I/O system based on the service name.\nExample: DWDOM\\Admin."),
  732. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpServiceStartName"}]
  733. string StartName,
  734. [In,
  735. Description("The StartPassword parameter passes the password to the account name "
  736. "specified by the StartName parameter. Specify NULL if you are not changing the password. "
  737. "Specify an empty string if the service has no password."),
  738. MappingStrings{"Win32API|Service Functions|CreateService|lpPassword"}]
  739. string StartPassword,
  740. [In,
  741. Description("The LoadOrderGroup parameter passes the group name that it is associated "
  742. "with. Load order groups are contained in the system registry, and determine the sequence "
  743. "in which services are loaded into the operating system. If the pointer is NULL, or if it "
  744. "points to an empty string, the service does not belong to a group. Dependencies between "
  745. "groups should be listed in the LoadOrderGroupDependencies parameter. Services in the "
  746. "load-ordering group list are started first, followed by services in groups not in the "
  747. "load-ordering group list, followed by services that do not belong to a group. The system "
  748. "registry has a list of load ordering groups located "
  749. "at:\nHKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ServiceGroupOrder."),
  750. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpLoadOrderGroup"}]
  751. string LoadOrderGroup,
  752. [In,
  753. Description("The LoadOrderGroupDependencies parameter passes a list of load ordering "
  754. "groups that must start before this service starts. The array is doubly null-terminated. "
  755. "If the pointer is NULL, or if it points to an empty string, the service has no "
  756. "dependencies. Group names must be prefixed by the SC_GROUP_IDENTIFIER (defined in the "
  757. "WINSVC.H file) character to differentiate them from service names because services and "
  758. "service groups share the same name space. Dependency on a group means that this service "
  759. "can run if at least one member of the group is running after an attempt to start all "
  760. "members of the group."),
  761. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies"}]
  762. string LoadOrderGroupDependencies[],
  763. [In,
  764. Description("The ServiceDependencies parameter passes a list containing names of services "
  765. "that must start before this service starts. The array is doubly null-terminated. If the "
  766. "pointer is NULL, or if it points to an empty string, the service has no dependencies. "
  767. "Dependency on a service means that this service can run only if the service it depends on "
  768. "is running."),
  769. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies"}]
  770. string ServiceDependencies[]
  771. );
  772. [MethodSource("ChangeStartMode"),
  773. Implemented,
  774. Description("The ChangeStartMode method modifies the StartMode of a service. It returns "
  775. "an integer value of 0 if the service was successfully modified, 1 if the request is not "
  776. "supported, and any other number to indicate an error."),
  777. MappingStrings{"Service Functions|ChangeServiceConfig|dwStartType"}]
  778. uint32 ChangeStartMode(
  779. [In,
  780. Description("The StartMode parameter passes the start mode of the Win32 base service. "
  781. "\"Boot\" specifies a device driver started by the operating system loader. This value is "
  782. "valid only for driver services. \"System\" specifies a device driver started by the "
  783. "IoInitSystem function. This value is valid only for driver services. \"Automatic\" "
  784. "specifies a service to be started automatically by the service control manager during "
  785. "system startup. \"Manual\" specifies a service to be started by the service control "
  786. "manager when a process calls the StartService function. \"Disabled\" specifies a service "
  787. "that can no longer be started."),
  788. MappingStrings{"Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwStartType"},
  789. Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"},
  790. ValueMap{"Boot", "System", "Automatic", "Manual", "Disabled"}]
  791. string StartMode = "Automatic"
  792. );
  793. [MethodSource("Delete"),
  794. Destructor,
  795. Implemented,
  796. Description("The Delete method deletes an existing service. It returns an integer value "
  797. "of 0 if the service was successfully deleted, 1 if the request is not supported, and any "
  798. "other number to indicate an error."),
  799. MappingStrings{"Win32API|Service Functions|ChangeServiceConfig|DeleteService"}]
  800. uint32 Delete();
  801. };
  802. [Description("The Win32_Service class represents a service on a Win32 computer system. A "
  803. "service application conforms to the interface rules of the Service Control Manager (SCM) "
  804. "and can be started by a user automatically at system boot through the Services control "
  805. "panel utility, or by an application that uses the service functions included in the Win32 "
  806. "API. Services can execute even when no user is logged on to the system."),
  807. union,
  808. ViewSources{"Select * from Win32_Service"},
  809. ViewSpaces{"\\\\.\\root\\cimv2"},
  810. provider("MS_VIEW_INSTANCE_PROVIDER"),
  811. dynamic,
  812. Locale(1033),
  813. UUID("{8502C4D9-5FBB-11D2-AAC1-006008C78BC7}")]
  814. class Win32_Service : Win32_BaseService
  815. {
  816. [read,
  817. PropertySources("CheckPoint"),
  818. Description("The CheckPoint property specifies a value that the service increments "
  819. "periodically to report its progress during a lengthy start, stop, pause, or continue "
  820. "operation. For example, the service should increment this value as it completes each step "
  821. "of its initialization when it is starting up. The user interface program that invoked the "
  822. "operation on the service uses this value to track the progress of the service during a "
  823. "lengthy operation. This value is not valid and should be zero when the service does not "
  824. "have a start, stop, pause, or continue operation pending."),
  825. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwCheckPoint"}]
  826. uint32 CheckPoint;
  827. [read,
  828. PropertySources("WaitHint"),
  829. Description("The WaitHint property specifies the estimated time required (in "
  830. "milliseconds) for a pending start, stop, pause, or continue operation. After the "
  831. "specified amount of time has elapsed, the service makes its next call to the "
  832. "SetServiceStatus function with either an incremented CheckPoint value or a change in "
  833. "CurrentState. If the amount of time specified by WaitHint passes, and CheckPoint has not "
  834. "been incremented, or the CurrentState has not changed, the service control manager or "
  835. "service control program assumes that an error has occurred."),
  836. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS|dwWaitHint"}]
  837. uint32 WaitHint;
  838. [read,
  839. PropertySources("ProcessId"),
  840. Description("The ProcessId property specifies the process identifier of the "
  841. "service.\nExample: 324"),
  842. MappingStrings{"Win32API|Service Structures|SERVICE_STATUS_PROCESS|dwProcessId"}]
  843. uint32 ProcessId;
  844. };
  845. [Abstract, Locale ( 0x409 ) , UUID ( "{120BB700-DB2B-11d2-85FC-0000F8102E5F}" ),
  846. Description(" The CIM_ApplicationSystem class is used to represent an application "
  847. "or a software system that supports a particular business function "
  848. "and that can be managed as an independent units. Such a system "
  849. "can be decomposed into its functional components using the CIM_SoftwareFeature "
  850. "class. The software features for a particular application or "
  851. "software system are located using the CIM_ApplicationSystemSoftwareFeature "
  852. " association. ")]
  853. class CIM_ApplicationSystem: CIM_System
  854. {
  855. };
  856. [Abstract,
  857. Association,
  858. Locale(1033),
  859. UUID("{8502C577-5FBB-11D2-AAC1-006008C78BC7}"),
  860. Description (
  861. "ElementSetting represents the association between Managed"
  862. "SystemElements and the Setting class(es) defined for them.") ]
  863. class CIM_ElementSetting
  864. {
  865. [read,
  866. Description("The Element reference represents the role of the CIM_ManagedSystemElement "
  867. "object of the CIM_ElementSetting association. Role: The associated managed system element "
  868. "provides the element that implements the element setting.")]
  869. CIM_ManagedSystemElement ref Element;
  870. [read,
  871. Description("The CIM_Setting reference represents the role of the CIM_Setting object of "
  872. "the CIM_ElementSetting association. Role: The associated setting provides the setting "
  873. "that implements the element setting.")]
  874. CIM_Setting ref Setting;
  875. };
  876. [Abstract,Locale(1033)]
  877. class IIsStructuredDataClass
  878. {
  879. };
  880. [Abstract,Locale(1033)]
  881. class IIsSetting : CIM_Setting
  882. {
  883. string Name;
  884. };
  885. [Abstract,Locale(1033)]
  886. class IIsDirectory : CIM_LogicalElement
  887. {
  888. [key] string Name;
  889. };
  890. [Abstract, Locale(1033)]
  891. class IIsUserDefinedLogicalElement : CIM_LogicalElement
  892. {
  893. };
  894. [Abstract, Locale(1033)]
  895. class IIsUserDefinedSetting : IIsSetting
  896. {
  897. };
  898. [Abstract, Locale(1033)]
  899. class IIsUserDefinedElementSetting : CIM_ElementSetting
  900. {
  901. };
  902. [Abstract, Locale(1033)]
  903. class IIsUserDefinedComponent : CIM_Component
  904. {
  905. };
  906. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  907. class IIsIPSecuritySetting : IIsSetting
  908. {
  909. [key] string Name;
  910. string IPDeny[];
  911. string IPGrant[];
  912. string DomainDeny[];
  913. string DomainGrant[];
  914. boolean GrantByDefault;
  915. };
  916. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  917. class IIsAdminACL : CIM_LogicalElement
  918. {
  919. [key] string Name;
  920. string Owner;
  921. string Group;
  922. sint32 ControlFlags;
  923. };
  924. [dynamic : ToInstance,provider("IIS__PROVIDER"),Locale(1033)]
  925. class IIsACE : CIM_LogicalElement
  926. {
  927. [key] string Name;
  928. [key] string Trustee;
  929. sint32 AccessMask;
  930. sint32 AceType;
  931. sint32 AceFlags;
  932. sint32 Flags;
  933. string ObjectType;
  934. string InheritedObjectType;
  935. };