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.

315 lines
14 KiB

  1. [Description (
  2. "The Win32_PrivilegesStatus class reports information about privileges required "
  3. "to complete an operation. It may be returned when an operation failed, "
  4. "or when a partially populated instance has been returned."): ToSubClass,
  5. Locale (0x409), UUID ("{BE46D060-7A7C-11d2-BC85-00104B2CF71C}") ]
  6. class Win32_PrivilegesStatus:__ExtendedStatus
  7. {
  8. [read : ToSubClass,
  9. Description ("The PrivilegesNotHeld property indicates required access "
  10. "privileges missing in order to complete an operation. The types of"
  11. "access privileges can be found under the Windows NT Privileges. "
  12. "Example: SE_SHUTDOWN_NAME"): ToSubClass,
  13. MappingStrings {"Win32API|AccessControl|Windows NT Privileges"}: ToSubClass]
  14. string PrivilegesNotHeld[];
  15. [read : ToSubClass,
  16. Description ("The PrivilegesRequired property indicates all "
  17. "privileges required to perform an operation. This includes values "
  18. "from the PrivilegesNotHeld property.\nExample: "
  19. "SE_SHUTDOWN_NAME"): ToSubClass,
  20. MappingStrings {"Win32API|AccessControl|Windows NT Privileges"}: ToSubClass]
  21. string PrivilegesRequired[];
  22. };
  23. [Abstract,
  24. Description ("The Win32_MethodParameter class is a base class for"
  25. "implementation of method parameters derived from this class."): ToSubClass,
  26. Locale (0x409), UUID ("{8502C4DA-5FBB-11D2-AAC1-006008C78BC7}") ]
  27. class Win32_MethodParameterClass
  28. {
  29. };
  30. instance of __Win32Provider as $PINTERNAL
  31. {
  32. Name = "WBEMCORE";
  33. ClsId = "{A83EF168-CA8D-11d2-B33D-00104BCC4B4A}";
  34. ImpersonationLevel = 1;
  35. PerUserInitialization = "FALSE";
  36. HostingModel = "WmiCore";
  37. };
  38. instance of __InstanceProviderRegistration
  39. {
  40. Provider = $PINTERNAL;
  41. SupportsGet = "TRUE";
  42. SupportsPut = "TRUE";
  43. SupportsEnumeration = "TRUE";
  44. };
  45. [Singleton, Dynamic, Provider ("WBEMCORE"),
  46. Description("The Win32_WMISetting class is a Singleton class that "
  47. "contains the operational parameters for the WMI service. "
  48. "Win32_WMISetting can only have one instance. This single instance "
  49. "always exists for each Win32 system, and cannot be deleted. "
  50. "Additional instances cannot be created."): ToSubClass,
  51. Locale (0x409), UUID("{A83EF166-CA8D-11d2-B33D-00104BCC4B4A}") ]
  52. class Win32_WMISetting:CIM_Setting
  53. {
  54. [read: ToSubClass,
  55. Description ("The InstallationDirectory property contains the "
  56. "directory path where the WMI software has been installed. "
  57. "The default location is: \\system32\\wbem."): ToSubClass,
  58. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM|"
  59. "Installation Directory"}: ToSubClass]
  60. string InstallationDirectory;
  61. [read: ToSubClass,
  62. Description ("The BuildVersion property contains version "
  63. "information for the currently installed WMI service."): ToSubClass,
  64. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM|"
  65. "Build"}: ToSubClass]
  66. string BuildVersion;
  67. [read: ToSubClass,
  68. Description ("The MofSelfInstallDirectory property contains the "
  69. "directory path for applications that install MOF files to the CIM "
  70. "repository. WMI automatically compiles any MOF files placed "
  71. "in this directory and, depending on its success, moves the MOF to a "
  72. "subdirectory labeled \"good\" or \"bad\". If the \"autorecover\" "
  73. "pragma is included, the fully qualified file name is added to the "
  74. "AutorecoverMofs list used when WMI is initializing or recovering the "
  75. "repository. The list determines the order in which MOFs are "
  76. "compiled."): ToSubClass,
  77. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM|"
  78. "MOF Self-Install Directory"}: ToSubClass]
  79. string MofSelfInstallDirectory;
  80. [read: ToSubClass,
  81. Description("The AutoRecoverMofs property contains a list of "
  82. "fully qualified MOF file names used to initialize or recover "
  83. "the WMI repository. The list determines the order in which MOFs "
  84. "are compiled."): ToSubClass,
  85. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  86. "Autorecover MOFs"}: ToSubClass]
  87. string AutorecoverMofs[];
  88. [read: ToSubClass, write: ToSubClass,
  89. Description("The AutoStartWin9X property indicates the "
  90. "circumstances under which WMI will start on Win9X systems."): ToSubClass,
  91. Values{"Don't start", "Autostart", "Start on reboot"}: ToSubClass,
  92. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  93. "AutostartWin9X"}: ToSubClass]
  94. uint32 AutoStartWin9X;
  95. [read: ToSubClass, write: ToSubClass,
  96. Description("The EnableAnonWin9xConnections indicates whether "
  97. "remote access without security checking is permitted. This "
  98. "property only applies to Windows 95 and Windows 98 systems."): ToSubClass,
  99. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  100. "EnableAnonConnections"}: ToSubClass]
  101. boolean EnableAnonWin9xConnections;
  102. [read: ToSubClass, write: ToSubClass, Units ("Bytes"): ToSubClass,
  103. Description("The MaxLogFileSize property indicates the maximum size "
  104. "of the log files produced by the WMI service."): ToSubClass,
  105. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  106. "Log File Max Size"}: ToSubClass]
  107. uint32 MaxLogFileSize;
  108. [read: ToSubClass, write: ToSubClass,
  109. Description("The LoggingLevel property indicates whether "
  110. "event logging is enabled and the verbosity level of logging "
  111. "used."): ToSubClass,
  112. Values {"Off", "Error logging", "Verbose Error logging"}: ToSubClass,
  113. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  114. "Logging"}: ToSubClass]
  115. uint32 LoggingLevel;
  116. [read: ToSubClass, write: ToSubClass,
  117. Description("The LoggingDirectory property specifies the "
  118. "directory path containing the location of the WMI system "
  119. "log files."): ToSubClass,
  120. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  121. "Logging Directory"}: ToSubClass]
  122. string LoggingDirectory;
  123. [read: ToSubClass,
  124. Description("The DatabaseDirectory property specifies the directory "
  125. "path containing the WMI repository."): ToSubClass,
  126. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  127. "Repository Directory"}: ToSubClass]
  128. string DatabaseDirectory;
  129. [read: ToSubClass, Units ("Kilobytes"): ToSubClass,
  130. Description("The DatabaseMaxSize property specifies the maximum size "
  131. "of the WMI repository."): ToSubClass,
  132. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  133. "Max DB Size"}: ToSubClass]
  134. uint32 DatabaseMaxSize;
  135. [read: ToSubClass, write: ToSubClass, Units ("Minutes"): ToSubClass,
  136. Description("The BackupInterval property specifies the length of time "
  137. "that will elapse between backups of the WMI database."): ToSubClass,
  138. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  139. "Backup Interval Threshold"}: ToSubClass]
  140. uint32 BackupInterval;
  141. [read: ToSubClass, write: ToSubClass,
  142. Description("The BackupLastTime property specifies the date and time "
  143. "the last backup was performed."): ToSubClass,
  144. MappingStrings {"Win32API|Time Functions|"
  145. "GetTimeZoneInformation"}: ToSubClass]
  146. datetime BackupLastTime;
  147. [read: ToSubClass, write: ToSubClass,
  148. Description("The ASPScriptEnabled property indicates whether WMI "
  149. "scripting can be used on Active Server Pages (ASP). This property "
  150. "is valid on Windows NT 4.0 systems only. For Windows 2000 systems, "
  151. "WMI scripting is always allowed on ASP."): ToSubClass,
  152. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\scripting|"
  153. "Enable for ASP"}: ToSubClass]
  154. boolean ASPScriptEnabled;
  155. [read: ToSubClass, write: ToSubClass,
  156. Description("The ASPScriptDefaultNamespace property contains the namespace "
  157. "used by calls from the script API if none is specified by the "
  158. "caller."): ToSubClass,
  159. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\scripting|"
  160. "Default Namespace"}: ToSubClass]
  161. string ASPScriptDefaultNamespace = "\\\\root\\cimv2";
  162. [read: ToSubClass, write: ToSubClass,
  163. Description("The EnableEvents property indicates whether the WMI "
  164. "event subsystem should be enabled.\nValues: TRUE or FALSE, If TRUE,"
  165. "then the event subsystem is enabled."): ToSubClass,
  166. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  167. "EnableEvents"}: ToSubClass]
  168. boolean EnableEvents;
  169. [read: ToSubClass, write: ToSubClass,
  170. Units ("Objects per second"): ToSubClass,
  171. Description("The HighThresholdOnClientObjects property specifies the "
  172. "maximum rate provider created objects can be delivered "
  173. "to clients. To accommodate speed differentials between providers and clients, WMI holds objects in queues before delivering "
  174. "them to consumers."
  175. ". WMI slows down the addition of "
  176. "new objects into the queue when the low threshold is reached. If "
  177. "this does not help, and high threshold (specified by this property) "
  178. "is reached, WMI will accept no more objects from providers and "
  179. "return WBEM_E_OUT_OF_MEMORY to the clients."): ToSubClass,
  180. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  181. "High Threshold On Client Objects"}: ToSubClass]
  182. uint32 HighThresholdOnClientObjects;
  183. [read: ToSubClass, write: ToSubClass,
  184. Units ("Objects per second"): ToSubClass,
  185. Description("The LowThresholdOnClientObjects property specifies "
  186. "the rate at which WMI will start to slow the creation of new objects "
  187. "created for clients. To accommodate speed differentials between providers and clients, WMI holds objects in queues before delivering "
  188. "them to consumers."
  189. ". If the rate of requests for objects "
  190. "grows out of control, WMI gradually slows down the creation of new "
  191. "objects to match the client's rate of use. This slowdown starts "
  192. "when the rate at which objects are being created exceeds the value "
  193. "of this property. The slowdown continues until equilibrium "
  194. "is achieved, or the high threshold is reached."): ToSubClass,
  195. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  196. "Low Threshold On Client Objects"}: ToSubClass]
  197. uint32 LowThresholdOnClientObjects;
  198. [read: ToSubClass, write: ToSubClass, Units("Milliseconds"): ToSubClass,
  199. Description("The MaxWaitOnClientObjects property specifies "
  200. "the amount of time a newly created object waits to be used by "
  201. "the client before it is discarded and an error value is "
  202. "returned."): ToSubClass,
  203. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  204. "Max Wait On Events"}: ToSubClass]
  205. uint32 MaxWaitOnClientObjects;
  206. [read: ToSubClass, write: ToSubClass,
  207. Units ("Events per second"): ToSubClass,
  208. Description("The HighThresholdOnEvents property specifies the "
  209. "maximum rate at which events are to be delivered to clients. To accommodate speed differentials between providers and clients, WMI queues "
  210. "events before delivering them to consumers."
  211. ". WMI slows down "
  212. "the addition of new events into the queue when the low threshold "
  213. "is reached. If this does not help, and high threshold (specified "
  214. "by this property) is reached, WMI will accept no more events "
  215. "from providers and return WBEM_E_OUT_OF_MEMORY to the "
  216. "clients."): ToSubClass,
  217. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  218. "High Threshold On Events"}: ToSubClass]
  219. uint32 HighThresholdOnEvents;
  220. [read: ToSubClass, write: ToSubClass,
  221. Units ("Events per second"): ToSubClass,
  222. Description("The LowThresholdOnEvents property specifies "
  223. "the rate at which WMI will start to slow the delivery of new events. "
  224. "to accommodate speed differentials between providers and clients, WMI queues events before delivering them to consumers."
  225. " If the queue grows out of control, WMI slows down "
  226. "the delivery of events gradually to get them in line "
  227. "with the client's rate . This slowdown starts when the rate at "
  228. "which events are generated exceeds the value of the this "
  229. "property. The slowdown continues until either the equilibrium is achieved, "
  230. "or the high threshold is reached."): ToSubClass,
  231. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  232. "Low Threshold On Events"}: ToSubClass]
  233. uint32 LowThresholdOnEvents;
  234. [read: ToSubClass, write: ToSubClass, Units("Milliseconds"): ToSubClass,
  235. Description("The MaxWaitOnEvents property specifies the amount "
  236. "of time an event sent to a client is queued before being "
  237. "discarded."): ToSubClass,
  238. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  239. "Max Wait On Events"}: ToSubClass]
  240. uint32 MaxWaitOnEvents;
  241. [read: ToSubClass, write: ToSubClass,
  242. Description("The EnableStartupHeapPreallocation property indicates "
  243. "whether WMI will start with a pre-allocated heap.\nValues: TRUE "
  244. "or FALSE. If TRUE, then a pre-allocated heap with the size of "
  245. "LastStartupHeapPreallocation is created when WMI is "
  246. "initialized."): ToSubClass,
  247. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  248. "EnableStartupHeapPreallocation"}: ToSubClass]
  249. boolean EnableStartupHeapPreallocation;
  250. [read: ToSubClass, Units ("Bytes"): ToSubClass,
  251. Description("The LastStartupHeapPreallocation property "
  252. "specifies the size of the pre-allocated heap created by WMI "
  253. "during initialization."): ToSubClass,
  254. MappingStrings {"Win32Registry|Software\\Microsoft\\WBEM\\CIMOM|"
  255. "LastStartupHeapPreallocation"}: ToSubClass]
  256. uint32 LastStartupHeapPreallocation;
  257. };
  258. [Dynamic, Provider ("WBEMCORE") ,
  259. Description ("The Win32_WMIElementSetting class represents an "
  260. "association between a service running in the Win32 system, and "
  261. "the WMI settings it can use."): ToSubClass,
  262. Locale (0x409), UUID ("{A83EF167-CA8D-11d2-B33D-00104BCC4B4A}") ]
  263. class Win32_WMIElementSetting:CIM_ElementSetting
  264. {
  265. [read: ToSubClass, key: ToSubClass, Override ("Element"): ToSubClass,
  266. Description ("The Element reference in the Win32_WMIElementSetting "
  267. "association, represents the Win32 service using or surfacing "
  268. "WMI properties."): ToSubClass,
  269. MappingStrings {"WMI|Win32_Service"}: ToSubClass]
  270. Win32_Service REF Element;
  271. [read: ToSubClass, key: ToSubClass, Override ("Setting"): ToSubClass,
  272. Description ("The Setting reference in the Win32_WMIElementSetting "
  273. "association, represents the WMI settings available to the Win32 "
  274. "service."): ToSubClass,
  275. MappingStrings {"WMI|Win32_WMISetting"}: ToSubClass]
  276. Win32_WMISetting REF Setting;
  277. };