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.

158 lines
6.5 KiB

  1. // � 1998-1999 Microsoft Corporation. All rights reserved.
  2. #pragma autorecover
  3. #pragma classflags("forceupdate")
  4. #pragma namespace ("\\\\.\\Root")
  5. instance of __Namespace
  6. {
  7. Name = "CIMV2";
  8. };
  9. #pragma namespace ("\\\\.\\Root\\CIMV2")
  10. instance of __Win32Provider as $PINTERNAL
  11. {
  12. Name = "WBEMCORE";
  13. ClsId = "{A83EF168-CA8D-11d2-B33D-00104BCC4B4A}";
  14. ImpersonationLevel = 1;
  15. PerUserInitialization = "FALSE";
  16. HostingModel = "LocalSystemHost";
  17. };
  18. instance of __InstanceProviderRegistration
  19. {
  20. Provider = $PINTERNAL;
  21. SupportsGet = "TRUE";
  22. SupportsPut = "TRUE";
  23. SupportsEnumeration = "TRUE";
  24. };
  25. Qualifier Read: ToSubClass;
  26. Qualifier Write: ToSubClass;
  27. Qualifier Description: ToSubClass;
  28. Qualifier Override: ToSubclass;
  29. [singleton, Dynamic, Provider ("WBEMCORE") ,
  30. Locale (0x409), UUID("{A83EF166-CA8D-11d2-B33D-00104BCC4B4A}"),
  31. Description("Instances of the Win32_WMISetting class represent operational parameters "
  32. "for the WMI service.") ]
  33. class Win32_WMISetting:CIM_Setting
  34. {
  35. [read, Description("The InstallationDirectory is the directory in which the "
  36. "WMI software has been installed - this is normally \\system32\\wbem.")]
  37. string InstallationDirectory;
  38. [read, Description("The BuildVersion is the version number used in the compilation "
  39. "of the winmgmt.dll.")]
  40. string BuildVersion;
  41. [read, Description("Any mof files contained in the MofSDelfInstallDirectory "
  42. "that contain the autorecover pragma will be compiled into the WMI repository any time "
  43. "the repository is initialized or recovered.")]
  44. string MofSelfInstallDirectory;
  45. [read, Description("The AutoRecoverMofs are mof files that are present in the "
  46. "MofSelfInstallDirectory that have the autorecover pragma in them.")]
  47. string AutorecoverMofs[];
  48. [read, write, Description("AutoStartWin9X indictaes the cricumstances "
  49. "under which the WMI will start on Win9X systems"),
  50. Values{"don't start", "autostart", "start on reboot"}]
  51. uint32 AutoStartWin9X;
  52. [read, write, Description("EnableAnonWin9xConnections on win9x systems which "
  53. "are running with share level security allows remote access without any checking.")]
  54. boolean EnableAnonWin9xConnections;
  55. [read, write, Description("The MaxLogFileSize provides the maximum size of each of "
  56. "the log files produced by the WMI service")]
  57. uint32 MaxLogFileSize;
  58. [read, write, Description("The LoggingLevel enables various levels of logging"),
  59. Values{}]
  60. uint32 LoggingLevel;
  61. [read, write, Description("The LoggingDirectory is the directory that "
  62. "contains the WMI system log files")]
  63. string LoggingDirectory;
  64. [read, Description("The DatabaseDirectory is the directory that "
  65. "contains the WMI repository")]
  66. string DatabaseDirectory;
  67. [read, Description("The DatabaseInitialSize is the size of the WMI repository "
  68. "when it is first created"), Units("Kilobytes")]
  69. uint32 DatabaseInitialSize;
  70. [read,Description("The DatabaseMaxSize is the maximum size of the WMI "
  71. "repository."), Units("Kilobytes")]
  72. uint32 DatabaseMaxSize;
  73. [read, write, Description("The DatabaseGrowSize is the amount of space added to "
  74. "repository when the current size is exceeded."), Units("Kilobytes")]
  75. uint32 DatabaseGrowBySize;
  76. [read, write, Description("The BackupInterval is the amount of time that will elapse "
  77. "between backups of the WMI database."), Units("Seconds")]
  78. uint32 BackupInterval;
  79. [read, write, Description("The BackupLastTime is the date and time that the last "
  80. "backup was performed.")]
  81. datetime BackupLastTime;
  82. [read, write, Description("The ASPScriptEnabled is the ...")]
  83. boolean ASPScriptEnabled;
  84. [read, write, Description("The ASPScriptDefaultNamespace is the namespace that calls to "
  85. "the script API will use if none is specified by the caller")]
  86. string ASPScriptDefaultNamespace = "\\\\root\\cimv2";
  87. [read, write, Description("The EnableEvents value determines whether the event subsystem "
  88. "should be enabled or not")]
  89. boolean EnableEvents;
  90. [read, write, Description("The HighThresholdOnClientObjects value provides the number of "
  91. "instances after which WMI will start rejecting instances from providers. The value is "
  92. "expressed as number of objects per second and represents the maximum rate at which WMI "
  93. "will deliver instances to clients.")]
  94. uint32 HighThresholdOnClientObjects;
  95. [read, write, Description("The LowThresholdOnClientObjects value provides the number of "
  96. "instances after which WMI will start slowing down instances from providers. The value is "
  97. "expressed as number of objects per second.")]
  98. uint32 LowThresholdOnClientObjects;
  99. [read, write, Description("The MaxWaitOnClientObjects is the slow down factor used when "
  100. "the HighThreshold value is reached."), Units("Milliseconds")]
  101. uint32 MaxWaitOnClientObjects;
  102. [read, write, Description("The HighThresholdOnEvents value provides the number of "
  103. "instances after which WMI will start rejecting instances from providers. The value is "
  104. "expressed as number of objects per second and represents the maximum rate at which WMI "
  105. "will deliver event instances to clients.")]
  106. uint32 HighThresholdOnEvents;
  107. [read, write, Description("The LowThresholdOnEvents value provides the number of "
  108. "instances after which WMI will start slowing down event instances from providers. The value is "
  109. "expressed as number of objects per second.")]
  110. uint32 LowThresholdOnEvents;
  111. [read, write, Description("The MaxWaitOnEvents is the slow down factor used when "
  112. "the HighThreshold value is reached."), Units("Milliseconds")]
  113. uint32 MaxWaitOnEvents;
  114. };
  115. [Dynamic, Provider ("WBEMCORE") ,
  116. Locale (0x409), UUID ("{A83EF167-CA8D-11d2-B33D-00104BCC4B4A}") ]
  117. class Win32_WMIElementSetting:CIM_ElementSetting
  118. {
  119. [read, key, Override ("Element")]
  120. Win32_Service REF Element;
  121. [read, key, Override ("Setting")]
  122. Win32_WMISetting REF Setting;
  123. };
  124. /*
  125. [Dynamic, Provider ("WBEMCORE") ,
  126. Locale (0x409), UUID("{A83EF166-CA8D-11d2-B33D-00104BCC4B4A}"),
  127. Description("The instances of the WMIModuleUnloadTimeoutSetting provide unload timeouts "
  128. "for individual modules within the WMI service")]
  129. class Win32_WMIModuleUnloadTimeoutSetting : CIM_Setting
  130. {
  131. [key] string ModuleTypeName;
  132. [interval] datetime UnloadAfter;
  133. };
  134. [Dynamic, Provider ("WBEMCORE") ,
  135. Locale (0x409), UUID ("{A83EF167-CA8D-11d2-B33D-00104BCC4B4A}") ]
  136. class Win32_WMIModuleUnloadTimeoutElementSetting : CIM_ElementSetting
  137. {
  138. [read, key, Override ("Element")]
  139. Win32_Service REF Element;
  140. [read, key, Override ("Setting")]
  141. Win32_WMIModuleUnloadTimeoutElementSetting REF Setting;
  142. };
  143. */