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.
6091 lines
282 KiB
6091 lines
282 KiB
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"), SupportsUpdate,
|
|
Description ("The Win32_ComputerSystem class represents a computer "
|
|
"system operating in a Win32 environment."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4B0-5FBB-11D2-AAC1-006008C78BC7}")]
|
|
class Win32_ComputerSystem:CIM_UnitaryComputerSystem
|
|
{
|
|
[Read: ToSubClass,
|
|
Write,
|
|
Description ("The AutomaticResetBootOption property determines whether "
|
|
"the automatic reset boot option is enabled, i.e. whether the "
|
|
"machine will try to reboot after a system failure."
|
|
"\nValues: TRUE or FALSE. "
|
|
"If TRUE, the automatic reset boot option is enabled."): ToSubClass,
|
|
MappingStrings {"Win32Registry|HKEY_LOCAL_MACHINE\\SYSTEM\\"
|
|
"CurrentControlSet\\Control\\CrashControl|AutoReboot"}: ToSubClass]
|
|
boolean AutomaticResetBootOption ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The AutomaticResetCapability property determines whether "
|
|
"the auto reboot "
|
|
"feature is available with this machine. This capability is available on Windows NT "
|
|
"but not on Windows 95.\nValues: TRUE or FALSE. If TRUE, the "
|
|
"automatic reset is enabled."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
boolean AutomaticResetCapability ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The BootROMSupported property determines whether a "
|
|
"boot ROM is supported.\nValues are TRUE or FALSE. If BootROMSupported "
|
|
"equals TRUE, then a boot ROM is supported."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
boolean BootROMSupported ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The BootupState property specifies how the system was "
|
|
"started. Fail-safe boot (also called SafeBoot) bypasses the user's "
|
|
"startup files. \nConstraints: Must have a value."): ToSubClass,
|
|
MappingStrings {"Win32API|GetSystemMetrics|SM_CLEANBOOT"}: ToSubClass,
|
|
Values {"Normal boot", "Fail-safe boot", "Fail-safe with network boot"}: ToSubClass]
|
|
string BootupState ;
|
|
|
|
[Read: ToSubClass,
|
|
Write,
|
|
Units ("Minutes"): ToSubClass,
|
|
Description ("The CurrentTimeZone property indicates the amount "
|
|
"of time the unitary computer system is offset from Coordinated "
|
|
"Universal Time."): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|Bias"}: ToSubClass]
|
|
sint16 CurrentTimeZone ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The DNSHostName property indicates the DNS host name of the local "
|
|
"computer."): ToSubClass,
|
|
MappingStrings {"Win32API|GetComputerNameEx|ComputerNameDnsHostname"}]
|
|
string DNSHostName ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The Domain property indicates the name of the domain "
|
|
"to which the computer belongs."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"WKSTA_INFO_100|wki100_langroup"}]
|
|
string Domain ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The InfraredSupported property determines whether an "
|
|
"infrared (IR) port exists on the computer system.\nValues are TRUE "
|
|
"or FALSE. If InfraredSupported equals TRUE, then an IR port exists."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
boolean InfraredSupported ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The Manufacturer property indicates the name of the "
|
|
"computer manufacturer.\nExample: Acme"): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 1|System Information|Manufacturer"}: ToSubClass]
|
|
string Manufacturer ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The Model property indicates the product name "
|
|
"of the computer given by the manufacturer."): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 1|System Information|Product Name" }: ToSubClass]
|
|
string Model ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The NetworkServerModeEnabled property determines "
|
|
"whether Network Server Mode is enabled.\nValues: TRUE or FALSE. "
|
|
"If TRUE, Network Server Mode is enabled."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SERVER_INFO_101|sv101_type|SV_TYPE_SERVER" }: ToSubClass]
|
|
boolean NetworkServerModeEnabled ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The OEMLogoBitmap array holds the data for a bitmap "
|
|
"created by the OEM."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
uint8 OEMLogoBitmap[] ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The SupportContactDescription property is an array "
|
|
"that indicates the support contact information for the Win32 "
|
|
"computer system."): ToSubClass,
|
|
MappingStrings {"Win32API|GetPrivateProfileString|Support Information"}: ToSubClass]
|
|
string SupportContactDescription[] ;
|
|
|
|
[Read: ToSubClass, write: ToSubClass, units ("Seconds"): ToSubClass,
|
|
Privileges{"SeSystemEnvironmentPrivilege"}: ToSubClass,
|
|
Description ("The SystemStartupDelay property indicates the time to "
|
|
"delay before starting the operating system\n"
|
|
"\nNote: The SE_SYSTEM_ENVIRONMENT privilege is required on IA64bit machines. "
|
|
"This privilege is not required for 32bit systems."): ToSubClass,
|
|
MappingStrings {"Win32API|GetPrivateProfileInt|Boot Loader|timeout"}: ToSubClass]
|
|
uint16 SystemStartupDelay ;
|
|
|
|
[Read: ToSubClass, Write: ToSubClass,
|
|
Privileges{"SeSystemEnvironmentPrivilege"}: ToSubClass,
|
|
Description ("The SystemStartupOptions property array indicates the "
|
|
"options for starting up the computer system. Note that this property "
|
|
"is not writable on IA64 bit machines. \n"
|
|
"Constraints: Must have a value.\n"
|
|
"\nNote: The SE_SYSTEM_ENVIRONMENT privilege is required on IA64bit machines. "
|
|
"This privilege is not required for other systems."): ToSubClass,
|
|
MappingStrings {"Win32API|GetPrivateProfileSection|Operating Systems"}: ToSubClass]
|
|
string SystemStartupOptions[] ;
|
|
|
|
[Read: ToSubClass, write: ToSubClass,
|
|
Privileges{"SeSystemEnvironmentPrivilege"}: ToSubClass,
|
|
Description ("The SystemStartupSetting property indicates the index "
|
|
"of the default start profile. This value is 'calculated' so that "
|
|
"it usually returns zero (0) because at write-time, the profile "
|
|
"string is physically moved to the top of the list. (This is how "
|
|
"Windows NT determines which value is the default.)\n"
|
|
"\nNote: The SE_SYSTEM_ENVIRONMENT privilege is required on IA64bit machines. "
|
|
"This privilege is not required for 32bit systems."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
uint8 SystemStartupSetting ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The SystemType property indicates the type of "
|
|
"system running on the Win32 computer.\nConstraints: Must "
|
|
"have a value"): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Structures|SYSTEM_INFO|"
|
|
"wProcessorArchitecture"}: ToSubClass,
|
|
Values {"X86-based PC", "MIPS-based PC", "Alpha-based PC",
|
|
"Power PC", "SH-x PC", "StrongARM PC", "64-bit Intel PC",
|
|
"AMD64-based PC","Unknown", "X86-Nec98 PC"}: ToSubClass,
|
|
ValueMap {"X86-based PC", "MIPS-based PC", "Alpha-based PC",
|
|
"Power PC", "SH-x PC", "StrongARM PC", "64-bit Intel PC",
|
|
"AMD64-based PC","Unknown", "X86-Nec98 PC"}: ToSubClass]
|
|
string SystemType ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The UserName property indicates the name of the "
|
|
"currently-logged-on user.\nConstraints: Must have a value. "
|
|
"\nExample: johnsmith"): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Functions|"
|
|
"GetUserName"}: ToSubClass]
|
|
string UserName ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The DomainRole property indicates the role this "
|
|
"computer plays within its assigned domain-workgroup. The "
|
|
"domain-workgroup is a collection of computers on the same network. "
|
|
"For example, the DomainRole property may show this computer is a "
|
|
"\"Member Workstation\" (value of [1])."): ToSubClass,
|
|
MappingStrings {"Win32API|Directory Service (Ds) Structures| "
|
|
"DSROLE_PRIMARY_DOMAIN_INFO_BASIC|DSROLE_MACHINE_ROLE| "
|
|
"MachineRole"}: ToSubClass,
|
|
Values {"Standalone Workstation", "Member Workstation",
|
|
"Standalone Server", "Member Server", "Backup Domain Controller",
|
|
"Primary Domain Controller"}: ToSubClass]
|
|
uint16 DomainRole;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The WakeUpType property indicates the event that "
|
|
"caused the system to power up."): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 1|System Information|Wake-up Type"}: ToSubClass,
|
|
Values {"Reserved", "Other", "Unknown", "APM Timer", "Modem Ring",
|
|
"LAN Remote", "Power Switch", "PCI PME#", "AC Power Restored"}: ToSubClass]
|
|
uint16 WakeUpType;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("This structure contains free form strings defined "
|
|
"by the OEM. Examples of this are: Part Numbers for Reference "
|
|
"Documents for the system, contact information for the "
|
|
"manufacturer, etc."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 11|OEM Strings" }: ToSubClass]
|
|
string OEMStringArray[];
|
|
|
|
[Read: ToSubClass,
|
|
Description ( "Boot Option on Limit. Identifies the system action to "
|
|
"be taken when the Reset Limit is reached."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 23|Capabilites|Boot Option on "
|
|
"Limit" }: ToSubClass,
|
|
Values {"Reserved", "Operating system", "System utilities",
|
|
"Do not reboot"}: ToSubClass]
|
|
uint16 BootOptionOnLimit;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The BootOptionOnWatchDog Property indicates the type "
|
|
"of re-boot action to be taken after the time on the watchdog timer "
|
|
"has elapsed."): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 23|Capabilities|Boot Option"}: ToSubClass,
|
|
Values {"Reserved", "Operating system", "System utilities",
|
|
"Do not reboot"}: ToSubClass]
|
|
uint16 BootOptionOnWatchDog;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The ResetCount property indicates the number of "
|
|
"automatic resets since the last intentional reset. A value of "
|
|
"-1 indicates that the count is unknown."): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 23|System Reset|Reset Count"}: ToSubClass]
|
|
sint16 ResetCount;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The ResetLimit property indicates the number of "
|
|
"consecutive time the system reset will be attempted. A value of -1 "
|
|
"indicates that the limit is unknown"): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 23|System Reset| "
|
|
"Reset Limit" }: ToSubClass]
|
|
sint16 ResetLimit;
|
|
|
|
[Read: ToSubClass, Units ("Milliseconds"): ToSubClass,
|
|
Description ( "The PauseAfterReset property identifies the time "
|
|
"delay before the reboot is initiated. It is used after a system "
|
|
"power cycle, system reset (local or remote), and automatic system "
|
|
"reset. A value of -1 indicates that the pause value is "
|
|
"unknown"): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 23|Timeout" }: ToSubClass]
|
|
sint64 PauseAfterReset;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The PowerOnPasswordStatus property identifies the "
|
|
"system-wide hardware security settings for Power On Password "
|
|
"Status."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 24|Hardware Security Settings|"
|
|
"PowerOnPasswordStatus" }: ToSubClass,
|
|
Values {"Disabled", "Enabled", "Not Implemented",
|
|
"Unknown"}: ToSubClass]
|
|
uint16 PowerOnPasswordStatus;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The KeyboardPasswordStatus property identifies the "
|
|
"system-wide hardware security settings for Keyboard Password "
|
|
"Status."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 24|Hardware Security Settings|"
|
|
"KeyboardPasswordStatus" }: ToSubClass,
|
|
Values {"Disabled", "Enabled", "Not Implemented",
|
|
"Unknown"}: ToSubClass]
|
|
uint16 KeyboardPasswordStatus;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The AdminPasswordStatus property identifies the "
|
|
"system-wide hardware security settings for Administrator "
|
|
"Password Status."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 24|Hardware Security Settings|"
|
|
"AdminPasswordStatus" }: ToSubClass,
|
|
Values {"Disabled", "Enabled", "Not Implemented",
|
|
"Unknown"}: ToSubClass]
|
|
uint16 AdminPasswordStatus;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The FrontPanelResetStatus property identifies "
|
|
"the hardware security settings for the reset button on the "
|
|
"machine."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 24|Hardware Security Settings|"
|
|
"FrontPanelResetStatus" }: ToSubClass,
|
|
Values{"Disabled", "Enabled", "Not Implemented",
|
|
"Unknown"}: ToSubClass]
|
|
uint16 FrontPanelResetStatus;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The ChassisBootupState property indicates the "
|
|
"enclosure's bootup state."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 3|Bootup State" }: ToSubClass,
|
|
Values {"Other", "Unknown", "Safe", "Warning", "Critical",
|
|
"Non-recoverable"}: ToSubClass,
|
|
ValueMap {"1", "2", "3", "4", "5", "6" }: ToSubClass]
|
|
uint16 ChassisBootupState;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The PowerSupplyState identifies the state "
|
|
"of the enclosure's power supply (or supplies) when last "
|
|
"booted."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 3|System Enclosure or Chassis|"
|
|
"Power Supply State" }: ToSubClass,
|
|
Values {"Other", "Unknown", "Safe", "Warning", "Critical",
|
|
"Non-recoverable"}: ToSubClass,
|
|
ValueMap {"1", "2", "3", "4", "5", "6" }: ToSubClass]
|
|
uint16 PowerSupplyState;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The ThermalState property identifies the enclosure's "
|
|
"thermal state when last booted."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 3|System Enclosure or Chassis|"
|
|
"Thermal State" }: ToSubClass,
|
|
Values {"Other", "Unknown", "Safe", "Warning", "Critical",
|
|
"Non-recoverable"}: ToSubClass,
|
|
ValueMap {"1", "2", "3", "4", "5", "6" }: ToSubClass]
|
|
uint16 ThermalState;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The DaylightInEffect property specifies if the "
|
|
"daylight savings is in effect. \n"
|
|
"Values: TRUE or FALSE. If TRUE, daylight savings is "
|
|
"presently being observed. In most cases this means that "
|
|
"the current time is one hour earlier than the standard time."): ToSubClass,
|
|
MappingStrings {"Win32API|Time Functions|"
|
|
"GetTimeZoneInformation"}: ToSubClass]
|
|
boolean DaylightInEffect ;
|
|
|
|
[Description("The EnableDaylightSavingsTime property indicates "
|
|
"whether Daylight Savings Time is recognized on this machine. "
|
|
"FALSE - time does not move an hour ahead or behind in the year. "
|
|
"NULL - the status of DST is unknown on this system"),
|
|
Write]
|
|
boolean EnableDaylightSavingsTime;
|
|
|
|
[Read: ToSubClass,
|
|
Description("The NumberOfProcessors property indicates the number "
|
|
"of processors currently available on the system. This is the number "
|
|
"of processors whose status is \"enabled\" - versus simply the number "
|
|
"of processors for the computer system. The former can be determined "
|
|
"by enumerating the number of processor instances associated with the "
|
|
"computer system object, using the Win32_ComputerSystemProcessor "
|
|
"association."): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Structures|SYSTEM_INFO|"
|
|
"dwNumberOfProcessors"}: ToSubClass]
|
|
uint32 NumberOfProcessors;
|
|
|
|
[Read: ToSubClass, Units ("Bytes"): ToSubClass,
|
|
Description ("The TotalPhysicalMemory property indicates the total "
|
|
"size of physical memory.\nExample: 67108864"): ToSubClass,
|
|
MappingStrings {"Win32API|Memory Management Structures|MEMORYSTATUS|"
|
|
"dwTotalPhys"}: ToSubClass]
|
|
uint64 TotalPhysicalMemory ;
|
|
|
|
[Read,
|
|
Description ("The PartOfDomain property indicates whether the "
|
|
"computer is part of a domain or workgroup. If TRUE, the computer "
|
|
"is part of a domain. If FALSE, the computer is part of a "
|
|
"workgroup. If NULL, the computer is not part of a network "
|
|
"group, or is unknown."),
|
|
MappingStrings {""}]
|
|
boolean PartOfDomain;
|
|
|
|
[Read,
|
|
Write,
|
|
Description ("The Workgroup property contains the name of the "
|
|
"workgroup. This value is only valid if the PartOfDomain "
|
|
"property is FALSE."),
|
|
MappingStrings {""}]
|
|
string Workgroup;
|
|
|
|
[Implemented,
|
|
Description ("The Rename method is used to change the name of a computer "
|
|
"either in a workgroup or a domain. When working remotely, the Rename "
|
|
"method does not function for Windows XP Home Edition or on Professional "
|
|
"Edition (workgroup only). It should be noted that, for any computer in "
|
|
"a domain (except the Domain Controller, since it can authenticate itself), "
|
|
"delegation is required as a second hop is needed from the machine being "
|
|
"remoted over to the Domain Controller for authentication. There are no "
|
|
"restrictions for local cases. \n"
|
|
"If the Password and Username parameters are specified, then the connection "
|
|
"to winmgmt must use a high authentication level (i.e. no less "
|
|
"than RPC_C_AUTHN_LEVEL_PKT_PRIVACY) when they connect to winmgmt "
|
|
"(i.e. in the call to obtain the IWbemServices interface) or SetProxyBlanket "
|
|
"on their IWbemServices ptr. If they are local to winmgmt then this "
|
|
"is not a concern because their authentication level is as good as "
|
|
"RPC_C_AUTHN_LEVEL_PKT_PRIVACY as well as their client request never "
|
|
"goes over the wire to get to the winmgmt. \n"
|
|
"If Password and Username are left null, the provider does not care. \n"
|
|
"If the provider determines that the authentication level is too low "
|
|
"and a Password or Username has been specified then "
|
|
"WBEM_E_ENCRYPTED_CONNECTION_REQUIRED will be returned. \n"
|
|
"The method can return the following values: \n"
|
|
"0 - Success. Reboot required. \n"
|
|
"Other - For integer values other than those listed above, refer to "
|
|
"Win32 error code documentation."),
|
|
Values{ "Success", "Other" },
|
|
ValueMap{ "0", ".." } ]
|
|
uint32 Rename(
|
|
[In,
|
|
Description ("The Name parameter specifies the new name. "
|
|
"The name cannot include control characters, leading or "
|
|
"trailing spaces, or any of the following characters: "
|
|
" / \\ [ ] : | < > + = ; , ? ")]
|
|
string Name,
|
|
|
|
[In,
|
|
Description ("If the UserName parameter specifies an account name, "
|
|
"the Password parameter must point to the password to use when "
|
|
"connecting to the domain controller. Otherwise, this parameter "
|
|
"must be NULL. \n"
|
|
"Password and Username must use a high authentication level (i.e. no less "
|
|
"than RPC_C_AUTHN_LEVEL_PKT_PRIVACY) when they connect to winmgmt "
|
|
"(i.e. in the call to obtain the IWbemServices interface) or SetProxyBlanket "
|
|
"on their IWbemServices ptr. If they are local to winmgmt then this "
|
|
"is not a concern because their authentication level is as good as "
|
|
"RPC_C_AUTHN_LEVEL_PKT_PRIVACY as well as their client request never "
|
|
"goes over the wire to get to the winmgmt. \n"
|
|
"If Password and Username are left null, the provider does not care. \n"
|
|
"If the provider determines that the authentication level is too low "
|
|
"and a Password or Username has been specified then "
|
|
"WBEM_E_ENCRYPTED_CONNECTION_REQUIRED will be returned. \n"
|
|
"This parameter is only used for domain renames on Windows 2000 "
|
|
"platforms and beyond. ")]
|
|
string Password,
|
|
[In,
|
|
Description ("The Username parameter is a pointer to a constant "
|
|
"null-terminated character string that specifies the account name "
|
|
"to use when connecting to the domain controller. The string must "
|
|
"specify either a domain NetBIOS name and user account (for "
|
|
"example, \"REDMOND\\user\") or the user principal name (UPN) of the "
|
|
"user in the form of an Internet-style login name (for example, "
|
|
"\"[email protected]\"). If this parameter is NULL, the caller's "
|
|
"context is used. \n"
|
|
"Password and Username must use a high authentication level (i.e. no less "
|
|
"than RPC_C_AUTHN_LEVEL_PKT_PRIVACY) when they connect to winmgmt "
|
|
"(i.e. in the call to obtain the IWbemServices interface) or SetProxyBlanket "
|
|
"on their IWbemServices ptr. If they are local to winmgmt then this "
|
|
"is not a concern because their authentication level is as good as "
|
|
"RPC_C_AUTHN_LEVEL_PKT_PRIVACY as well as their client request never "
|
|
"goes over the wire to get to the winmgmt. \n"
|
|
"If Password and Username are left null, the provider does not care. \n"
|
|
"If the provider determines that the authentication level is too low "
|
|
"and a Password or Username has been specified then "
|
|
"WBEM_E_ENCRYPTED_CONNECTION_REQUIRED will be returned. \n"
|
|
"This parameter is only used for domain renames on Windows 2000 "
|
|
"platforms and beyond. ")]
|
|
string UserName
|
|
);
|
|
|
|
[Implemented,
|
|
Description ("The JoinDomainOrWorkgroup method joins computer systems to "
|
|
"a domain or workgroup. This method is only available on Windows 2000 "
|
|
"platforms and beyond. The method can return the following values:\n"
|
|
"0 - Success.\n"
|
|
"Other - For integer values other than those listed above, refer to "
|
|
"Win32 error code documentation.\n"
|
|
"Note: If moving a computer from a Domain to a WorkGroup, the computer "
|
|
"must first be removed from the domain before running this method to join "
|
|
"the Workgroup. \n"
|
|
"Password and Username must use a high authentication level (i.e. no less "
|
|
"than RPC_C_AUTHN_LEVEL_PKT_PRIVACY) when they connect to winmgmt "
|
|
"(i.e. in the call to obtain the IWbemServices interface) or SetProxyBlanket "
|
|
"on their IWbemServices ptr. If they are local to winmgmt then this "
|
|
"is not a concern because their authentication level is as good as "
|
|
"RPC_C_AUTHN_LEVEL_PKT_PRIVACY as well as their client request never "
|
|
"goes over the wire to get to the winmgmt. \n"
|
|
"If Password and Username are left null, the provider does not care. \n"
|
|
"If the provider determines that the authentication level is too low "
|
|
"and a Password or Username has been specified then "
|
|
"WBEM_E_ENCRYPTED_CONNECTION_REQUIRED will be returned. "),
|
|
Values{ "Success", "Other"},
|
|
ValueMap{ "0",".."} ]
|
|
uint32 JoinDomainOrWorkgroup(
|
|
|
|
[In,
|
|
Description ("The Name parameter specifies the domain "
|
|
"or workgroup to join. This parameter cannot be NULL.")]
|
|
string Name,
|
|
[In,
|
|
Description ("If the UserName parameter specifies an account name, "
|
|
"the Password parameter must point to the password to use when "
|
|
"connecting to the domain controller. Otherwise, this parameter "
|
|
"must be NULL. \n"
|
|
"Password and Username must use a high authentication level (i.e. no less "
|
|
"than RPC_C_AUTHN_LEVEL_PKT_PRIVACY) when they connect to winmgmt "
|
|
"(i.e. in the call to obtain the IWbemServices interface) or SetProxyBlanket "
|
|
"on their IWbemServices ptr. If they are local to winmgmt then this "
|
|
"is not a concern because their authentication level is as good as "
|
|
"RPC_C_AUTHN_LEVEL_PKT_PRIVACY as well as their client request never "
|
|
"goes over the wire to get to the winmgmt. \n"
|
|
"If Password and Username are left null, the provider does not care. \n"
|
|
"If the provider determines that the authentication level is too low "
|
|
"and a Password or Username has been specified then "
|
|
"WBEM_E_ENCRYPTED_CONNECTION_REQUIRED will be returned. ")]
|
|
string Password,
|
|
[In,
|
|
Description ("The Username parameter is a pointer to a constant "
|
|
"null-terminated character string that specifies the account name "
|
|
"to use when connecting to the domain controller. The string must "
|
|
"specify either a domain NetBIOS name and user account (for "
|
|
"example, \"REDMOND\\user\") or the user principal name (UPN) of the "
|
|
"user in the form of an Internet-style login name (for example, "
|
|
"\"[email protected]\"). If this parameter is NULL, the caller's "
|
|
"context is used. \n"
|
|
"Password and Username must use a high authentication level (i.e. no less "
|
|
"than RPC_C_AUTHN_LEVEL_PKT_PRIVACY) when they connect to winmgmt "
|
|
"(i.e. in the call to obtain the IWbemServices interface) or SetProxyBlanket "
|
|
"on their IWbemServices ptr. If they are local to winmgmt then this "
|
|
"is not a concern because their authentication level is as good as "
|
|
"RPC_C_AUTHN_LEVEL_PKT_PRIVACY as well as their client request never "
|
|
"goes over the wire to get to the winmgmt. \n"
|
|
"If Password and Username are left null, the provider does not care. \n"
|
|
"If the provider determines that the authentication level is too low "
|
|
"and a Password or Username has been specified then "
|
|
"WBEM_E_ENCRYPTED_CONNECTION_REQUIRED will be returned. ")]
|
|
string UserName,
|
|
[In,
|
|
Description ("The AccountOU optionally specifies the pointer to "
|
|
"a constant null-terminated character string that contains the "
|
|
"RFC 1779 format name of the organizational unit (OU) for the "
|
|
"computer account. If you specify this parameter, the string must "
|
|
"contain a full path, for example, OU=testOU, DC=domain, DC=Domain,"
|
|
"DC=com. Otherwise, this parameter must be NULL. ")]
|
|
string AccountOU,
|
|
[In,
|
|
Description ("The FJoinOptions parameter contains a set of bit flags "
|
|
"defining the join options. This parameter can be one or more of the "
|
|
"following values: \n"
|
|
"Join Domain - Joins the computer to a domain. If this value "
|
|
"is not specified, joins the computer to a workgroup. "
|
|
"0 bit - Join Domain - If not present, a workgroup is joined. \n"
|
|
"1 bit - Acct Create - Creates the account on the domain. \n"
|
|
"2 bit - Acct Delete - Delete the account when a domain is left. \n"
|
|
"4 bit - Win9X Upgrade - The join operation is occurring as part of an "
|
|
"upgrade of Windows 95/98 to Windows NT/Windows 2000. \n"
|
|
"5 bit - Domain Join If Joined - Allows a join to a new domain even if "
|
|
"the computer is already joined to a domain. \n"
|
|
"6 bit - Join Unsecure - Performs an unsecured join.\n"
|
|
"7 bit - Machine Password Passed - Indicates that the machine (not user) "
|
|
"password is passed. This option is only valid for unsecure joins \n"
|
|
"8 bit - Deferred SPN Set - Specifies that writing SPN and DnsHostName "
|
|
"attributes on the computer object should be deferred until the rename "
|
|
"that will follow the join. \n"
|
|
"18 bit - Install Invocation - The APIs were invoked during install. \n\n"
|
|
"The method returns a 0 if no options are involved."),
|
|
BitValues {"Join Domain", "Acct Create", "Acct Delete", "Win9X Upgrade",
|
|
"Domain Join If Joined", "Join Unsecure", "Machine Password Passed",
|
|
"Deferred SPN Set", "Install Invocation"},
|
|
BitMap {"0", "1", "2", "4", "5", "6", "7", "8", "18"}
|
|
]
|
|
uint32 FJoinOptions = 0
|
|
);
|
|
|
|
|
|
[Implemented,
|
|
Description ("The UnjoinDomainOrWorkgroup method un-joins or removes a "
|
|
"computer system from a domain or workgroup. This method is only "
|
|
"available on Windows 2000 platforms and beyond. The method can return "
|
|
"the following values:\n"
|
|
"0 - Success.\n"
|
|
"Other - For integer values other than those listed above, refer to "
|
|
"Win32 error code documentation.\n"
|
|
"Password and Username must use a high authentication level (i.e. no less "
|
|
"than RPC_C_AUTHN_LEVEL_PKT_PRIVACY) when they connect to winmgmt "
|
|
"(i.e. in the call to obtain the IWbemServices interface) or SetProxyBlanket "
|
|
"on their IWbemServices ptr. If they are local to winmgmt then this "
|
|
"is not a concern because their authentication level is as good as "
|
|
"RPC_C_AUTHN_LEVEL_PKT_PRIVACY as well as their client request never "
|
|
"goes over the wire to get to the winmgmt. \n"
|
|
"If Password and Username are left null, the provider does not care. \n"
|
|
"If the provider determines that the authentication level is too low "
|
|
"and a Password or Username has been specified then "
|
|
"WBEM_E_ENCRYPTED_CONNECTION_REQUIRED will be returned. "),
|
|
Values{ "Success", "Other"},
|
|
ValueMap{ "0",".."} ]
|
|
uint32 UnjoinDomainOrWorkgroup(
|
|
|
|
[In,
|
|
Description ("If the UserName parameter specifies an account name, "
|
|
"the Password parameter must point to the password to use when "
|
|
"connecting to the domain controller. Otherwise, this parameter "
|
|
"must be NULL. \n"
|
|
"Password and Username must use a high authentication level (i.e. no less "
|
|
"than RPC_C_AUTHN_LEVEL_PKT_PRIVACY) when they connect to winmgmt "
|
|
"(i.e. in the call to obtain the IWbemServices interface) or SetProxyBlanket "
|
|
"on their IWbemServices ptr. If they are local to winmgmt then this "
|
|
"is not a concern because their authentication level is as good as "
|
|
"RPC_C_AUTHN_LEVEL_PKT_PRIVACY as well as their client request never "
|
|
"goes over the wire to get to the winmgmt. \n"
|
|
"If Password and Username are left null, the provider does not care. \n"
|
|
"If the provider determines that the authentication level is too low "
|
|
"and a Password or Username has been specified then "
|
|
"WBEM_E_ENCRYPTED_CONNECTION_REQUIRED will be returned. ")]
|
|
string Password,
|
|
[In,
|
|
Description ("The Username parameter is a pointer to a constant "
|
|
"null-terminated character string that specifies the account name "
|
|
"to use when connecting to the domain controller. The string must "
|
|
"specify either a domain NetBIOS name and user account (for "
|
|
"example, \"REDMOND\\user\") or the user principal name (UPN) of the "
|
|
"user in the form of an Internet-style login name (for example, "
|
|
"\"[email protected]\"). If this parameter is NULL, the caller's "
|
|
"context is used. Blank password is passed by using an empty string \n"
|
|
"Password and Username must use a high authentication level (i.e. no less "
|
|
"than RPC_C_AUTHN_LEVEL_PKT_PRIVACY) when they connect to winmgmt "
|
|
"(i.e. in the call to obtain the IWbemServices interface) or SetProxyBlanket "
|
|
"on their IWbemServices ptr. If they are local to winmgmt then this "
|
|
"is not a concern because their authentication level is as good as "
|
|
"RPC_C_AUTHN_LEVEL_PKT_PRIVACY as well as their client request never "
|
|
"goes over the wire to get to the winmgmt. \n"
|
|
"If Password and Username are left null, the provider does not care. \n"
|
|
"If the provider determines that the authentication level is too low "
|
|
"and a Password or Username has been specified then "
|
|
"WBEM_E_ENCRYPTED_CONNECTION_REQUIRED will be returned. ")]
|
|
string UserName,
|
|
[In,
|
|
Description ("The FUnjoinOptions parameter specifies the unjoin options. "
|
|
"If this parameter is NETSETUP_ACCT_DELETE, the account is disabled when "
|
|
"the unjoin occurs. Note that this option does not delete the account. "
|
|
"Currently, there are no other unjoin options defined. \n\n"
|
|
"2 bit - Acct Delete - Delete the account when a domain is left. \n"
|
|
"The method returns a 0 if no options are involved."),
|
|
BitValues {"Acct Delete"},
|
|
BitMap { "2" }
|
|
]
|
|
uint32 FUnjoinOptions = 0
|
|
);
|
|
};
|
|
|
|
|
|
|
|
[Abstract, Description (
|
|
"The Win32_ProgramGroupOrItem class represents a logical grouping of programs on the user's "
|
|
"Start|Programs menu. It contains program groups and program group items."),
|
|
Locale (0x409), UUID("{86E30E86-7DB2-11d2-90CB-0060081A46FD}") ]
|
|
class Win32_ProgramGroupOrItem:CIM_LogicalElement
|
|
{
|
|
};
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") , Description (
|
|
"The Win32_LogicalProgramGroup class represents a program group in "
|
|
"a Win32 system.\nExample: Accessories or Startup."): ToSubClass,
|
|
Locale (0x409), UUID("{D52706F2-8045-11d2-90CE-0060081A46FD}") ]
|
|
class Win32_LogicalProgramGroup:Win32_ProgramGroupOrItem
|
|
{
|
|
[read : ToSubClass,
|
|
Description ("The GroupName property indicates the name of the Win32 "
|
|
"program group. Program groups are implemented as file folders in "
|
|
"Win32.\nExample: Accessories\\System Tools"): ToSubClass,
|
|
MappingStrings {"Win32API|CWbemProviderGlue Class Methods|"
|
|
"GetAllInstances"}: ToSubClass]
|
|
string GroupName ;
|
|
|
|
[read : ToSubClass , Override ("Name"): ToSubClass,
|
|
key: ToSubClass, MaxLen (256): ToSubClass,
|
|
Description ("The Name property indicates the user assigned name "
|
|
"followed by the group name. Program groups are implemented as file "
|
|
"folders in Win32.\nExample: All Users:Accessories\\"
|
|
"System Tools"): ToSubClass,
|
|
MappingStrings {"Win32API|CWbemProviderGlue Class Methods|"
|
|
"GetAllInstances"}: ToSubClass]
|
|
string Name ;
|
|
|
|
[read : ToSubClass ,
|
|
Description ("The UserName property indicates the users who can "
|
|
"access the Win32 program group. Program groups are implemented "
|
|
"as file folders in Win32.\nExample: All Users"): ToSubClass,
|
|
MappingStrings {"Win32API|CWbemProviderGlue Class Methods|"
|
|
"GetAllInstances"}: ToSubClass]
|
|
string UserName ;
|
|
};
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") , Description (
|
|
"The Win32_LogicalProgramGroupItem class represents an element contained by a "
|
|
"Win32_ProgramGroup, that is not itself another Win32_ProgramGroup."): ToSubClass,
|
|
Locale (0x409), UUID("{86E30E82-7DB2-11d2-90CB-0060081A46FD}") ]
|
|
class Win32_LogicalProgramGroupItem:Win32_ProgramGroupOrItem
|
|
{
|
|
[Override ("Name") : ToSubClass, Read : ToSubClass, Key,
|
|
Description ("The inherited Name property serves as key of a "
|
|
"Win32_LogicalProgramGroupItem instance within a computer system. Program "
|
|
"Groups are implemented as file folders in Win32. Full path names "
|
|
"should be provided. Example: f:\\WINNT\\Profiles\\a-kevhu.000\\ "
|
|
"Start Menu\\Programs\\Accessories\\WordPad.Lnk"): ToSubClass,
|
|
MappingStrings {"Win32API|CWbemProviderGlue Class Methods|"
|
|
"GetAllInstances"}: ToSubClass]
|
|
string Name ;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_Processor class represents a device that is "
|
|
"capable of interpreting a sequence of machine instructions on a "
|
|
"Win32 computer system. On a multiprocessor machine, there will "
|
|
"exist one instance of this class for each processor."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4BB-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_Processor:CIM_Processor
|
|
{
|
|
[Read: ToSubClass, Key: ToSubClass, Override("DeviceId"): ToSubClass,
|
|
Description ("The DeviceID property contains a string "
|
|
"uniquely identifying the processor with other "
|
|
"devices on the system."): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Structures|SYSTEM_INFO|"
|
|
"dwNumberOfProcessors"}: ToSubClass]
|
|
string DeviceID ;
|
|
|
|
[read : ToSubClass ,
|
|
Description ("The Version property specifies an architecture-"
|
|
"dependent processor revision number. Note: This member is not used in "
|
|
"Windows 95.\nExample: Model 2, Stepping 12."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string Version ;
|
|
|
|
[read : ToSubClass ,
|
|
Description ("The Manufacturer property specifies the name of "
|
|
"the processor's manufacturer.\nExample: GenuineSilicon"): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
string Manufacturer ;
|
|
|
|
[read : ToSubClass, Units ("Kilobytes") : ToSubClass,
|
|
Description ("The L2CacheSize property specifies the size "
|
|
"of the processor's Level 2 cache. A Level 2 cache is an "
|
|
"external memory area that has a faster access times than "
|
|
"the main RAM memory."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
uint32 L2CacheSize ;
|
|
|
|
[read: ToSubClass, Units ("MegaHertz") : ToSubClass,
|
|
Description ("The L2CacheSpeed property specifies the clock"
|
|
"speed of the processor's Level 2 cache. A Level 2 cache is an "
|
|
"external memory area that has a faster access times than "
|
|
"the main RAM memory."): ToSubClass ,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
uint32 L2CacheSpeed ;
|
|
|
|
[read : ToSubClass,
|
|
Description ("The Architecture property specifies the processor "
|
|
"architecture used by this platform. It returns one of the following "
|
|
" integer values:\n"
|
|
"0 - x86 \n"
|
|
"1 - MIPS \n"
|
|
"2 - Alpha \n"
|
|
"3 - PowerPC \n"
|
|
"6 - ia64 \n"
|
|
"9 - AMD64 \n"): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass,
|
|
ValueMap {"0","1","2","3","6","9"},
|
|
Values {"x86", "MIPS", "Alpha", "PowerPC", "ia64", "AMD64"} : ToSubClass]
|
|
uint16 Architecture ;
|
|
|
|
[read : ToSubClass ,
|
|
Description ("The Level property further defines the processor "
|
|
"type. The value depends on the architecture of the "
|
|
"processor."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
uint16 Level ;
|
|
|
|
[read : ToSubClass ,
|
|
Description ("The Revision property specifies the system's "
|
|
"architecture-dependent revision level. The meaning of this "
|
|
"value depends on the architecture of the processor. It "
|
|
"contains the same values as the \"Version\" member, but in "
|
|
"a numerical format." ): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
uint16 Revision ;
|
|
|
|
[read : ToSubClass ,
|
|
Description ("The CpuStatus property specifies the current status "
|
|
"of the processor. Changes in status arise from processor usage, "
|
|
"not the physical condition of the processor."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 4|Processor Information|Status" }: ToSubClass,
|
|
Values {"Unknown", "CPU Enabled", "CPU Disabled by User via BIOS Setup",
|
|
"CPU Disabled By BIOS (POST Error)", "CPU is Idle",
|
|
"Reserved", "Reserved", "Other"}: ToSubClass]
|
|
uint16 CpuStatus;
|
|
|
|
[read : ToSubClass , Units ("tenth-Volts"): ToSubClass,
|
|
Description ("The CurrentVoltage specifies the voltage of the "
|
|
"processor. Bits 0-6 of the field contain the "
|
|
"processor's current voltage times 10. This value is only "
|
|
"set when SMBIOS designates a voltage value. For specific "
|
|
"values, see VoltageCaps.\nExample: field value for a processor "
|
|
"voltage of 1.8 volts would be 92h = 80h + (1.8 x 10) "
|
|
"= 80h + 18 = 80h + 12h."): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 4|Processor Information|"
|
|
"Voltage"}: ToSubClass]
|
|
uint16 CurrentVoltage;
|
|
|
|
[read : ToSubClass, Units("MegaHertz"): ToSubClass,
|
|
Description ("The ExtClock property specifies the external "
|
|
"clock frequency. If the frequency is unknown this property "
|
|
"is set to null."): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 4|Processor Information|"
|
|
"External Clock" }: ToSubClass]
|
|
uint32 ExtClock;
|
|
|
|
[read : ToSubClass,
|
|
Description ("The ProcessorId property contains processor-specific "
|
|
"information that describes the processor's features. For x86 class "
|
|
"CPUs, the field's format depends on the processor's support of the "
|
|
"CPUID instruction. If the instruction is supported, the ProcessorId "
|
|
"property contains two DWORD-formatted values. The first (offsets "
|
|
"08h-0Bh) is the EAX value returned by a CPUID instruction with "
|
|
"input EAX set to 1. The second (offsets 0Ch-0Fh) is the EDX value "
|
|
"returned by that instruction. Only the first two bytes "
|
|
"of the ProcessorID property are significant (all others are set to "
|
|
"0) and contain (in WORD-format) the contents of the DX register "
|
|
"at CPU reset."): ToSubClass ,
|
|
MappingStrings { "SMBIOS|Type 4|Processor Information|"
|
|
"Processor ID" }: ToSubClass]
|
|
string ProcessorId;
|
|
|
|
[read : ToSubClass ,
|
|
Description ("The ProcessorType property specifies the processor's "
|
|
"primary function."): ToSubClass ,
|
|
MappingStrings { "SMBIOS|Type 4|Processor Information|"
|
|
"Processor Type" }: ToSubClass,
|
|
Values {"Other", "Unknown", "Central Processor", "Math Processor",
|
|
"DSP Processor", "Video Processor"}: ToSubClass,
|
|
ValueMap {"1","2","3","4","5","6"}: ToSubClass]
|
|
uint16 ProcessorType;
|
|
|
|
[read : ToSubClass ,
|
|
Description ("The SocketDesignation property contains the type of chip "
|
|
"socket used on the circuit.\nExample: J202"): ToSubClass,
|
|
MappingStrings { "SMBIOS|Type 4|Processor Information|"
|
|
"Socket Designation" }: ToSubClass]
|
|
string SocketDesignation;
|
|
|
|
[read : ToSubClass , Units ("Volts"): ToSubClass,
|
|
Description ("The VoltageCaps property specifies the voltage "
|
|
"capabilities of the processor. Bits 0-3 of the field represent "
|
|
"specific voltages that the processor socket can accept. All "
|
|
"other bits should be set to zero. The socket is configurable if "
|
|
"multiple bits are being set. For a range of voltages see "
|
|
"CurrentVoltage. If the property is NULL, then the voltage "
|
|
"capabilities are unknown."): ToSubClass,
|
|
BitValues {"5", "3.3", "2.9" }: ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 4|Processor Information|"
|
|
"Voltage" }: ToSubClass]
|
|
uint32 VoltageCaps;
|
|
|
|
[Override ("LoadPercentage") : ToSubClass,
|
|
Read : ToSubClass , Units ("Percent"): ToSubClass,
|
|
Description ("The LoadPercentage property specifies "
|
|
"each processor's load capacity averaged over the last "
|
|
"second. The term 'processor loading' refers to the total "
|
|
"computing burden each processor carries at one time."): ToSubClass ,
|
|
MappingStrings {"Win32API|Performance Data"}: ToSubClass ]
|
|
uint16 LoadPercentage ;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_ShortcutFile class represent files that are "
|
|
"shortcuts to other files, directories, and commands."): ToSubClass,
|
|
Locale (0x409), UUID ("{F25FE466-783E-11d2-90BF-0060081A46FD}") ]
|
|
class Win32_ShortcutFile:CIM_DataFile
|
|
{
|
|
[read : ToSubClass,
|
|
Description ("The Target property indicates the name of the object "
|
|
"that this is a shortcut to."): ToSubClass,
|
|
MappingStrings {"Win32API|_beginthreadex"}: ToSubClass]
|
|
string Target;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_CodecFile class represents the audio or "
|
|
"video codec installed on the computer system. Codecs convert one media "
|
|
"format type to another, typically a compressed format "
|
|
"to an uncompressed format. The name \"codec\" is derived from a "
|
|
"combination of \"compress\" and \"decompress.\" For example, a "
|
|
"codec can convert a compressed format such as MS-ADPCM to an "
|
|
"uncompressed format such as PCM, which most audio hardware can "
|
|
"play directly."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4C3-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_CodecFile:CIM_DataFile
|
|
{
|
|
[read : ToSubClass,
|
|
Description ("The Group property indicates the type of codec "
|
|
"represented by this class."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SOFTWARE\\Microsoft\\Windows NT\\"
|
|
"CurrentVersion\\drivers.desc"}: ToSubClass,
|
|
Values {"Audio", "Video"}: ToSubClass]
|
|
string Group ;
|
|
|
|
[read : ToSubClass,
|
|
Description ("The Description property indicates the full name of "
|
|
"the codec driver. This string is intended to be displayed in large "
|
|
"(descriptive) spaces.\nExample: Microsoft PCM Converter."): ToSubClass,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\control\\"
|
|
"MediaResources\\icm|Description"}: ToSubClass]
|
|
string Description ;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
[DisplayName("System Drivers and Services"),
|
|
SupportsCreate,CreateBy("Create"),
|
|
SupportsDelete, DeleteBy("DeleteInstance"),
|
|
Abstract,Provider ("CIMWin32") , Description (
|
|
"The Win32_BaseService class represents executable objects that are "
|
|
"installed in a registry database maintained by the Service Control "
|
|
"Manager. The executable file associated with a service can be started "
|
|
"at boot time by a boot program or by the system. It can also be started "
|
|
"on-demand by the Service Control Manager. Any service or process that "
|
|
"is not owned by a specific user, and that provides an interface to some "
|
|
"functionality supported by the computer system, is a descendent (or member) of "
|
|
"this class.\nExample: The dynamic host configuration protocol (DHCP) "
|
|
"client service on a Windows NT/Windows 2000 computer system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4C4-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_BaseService:CIM_Service
|
|
{
|
|
[DisplayName("Service Accepts Pause"),
|
|
read : ToSubClass,
|
|
Description ("The AcceptPause property indicates whether the "
|
|
"service can be paused.\nValues: TRUE or FALSE. A value of TRUE "
|
|
"indicates the service can be paused."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|SERVICE_STATUS|"
|
|
"dwControlsAccepted|SERVICE_ACCEPT_PAUSE_CONTINUE"}: ToSubClass]
|
|
boolean AcceptPause ;
|
|
|
|
[DisplayName("Service Accepts Stop"),
|
|
read : ToSubClass,
|
|
Description ("The AcceptStop property indicates whether the service "
|
|
"can be stopped.\nValues: TRUE or FALSE. A value of TRUE indicates "
|
|
"the service can be stopped."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|SERVICE_STATUS|"
|
|
"dwControlsAccepted|SERVICE_ACCEPT_STOP"}: ToSubClass ]
|
|
boolean AcceptStop ;
|
|
|
|
[DisplayName("Interacts With Desktop"),
|
|
read : ToSubClass,
|
|
Description ("The DesktopInteract property indicates whether the "
|
|
"service can create or communicate with windows on the desktop."
|
|
"\nValues: TRUE or FALSE. A value of TRUE indicates the service can "
|
|
"create or communicate with windows on the desktop."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwServiceType|SERVICE_INTERACTIVE_PROCESS"}: ToSubClass ]
|
|
boolean DesktopInteract ;
|
|
|
|
[DisplayName("Display Name"),
|
|
read : ToSubClass,
|
|
Description ("The DisplayName property indicates the display "
|
|
"name of the service. This string has a maximum length of 256 "
|
|
"characters. The name is case-preserved in the Service Control "
|
|
"Manager. DisplayName comparisons are always case-insensitive. "
|
|
"\nConstraints: Accepts the same value as the Name property."
|
|
"\nExample: Atdisk."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpDisplayName"}: ToSubClass ]
|
|
string DisplayName ;
|
|
|
|
[DisplayName("Severity Of Startup Failure"),
|
|
read : ToSubClass,
|
|
Description ("If this service fails to start during startup, the "
|
|
"ErrorControl property specifies the severity of the error. The "
|
|
"value indicates the action taken by the startup program if "
|
|
"failure occurs. All errors are logged by the computer system. "
|
|
"The computer system does "
|
|
"not notify the user of \"Ignore\" errors. With \"Normal\" errors "
|
|
"the user is notified. With \"Severe\" errors, the system is "
|
|
"restarted with the last-known-good configuration. Finally, on"
|
|
"\"Critical\" errors the system attempts to restart with a good "
|
|
"configuration."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwErrorControl"}: ToSubClass,
|
|
Values {"Ignore", "Normal", "Severe", "Critical",
|
|
"Unknown"}: ToSubClass,
|
|
ValueMap {"Ignore", "Normal", "Severe", "Critical",
|
|
"Unknown"}: ToSubClass]
|
|
string ErrorControl ;
|
|
|
|
[DisplayName("File Path Name"),
|
|
read : ToSubClass,
|
|
Description ("The PathName property contains the fully qualified path "
|
|
"to the service binary file that implements the service.\nExample: "
|
|
"\\SystemRoot\\System32\\drivers\\afd.sys"): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpBinaryPathName"}: ToSubClass ]
|
|
string PathName ;
|
|
|
|
[DisplayName("Service Type"),
|
|
read : ToSubClass,
|
|
Description ("The ServiceType property supplies the type of service "
|
|
"provided to calling processes.") : ToSubClass ,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwServiceType"}: ToSubClass,
|
|
Values {"Kernel Driver", "File System Driver", "Adapter",
|
|
"Recognizer Driver" ,"Own Process" ,"Share Process",
|
|
"Interactive Process"} : ToSubClass,
|
|
ValueMap {"Kernel Driver", "File System Driver", "Adapter",
|
|
"Recognizer Driver" ,"Own Process" ,
|
|
"Share Process","Interactive Process"} : ToSubClass]
|
|
string ServiceType ;
|
|
|
|
[DisplayName("Starting Account Name"),
|
|
read : ToSubClass,
|
|
Description ("The StartName property indicates the account name "
|
|
"under which the service runs. Depending on the service type, the "
|
|
"account name may be in the form of \"DomainName\\Username\". "
|
|
"The service process will be logged using one of these two forms "
|
|
"when it runs. If the account belongs to the built-in domain, "
|
|
"\".\\Username\" can be specified. If NULL is specified, the "
|
|
"service will be logged on as the LocalSystem account. For kernel "
|
|
"or system level drivers, StartName contains the driver object name "
|
|
"(that is, \\FileSystem\\Rdr or \\Driver\\Xns) which the input and "
|
|
"output (I/O) system uses to load the device driver. Additionally, "
|
|
"if NULL is specified, the driver runs with a default object name "
|
|
"created by the I/O system based on the service name."
|
|
"\nExample: DWDOM\\Admin."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpServiceStartName"}: ToSubClass ]
|
|
string StartName ;
|
|
|
|
[DisplayName("Start Mode"),
|
|
read :ToSubClass, Override ("StartMode"): ToSubClass,
|
|
Description ("The StartMode property indicates the start mode "
|
|
"of the Win32 base service. \"Boot\" specifies a device driver "
|
|
"started by the operating system loader. This value is valid only "
|
|
"for driver services. \"System\" specifies a device driver started "
|
|
"by the IoInitSystem function. This value is valid only for driver "
|
|
"services. \"Automatic\" specifies a service to be started "
|
|
"automatically by the service control manager during system startup. "
|
|
"\"Manual\" specifies a service to be started by the service control "
|
|
"manager when a process calls the StartService function. \"Disabled\" "
|
|
"specifies a service that can no longer be started."): ToSubClass,
|
|
Values { "Boot" , "System" , "Auto" , "Manual" , "Disabled" } : ToSubClass,
|
|
ValueMap { "Boot" , "System" , "Auto" , "Manual" , "Disabled" } : ToSubClass]
|
|
string StartMode ;
|
|
|
|
[DisplayName("State"),
|
|
read : ToSubClass,
|
|
Description ("The State property indicates the current state of the "
|
|
"base service."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|SERVICE_STATUS|"
|
|
"dwCurrentState "}: ToSubClass,
|
|
Values {"Stopped", "Start Pending", "Stop Pending", "Running",
|
|
"Continue Pending", "Pause Pending", "Paused", "Unknown"}: ToSubClass,
|
|
ValueMap {"Stopped", "Start Pending", "Stop Pending", "Running",
|
|
"Continue Pending", "Pause Pending", "Paused", "Unknown"}: ToSubClass]
|
|
string State ;
|
|
|
|
[DisplayName("Tag Id"),
|
|
read : ToSubClass,
|
|
Description ("The TagId property specifies a unique tag value for "
|
|
"this service in the group. A value of 0 indicates that the "
|
|
"service has not been assigned a tag. A tag can be used for "
|
|
"ordering service startup within a load order group by specifying "
|
|
"a tag order vector in the registry located at: HKEY_LOCAL_MACHINE\\"
|
|
"System\\CurrentControlSet\\Control\\GroupOrderList. Tags are only "
|
|
"evaluated for Kernel Driver and File System Driver start type "
|
|
"services that have \"Boot\" or \"System\" start modes."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwTagId"}: ToSubClass ]
|
|
uint32 TagId ;
|
|
|
|
[Override ("StartService") : ToSubClass , Implemented,
|
|
Description ("The StartService method attempts to place the service "
|
|
"into its startup state. It returns one of the following integer "
|
|
"values: \n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"} : ToSubClass,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings {"Win32API|Service Functions|StartService"}: ToSubClass]
|
|
uint32 StartService();
|
|
|
|
[Override ("StopService") : ToSubClass , Implemented,
|
|
Description ("The StopService method places the service in the "
|
|
"stopped state. It returns an integer value of 0 if the service "
|
|
"was successfully stopped, 1 if the request is not supported, and "
|
|
"any other number to indicate an error. It returns one of the following integer "
|
|
"values:\n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"}: ToSubClass,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings {"Win32API|Service Functions|ControlService|dwControl|"
|
|
"SERVICE_CONTROL_STOP"}: ToSubClass ]
|
|
uint32 StopService() ;
|
|
|
|
[Implemented,
|
|
Description ("The PauseService method attempts to place the service "
|
|
"in the paused state. It returns an integer value of 0 if the "
|
|
"PauseService request was accepted, 1 if the request is not "
|
|
"supported, and any other number to indicate an error. It returns one of the following integer "
|
|
"values:\n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"}: ToSubClass,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings {"Win32API|Service Functions|ControlService|dwControl|"
|
|
"SERVICE_CONTROL_PAUSE"}: ToSubClass ]
|
|
uint32 PauseService() ;
|
|
|
|
[Implemented,
|
|
Description ("The ResumeService method attempts to place the service "
|
|
"in the resumed state. It returns one of the following integer "
|
|
"values:\n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"}: ToSubClass,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings {"Win32API|Service Functions|ControlService|dwControl|"
|
|
"SERVICE_CONTROL_CONTINUE"}: ToSubClass ]
|
|
uint32 ResumeService() ;
|
|
|
|
[Implemented,
|
|
Description ("The InterrogateService method requests that the service "
|
|
"update its state to the service manager. It returns one of the following integer "
|
|
"values:\n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"}: ToSubClass,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings {"Win32API|Service Functions|ControlService|dwControl|"
|
|
"SERVICE_CONTROL_INTERROGATE"}: ToSubClass ]
|
|
uint32 InterrogateService() ;
|
|
|
|
[Implemented,
|
|
Description ("The UserControlService method attempts to send "
|
|
"a user-defined control code to a service. It returns one of the following integer "
|
|
"values:\n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"}: ToSubClass,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings {"Win32API|Service Functions|CreateService|"
|
|
"dwDesiredAccess|SERVICE_USER_DEFINED_CONTROL"}: ToSubClass ]
|
|
uint32 UserControlService (
|
|
|
|
[In: ToSubClass,
|
|
Description ("The ControlCode parameter specifies defined values"
|
|
"(from 128 to 255) that provide control commands specific to a "
|
|
"user."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Functions|ControlService|"
|
|
"dwControl"}: ToSubClass]
|
|
uint8 ControlCode
|
|
|
|
); // end of UserControlService() method
|
|
|
|
[DisplayName("Exit Code"),
|
|
read : ToSubClass,
|
|
Description ("The ExitCode property specifies a Win32 error code "
|
|
"defining any problems encountered in starting or stopping the "
|
|
"service. This property is set to ERROR_SERVICE_SPECIFIC_ERROR "
|
|
"(1066) when the error is unique to the service represented by this "
|
|
"class, and information about the error is available in the "
|
|
"ServiceSpecificExitCode member. The service sets this value to "
|
|
"NO_ERROR when running, and again upon normal termination.") : ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|SERVICE_STATUS|"
|
|
"dwWin32ExitCode"}: ToSubClass ]
|
|
uint32 ExitCode ;
|
|
|
|
[DisplayName("Server Specific Exit Code"),
|
|
read : ToSubClass,
|
|
Description ("The ServiceSpecificExitCode property specifies a "
|
|
"service-specific error code for errors that occur while the service "
|
|
"is either starting or stopping. The exit codes are defined by the service "
|
|
"represented by this class. This value is only set when the ExitCode"
|
|
"property value is ERROR_SERVICE_SPECIFIC_ERROR, 1066.") : ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|SERVICE_STATUS|"
|
|
"dwServiceSpecificExitCode"}: ToSubClass ]
|
|
uint32 ServiceSpecificExitCode ;
|
|
|
|
[Constructor, Implemented, Static: ToSubClass,
|
|
Description ("The Create method creates a new service. "
|
|
"The Win32_LoadOrderGroup parameter represents a grouping "
|
|
"of system services defining execution dependencies. The services "
|
|
"must be initiated in the order specified by the Load Order Group, "
|
|
"as the services are dependent on each other. These dependent "
|
|
"services require the presence of the antecedent services in order "
|
|
"to function correctly. It returns one of the following integer "
|
|
"values:\n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"}: ToSubClass ,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings{"Win32API|Service Functions|CreateService"}: ToSubClass]
|
|
uint32 Create (
|
|
|
|
[In: ToSubClass,
|
|
Description ("The Name parameter passes the name of the service "
|
|
"to install to the Create method. The maximum string length is "
|
|
"256 characters. The service control manager database preserves "
|
|
"the case of the characters, but service name comparisons are "
|
|
"always case insensitive. Forward-slashes (/) and double back-"
|
|
"slashes (\\) are invalid service name characters."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Functions|CreateService"
|
|
"lpServiceName"}: ToSubClass]
|
|
string Name,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The DisplayName parameter passes the display "
|
|
"name of the service. This string has a maximum length of 256 "
|
|
"characters. The name is case-preserved in the service control "
|
|
"manager. DisplayName comparisons are always case-insensitive. "
|
|
"\nConstraints: Accepts the same value as the Name parameter."
|
|
"\nExample: Atdisk."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Functions|CreateService"
|
|
"lpDisplayName"}: ToSubClass]
|
|
string DisplayName,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The PathName parameter passes the fully qualified "
|
|
"path to the executable file that implements the service."
|
|
"\nExample: \\SystemRoot\\System32\\drivers\\afd.sys"): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpBinaryPathName "}: ToSubClass]
|
|
string PathName,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The ServiceType parameter passes the type of "
|
|
"services provided to processes that call them.") : ToSubClass ,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwServiceType"}: ToSubClass,
|
|
BitValues {"Kernel Driver", "File System Driver", "Adapter",
|
|
"Recognizer Driver" ,"Own Process" ,"Share Process"}: ToSubClass,
|
|
BitMap {"0", "1", "2", "3", "4", "5", "8"} : ToSubClass]
|
|
uint8 ServiceType,
|
|
|
|
|
|
[In: ToSubClass,
|
|
Description ("If the Create method fails to start, the "
|
|
"ErrorControl parameter passes the severity of the error. "
|
|
"The value indicates the action taken by the startup program "
|
|
"if failure occurs. All errors are logged by the system. The "
|
|
"system does not notify the user of \"Ignore\" errors. With "
|
|
"\"Normal\" errors the user is notified. With \"Severe\" errors, "
|
|
"the system is restarted with the last-known-good configuration. "
|
|
"Finally, on \"Critical\" errors, the system attempts to restart "
|
|
"with a good configuration."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwErrorControl"}: ToSubClass,
|
|
Values {"Ignore", "Normal", "Severe", "Critical"} : ToSubClass]
|
|
uint8 ErrorControl,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The StartMode parameter passes the start mode "
|
|
"of the Win32 base service. \"Boot\" specifies a device driver "
|
|
"started by the operating system loader. This value is valid "
|
|
"only for driver services. \"System\" specifies a device driver "
|
|
"started by the IoInitSystem function. This value is valid only "
|
|
"for driver services. \"Automatic\" specifies a service to be "
|
|
"started automatically by the service control manager during "
|
|
"system startup. \"Manual\" specifies a service to be started "
|
|
"by the service control manager when a process calls the "
|
|
"StartService function. \"Disabled\" specifies a service that "
|
|
"can no longer be started."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwStartType"}: ToSubClass,
|
|
Values {"Boot Start", "System Start", "Auto Start", "Demand Start",
|
|
"Disabled"}: ToSubClass,
|
|
ValueMap { "Boot" , "System" , "Automatic" , "Manual" , "Disabled" } : ToSubClass]
|
|
string StartMode,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The DesktopInteract parameter passes the "
|
|
"value that indicates whether the service can create or "
|
|
"communicate with windows on the desktop.\nValues: TRUE or "
|
|
"FALSE. A value of TRUE indicates the service can create or "
|
|
"communicate with windows on the desktop."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwServiceType|SERVICE_INTERACTIVE_PROCESS"}: ToSubClass ]
|
|
boolean DesktopInteract,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The StartName parameter passes the account name "
|
|
"the service runs under. Depending on the service type, "
|
|
"the account name may be in the form of \"DomainName\\Username\"."
|
|
"The service process will be logged using one of these two forms "
|
|
"when it runs. If the account belongs to the built-in domain, "
|
|
"\".\\Username\" can be specified. If NULL is specified, the "
|
|
"service will be logged on as the LocalSystem account. For a "
|
|
"kernel or system-level drivers, StartName contains the driver "
|
|
"object name (that is, \\FileSystem\\Rdr or \\Driver\\Xns) which "
|
|
"the input and output (I/O) system uses to load the device "
|
|
"driver. If NULL is specified, the driver runs with a default "
|
|
"object name created by the I/O system based on the service "
|
|
"name.\nExample: DWDOM\\Admin."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpServiceStartName"}: ToSubClass ]
|
|
string StartName,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The StartPassword parameter passes the password "
|
|
"to the account name specified by the StartName parameter. "
|
|
"Specify NULL if you are not changing the password. Specify an "
|
|
"empty string if the service has no password. "): ToSubClass,
|
|
MappingStrings {"Win32API|Service Functions|CreateService|"
|
|
"lpPassword"}: ToSubClass ]
|
|
string StartPassword ,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The LoadOrderGroup parameter passes the "
|
|
"group name associated with the new service. Load order groups are "
|
|
"contained in the registry, and determine the sequence in which "
|
|
"services are loaded into the operating system. If the pointer "
|
|
"is NULL or if it points to an empty string, the service does "
|
|
"not belong to a group. Dependencies between groups should "
|
|
"be listed in the LoadOrderGroupDependencies parameter. "
|
|
"Services in the load-ordering group list are started first, "
|
|
"followed by services in groups not in the load-ordering group "
|
|
"list, followed by services that do not belong to a group. The "
|
|
"registry has a list of load ordering groups located at:\n"
|
|
"HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\"
|
|
"Control\\ServiceGroupOrder."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpLoadOrderGroup"}: ToSubClass]
|
|
string LoadOrderGroup ,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The LoadOrderGroupDependencies parameter passes "
|
|
"a list of load ordering groups that must start before this "
|
|
"service. The array is doubly null-terminated. If the pointer "
|
|
"is NULL or if it points to an empty string, the service has no "
|
|
"dependencies. Group names must be prefixed by the "
|
|
"SC_GROUP_IDENTIFIER (defined in the WINSVC.H file) character "
|
|
"to differentiate it from a service name, because services "
|
|
"and service groups share the same name space. Dependency on "
|
|
"a group means that this service can run if at least one member "
|
|
"of the group is running after an attempt to start all members "
|
|
"of the group."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpDependencies"}: ToSubClass]
|
|
string LoadOrderGroupDependencies [] ,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The ServiceDependencies parameter passes a list "
|
|
"containing names of services that must start before this service "
|
|
"starts. The array is doubly null-terminated. If the pointer is "
|
|
"NULL, or if it points to an empty string, the service has no "
|
|
"dependencies. Dependency on a service means that this service "
|
|
"can only run if the service it depends on is running."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpDependencies"}: ToSubClass]
|
|
string ServiceDependencies []
|
|
|
|
); // end of Create() method
|
|
|
|
[Implemented,
|
|
Description ("The Change method modifies a service. "
|
|
"The Win32_LoadOrderGroup parameter represents a grouping of "
|
|
"system services defining execution dependencies. The services must "
|
|
"be initiated in the order specified by the Load Order Group as the "
|
|
"services are dependent on each other. These dependent services "
|
|
"require the presence of the antecedent services in order to "
|
|
"function correctly. \n"
|
|
"Note: In order to use the Change method to change a service from "
|
|
"network service to local system, the StartName and StartPassword "
|
|
"input parameters should be given the following values: \n"
|
|
"startname = \"localsystem\" \n"
|
|
"startpassword = \"\" this is important, it needs to be an empty string, NOT null \n"
|
|
"To change to network service: \n"
|
|
"startname = \"NT AUTHORITY\\NetworkService\" \n"
|
|
"startpassword = \"\" \n"
|
|
"The method returns one of the following integer values:\n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"}: ToSubClass,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings {"Win32API|Service Functions|"
|
|
"ChangeServiceConfig"}: ToSubClass ]
|
|
uint32 Change(
|
|
|
|
[In: ToSubClass,
|
|
Description ("The DisplayName parameter passes the display "
|
|
"name of the service. This string has a maximum length of 256 "
|
|
"characters. The name is case-preserved in the service control "
|
|
"manager. DisplayName comparisons are always case-insensitive. "
|
|
"\nConstraints: Accepts the same value as the Name parameter."
|
|
"\nExample: Atdisk "): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpDisplayName"}: ToSubClass]
|
|
string DisplayName,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The PathName parameter passes the fully qualified "
|
|
"path of the service binary file that implements the service."
|
|
"\nExample: \\SystemRoot\\System32\\drivers\\afd.sys"): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpBinaryPathName"}: ToSubClass ]
|
|
string PathName,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The ServiceType parameter passes the type of "
|
|
"service provided to processes calling the service."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwServiceType"}: ToSubClass,
|
|
BitValues {"Kernel Driver", "File System Driver", "Adapter",
|
|
"Recognizer Driver" ,"Own Process" ,"Share Process"}: ToSubClass,
|
|
BitMap {"0", "1", "2", "3", "4", "5", "8"} : ToSubClass]
|
|
uint8 ServiceType,
|
|
|
|
|
|
[In: ToSubClass,
|
|
Description ("If this service fails to start during startup, "
|
|
"the ErrorControl parameter passes the severity of the error. The "
|
|
"value indicates the action taken by the startup program if "
|
|
"failure occurs. All errors are logged by the system. The system "
|
|
"does not notify the user of \"Ignore\" errors. With \"Normal\" "
|
|
"errors the user is notified. With \"Severe\" errors, the system "
|
|
"is restarted with the last-known-good configuration. Finally, "
|
|
"on \"Critical\" errors, the system attempts to restart with a "
|
|
"good configuration."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwErrorControl"}: ToSubClass,
|
|
Values {"Ignore", "Normal", "Severe", "Critical"} : ToSubClass]
|
|
uint8 ErrorControl,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The StartMode property indicates the start mode "
|
|
"of the Win32 base service. \"Boot\" specifies a device driver "
|
|
"started by the operating system loader. This value is valid "
|
|
"only for driver services. \"System\" specifies a device driver "
|
|
"started by the IoInitSystem function. This value is valid only "
|
|
"for driver services. \"Automatic\" specifies a service to be "
|
|
"started automatically by the service control manager during "
|
|
"system startup. \"Manual\" specifies a service to be started "
|
|
"by the service control manager when a process calls the "
|
|
"StartService function. \"Disabled\" specifies a service that "
|
|
"can no longer be started."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwStartType"}: ToSubClass,
|
|
Values {"Boot Start", "System Start", "Auto Start", "Demand Start",
|
|
"Disabled"}: ToSubClass,
|
|
ValueMap { "Boot" , "System" , "Automatic" , "Manual" , "Disabled" } : ToSubClass]
|
|
string StartMode,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The DesktopInteract parameter passes the "
|
|
"value that indicates whether the service can create or "
|
|
"communicate with windows on the desktop.\nValues: TRUE or "
|
|
"FALSE. A value of TRUE indicates the service can create or "
|
|
"communicate with windows on the desktop."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwServiceType|SERVICE_INTERACTIVE_PROCESS"}: ToSubClass ]
|
|
boolean DesktopInteract,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The StartName property indicates the account name "
|
|
"the service runs under. Depending on the service type, "
|
|
"the account name may be in the form of \"DomainName\\Username\", "
|
|
"The service process will be logged using one of these two forms when it runs. If "
|
|
"the account belongs to the built-in domain, \".\\Username\" can "
|
|
"be specified. If NULL is specified, the service will be logged "
|
|
"on as the LocalSystem account. For kernel or system-level "
|
|
"drivers, StartName contains the driver object name (that is, "
|
|
"\\FileSystem\\Rdr or \\Driver\\Xns) that the input and "
|
|
"output (I/O) system uses to load the device driver. If NULL is "
|
|
"specified, the driver runs with a default object name created "
|
|
"by the I/O system based on the service name."
|
|
"\nExample: DWDOM\\Admin."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpServiceStartName"}: ToSubClass ]
|
|
string StartName,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The StartPassword parameter passes the password "
|
|
"to the account name specified by the StartName parameter. "
|
|
"Specify NULL if you are not changing the password. Specify an "
|
|
"empty string if the service has no password. "): ToSubClass,
|
|
MappingStrings {"Win32API|Service Functions|CreateService|"
|
|
"lpPassword"}: ToSubClass ]
|
|
string StartPassword ,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The LoadOrderGroup parameter passes the "
|
|
"group name that it is associated with. Load order groups are "
|
|
"contained in the system registry, and determine the sequence in which "
|
|
"services are loaded into the operating system. If the pointer "
|
|
"is NULL, or if it points to an empty string, the service does "
|
|
"not belong to a group. Dependencies between groups should "
|
|
"be listed in the LoadOrderGroupDependencies parameter. "
|
|
"Services in the load-ordering group list are started first, "
|
|
"followed by services in groups not in the load-ordering group "
|
|
"list, followed by services that do not belong to a group. The "
|
|
"system registry has a list of load ordering groups located at:\n"
|
|
"HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\"
|
|
"Control\\ServiceGroupOrder."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpLoadOrderGroup"}: ToSubClass]
|
|
string LoadOrderGroup ,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The LoadOrderGroupDependencies parameter passes "
|
|
"a list of load ordering groups that must start before this "
|
|
"service starts. The array is doubly null-terminated. If the pointer "
|
|
"is NULL, or if it points to an empty string, the service has no "
|
|
"dependencies. Group names must be prefixed by the "
|
|
"SC_GROUP_IDENTIFIER (defined in the WINSVC.H file) character "
|
|
"to differentiate them from service names because services "
|
|
"and service groups share the same name space. Dependency on "
|
|
"a group means that this service can run if at least one member "
|
|
"of the group is running after an attempt to start all members "
|
|
"of the group."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpDependencies"}: ToSubClass]
|
|
string LoadOrderGroupDependencies [] ,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The ServiceDependencies parameter passes a list "
|
|
"containing names of services that must start before this service "
|
|
"starts. The array is doubly null-terminated. If the pointer is "
|
|
"NULL, or if it points to an empty string, the service has no "
|
|
"dependencies. Dependency on a service means that this service "
|
|
"can run only if the service it depends on is running."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"lpDependencies"}: ToSubClass]
|
|
string ServiceDependencies []
|
|
|
|
); // end of Change() method
|
|
|
|
[Implemented,
|
|
Description ("The ChangeStartMode method modifies the StartMode of "
|
|
"a service. It returns one of the following integer "
|
|
"values:\n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"}: ToSubClass,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings {"Service Functions|ChangeServiceConfig|"
|
|
"dwStartType"}: ToSubClass ]
|
|
uint32 ChangeStartMode(
|
|
|
|
[In: ToSubClass,
|
|
Description ("The StartMode parameter passes the start mode "
|
|
"of the Win32 base service. \"Boot\" specifies a device driver "
|
|
"started by the operating system loader. This value is valid "
|
|
"only for driver services. \"System\" specifies a device driver "
|
|
"started by the IoInitSystem function. This value is valid only "
|
|
"for driver services. \"Automatic\" specifies a service to be "
|
|
"started automatically by the service control manager during "
|
|
"system startup. \"Manual\" specifies a service to be started "
|
|
"by the service control manager when a process calls the "
|
|
"StartService function. \"Disabled\" specifies a service that "
|
|
"can no longer be started."): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|QUERY_SERVICE_CONFIG|"
|
|
"dwStartType"}: ToSubClass,
|
|
Values {"Boot Start", "System Start", "Auto Start", "Demand Start",
|
|
"Disabled"}: ToSubClass,
|
|
ValueMap { "Boot" , "System" , "Automatic" , "Manual" , "Disabled" } : ToSubClass]
|
|
string StartMode ="Automatic"
|
|
|
|
); // end of ChangeStartMode() method
|
|
|
|
[Destructor, Implemented,
|
|
Description ("The Delete method deletes an existing service. "
|
|
"It returns one of the following integer "
|
|
"values:\n"
|
|
"0 - The request was accepted.\n"
|
|
"1 - The request is not supported.\n"
|
|
"2 - The user did not have the necessary access.\n"
|
|
"3 - The service cannot be stopped because other services that are "
|
|
"running are dependent on it.\n"
|
|
"4 - The requested control code is not valid, or it is unacceptable "
|
|
"to the service.\n"
|
|
"5 - The requested control code cannot be sent to the service "
|
|
"because the state of the service (Win32_BaseService:State) is "
|
|
"equal to 0, 1, or 2.\n"
|
|
"6 - The service has not been started.\n"
|
|
"7 - The service did not respond to the start request in a timely "
|
|
"fashion.\n"
|
|
"8 - Unknown failure when starting the service.\n"
|
|
"9 - The directory path to the service executable was not found.\n"
|
|
"10 - The service is already running.\n"
|
|
"11 - The database to add a new service is locked.\n"
|
|
"12 - A dependency for which this service relies on has been removed "
|
|
"from the system.\n"
|
|
"13 - The service failed to find the service needed from a dependent "
|
|
"service.\n"
|
|
"14 - The service has been disabled from the system.\n"
|
|
"15 - The service does not have the correct authentication to run on "
|
|
"the system.\n"
|
|
"16 - This service is being removed from the system.\n"
|
|
"17 - There is no execution thread for the service.\n"
|
|
"18 - There are circular dependencies when starting the service.\n"
|
|
"19 - There is a service running under the same name.\n"
|
|
"20 - There are invalid characters in the name of the service.\n"
|
|
"21 - Invalid parameters have been passed to the service.\n"
|
|
"22 - The account, which this service is to run under is either invalid "
|
|
"or lacks the permissions to run the service.\n"
|
|
"23 - The service exists in the database of services available from "
|
|
"the system.\n"
|
|
"24 - The service is currently paused in the system.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass ,
|
|
Values {"Success", "Not Supported", "Access Denied",
|
|
"Dependent Services Running", "Invalid Service Control",
|
|
"Service Cannot Accept Control", "Service Not Active",
|
|
"Service Request Timeout", "Unknown Failure", "Path Not Found",
|
|
"Service Already Running", "Service Database Locked",
|
|
"Service Dependency Deleted", "Service Dependency Failure",
|
|
"Service Disabled",
|
|
"Service Logon Failed", "Service Marked For Deletion",
|
|
"Service No Thread", "Status Circular Dependency",
|
|
"Status Duplicate Name",
|
|
"Status Invalid Name", "Status Invalid Parameter",
|
|
"Status Invalid Service Account", "Status Service Exists",
|
|
"Service Already Paused",
|
|
"Other"}: ToSubClass,
|
|
ValueMap {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14",
|
|
"15","16","17","18","19","20","21","22","23","24",".."},
|
|
MappingStrings {"Win32API|Service Functions|ChangeServiceConfig|"
|
|
"DeleteService"}: ToSubClass ]
|
|
uint32 Delete() ;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32") , SupportsUpdate,
|
|
Description ("The Win32_SystemDriver class represents the system "
|
|
"driver for a base service."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4C5-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemDriver:Win32_BaseService
|
|
{
|
|
};
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_Directory class represents a directory "
|
|
"entry on a Win32 computer system. Directory is a type of file that "
|
|
"logically groups data files 'contained' in it and provides path "
|
|
"information for the grouped files.\nExample: C:\\TEMP."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4C7-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_Directory:CIM_Directory
|
|
{
|
|
};
|
|
|
|
|
|
[DEPRECATED, Dynamic, Provider ("CIMWin32") ,
|
|
Privileges{"SeCreatePagefilePrivilege"}: ToSubClass,
|
|
Description ("The Win32_PageFile class has been Deprecated in favor "
|
|
"of the Win32_PageFileUsage and Win32_PageFileSetting. These classes "
|
|
"respectively correspond to the runtime and persisted states of "
|
|
"pagefiles. The Win32_PageFile represents the file used "
|
|
"for handling virtual memory file swapping on a Win32 system."
|
|
"\nExample: C:\\PAGEFILE.SYS \n"
|
|
"\nNote: The SE_CREATE_PAGEFILE privilege is required for Windows XP"): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4C6-5FBB-11D2-AAC1-006008C78BC7}"),
|
|
SupportsCreate, CreateBy("PutInstance"),
|
|
SupportsDelete, DeleteBy("DeleteInstance"), SupportsUpdate ]
|
|
class Win32_PageFile:CIM_DataFile
|
|
{
|
|
[DEPRECATED, read: ToSubClass,
|
|
Override ("Name"): ToSubClass,
|
|
Description ("The Name property indicates the name of the page file."
|
|
"\nExample: C:\\PAGEFILE.SYS \n"
|
|
"The name property has been deprecated in favor of the corresponding "
|
|
"property contained in the Win32_PageFileUsage and the "
|
|
"Win32_PageFileSetting."): ToSubClass,
|
|
MappingStrings {"Win32DLL|NTDLL.DLL|NtQuerySystemInformation|"
|
|
"SystemPageFileInformation|PageFileName"}: ToSubClass]
|
|
string Name ;
|
|
|
|
[DEPRECATED, read : ToSubClass, Units ("Megabytes"): ToSubClass ,
|
|
Description ("The FreeSpace property indicates the space available "
|
|
"in the paging file. The operating system can enlarge the paging "
|
|
"file as necessary up to the limit imposed by the user. This member "
|
|
"shows the difference between the size of current committed memory "
|
|
"and the current size of the paging file - it does not show the "
|
|
"largest possible size of the paging file. \n"
|
|
"This property has been deprecated in favor of a corresponding "
|
|
"property(s) contained in the Win32_PageFileUsage and//or the "
|
|
"Win32_PageFileSetting."): ToSubClass,
|
|
MappingStrings {"Win32API|Memory Management Structures|MEMORYSTATUS|"
|
|
"dwAvailPageFile"}: ToSubClass ]
|
|
uint32 FreeSpace ;
|
|
|
|
[DEPRECATED, read: ToSubClass, Units ("Megabytes"): ToSubClass ,
|
|
Description ("The InitialSize property indicates the initial size "
|
|
"of the page file. \n"
|
|
"This property has been deprecated in favor of the corresponding "
|
|
"property in the Win32_PageFileSetting class."): ToSubClass,
|
|
MappingStrings {"Win32Regstry|System\\CurrentControlSet\\Control\\"
|
|
"Session Manager\\Memory Management|PagingFiles"}: ToSubClass ]
|
|
uint32 InitialSize ;
|
|
|
|
[DEPRECATED, read : ToSubClass, units ("Megabytes") : ToSubClass,
|
|
Description ("The MaximumSize property indicates the maximum size of "
|
|
"the page file as set by the user. The operating system will not allow "
|
|
"the page file to exceed this limit. \n"
|
|
"This property has been deprecated in favor of the corresponding "
|
|
"property in the Win32_PageFileSetting class."): ToSubClass,
|
|
MappingStrings {"Win32API|Memory Management Structures|MEMORYSTATUS|"
|
|
"dwTotalPageFile"}: ToSubClass ]
|
|
uint32 MaximumSize ;
|
|
};
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Privileges{"SeCreatePagefilePrivilege"}: ToSubClass,
|
|
Description ("The Win32_PageFileUsage class represents the file used "
|
|
"for handling virtual memory file swapping on a Win32 system. "
|
|
"Information contained within objects instantiated from this class "
|
|
"specify the runtime state of the page file. \n"
|
|
"\nNote: The SE_CREATE_PAGEFILE privilege is required for "
|
|
"Windows XP"): ToSubClass,
|
|
Locale (0x409), UUID ("{9B3AC16A-EEE5-11d2-B13B-00105A1F77A1}") ]
|
|
class Win32_PageFileUsage:CIM_LogicalElement
|
|
{
|
|
|
|
[read: ToSubClass, units ("Megabytes"): ToSubClass,
|
|
Description ("The AllocatedBaseSize property indicates the actual "
|
|
"amount of disk space allocated for use with this page file. This "
|
|
"value corresponds to the range established in Win32_PageFileSetting "
|
|
"under the InitialSize and MaximumSize properties, set at system "
|
|
"startup.\nExample: 178MB"): ToSubClass,
|
|
MappingStrings {"Win32API|MEMORYSTATUS|dwTotalPageFile"}: ToSubClass]
|
|
uint32 AllocatedBaseSize ;
|
|
|
|
[read: ToSubClass, Key: ToSubClass,
|
|
Override ("Name"): ToSubClass,
|
|
Description ("The Name property indicates the name of the page file."
|
|
"\nExample: C:\\PAGEFILE.SYS"): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string Name ;
|
|
|
|
[read: ToSubClass, units ("Megabytes"): ToSubClass ,
|
|
Description ("The CurrentUsage property indicates how much of the total "
|
|
"reserved page file is currently in use. "): ToSubClass,
|
|
MappingStrings {"Win32API|MEMORYSTATUS"}: ToSubClass]
|
|
uint32 CurrentUsage ;
|
|
|
|
[read: ToSubClass, units ("Megabytes"): ToSubClass,
|
|
Description ("The PeakUsage property indicates the highest use "
|
|
"page file."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
uint32 PeakUsage ;
|
|
|
|
[read,
|
|
Description ("The TempPageFile property specifies whether a temporary "
|
|
"page file has been created, usually because there is no permanent "
|
|
"page file on the current computer system."): ToSubClass,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"Session Manager\\Memory Management|TempPageFile"}: ToSubClass]
|
|
boolean TempPageFile ;
|
|
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Privileges{"SeCreatePagefilePrivilege"}: ToSubClass,
|
|
Description ("The Win32_PageFileSetting class represents the "
|
|
"settings of a page file. Information contained within "
|
|
"objects instantiated from this class specify the page file "
|
|
"parameters used when the file is created at system startup. "
|
|
"The properties in this class can be modified and deferred "
|
|
"until startup. These settings are different from the run time "
|
|
"state of a page file expressed through the associated class "
|
|
"Win32_PageFileUsage.\n"
|
|
"\nNote: The SE_CREATE_PAGEFILE privilege is required "
|
|
"for Windows XP"): ToSubClass,
|
|
Locale (0x409), UUID ("{514A9270-C856-11D2-B364-00105A1f77A1}"),
|
|
SupportsCreate, CreateBy("PutInstance"),
|
|
SupportsDelete, DeleteBy("DeleteInstance"),
|
|
SupportsUpdate ]
|
|
class Win32_PageFileSetting:CIM_Setting
|
|
{
|
|
[Read: ToSubClass, Write: ToSubClass, Key: ToSubClass,
|
|
Description ("The Name property indicates the path and file name "
|
|
"of the page file.\nExample: C:\\PAGEFILE.SYS"): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string Name ;
|
|
|
|
[Read: ToSubClass, Write: ToSubClass, Units ("Megabytes"): ToSubClass,
|
|
Description ("The InitialSize property indicates the initial size "
|
|
"of the page file.\nExample: 139"): ToSubClass,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"Session Manager\\Memory Management|PagingFiles"}: ToSubClass]
|
|
uint32 InitialSize ;
|
|
|
|
[Read: ToSubClass, Write: ToSubClass, Units ("Megabytes"): ToSubClass,
|
|
Description ("The MaximumSize property indicates the maximum size of "
|
|
"the page file.\nExample: 178"): ToSubClass,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"Session Manager\\Memory Management|PagingFiles"}: ToSubClass]
|
|
uint32 MaximumSize ;
|
|
};
|
|
|
|
//RuleBased("Select * From "
|
|
// "Win32_PageFileUsage As A "
|
|
// "Join "
|
|
// "Win32_PageFileSetting As B "
|
|
// "On A.Name = B.Name")
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_PageFileElementSetting class represents "
|
|
"an association between the initial settings of a page file "
|
|
"and the state of those setting during normal use."): ToSubClass,
|
|
Locale (0x409), UUID ("{8E7F70E8-C856-11D2-B364-00105A1F77A1}") ]
|
|
class Win32_PageFileElementSetting:CIM_ElementSetting
|
|
{
|
|
[read: ToSubClass, key: ToSubClass,
|
|
Override ("Element"): ToSubClass,
|
|
Description ("The Element reference represents the properties of "
|
|
"a page file while the Win32 system is in use."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_PageFileUsage"}: ToSubClass]
|
|
Win32_PageFileUsage REF Element;
|
|
|
|
[read: ToSubClass, key: ToSubClass,
|
|
Override ("Setting"): ToSubClass,
|
|
Description ("The Setting reference represents the initial "
|
|
"settings of a page file when the Win32 system is starting "
|
|
"up."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_PageFileSetting"}: ToSubClass]
|
|
Win32_PageFileSetting REF Setting;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") , SupportsUpdate,
|
|
Description ("The Win32_Registry class represents the system registry on "
|
|
"a Win32 computer system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4D7-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_Registry:CIM_LogicalElement
|
|
{
|
|
[read: ToSubClass, Units ("Megabytes"): ToSubClass,
|
|
Description ("The CurrentSize property indicates the current physical "
|
|
"size of the Win32 registry.\nExample 10."): ToSubClass,
|
|
MappingStrings {"Win32API|NTDLL.DLL|NtQuerySystemInformation|"
|
|
"SystemRegistryQuotaInformation"}: ToSubClass]
|
|
uint32 CurrentSize ;
|
|
|
|
[read: ToSubClass, write: ToSubClass, Units ("Megabytes"): ToSubClass,
|
|
Description ("The ProposedSize property indicates the proposed "
|
|
"size of the Win32 registry. It is the only registry "
|
|
"setting that can be modified, and its proposal is attempted the next time the system "
|
|
"boots."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control|"
|
|
"RegistrySizeLimit"}: ToSubClass]
|
|
uint32 ProposedSize ;
|
|
|
|
[read: ToSubClass, Units ("Megabytes"): ToSubClass,
|
|
Description ("The MaximumSize property indicates the maximum size "
|
|
"of the Win32 registry. If the system is successful in using the "
|
|
"ProposedSize member, MaximumSize should contain the same value."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control|"
|
|
"RegistrySizeLimit"}: ToSubClass]
|
|
uint32 MaximumSize ;
|
|
|
|
[read : ToSubClass, key: ToSubClass, Override ("Name"): ToSubClass,
|
|
Description ("The Name property indicates the name of the Win32 "
|
|
"Registry. Maximum length is 256 characters.\nExample: Microsoft "
|
|
"Windows NT Workstation|C:\\WINNT40|\\Device\\Harddisk0\\"
|
|
"partition1"): ToSubClass,
|
|
MappingStrings {"Win32Registry"}: ToSubClass]
|
|
string Name ;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_ScheduledJob class represents a job "
|
|
"scheduled using the network management schedule service functions "
|
|
"(also known as \"Job\" and \"AT command\" functions). "
|
|
"Note that this is different from the tasks scheduled using "
|
|
"the Windows 2000 Task Scheduler. "
|
|
"This class is "
|
|
"only instrumented on Windows NT 4.0 and later. Each job "
|
|
"scheduled against the schedule service is stored persistently "
|
|
"(the scheduler will know to start the job even after a reboot) "
|
|
"and is executed at the specified time and day of the week and/or "
|
|
"month. If the computer is not active or if the scheduled service "
|
|
"is not running at the specified job time the schedule service will "
|
|
"run the specified job on the next day at the specified time. "
|
|
"Scheduled jobs are scheduled with respect to Universal Coordinated "
|
|
"Time (UTC), i.e. with bias offset from GMT. This means that a job "
|
|
"can be specified using any time zone specification. The "
|
|
"Win32_ScheduledJob class will return the local time with UTC offset "
|
|
"when enumerating an object and convert to local time when creating "
|
|
"new jobs. For example a job specified to run on a computer in "
|
|
"Boston at 10:30 pm Monday PST time will be scheduled to run locally "
|
|
"at 1:30am Tuesday EST. It should be noted that a client must take "
|
|
"into account whether daylight savings time is in operation on the "
|
|
"local computer and if so subtract a bias of 60 minutes from the UTC "
|
|
"offset."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4E0-5FBB-11D2-AAC1-006008C78BC7}"),
|
|
SupportsCreate, CreateBy("Create"),
|
|
SupportsDelete, DeleteBy("Delete")]
|
|
class Win32_ScheduledJob:CIM_Job
|
|
{
|
|
[read: ToSubClass, Key: ToSubClass,
|
|
Description ("The JobId property indicates the identifier number "
|
|
"of the job. It is used by methods as a handle to a single "
|
|
"job being scheduled on this computer."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_ENUM|"
|
|
"JobId"}: ToSubClass]
|
|
uint32 JobId ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Command property contains the name of the command, "
|
|
"batch program, or binary file (along with command line arguments) "
|
|
"that the schedule service will use to invoke the job.\nExample: "
|
|
"defrag /q /f"): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"Command"}: ToSubClass ]
|
|
string Command ;
|
|
|
|
[read: ToSubClass, Override ("StartTime"): ToSubClass,
|
|
Description ("The StartTime property represents the UTC time to run "
|
|
"the job, in the form of YYYYMMDDHHMMSS.MMMMMM(+-)OOO, where "
|
|
"YYYYMMDD must be replaced by ********. The replacement is necessary "
|
|
"because the scheduling service only allows jobs to be configured "
|
|
"on a day of the month, day of the week, or run once. A job cannot be run"
|
|
" on a specific date.\nExample: "
|
|
"********123000.000000-420 which implies 12:30 pm PST with daylight "
|
|
"savings time in effect."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_ENUM|"
|
|
"JobTime"}: ToSubClass ]
|
|
datetime StartTime ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The RunRepeatedly property indicates whether the "
|
|
"scheduled job should run repeatedly on the days that the job is "
|
|
"scheduled.\nValues: TRUE or FALSE. If TRUE, then the job is "
|
|
"run repeatedly. If FALSE, then the job is run once."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"Flags|JOB_RUN_PERIODICALLY"}: ToSubClass ]
|
|
boolean RunRepeatedly ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The InteractWithDesktop property allows the specified "
|
|
"job to be interactive (meaning a user can give input to a scheduled "
|
|
"job while it is executing).\nValues TRUE or FALSE. If TRUE, then "
|
|
"the job will be interactive. If FALSE, then the job will not be "
|
|
"interactive."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"Flags|JOB_NONINTERACTIVE"}: ToSubClass ]
|
|
boolean InteractWithDesktop ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaysOfWeek property indicates the days of the week "
|
|
"when the job is scheduled to run."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"DaysOfWeek"}: ToSubClass,
|
|
BitValues {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday",
|
|
"Saturday", "Sunday"}: ToSubClass]
|
|
uint32 DaysOfWeek ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaysOfMonth property indicates the days of the "
|
|
"month when the job is scheduled to run."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"DaysOfMonth"}: ToSubClass,
|
|
BitValues {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
|
|
"11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
|
|
"21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
|
|
"31"}: ToSubClass]
|
|
uint32 DaysOfMonth ;
|
|
|
|
[read: ToSubClass, Override ("JobStatus"): ToSubClass,
|
|
Description ("The JobStatus property indicates whether a scheduled "
|
|
"service executed successfully the last time this job was supposed "
|
|
"to run."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_ENUM|"
|
|
"Flags|JOB_EXEC_ERROR"}: ToSubClass,
|
|
Values {"Success", "Failure"}: ToSubClass ]
|
|
string JobStatus ;
|
|
|
|
[Constructor, Static: ToSubClass, Implemented,
|
|
Description ("The Create function submits a job to the operating system for "
|
|
"execution at a specified future time and date. This function "
|
|
"requires that the schedule service be started at the computer to"
|
|
"which the job is submitted. "
|
|
"The method returns an integer value which can be interpretted "
|
|
"as follows: \n"
|
|
"0 - Successful completion\n"
|
|
"1 - Not supported\n"
|
|
"2 - Access denied\n"
|
|
"8 - Unknown failure\n"
|
|
"9 - Path not found\n"
|
|
"21 - Invalid parameter\n"
|
|
"22 - Service not started\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Successful completion",
|
|
"Not supported",
|
|
"Access denied",
|
|
"Unknown failure",
|
|
"Path not found",
|
|
"Invalid parameter",
|
|
"Service not started",
|
|
"Other" },
|
|
ValueMap{ "0", "1", "2", "8", "9", "21", "22", ".." },
|
|
MappingStrings {"Win32API|Network Management Functions|"
|
|
"NetScheduleJobAdd"}: ToSubClass]
|
|
uint32 Create (
|
|
|
|
[In: ToSubClass,
|
|
Description ("The Command parameter contains the name of the "
|
|
"command, batch program, or binary file (along with command line "
|
|
"parameters) that the schedule service will use to invoke the job."
|
|
"\nExample: defrag /q /f"): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"Command"}: ToSubClass ]
|
|
string Command,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The StartTime parameter represents the UTC time to "
|
|
"run the job. This is of the form YYYYMMDDHHMMSS.MMMMMM(+-)OOO, "
|
|
"where YYYYMMDD must be replaced by ********.\nExample: "
|
|
"********123000.000000-420 which implies 12:30 pm PST with "
|
|
"daylight savings time in effect."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_ENUM|"
|
|
"JobTime"}: ToSubClass ]
|
|
datetime StartTime,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The RunRepeatedly parameter indicates whether "
|
|
"the scheduled job should run repeatedly on the days that the "
|
|
"job is scheduled.\nValues: TRUE or FALSE. If TRUE, then "
|
|
"the job is run repeatedly according to the DaysOfWeek and "
|
|
"DaysOfMonth parameter. If no value is supplied the parameter "
|
|
"defaults to FALSE."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"Flags|JOB_RUN_PERIODICALLY"}: ToSubClass ]
|
|
boolean RunRepeatedly,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The DaysOfWeek parameter indicates the days of the "
|
|
"week when the job is scheduled to run, and is used only when "
|
|
"the RunRepeatedly parameter is TRUE."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"DaysOfWeek"}: ToSubClass,
|
|
BitValues {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday",
|
|
"Saturday", "Sunday"}: ToSubClass]
|
|
uint32 DaysOfWeek ,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The DaysOfMonth parameter indicates the days of "
|
|
"the month when the job is scheduled to run, and is used only when "
|
|
"the RunRepeatedly parameter is TRUE."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"DaysOfMonth"}: ToSubClass,
|
|
BitValues {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
|
|
"11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
|
|
"21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
|
|
"31"}: ToSubClass]
|
|
uint32 DaysOfMonth ,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The InteractWithDesktop parameter indicates "
|
|
"whether the specified job should be interactive (meaning a "
|
|
"user can give input to the scheduled job while it is "
|
|
"executing).\nValues TRUE or FALSE. If TRUE, then the job "
|
|
"will be interactive. The default value of this parameter is "
|
|
"FALSE."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_INFO|"
|
|
"Flags|JOB_NONINTERACTIVE"}: ToSubClass ]
|
|
boolean InteractWithDesktop ,
|
|
|
|
[Out: ToSubClass,
|
|
Description ("The JobId parameter indicates the identifier number "
|
|
"of the job. This parameter is a handle to the job being scheduled on this "
|
|
"computer."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|AT_ENUM|"
|
|
"JobId"}: ToSubClass]
|
|
uint32 JobId
|
|
|
|
); // end of Create () method
|
|
|
|
[Destructor, Implemented,
|
|
Description ("The Delete method deletes a scheduled job. "
|
|
"The method returns an integer value which can be interpretted "
|
|
"as follows: \n"
|
|
"0 - Successful completion\n"
|
|
"1 - Not supported\n"
|
|
"2 - Access denied\n"
|
|
"8 - Unknown failure\n"
|
|
"9 - Path not found\n"
|
|
"21 - Invalid parameter\n"
|
|
"22 - Service not started\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Successful completion",
|
|
"Not supported",
|
|
"Access denied",
|
|
"Unknown failure",
|
|
"Path not found",
|
|
"Invalid parameter",
|
|
"Service not started",
|
|
"Other" },
|
|
ValueMap{ "0", "1", "2", "8", "9", "21", "22", ".." }: ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Functions|"
|
|
"NetScheduleJobDel"}: ToSubClass ]
|
|
uint32 Delete () ;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
[DisplayName("Services"),
|
|
Dynamic, Provider ("CIMWin32") , SupportsUpdate,
|
|
Description ("The Win32_Service class represents a service on a "
|
|
"Win32 computer system. A service application conforms to the interface "
|
|
"rules of the Service Control Manager (SCM) and can be started by a user "
|
|
"automatically at system boot through the Services "
|
|
"control panel utility, or by an application that uses the service "
|
|
"functions included in the Win32 API. Services can execute even "
|
|
"when no user is logged on to the system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4D9-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_Service:Win32_BaseService
|
|
{
|
|
[DisplayName("Check Point Count"),
|
|
read: ToSubClass,
|
|
Description ("The CheckPoint property specifies a value that "
|
|
"the service increments periodically to report its progress "
|
|
"during a lengthy start, stop, pause, or continue operation. "
|
|
"For example, the service should increment this value as it "
|
|
"completes each step of its initialization when it is starting "
|
|
"up. The user interface program that invoked the operation on "
|
|
"the service uses this value to track the progress of the service "
|
|
"during a lengthy operation. This value is not valid and should be "
|
|
"zero when the service does not have a start, stop, pause, or "
|
|
"continue operation pending." ) : ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|SERVICE_STATUS|"
|
|
"dwCheckPoint"}: ToSubClass]
|
|
uint32 CheckPoint ;
|
|
|
|
[DisplayName("Estimated Wait Time"),
|
|
read: ToSubClass,
|
|
Description ("The WaitHint property specifies the estimated time required (in milliseconds) "
|
|
"for a pending start, stop, pause, or continue operation. "
|
|
"After the specified amount of time has elapsed, the service "
|
|
"makes its next call to the SetServiceStatus function with "
|
|
"either an incremented CheckPoint value or a change in Current State. "
|
|
"If the amount of time specified by WaitHint passes, and CheckPoint "
|
|
"has not been incremented, or the Current State has not changed, "
|
|
"the service control manager or service control program "
|
|
"assumes that an error has occurred." ) : ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|SERVICE_STATUS|"
|
|
"dwWaitHint"}: ToSubClass]
|
|
uint32 WaitHint ;
|
|
|
|
[DisplayName("Process Id"),
|
|
read: ToSubClass,
|
|
Description ("The ProcessId property specifies the process identifier "
|
|
"of the service.\nExample: 324"): ToSubClass,
|
|
MappingStrings {"Win32API|Service Structures|SERVICE_STATUS_PROCESS|"
|
|
"dwProcessId"}: ToSubClass]
|
|
uint32 ProcessId ;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_Share class represents a shared resource "
|
|
"on a Win32 system. This may be a disk drive, printer, interprocess "
|
|
"communication, or other shareable device."
|
|
"\nExample: C:\\PUBLIC."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4D6-5FBB-11D2-AAC1-006008C78BC7}"),
|
|
SupportsCreate, CreateBy("Create"),
|
|
SupportsDelete, DeleteBy("DeleteInstance")]
|
|
class Win32_Share:CIM_LogicalElement
|
|
{
|
|
[read: ToSubClass,
|
|
Description ("The AllowMaximum property indicates whether the "
|
|
"number of concurrent users for this resource has been limited."
|
|
"\nValues: TRUE or FALSE. A value of TRUE indicates the number of concurrent users "
|
|
"of this resource has not been limited and the value in the MaximumAllowed "
|
|
"property is ignored."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|SHARE_INFO_502|"
|
|
"shi502_max_uses"}: ToSubClass]
|
|
boolean AllowMaximum ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The MaximumAllowed property indicates the limit on the "
|
|
"maximum number of users allowed to use this resource concurrently. "
|
|
"The value is only valid if the AllowMaximum member set to FALSE "
|
|
"\nExample: 10."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|SHARE_INFO_502|"
|
|
"shi502_max_uses"}: ToSubClass]
|
|
uint32 MaximumAllowed ;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("Name"): ToSubClass,
|
|
Description ("The Name property indicates the alias given to a path "
|
|
"set up as a share on a Win32 system.\nExample: public."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|SHARE_INFO_1|"
|
|
"shi1_netname"}: ToSubClass]
|
|
string Name ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Path property indicates the local path of the Win32 "
|
|
"share.\nExample: C:\\Program Files"): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_502|shi502_path"}: ToSubClass]
|
|
string Path ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Type property specifies the type of resource being "
|
|
"shared. Types include disk drives, print queues, interprocess "
|
|
"communications (IPC), and general devices."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_502|shi502_type"}: ToSubClass,
|
|
Values {"Disk Drive", "Print Queue", "Device", "IPC",
|
|
"Disk Drive Admin", "Print Queue Admin", "Device Admin",
|
|
"IPC Admin"} : ToSubClass,
|
|
ValueMap {"0", "1", "2", "3", "2147483648", "2147483649",
|
|
"2147483650", "2147483651"} : ToSubClass]
|
|
uint32 Type ;
|
|
|
|
[read: ToSubClass,
|
|
DEPRECATED,
|
|
Description ("This property has been deprecated in favour of the "
|
|
"GetAccessMask method of this class due to the expense of calling "
|
|
"GetEffectiveRightsFromAcl. The value will be set to NULL"): ToSubClass]
|
|
uint32 AccessMask ;
|
|
|
|
[Constructor, Static, Implemented,
|
|
Description ("The Create method initiates sharing for a server "
|
|
"resource. Only members of the Administrators or Account Operators "
|
|
"local group or those with Communication, Print, or Server operator "
|
|
"group membership can successfully execute Create. The Print operator "
|
|
"can add only printer queues. The Communication operator can add only "
|
|
"communication device queues. "
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"2 - The user does not have access to the requested information.\n"
|
|
"8 - Unknown failure.\n"
|
|
"9 - The character or file system name is invalid.\n"
|
|
"10 - The value specified for the level parameter is invalid. \n"
|
|
"21 - The specified parameter is invalid.\n"
|
|
"22 - The share name is already in use on this server.\n"
|
|
"23 - The operation is invalid for a redirected resource. "
|
|
"The specified device name is assigned to a shared resource.\n"
|
|
"24 - The device or directory does not exist.\n"
|
|
"25 - The share name does not exist.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Success",
|
|
"Access denied",
|
|
"Unknown failure",
|
|
"Invalid name",
|
|
"Invalid level",
|
|
"Invalid parameter",
|
|
"Duplicate share",
|
|
"Redirected path",
|
|
"Unknown device or directory",
|
|
"Net name not found",
|
|
"Other" },
|
|
ValueMap{ "0", "2", "8", "9", "10", "21",
|
|
"22", "23", "24", "25", ".." },
|
|
MappingStrings {"Win32API|Network Management Functions|"
|
|
"NetShareAdd"}: ToSubClass]
|
|
uint32 Create(
|
|
|
|
[In: ToSubClass,
|
|
Description ("The Path parameter indicates the local path of the "
|
|
"Win32 share.\nExample: C:\\Program Files"): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_502|shi502_path"}: ToSubClass]
|
|
string Path ,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The Name parameter passes the alias "
|
|
"to a path set up as a share on a Win32 system.\nExample: "
|
|
"public."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_1|shi1_netname"}: ToSubClass]
|
|
string Name ,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The Type parameter passes the type of "
|
|
"resource being shared. Types includes disk drives, print "
|
|
"queues, interprocess communications (IPC), and general "
|
|
"devices."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_502|shi502_type"}: ToSubClass,
|
|
Values {"Disk Drive", "Print Queue", "Device", "IPC",
|
|
"Disk Drive Admin", "Print Queue Admin", "Device Admin",
|
|
"IPC Admin"} : ToSubClass ,
|
|
ValueMap {"0", "1", "2", "3", "2147483648", "2147483649",
|
|
"2147483650", "2147483651"} : ToSubClass]
|
|
uint32 Type ,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The MaximumAllowed parameter passes the limit "
|
|
"on the maximum number of users allowed to concurrently use this resource. "
|
|
"\nExample: 10."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_502|shi502_max_uses"}: ToSubClass]
|
|
uint32 MaximumAllowed ,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The Description parameter passes an optional "
|
|
"comment to describe the resource being shared."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_1|shi1_remark"}: ToSubClass]
|
|
string Description ,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The Password parameter passes the password "
|
|
"(when the server is running with share-level security) for the "
|
|
"shared resource. If the server is running with user-level "
|
|
"security, this parameter is ignored."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_502|shi502_passwd"}: ToSubClass]
|
|
string Password ,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The Access parameter passes the security "
|
|
"descriptor for user level permissions. A security descriptor "
|
|
"contains information about the permission, owner, and access "
|
|
"capabilities of the resource."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_SecurityDescriptor"}: ToSubClass]
|
|
Win32_SecurityDescriptor Access
|
|
|
|
); // end of Create() method
|
|
|
|
[Implemented,
|
|
Description ("The SetShareInfo method sets the parameters of a "
|
|
"shared resource. Only members of the Administrators or Account "
|
|
"Operators local group or those with Communication, Print, or "
|
|
"Server operator group membership can successfully execute "
|
|
"SetShareInfo. The print operator can set only printer "
|
|
"queues. The Communication operator can set only communication "
|
|
"device queues.\n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"2 - The user does not have access to the requested information.\n"
|
|
"8 - Unknown failure.\n"
|
|
"9 - The character or file system name is invalid.\n"
|
|
"10 - The value specified for the level parameter is invalid. \n"
|
|
"21 - The specified parameter is invalid.\n"
|
|
"22 - The share name is already in use on this server.\n"
|
|
"23 - The operation is invalid for a redirected resource. "
|
|
"The specified device name is assigned to a shared resource.\n"
|
|
"24 - The device or directory does not exist.\n"
|
|
"25 - The share name does not exist.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Success",
|
|
"Access denied",
|
|
"Unknown failure",
|
|
"Invalid name",
|
|
"Invalid level",
|
|
"Invalid parameter",
|
|
"Duplicate share",
|
|
"Redirected path",
|
|
"Unknown device or directory",
|
|
"Net name not found",
|
|
"Other" },
|
|
ValueMap{ "0", "2", "8", "9", "10", "21",
|
|
"22", "23", "24", "25", ".." },
|
|
MappingStrings {"Win32API|Network Management Functions|"
|
|
"NetShareSetInfo"}: ToSubClass]
|
|
uint32 SetShareInfo (
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The MaximumAllowed parameter passes the limit "
|
|
"on the maximum number of users allowed to use this resource "
|
|
"concurrently. \nExample: 10."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_502|shi502_max_uses"}: ToSubClass]
|
|
uint32 MaximumAllowed ,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The Description parameter passes an optional "
|
|
"comment to describe the resource being shared."): ToSubClass,
|
|
MappingStrings {"Win32API|Network Management Structures|"
|
|
"SHARE_INFO_1|shi1_remark"}: ToSubClass]
|
|
string Description ,
|
|
|
|
[In: ToSubClass, Optional: ToSubClass,
|
|
Description ("The Access parameter passes the security "
|
|
"descriptor for user level permissions. A security "
|
|
"descriptor contains information about the permission, "
|
|
"owner, and access capabilities of the resource."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_SecurityDescriptor"}: ToSubClass]
|
|
Win32_SecurityDescriptor Access
|
|
|
|
); // end of SetShareInfo() method
|
|
|
|
[Implemented,
|
|
Description("The AccessMask method returns the "
|
|
"access rights to the share, held by the user or group on "
|
|
"whose behalf the instance is returned. This method is only "
|
|
"supported under Windows NT and Windows 2000."): ToSubClass ,
|
|
MappingStrings {"Win32API|Access Control Functions|"
|
|
"GetEffectiveRightsFromAcl"}: ToSubClass,
|
|
BitValues {
|
|
"FILE_LIST_DIRECTORY" ,
|
|
"FILE_ADD_FILE" ,
|
|
"FILE_ADD_SUBDIRECTORY" ,
|
|
"FILE_READ_EA" ,
|
|
"FILE_WRITE_EA" ,
|
|
"FILE_TRAVERSE" ,
|
|
"FILE_DELETE_CHILD" ,
|
|
"FILE_READ_ATTRIBUTES" ,
|
|
"FILE_WRITE_ATTRIBUTES" ,
|
|
"DELETE" ,
|
|
"READ_CONTROL" ,
|
|
"WRITE_DAC" ,
|
|
"WRITE_OWNER" ,
|
|
"SYNCHRONIZE"
|
|
} : ToSubClass,
|
|
BitMap {
|
|
"0" ,
|
|
"1" ,
|
|
"2" ,
|
|
"3" ,
|
|
"4" ,
|
|
"5" ,
|
|
"6" ,
|
|
"7" ,
|
|
"8" ,
|
|
"16" ,
|
|
"17" ,
|
|
"18" ,
|
|
"19" ,
|
|
"20"
|
|
}: ToSubClass ]
|
|
uint32 GetAccessMask ();
|
|
|
|
[Destructor, Implemented,
|
|
Description ("The Delete method deletes a share name from a server's "
|
|
"list of shared resources, disconnecting connections to the shared "
|
|
"resource. Only members of the Administrators or Account Operators "
|
|
"local group or those with Communication, Print, or Server operator "
|
|
"group membership can successfully execute the method. The Print "
|
|
"operator can delete only printer queues. The Communication operator "
|
|
"can delete only communication-device queues.\n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"2 - The user does not have access to the requested information.\n"
|
|
"8 - Unknown failure.\n"
|
|
"9 - The character or file system name is invalid.\n"
|
|
"10 - The value specified for the level parameter is invalid. \n"
|
|
"21 - The specified parameter is invalid.\n"
|
|
"22 - The share name is already in use on this server.\n"
|
|
"23 - The operation is invalid for a redirected resource. "
|
|
"The specified device name is assigned to a shared resource.\n"
|
|
"24 - The device or directory does not exist.\n"
|
|
"25 - The share name does not exist.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Success",
|
|
"Access denied",
|
|
"Unknown failure",
|
|
"Invalid name",
|
|
"Invalid level",
|
|
"Invalid parameter",
|
|
"Duplicate share",
|
|
"Redirected path",
|
|
"Unknown device or directory",
|
|
"Net name not found",
|
|
"Other" },
|
|
ValueMap{ "0", "2", "8", "9", "10", "21",
|
|
"22", "23", "24", "25", ".." },
|
|
MappingStrings {"Win32API|Network Management Functions|"
|
|
"NetShareDel"}: ToSubClass]
|
|
uint32 Delete() ;
|
|
};
|
|
|
|
|
|
[Association,
|
|
Dynamic,
|
|
Provider ("CIMWin32"),
|
|
Description ("The Win32_ShareToDirectory class represents an "
|
|
"association between a shared resource on the computer system "
|
|
"and the directory to which it is mapped."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C511-5FBB-11D2-AAC1-006008C78BC7}")]
|
|
class Win32_ShareToDirectory
|
|
{
|
|
[read: ToSubClass, key: ToSubClass,
|
|
Description ("The Share reference represents the properties of a "
|
|
"shared resource available through the directory."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Share"}: ToSubClass]
|
|
Win32_Share REF Share;
|
|
|
|
[read: ToSubClass, key: ToSubClass,
|
|
Description ("The SharedElement reference represents the properties "
|
|
"of the directory that has been mapped to a shared resource."): ToSubClass,
|
|
MappingStrings {"CIM|CIM_Directory"}: ToSubClass]
|
|
CIM_Directory REF SharedElement;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_AssociatedProcessorMemory class represents "
|
|
"an association between a processor and its cache memory."): ToSubClass,
|
|
Locale (0x409), UUID ("{074737F0-ACBC-11d2-ABF6-00805F538618}") ]
|
|
class Win32_AssociatedProcessorMemory : CIM_AssociatedProcessorMemory
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override("Antecedent"): ToSubClass,
|
|
Description ("The Antecedent reference represents cache memory "
|
|
"available to the processor."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_CacheMemory"}: ToSubClass]
|
|
Win32_CacheMemory REF Antecedent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override("Dependent"): ToSubClass,
|
|
Description ("The Dependent reference represents the processor "
|
|
"that is using the cache memory."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Processor"}: ToSubClass]
|
|
Win32_Processor REF Dependent;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_BaseBoard class represents a base board "
|
|
"(also known as a motherboard or system board)."): ToSubClass,
|
|
Locale (0x409), UUID ("{FAF76B95-798C-11D2-AAD1-006008C78BC7}") ]
|
|
class Win32_BaseBoard:CIM_Card
|
|
{
|
|
[Read: ToSubClass, Key: ToSubClass,
|
|
MaxLen (256): ToSubClass, Override ("Tag"): ToSubClass,
|
|
Description ("The Tag property uniquely identifies the base board "
|
|
"of the system.\nExample: Base Board"): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
string Tag;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The Product property indicates the base board "
|
|
"part number defined by the manufacturer."): ToSubClass ,
|
|
MappingStrings {"SMBIOS|Type 2|Product"}: ToSubClass]
|
|
string Product;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The ConfigOptions property contains strings that "
|
|
"describe the configuration of the jumpers and switches located "
|
|
"on the base board.\nExamples: JP2: 1-2 Cache Size is 256K, "
|
|
"2-3 Cache Size is 512K, SW1-1: Close to Disable On Board "
|
|
"Video"): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 12|Configuration Options "
|
|
"Strings" }: ToSubClass]
|
|
string ConfigOptions[];
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_BIOS class represents the attributes "
|
|
"of the computer system's basic input/output services (BIOS) "
|
|
"that are installed on the computer."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4E1-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_BIOS: CIM_BIOSElement
|
|
{
|
|
[read: ToSubClass,
|
|
Description ("The ReleaseDate property indicates the release "
|
|
"date of the Win32 BIOS in the Coordinated Universal Time "
|
|
"(UTC) format of YYYYMMDDHHMMSS.MMMMMM(+-)OOO."): ToSubClass
|
|
]
|
|
datetime ReleaseDate ;
|
|
|
|
[read: ToSubClass, Override ("Version"): ToSubClass,
|
|
Description ("The Version property contains the version of the "
|
|
"BIOS. This string is created by the BIOS manufacturer. "): ToSubClass,
|
|
Mappingstrings {"Win32Registry|HARDWARE\\Description\\System|"
|
|
"SystemBiosVersion"}: ToSubClass]
|
|
string Version ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The BiosCharacteristics property identifies the "
|
|
"BIOS characteristics supported by the system as defined by the "
|
|
"System Management BIOS Reference Specification"): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 0|BIOS Characteristics"}: ToSubClass,
|
|
Values {"Reserved", "Reserved", "Unknown",
|
|
"BIOS Characteristics Not Supported",
|
|
"ISA is supported", "MCA is supported", "EISA is supported",
|
|
"PCI is supported", "PC Card (PCMCIA) is supported",
|
|
"Plug and Play is supported", "APM is supported",
|
|
"BIOS is Upgradeable (Flash)", "BIOS shadowing is allowed",
|
|
"VL-VESA is supported", "ESCD support is available",
|
|
"Boot from CD is supported", "Selectable Boot is supported",
|
|
"BIOS ROM is socketed ", "Boot From PC Card (PCMCIA) is supported",
|
|
"EDD (Enhanced Disk Drive) Specification is supported",
|
|
"Int 13h - Japanese Floppy for NEC 9800 1.2mb (3.5\", "
|
|
"1k Bytes/Sector, 360 RPM) is supported",
|
|
"Int 13h - Japanese Floppy for Toshiba 1.2mb (3.5\", 360 RPM) is "
|
|
"supported", "Int 13h - 5.25\" / 360 KB Floppy Services are supported",
|
|
"Int 13h - 5.25\" /1.2MB Floppy Services are supported",
|
|
"Int 13h - 3.5\" / 720 KB Floppy Services are supported",
|
|
"Int 13h - 3.5\" / 2.88 MB Floppy Services are supported",
|
|
"Int 5h, Print Screen Service is supported",
|
|
"Int 9h, 8042 Keyboard services are supported",
|
|
"Int 14h, Serial Services are supported",
|
|
"Int 17h, printer services are supported",
|
|
"Int 10h, CGA/Mono Video Services are supported", "NEC PC-98",
|
|
"ACPI supported", "USB Legacy is supported", "AGP is supported",
|
|
"I2O boot is supported", "LS-120 boot is supported",
|
|
"ATAPI ZIP Drive boot is supported", "1394 boot is supported",
|
|
"Smart Battery supported"}: ToSubClass]
|
|
uint16 BiosCharacteristics[];
|
|
|
|
[read: ToSubClass,
|
|
Description ("The InstallableLanguages property indicates the "
|
|
"number of languages available for installation on this "
|
|
"system. Language may determine properties such as the need for "
|
|
"Unicode and bi-directional text."): ToSubClass ,
|
|
MappingStrings {"SMBIOS|Type 13|Installable Languages"}: ToSubClass]
|
|
uint16 InstallableLanguages;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The ListOfLanguages property contains a list of names"
|
|
"of available BIOS-installable languages."): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 13|Language Strings"}: ToSubClass ]
|
|
string ListOfLanguages[];
|
|
|
|
[read: ToSubClass,
|
|
Description ("The CurrentLanguage property shows the name of the "
|
|
"current BIOS language."): ToSubClass ,
|
|
MappingStrings { "SMBIOS|Type 13|Current Language" }: ToSubClass]
|
|
string CurrentLanguage;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SMBIOSPresent property indicates whether the "
|
|
"SMBIOS is available on this computer system.\nValues: TRUE or FALSE. If "
|
|
"TRUE, SMBIOS is on this computer."): ToSubClass ,
|
|
MappingStrings {"SMBIOS|CSMBios|Init"}: ToSubClass]
|
|
boolean SMBIOSPresent;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SMBIOSMajorVersion property contains the major "
|
|
"SMBIOS version number. This property will be NULL if SMBIOS not "
|
|
"found."): ToSubClass ,
|
|
MappingStrings { "SMBIOS|CSMBios|GetVersion" }: ToSubClass]
|
|
uint16 SMBIOSMajorVersion;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SMBIOSMinorVersion property contains the minor "
|
|
"SMBIOS Version number. This property will be NULL if SMBIOS not "
|
|
"found."): ToSubClass ,
|
|
MappingStrings { "SMBIOS|CSMBios|GetVersion" }: ToSubClass]
|
|
uint16 SMBIOSMinorVersion;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SMBIOSBIOSVersion property contains the BIOS "
|
|
"version as reported by SMBIOS."): ToSubClass ,
|
|
MappingStrings { "SMBIOS|Type 0|BIOS Version" }: ToSubClass]
|
|
string SMBIOSBIOSVersion;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The BIOSVersion array property contains the complete "
|
|
"System BIOS information. In many machines, there can be several "
|
|
"version strings stored in the Registry representing the system "
|
|
"BIOS info. The property contains the complete set. "): ToSubClass]
|
|
string BIOSVersion[];
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_BootConfiguration class represents "
|
|
"the boot configuration of a Win32 system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4E2-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_BootConfiguration:CIM_Setting
|
|
{
|
|
[read: ToSubClass,
|
|
Description ("The BootDirectory property indicates the path to the "
|
|
"system files required for booting the system. \nExample: "
|
|
"C:\\Windows."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"GetEnvironmentVariable|WinBootDir"}: ToSubClass]
|
|
string BootDirectory ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The ConfigurationPath property indicates the path to "
|
|
"the configuration files. This value may be similar to the value in the "
|
|
"BootDirectory."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"GetEnvironmentVariable|WinBootDir"}: ToSubClass ]
|
|
string ConfigurationPath ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The LastDrive property indicates the last drive letter "
|
|
"to which a physical drive is assigned.\nExample: E:"): ToSubClass,
|
|
MappingStrings {"Win32API|File Functions|GetDriveType"}: ToSubClass ]
|
|
string LastDrive ;
|
|
|
|
[read: ToSubClass, key: ToSubClass, MaxLen (256): ToSubClass,
|
|
Description ("The Name property indicates the name of the boot "
|
|
"configuration. It is an identifier for the boot configuration."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
string Name ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The ScratchDirectory property indicates the directory "
|
|
"where temporary files can reside during boot time."): ToSubClass,
|
|
MappingStrings {"Win32API|File Functions|GetTempPath"}: ToSubClass ]
|
|
string ScratchDirectory ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The TempDirectory property indicates the directory "
|
|
"where temporary files are stored.\nExample: C:\\TEMP"): ToSubClass,
|
|
MappingStrings {"Win32API|File Functions|GetTempPath"}: ToSubClass ]
|
|
string TempDirectory ;
|
|
};
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_Desktop class represents the common "
|
|
"characteristics of a user's desktop. The properties of this class "
|
|
"can be modified by the user to customize the desktop."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4E3-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_Desktop:CIM_Setting
|
|
{
|
|
[read: ToSubClass,
|
|
Description ("The BorderWidth property sets the width of the "
|
|
"borders around all windows with adjustable borders."
|
|
"\nExample: 3."): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop\\"
|
|
"WindowMetrics|BorderWidth"}: ToSubClass]
|
|
uint32 BorderWidth ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The CoolSwitch property indicates whether fast"
|
|
"task switching is turned on. Fast task switching allows the "
|
|
"user to switch between windows using the ALT+TAB keyboard "
|
|
"combination."): ToSubClass,
|
|
MappingStrings {"Win32Registry|Control Panel\\Desktop|"
|
|
"CoolSwitch"}: ToSubClass]
|
|
boolean CoolSwitch ;
|
|
|
|
[read: ToSubClass, Units ("Milliseconds"): ToSubClass,
|
|
Description ("The CursorBlinkRate property indicates the length of "
|
|
"time between successive cursor blinks.\nExample: 530."): ToSubClass,
|
|
MappingStrings {"Win32Registry|Control Panel\\Desktop|"
|
|
"CursorBlinkRate"}: ToSubClass ]
|
|
uint32 CursorBlinkRate ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DragFullWindows property indicates whether the "
|
|
"contents of a window are shown when a user moves the window."
|
|
"\nValues: TRUE or FALSE. A value of TRUE indicates the content of "
|
|
"the window is displayed while the user moves the window."): ToSubClass,
|
|
MappingStrings {"Win32Registry|Control Panel\\Desktop|"
|
|
"DragFullWindows"}: ToSubClass ]
|
|
boolean DragFullWindows ;
|
|
|
|
[read: ToSubClass, Units ("8 Pixels"),
|
|
Description ("The GridGranularity property indicates the spacing of "
|
|
"the grid that windows are bound to on the desktop. This makes "
|
|
"organizing windows easier. The spacing is usually fine "
|
|
"enough that the user does not notice it.\nExample: 1."): ToSubClass,
|
|
MappingStrings {"Win32Registry|Control Panel\\Desktop|"
|
|
"GridGranularity"}: ToSubClass ]
|
|
uint32 GridGranularity ;
|
|
|
|
[read: ToSubClass, Units ("Pixels"): ToSubClass,
|
|
Description ("The IconSpacing property specifies the spacing between "
|
|
"icons.\nExample: 75"): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop\\"
|
|
"WindowMetrics|IconSpacing"}: ToSubClass ]
|
|
uint32 IconSpacing ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The IconTitleFaceName property indicates the name"
|
|
"of the font used for the names of the icons."
|
|
"\nExample: MS San Serif."): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop\\"
|
|
"WindowMetrics|IconFont"}: ToSubClass ]
|
|
string IconTitleFaceName ;
|
|
|
|
[read: ToSubClass, Units ("Point"): ToSubClass,
|
|
Description ("The IconTitleSize property indicates the "
|
|
"icon font size.\nExample: 9."): ToSubClass,
|
|
MappingStrings {"Win32API|Font and Text Structures|LOGFONTW|"
|
|
"lfHeight"}: ToSubClass]
|
|
uint32 IconTitleSize ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The IconTitleWrap property indicates whether the "
|
|
"icon's title text wraps to the next line.\nValues: TRUE or FALSE. "
|
|
"A value of TRUE indicates the title wraps to the next line."): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop\\"
|
|
"WindowMetrics|IconTitleWrap"}: ToSubClass ]
|
|
boolean IconTitleWrap ;
|
|
|
|
[read: ToSubClass, key: ToSubClass,
|
|
Description ("The Name property indicates the name that identifies "
|
|
"the current desktop profile.\nExample: MainProf"): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
string Name ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Pattern property indicates the name of the "
|
|
"pattern used as the background for the desktop"): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop|"
|
|
"Pattern"}: ToSubClass ]
|
|
string Pattern ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The ScreenSaverActive property indicates whether "
|
|
"the screen saver is active.\nValues: TRUE or FALSE. A value of "
|
|
"TRUE indicates the screen saver is active."): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop|"
|
|
"ScreenSaveActive"}: ToSubClass ]
|
|
boolean ScreenSaverActive ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The ScreenSaverExecutable property indicates "
|
|
"the name of the current screen saver executable file.\nExample: "
|
|
"LOGON.SCR."): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop|"
|
|
"SCRNSAVE.EXE"}: ToSubClass ]
|
|
string ScreenSaverExecutable ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The ScreenSaverSecure property determines whether the "
|
|
"password is enabled for the screen saver.\nValues: TRUE or FALSE. "
|
|
"If TRUE, the screen saver password is enabled."): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop|"
|
|
"ScreenSaverIsSecure"}: ToSubClass ]
|
|
boolean ScreenSaverSecure ;
|
|
|
|
[read: ToSubClass, Units ("Seconds"): ToSubClass,
|
|
Description ("The ScreenSaverTimeout property indicates the "
|
|
"amount of time that passes before the screen saver starts."): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop|"
|
|
"ScreenSaveTimeOut"}: ToSubClass ]
|
|
uint32 ScreenSaverTimeout ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Wallpaper property indicates the file name "
|
|
"for the wallpaper design on the background of the desktop."
|
|
"\nExample: WINNT.BMP"): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop|"
|
|
"Wallpaper"}: ToSubClass ]
|
|
string Wallpaper ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The WallpaperTiled property indicates whether "
|
|
"the wallpaper is tiled or centered.\nValues: TRUE or FALSE. "
|
|
"A value of TRUE indicates the wallpaper is tiled."): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop|"
|
|
"TileWallpaper"}: ToSubClass ]
|
|
boolean WallpaperTiled ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The WallpaperStretched property indicates whether "
|
|
"the wallpaper is stretched to fill the entire screen. "
|
|
"Microsoft Plus! must be installed before this option is available."
|
|
"\nValues: TRUE and FALSE. A value of TRUE indicates the wallpaper "
|
|
"is stretched to fit the entire screen. If FALSE, the wallpaper "
|
|
"retains its original dimensions on the desktop background."): ToSubClass,
|
|
MappingStrings {"Win32Registry|.DEFAULT\\Control Panel\\Desktop|"
|
|
"WallpaperStyle"}: ToSubClass ]
|
|
boolean WallpaperStretched ;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemDevices class represents an "
|
|
"association between a computer system and a logical device "
|
|
"installed on that system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4F4-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemDevices:CIM_SystemDevice
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"properties of the computer "
|
|
"system where the logical device exists."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"properties of a logical device "
|
|
"that exists on the computer system."): ToSubClass,
|
|
MappingStrings {"CIM|CIM_LogicalDevice"}: ToSubClass ]
|
|
CIM_LogicalDevice REF PartComponent;
|
|
};
|
|
|
|
//RuleBased("Select * From "
|
|
// "Win32_ComputerSystem As A "
|
|
// "Join "
|
|
// "Win32_Processor As B "
|
|
// "On A.Name = B.SystemName")
|
|
|
|
[Dynamic, Provider("CIMWin32"),
|
|
Description ("The Win32_ComputerSystemProcessor class represents "
|
|
"an association between a computer system and a processor running on "
|
|
"that system."): ToSubClass,
|
|
Locale (0x409), UUID ("{719A6839-C124-11d2-85E8-0000F8102E5F}") ]
|
|
class Win32_ComputerSystemProcessor : Win32_SystemDevices
|
|
{
|
|
[Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"Win32_ComputerSystem containing the properties of the computer "
|
|
"system on which the processor is running."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"Win32_Processor containing the properties of a processor which "
|
|
"is running the computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Processor"}: ToSubClass ]
|
|
Win32_Processor REF PartComponent;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_ComputerSystemProduct class represents "
|
|
"a product. This includes software and hardware used on this "
|
|
"computer system."): ToSubClass,
|
|
Locale (0x409), UUID ("{FAF76B96-798C-11D2-AAD1-006008C78BC7}") ]
|
|
class Win32_ComputerSystemProduct:CIM_Product
|
|
{
|
|
[read: ToSubClass,
|
|
Description ("The UUID property contains the Universally "
|
|
"Unique Identifier (UUID) for this product. A UUID is a 128-bit "
|
|
"identifier that is guaranteed to be different from other generated "
|
|
"UUIDs. If a UUID is not available, a UUID of all zeros is "
|
|
"used."): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 1|UUID"}: ToSubClass]
|
|
String UUID;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_DependentService class represents an "
|
|
"association between two interdependent base services."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4FA-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_DependentService:CIM_ServiceServiceDependency
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("Dependent"): ToSubClass,
|
|
Description ("The Dependent reference represents the "
|
|
"Win32_BaseService containing a base service that is "
|
|
"dependent on the Antecedent property of this class."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_BaseService"}: ToSubClass]
|
|
Win32_BaseService REF Dependent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("Antecedent"): ToSubClass,
|
|
Description ("The Antecedent reference represents the "
|
|
"Win32_BaseService containing the base service relied upon by "
|
|
"the Dependent property of this class."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_BaseService"}: ToSubClass]
|
|
Win32_BaseService REF Antecedent;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_DMAChannel class represents a direct memory "
|
|
"access (DMA) channel on a Win32 computer system. DMA is a method of "
|
|
"moving data from a device to memory (or vice versa) without the help "
|
|
"of the microprocessor. The system board uses a DMA controller to "
|
|
"handle a fixed number of channels, each of which can be used by one "
|
|
"(and only one) device at a time."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4D1-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_DMAChannel:CIM_DMA
|
|
{
|
|
[read : ToSubClass,
|
|
Description ("The Port property specifies the DMA port used by the "
|
|
"host bus adapter. This is meaningful for MCA-type buses.\n"
|
|
"Example: 12"): ToSubClass,
|
|
MappingStrings {"Win32API|System Structures|"
|
|
"CM_PARTIAL_RESOURCE_DESCRIPTOR|Dma|Port"}: ToSubClass]
|
|
uint32 Port ;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_Environment class represents an environment "
|
|
"or system environment setting on a Win32 computer system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4D2-5FBB-11D2-AAC1-006008C78BC7}"),
|
|
SupportsCreate, CreateBy("PutInstance"),
|
|
SupportsDelete, DeleteBy("DeleteInstance"),
|
|
SupportsUpdate]
|
|
class Win32_Environment:CIM_SystemResource
|
|
{
|
|
[read: ToSubClass, write:ToSubClass, Override ("Name"):ToSubClass, key,
|
|
Description ("The Name property contains a character string "
|
|
"specifying the name of a Win32 environment variable. By specifying "
|
|
"the name of a variable that does not yet exist, an application can "
|
|
"create a new environment variable. \nExample: Path."): ToSubClass ,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"Session Manager\\Environment"}:ToSubClass]
|
|
string Name ;
|
|
|
|
[read : ToSubClass,
|
|
Description ("The SystemVariable property indicates whether "
|
|
"the variable is a system variable. A system variable is set by "
|
|
"the operating system, and is independent from user environment settings."
|
|
"\nValues: TRUE or FALSE. A value of TRUE indicates the variable is a system "
|
|
"variable."): ToSubClass ,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"Session Manager\\Environment"}:ToSubClass ]
|
|
boolean SystemVariable ;
|
|
|
|
[read : ToSubClass, key: ToSubClass, MaxLen (260): ToSubClass,
|
|
Description ("The UserName property indicates the owner of "
|
|
"the environment setting. It is set to \"<SYSTEM>\" for "
|
|
"settings that are specific to the Win32 system (as opposed "
|
|
"to a specific user) and \"<DEFAULT>\" for default user settings."
|
|
"\nExample: Jsmith."): ToSubClass,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"Session Manager\\Environment"}:ToSubClass ]
|
|
string UserName ;
|
|
|
|
[read : ToSubClass, write: ToSubClass,
|
|
Description ("The VariableValue property contains the placeholder "
|
|
"variable of a Win32 environment variable. Information like "
|
|
"the file system directory can change from machine to machine. "
|
|
"The operating system substitutes placeholders for these.\n"
|
|
"Example: %SystemRoot%."): ToSubClass,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"Session Manager\\Environment"}:ToSubClass]
|
|
string VariableValue ;
|
|
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32") , Description (
|
|
"The Win32_IRQResource class represents an interrupt request line "
|
|
"(IRQ) number on a Win32 computer system. An interrupt request is a signal "
|
|
"sent to the CPU by a device or program for time critical events. "
|
|
"IRQ can be hardware or software based."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4D3-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_IRQResource:CIM_IRQ
|
|
{
|
|
[read : ToSubClass,
|
|
Description ("The Vector property indicates the vector of the "
|
|
"Win32 IRQ resource. A vector contains the memory address to the "
|
|
"function that will execute once the CPU acknowledges the interrupt "
|
|
"request."): ToSubClass,
|
|
MappingStrings {"Win32API|System Structures|"
|
|
"CM_PARTIAL_RESOURCE_DESCRIPTOR|Interrupt|Level"}: ToSubClass ]
|
|
uint32 Vector ;
|
|
|
|
|
|
[read : ToSubClass,
|
|
Description ("The Hardware property indicates whether the "
|
|
"interrupt is hardware or software based. A hardware IRQ is a "
|
|
"physical wire from the peripheral to the programmable interrupt "
|
|
"controller (PIC) chip through which the CPU can be notified of "
|
|
"time critical events. Some IRQ lines are reserved for standard "
|
|
"devices such as the keyboard, floppy disk drives, and the system "
|
|
"clock. A software interrupt allows applications to get the "
|
|
"attention of the processor.\nValues: TRUE or FALSE. A value "
|
|
"of TRUE indicates the interrupt is hardware based."): ToSubClass,
|
|
MappingStrings {"Win32API|System Structures|RESOURCE_DESCRIPTOR|"
|
|
"InterfaceType"}: ToSubClass]
|
|
boolean Hardware;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_LoadOrderGroup class represents a group "
|
|
"of system services that define execution dependencies. The services "
|
|
"must be initiated in the order specified by the Load Order Group, "
|
|
"as the services are dependent on each other. These dependent "
|
|
"services require the presence of the antecedent services in order "
|
|
"to function correctly."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4D4-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_LoadOrderGroup:CIM_LogicalElement
|
|
{
|
|
[read : ToSubClass,
|
|
Description ("The GroupOrder property indicates the sequence "
|
|
"in which this group of services will be loaded onto the operating system."
|
|
"\nExample: 2"): ToSubClass,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"GroupOrderList"}: ToSubClass]
|
|
uint32 GroupOrder ;
|
|
|
|
[read : ToSubClass, key: ToSubClass, Override ("Name"): ToSubClass,
|
|
Description ("The Name property indicates the name of the load order "
|
|
"group.\nExample: Primary disk"): ToSubClass,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"GroupOrderList"}: ToSubClass]
|
|
string Name ;
|
|
|
|
[read : ToSubClass,
|
|
Description ("The DriverEnabled property indicates whether this "
|
|
"load order group can include drivers along with system services."
|
|
"\nValues: TRUE or FALSE. If TRUE, the load order group can include"
|
|
"drivers."): ToSubClass,
|
|
MappingStrings {"Win32Registry|System\\CurrentControlSet\\Control\\"
|
|
"GroupOrderList"}: ToSubClass]
|
|
boolean DriverEnabled ;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_LoadOrderGroupServiceMembers class "
|
|
"represents an association between a load order group and a "
|
|
"base service. Note: Win32_SystemDriver objects are members "
|
|
"of that load order group. Not all services are "
|
|
"members of groups, and not all groups have services within "
|
|
"them."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4EF-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_LoadOrderGroupServiceMembers:CIM_Component
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"Win32_LoadOrderGroup containing the load order group "
|
|
"properties associated with the base service."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_LoadOrderGroup"}: ToSubClass]
|
|
Win32_LoadOrderGroup REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"Win32_BaseService containing the base service that is a member "
|
|
"of a load order group"): ToSubClass,
|
|
MappingStrings {"WMI|Win32_BaseService"}: ToSubClass]
|
|
Win32_BaseService REF PartComponent;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_LoadOrderGroupServiceDependencies class "
|
|
"represents an association between a base service and a load order "
|
|
"group that the service depends on to start running."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4FC-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_LoadOrderGroupServiceDependencies:CIM_Dependency
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("Antecedent"): ToSubClass,
|
|
Description ("The Antecedent reference represents the "
|
|
"Win32_LoadOrderGroup containing the properties of the load "
|
|
"order group that must start before the dependent base service "
|
|
"of this class can start."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_LoadOrderGroup"}: ToSubClass]
|
|
Win32_LoadOrderGroup REF Antecedent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("Dependent"): ToSubClass,
|
|
Description ("The Dependent reference represents the "
|
|
"Win32_BaseService containing the properties of the base "
|
|
"service that is dependent upon the load order group in order "
|
|
"to start running."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_BaseService"}: ToSubClass ]
|
|
Win32_BaseService REF Dependent;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_LogicalDiskRootDirectory class represents "
|
|
"an association between a logical disk and its directory structure."): ToSubClass,
|
|
Locale (0x409), UUID("{F25FE468-783E-11d2-90BF-0060081A46FD}") ]
|
|
class Win32_LogicalDiskRootDirectory:CIM_Component
|
|
{
|
|
[Read: ToSubClass, Key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"properties of the logical disk in the "
|
|
"Win32_LogicalDiskRootDirectory association."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_LogicalDisk"}: ToSubClass]
|
|
Win32_LogicalDisk REF GroupComponent;
|
|
|
|
[Read: ToSubClass, Key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"properties of the file directory structure in the "
|
|
"Win32_LogicalDiskRootDirectory association."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Directory"}: ToSubClass ]
|
|
Win32_Directory REF PartComponent;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"), SupportsUpdate,
|
|
Description ("The Win32_OperatingSystem class represents an operating system "
|
|
"installed on a Win32 computer system. Any operating system that can be installed "
|
|
"on a Win32 system is a descendent (or member) of this class.\nExample: "
|
|
"Microsoft Windows 95."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4DE-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_OperatingSystem:CIM_OperatingSystem
|
|
{
|
|
[read: ToSubClass,
|
|
Description ("The BootDevice property indicates the name "
|
|
"of the disk drive from which the Win32 operating "
|
|
"system boots. \nExample: \\\\Device\\Harddisk0."): ToSubClass,
|
|
MappingStrings {"Win32API|DRIVE_MAP_INFO|btInt13Unit"}: ToSubClass]
|
|
string BootDevice ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The BuildNumber property indicates the build number "
|
|
"of the operating system. It can be used for more precise "
|
|
"versioning information than product release version numbers"
|
|
"\nExample: 1381"): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Structures|"
|
|
"OSVERSIONINFOEX|dwBuildNumber"}: ToSubClass ]
|
|
string BuildNumber ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The BuildType property indicates the type of build "
|
|
"used for the operating system. Examples are retail build and checked "
|
|
"build."): ToSubClass,
|
|
MappingStrings {"Win32Registry|Software\\Microsoft\\Windows\\"
|
|
"CurrentVersion|CurrentType"}: ToSubClass ]
|
|
string BuildType ;
|
|
|
|
[read: ToSubClass, MaxLen(6): ToSubClass,
|
|
Description ("The CodeSet property indicates the code page value "
|
|
"used by the operating system. A code page contains a "
|
|
"character table used by the operating system to translate "
|
|
"strings for different languages. The American National Standards "
|
|
"Institute (ANSI) lists values that represent defined code pages. If "
|
|
"the operating system does not use an ANSI code page, this member "
|
|
"will be set to 0. The CodeSet string can use up to six characters "
|
|
"to define the code page value.\nExample: 1255."): ToSubClass,
|
|
MappingStrings {"Win32API|National Language Support Functions|"
|
|
"GetLocaleInfo|LOCALE_IDEFAULTANSICODEPAGE"}: ToSubClass ]
|
|
string CodeSet ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The CountryCode property indicates the code for the country/region"
|
|
"used by the operating system. Values are based on international phone "
|
|
"dialing prefixes (also referred to as IBM country/region codes). The "
|
|
"CountryCode string can use up to six characters to define the "
|
|
"country/region code value.\nExample: 1 for the United States)"): ToSubClass,
|
|
MappingStrings {"Win32API|National Language Support Functions|"
|
|
"GetLocaleInfo|LOCALE_ICOUNTRY"}: ToSubClass ]
|
|
string CountryCode ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The CSDVersion property contains a null-terminated "
|
|
"string, that indicates the latest Service Pack installed on the "
|
|
"computer system. If no Service Pack is installed, the string is NULL. "
|
|
"For computer systems running Windows 95, this property contains a null-terminated string that "
|
|
"provides arbitrary additional information about the operating system."
|
|
"\nExample: Service Pack 3."): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Structures|"
|
|
"OSVERSIONINFOEX|szCSDVersion"}: ToSubClass ]
|
|
string CSDVersion ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Debug property indicates whether the operating "
|
|
"system is a checked (debug) build. Checked builds provide error "
|
|
"checking, argument verification, and system debugging code. "
|
|
"Additional code in a checked binary generates a kernel debugger "
|
|
"error message and breaks into the debugger. This helps "
|
|
"immediately determine the cause and location of the error. "
|
|
"Performance suffers in the checked build due to the additional "
|
|
"code that is executed.\nValues: TRUE or FALSE, A value of TRUE indicates "
|
|
"the debugging version of User.exe is installed."): ToSubClass,
|
|
MappingStrings {"Win32API|GetSystemMetrics|SM_DEBUG"}: ToSubClass ]
|
|
boolean Debug ;
|
|
|
|
[read: ToSubClass, write: ToSubClass ,
|
|
Description ("The ForegroundApplicationBoost property indicates "
|
|
"the increase in priority given to the foreground application. "
|
|
"On computer systems running Windows NT 4.0 and Windows 2000, "
|
|
"application boost is implemented by giving an application more "
|
|
"execution time slices (quantum lengths). A "
|
|
"ForegroundApplicationBoost value of 0 indicates the system boosts "
|
|
"the quantum length by 6; if 1, then 12; and if 2 then 18. On "
|
|
"Windows NT 3.51 and earlier, application boost is implemented by "
|
|
"increasing the scheduling priority. For these systems, the "
|
|
"scheduling priority is increased by the value of this property. "
|
|
"The default value is 2." ): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"PriorityControl|Win32PrioritySeparation"}: ToSubClass,
|
|
Values { "None" , "Minimum" ,"Maximum" }: ToSubClass]
|
|
uint8 ForegroundApplicationBoost ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Locale property indicates the language identifier "
|
|
"used by the operating system. A language identifier is a standard "
|
|
"international numeric abbreviation for a country or "
|
|
"region. Each language has a unique language identifier (LANGID), "
|
|
"a 16-bit value that consists of a primary language identifier and a "
|
|
"secondary language identifier."): ToSubClass,
|
|
MappingStrings {"Win32API|National Language Support Functions|"
|
|
"GetLocaleInfo|LOCALE_ILANGUAGE"}: ToSubClass ]
|
|
string Locale ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Manufacturer property indicates the name of the "
|
|
"operating system manufacturer. For Win32 systems this value will be "
|
|
"Microsoft Corporation."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
string Manufacturer ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Organization property indicates the "
|
|
"registered user's (of the operating system) company name.\nExample: "
|
|
"Microsoft Corporation."): ToSubClass,
|
|
MappingStrings {"Win32Registry|Software\\Microsoft\\Windows\\"
|
|
"CurrentVersion|RegisteredOrganization"}: ToSubClass ]
|
|
string Organization ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The OSLanguage property indicates which language "
|
|
"version of the operating system is installed.\nExample: 0x0807 "
|
|
"(German, Switzerland)"): ToSubClass,
|
|
MappingStrings {"Win32Registry|DEFAULT\\Control Panel\\International|"
|
|
"Locale"}: ToSubClass]
|
|
uint32 OSLanguage ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The OSProductSuite property identifies installed and "
|
|
"licensed system product additions to the operating system."): ToSubClass,
|
|
BitValues { "Small Business", "Enterprise", "BackOffice",
|
|
"Communication Server", "Terminal Server", "Small Business(Restricted)",
|
|
"Embedded NT", "Data Center"}: ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"ProductOptions|ProductSuite"}: ToSubClass ]
|
|
uint32 OSProductSuite ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The PlusProductID property contains the product "
|
|
"identification number for the Windows Plus! operating system "
|
|
"enhancement software (if installed)."): ToSubClass,
|
|
MappingStrings {"Win32Registry|Software\\Microsoft\\Windows NT\\"
|
|
"CurrentVersion|Plus! ProductId"}: ToSubClass ]
|
|
string PlusProductID ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The PlusVersionNumber property contains the version "
|
|
"number of the Windows Plus! operating system enhancement software "
|
|
"(if installed)."): ToSubClass,
|
|
MappingStrings {"Win32Registry|Software\\Microsoft\\Windows NT\\"
|
|
"CurrentVersion|Plus! VersionNumber"}: ToSubClass ]
|
|
string PlusVersionNumber ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Primary property determines whether this is the "
|
|
"primary operating system.\nValues: TRUE or FALSE. A value of TRUE "
|
|
"indicates this is the primary operating system."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
boolean Primary ;
|
|
|
|
[read: ToSubClass, write: ToSubClass ,
|
|
Description ("The QuantumLength property defines the number of "
|
|
"clock ticks per quantum. A quantum is a unit of execution time that "
|
|
"the scheduler is allowed to give to an application before switching "
|
|
"to other applications. When a thread runs one quantum, the kernel "
|
|
"preempts it and moves it to the end of a queue for applications with "
|
|
"equal priorities. The actual length of a thread's quantum "
|
|
"varies across different Windows platforms. For Windows NT/Windows "
|
|
"2000 only."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"PriorityControl|Win32PrioritySeparation"}: ToSubClass ,
|
|
Values { "Unknown" , "One tick" ,"Two ticks" }: ToSubClass]
|
|
uint8 QuantumLength ;
|
|
|
|
[read: ToSubClass, write: ToSubClass,
|
|
Description ("The QuantumType property specifies either fixed "
|
|
"or variable length quantums. Windows NT 4.0 Workstation/Windows "
|
|
"2000 defaults to variable length quantums where the foreground "
|
|
"application has a longer quantum than the background applications. "
|
|
"Windows NT Server defaults to fixed-length quantums. A quantum "
|
|
"is a unit of execution time that the scheduler is allowed to give "
|
|
"to an application before switching to another application. When "
|
|
"a thread runs one quantum, the kernel preempts it and moves it "
|
|
"to the end of a queue for applications with equal priorities. The "
|
|
"actual length of a thread's quantum varies across different Windows "
|
|
"platforms. For Windows NT/Windows 2000 only.\n"
|
|
"The property can take the following values: \n"
|
|
"0 = Unkown - Quantum Type not known.\n"
|
|
"1 = Fixed - Quantum length is fixed.\n"
|
|
"2 = Variable - Quantum length is variable."): ToSubClass,
|
|
Values {"Unknown", "Fixed", "Variable"}: ToSubClass]
|
|
uint8 QuantumType ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The RegisteredUser property indicates the "
|
|
"name of the registered user of the operating system."
|
|
"\nExample: Jane Doe"): ToSubClass,
|
|
MappingStrings {"Win32Registry|Software\\Microsoft\\Windows NT\\"
|
|
"CurrentVersion|RegisteredOwner"}: ToSubClass ]
|
|
string RegisteredUser ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SerialNumber property indicates "
|
|
"the operating system product serial identification number."
|
|
"\nExample:10497-OEM-0031416-71674."): ToSubClass,
|
|
MappingStrings {"Win32Registry|Software\\Microsoft\\Windows NT\\"
|
|
"CurrentVersion|ProductId"}: ToSubClass ]
|
|
string SerialNumber ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The ServicePackMajorVersion property indicates the "
|
|
"major version number of the service pack installed on the computer system. "
|
|
"If no service pack has been installed, the value is zero. "
|
|
"ServicePackMajorVersion is valid for computers running Windows 2000 "
|
|
"and later (NULL otherwise)." ): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Structures|"
|
|
"OSVERSIONINFOEX|wServicePackMajor"}: ToSubClass]
|
|
uint16 ServicePackMajorVersion;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The ServicePackMinorVersion property indicates the "
|
|
"minor version number of the service pack installed on the computer system. "
|
|
"If no service pack has been installed, the value is zero. "
|
|
"ServicePackMinorVersion is valid for computers running Windows 2000 "
|
|
"and later (NULL otherwise)."): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Structures|"
|
|
"OSVERSIONINFOEX|wServicePackMinor"}: ToSubClass]
|
|
uint16 ServicePackMinorVersion;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SystemDevice property indicates the physical disk "
|
|
"partition the operating system is installed on."): ToSubClass,
|
|
MappingStrings {"Win32API|Registry Functions|GetPrivateProfileString|"
|
|
"Paths|TargetDevice"}: ToSubClass ]
|
|
string SystemDevice ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SystemDirectory property indicates the "
|
|
"system directory of the operating system.\nExample: "
|
|
"C:\\WINDOWS\\SYSTEM32"): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Functions|"
|
|
"GetSystemDirectory"}: ToSubClass ]
|
|
string SystemDirectory ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The SystemDrive property contains the letter of the "
|
|
"disk drive that the operating system resides on.\nExample: C:")]
|
|
string SystemDrive;
|
|
|
|
[read: ToSubClass, Override ("Version"): ToSubClass ,
|
|
Description ("The Version property indicates the version number of "
|
|
"the operating system.\nExample: 4.0"): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Structures|"
|
|
"OSVERSIONINFOEX|dwMajorVersion, dwMinorVersion"}: ToSubClass ]
|
|
string Version ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The WindowsDirectory property indicates the Windows "
|
|
"directory of the operating system.\nExample: C:\\WINDOWS"): ToSubClass,
|
|
MappingStrings {"Win32API|System Information Functions|"
|
|
"GetWindowsDirectory"}: ToSubClass ]
|
|
string WindowsDirectory ;
|
|
|
|
[read: ToSubClass, Write: ToSubClass,
|
|
Override ("Description"): ToSubClass,
|
|
Description ("The Description property provides a description of "
|
|
"the Windows operating system. Some user interfaces (those that "
|
|
"allow editing of this description) limit its length to 48 "
|
|
"characters."): ToSubClass ,
|
|
MappingStrings {"WMI"}: ToSubClass ]
|
|
string Description ;
|
|
|
|
[Read,
|
|
Description ("The EncryptionLevel property specifies if the "
|
|
"encryption level for secure transactions is 40-bit, 128-bit, or "
|
|
"n-bit encryption."),
|
|
Values{ "40-bit",
|
|
"128-bit",
|
|
"n-bit"}]
|
|
uint32 EncryptionLevel;
|
|
|
|
[Read,
|
|
Description ("The LargeSystemCache property indicates whether to "
|
|
"optimize memory for applications (value=0) or for system performance "
|
|
"(value=1)."),
|
|
ValueMap{"0","1"},
|
|
Values{ "Optimize for Applications",
|
|
"Optimize for System Performance"}]
|
|
uint32 LargeSystemCache;
|
|
|
|
[Read,
|
|
Description ("The SuiteMask property indicates a set of bit flags that "
|
|
"identify the product suites available on the system. This member can be "
|
|
"a combination of the following values: \n"
|
|
"0 - Windows Server 2003, Small Business Edition \n"
|
|
"1 - Windows Server 2003, Enterprise Edition \n"
|
|
"2 - Windows Server 2003, Backoffice Edition \n"
|
|
"3 - Windows Server 2003, Communications Edition \n"
|
|
"4 - Microsoft Terminal Services \n"
|
|
"5 - Windows Server 2003, Small Business Edition Restricted \n"
|
|
"6 - Windows XP Embedded \n"
|
|
"7 - Windows Server 2003, Datacenter Edition \n"
|
|
"8 - Single User \n"
|
|
"9 - Windows XP Home Edition \n"
|
|
"10 - Windows Server 2003, Web Edition"),
|
|
BitMap{"0","1","2","3","4","5","6","7","8","9","10"},
|
|
BitValues{
|
|
"Windows Server 2003, Small Business Edition",
|
|
"Windows Server 2003, Enterprise Edition",
|
|
"Windows Server 2003, Backoffice Edition",
|
|
"Windows Server 2003, Communications Edition",
|
|
"Microsoft Terminal Services",
|
|
"Windows Server 2003, Small Business Edition Restricted",
|
|
"Windows XP Embedded",
|
|
"Windows Server 2003, Datacenter Edition",
|
|
"Single User",
|
|
"Windows XP Home Edition",
|
|
"Windows Server 2003, Web Edition"}]
|
|
uint32 SuiteMask;
|
|
|
|
[Read,
|
|
Description ("The ProductType property indicates additional information "
|
|
"about the system. This member can be one of the following values: \n"
|
|
"1 - Work Station \n"
|
|
"2 - Domain Controller \n"
|
|
"3 - Server"),
|
|
ValueMap{"1","2", "3"},
|
|
Values{ "Work Station", "Domain Controller", "Server"}]
|
|
uint32 ProductType;
|
|
|
|
[Read]
|
|
boolean PAEEnabled;
|
|
|
|
// methods
|
|
[Implemented, Override ("Reboot"): ToSubClass,
|
|
Privileges{"SeShutdownPrivilege"}: ToSubClass,
|
|
Description ("The Reboot method shuts down the computer system, then "
|
|
"restarts it. On computers running Windows NT/2000, the calling process must "
|
|
"have the SE_SHUTDOWN_NAME privilege.\n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Success", "Other" },
|
|
ValueMap{ "0", ".." },
|
|
MappingStrings {"Win32API|System Shutdown Functions|ExitWindowsEx|"
|
|
"EWX_REBOOT"}: ToSubClass ]
|
|
uint32 Reboot() ;
|
|
|
|
[Implemented, Override ("Shutdown"): ToSubClass,
|
|
Privileges{"SeShutdownPrivilege"}: ToSubClass,
|
|
Description ("The Shutdown method unloads programs and DLLs "
|
|
"to the point where it is safe to turn off the computer. All file buffers are "
|
|
"flushed to disk, and all running processes are stopped. On computer "
|
|
"systems running Windows NT/2000, the calling process must have "
|
|
"the SE_SHUTDOWN_NAME privilege.\n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Success", "Other" },
|
|
ValueMap{ "0", ".." },
|
|
MappingStrings {"Win32API|System Shutdown Functions|ExitWindowsEx|"
|
|
"EWX_SHUTDOWN"}: ToSubClass]
|
|
uint32 Shutdown() ;
|
|
|
|
[Implemented,
|
|
Privileges{"SeShutdownPrivilege"}: ToSubClass,
|
|
Description ("The Win32Shutdown method provides the full set of "
|
|
"shutdown options supported by Win32 operating systems.\n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Success", "Other" },
|
|
ValueMap{ "0", ".." },
|
|
MappingStrings {"Win32API|System Shutdown Functions|"
|
|
"ExitWindowsEx"}: ToSubClass]
|
|
uint32 Win32Shutdown (
|
|
|
|
[in: ToSubClass,
|
|
Description ("The Flags parameter contains a set of "
|
|
"flags to shut the computer down. The setting this parameter "
|
|
"to 0 is the command to logoff."): ToSubClass,
|
|
MappingStrings {"Win32API|System Shutdown Functions|"
|
|
"ExitWindowsEx"}: ToSubClass,
|
|
BitValues {"Shutdown", "Reboot", "Force", "Power Off", "Force If Hung"}: ToSubClass]
|
|
sint32 Flags,
|
|
|
|
[in: ToSubClass,
|
|
Description ("The Reserved parameter provides a way to "
|
|
"extend Win32Shutdown. Presently, the Reserved "
|
|
"parameter is ignored."): ToSubClass,
|
|
MappingStrings {"Win32API|System Shutdown Functions|"
|
|
"ExitWindowsEx"}: ToSubClass]
|
|
sint32 Reserved =0
|
|
|
|
); // End of Win32Shutdown() method
|
|
|
|
[Implemented,
|
|
Privileges{"SeSystemTimePrivilege"}: ToSubClass,
|
|
Description ("The SetDateTime method sets the current system time "
|
|
"on the computer. On computer "
|
|
"systems running Windows NT/2000, the calling process must have "
|
|
"the SE_SYSTEMTIME_NAME privilege.\n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Success", "Other" },
|
|
ValueMap{ "0", ".." }]
|
|
uint32 SetDateTime (
|
|
|
|
[in: ToSubClass,
|
|
Description ("The LocalDateTime parameter is the time to set. "
|
|
"This property may not be NULL."):ToSubClass]
|
|
DateTime LocalDateTime
|
|
|
|
) ; // End of SetDateTime() method
|
|
|
|
};
|
|
|
|
|
|
|
|
//RuleBased("Select * From "
|
|
// "Win32_OperatingSystem As A "
|
|
// "Join "
|
|
// "Win32_QuickFixEngineering As B "
|
|
// "On A.CSName = B.CSName")
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_OperatingSystemQFE class represents an "
|
|
"association between an operating system and product updates applied as "
|
|
"represented in Win32_QuickFixEngineering."): ToSubClass ,
|
|
Locale (0x409), UUID ("{2CB2C452-C516-11D2-B364-00105A1F77A1}")]
|
|
class Win32_OperatingSystemQFE : CIM_Dependency
|
|
{
|
|
[Read: ToSubClass, Key: ToSubClass,
|
|
Override ("Antecedent"): ToSubClass,
|
|
Description ("The Win32_OperatingSystem antecedent reference "
|
|
"represents the Win32_OperatingSystem effected by the product update in this "
|
|
"association."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_OperatingSystem"}: ToSubClass]
|
|
Win32_OperatingSystem REF Antecedent;
|
|
|
|
[Read: ToSubClass, Key: ToSubClass, Weak: ToSubClass,
|
|
Override ("Dependent"): ToSubClass ,
|
|
Description ("The Win32_QuickFixEngineering dependent reference "
|
|
"represents the Win32_QuickFixEngineering applied to the "
|
|
"operating system in this association."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_QuickFixEngineering"}: ToSubClass]
|
|
Win32_QuickFixEngineering REF Dependent;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"), SupportsUpdate,
|
|
Description ("The Win32_OSRecoveryConfiguration class represents "
|
|
"the types of information that will be gathered from memory when "
|
|
"the operating system fails. This includes boot failures and "
|
|
"system crashes."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4E8-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_OSRecoveryConfiguration:CIM_Setting
|
|
{
|
|
[read : ToSubClass, write: ToSubClass,
|
|
Description ("The AutoReboot property determines whether the "
|
|
"system will automatically reboot during a recovery operation."
|
|
"\nValues: TRUE or FALSE. If TRUE, the system will automatically "
|
|
"rebooted."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"CrashControl|AutoReboot"}: ToSubClass]
|
|
boolean AutoReboot ;
|
|
|
|
[read : ToSubClass, write: ToSubClass,
|
|
Description ("The DebugFilePath property indicates the "
|
|
"path to the debug file. A debug file is created with the "
|
|
"memory state of the machine after a machine failure."
|
|
"\nExample: %systemRoot%\\Memory.dmp"): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"CrashControl|DumpFile"}: ToSubClass ]
|
|
string DebugFilePath ;
|
|
|
|
[read : ToSubClass, write: ToSubClass,
|
|
Description ("The ExpandedDebugFilePath property is "
|
|
"an expanded version of the DebugFilePath property. "
|
|
"\nExample: C:\\WinNT\\Memory.dmp"): ToSubClass ]
|
|
string ExpandedDebugFilePath ;
|
|
|
|
[read : ToSubClass, write: ToSubClass,
|
|
Description ("The MiniDumpDirectory property indicates the directory "
|
|
"where small memory dump files will be recorded and accumulated. "
|
|
"\nExample: %systemRoot%\\MiniDump"): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"CrashControl|MiniDumpDir"}: ToSubClass ]
|
|
string MiniDumpDirectory ;
|
|
|
|
[read : ToSubClass, write: ToSubClass,
|
|
Description ("The ExpandedMiniDumpDirectory property is "
|
|
"an expanded version of the MiniDumpDirectory property. "
|
|
"\nExample: C:\\WinNT\\MiniDump"): ToSubClass ]
|
|
string ExpandedMiniDumpDirectory ;
|
|
|
|
[read : ToSubClass, key: ToSubClass, MaxLen(256): ToSubClass,
|
|
Description ("The Name property contains an identifying name for "
|
|
"this instance of the Win32_OSRecoveryConfiguration class."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string Name ;
|
|
|
|
[read : ToSubClass, write: ToSubClass,
|
|
Description ("The OverwriteExistingDebugFile property indicates "
|
|
"whether a new log file will overwrite an existing one. "
|
|
"\nValues: TRUE or FALSE. If TRUE, the existing debug file will be "
|
|
"overwritten. If FALSE, a log file is not written if the filename "
|
|
"already exists."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"CrashControl|Overwrite"}: ToSubClass]
|
|
boolean OverwriteExistingDebugFile ;
|
|
|
|
[read : ToSubClass, write: ToSubClass,
|
|
Description ("The SendAdminAlert property indicates whether or not an alert "
|
|
"message will be sent to the system administrator in the event "
|
|
"of an operating system failure.\nValues: TRUE or FALSE. If TRUE, "
|
|
"the system will send an alert to the system administrator."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"CrashControl|SendAlert"}: ToSubClass]
|
|
boolean SendAdminAlert ;
|
|
|
|
[read : ToSubClass, write: ToSubClass, DEPRECATED: ToSubClass,
|
|
Description ("The WriteDebugInfo property has been deprecated in favor of "
|
|
"the DebugInfoType property in the same class. All future work should use "
|
|
"this new property. \n"
|
|
"The WriteDebugInfo property indicates whether or not debugging information "
|
|
"is to be written to a log file.\nValues: "
|
|
"TRUE or FALSE. If TRUE, debug information is written to a file."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"CrashControl|CrashDumpEnabled"}: ToSubClass]
|
|
boolean WriteDebugInfo ;
|
|
|
|
[read, write,
|
|
Description ("The DebugInfoType property indicates what type of debugging "
|
|
"information is to be written to the log file.\nValues: "
|
|
"0 = None \n"
|
|
"1 = Complete memory dump \n"
|
|
"2 = Kernel memory dump \n"
|
|
"3 = Small memory dump (64KB)"),
|
|
Values {"None","Complete memory dump","Kernel memory dump","Small memory dump"},
|
|
ValueMap {"0","1","2","3"}]
|
|
uint32 DebugInfoType ;
|
|
|
|
[read: ToSubClass, write: ToSubClass,
|
|
Description ("The WriteToSystemLog property indicates whether or not "
|
|
"events will be written to a system log. \nValues: TRUE or "
|
|
"FALSE. If TRUE, information will be written to a system "
|
|
"log file."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"CrashControl|LogEvent"}: ToSubClass]
|
|
boolean WriteToSystemLog ;
|
|
|
|
[read : ToSubClass, write: ToSubClass, DEPRECATED: ToSubClass,
|
|
Description ("The KernelDumpOnly property has been deprecated in favor of "
|
|
"the DebugInfoType property in the same class. All future work should use "
|
|
"this new property. \n"
|
|
"The KernelDumpOnly property indicates whether only "
|
|
"kernel debug information will be written to the debug log file. "
|
|
"\nValues TRUE or FALSE. If TRUE, then only the state of "
|
|
"kernel is written to a file in the event of a system failure. If FALSE, the "
|
|
"system will try to log the state of the memory and any devices that "
|
|
"can provide information about the system when it failed."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SYSTEM\\CurrentControlSet\\Control\\"
|
|
"CrashControl|KernelDumpOnly"}: ToSubClass]
|
|
boolean KernelDumpOnly ;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Abstract,
|
|
Description ("The Win32_SystemMemoryResource class represents a "
|
|
"system memory resource on a Win32 system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4CE-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemMemoryResource:CIM_MemoryMappedIO
|
|
{
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_DeviceMemoryAddress class represents a device "
|
|
"memory address on a Win32 system.\nExample: ScsiPort0 device memory "
|
|
"address."): ToSubClass,
|
|
Locale (0x409), UUID("{8502C4CF-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_DeviceMemoryAddress:Win32_SystemMemoryResource
|
|
{
|
|
[Override("StartingAddress"), read , Key, Description (
|
|
"The StartingAddress property contains the starting address of memory mapped I/O. The hardware resource identifier "
|
|
"property should be set to this value to construct the mapped I/O "
|
|
"resource key.") , MappingStrings {"MIF.DMTF|Memory Mapped I/O|001.1"}
|
|
]
|
|
uint64 StartingAddress ;
|
|
|
|
[read : ToSubClass,
|
|
Description ("The MemoryType property indicates the "
|
|
"characteristics of the memory resource on the Win32 system."
|
|
"\nExample: ReadWrite."): ToSubClass,
|
|
Values {"ReadWrite", "ReadOnly", "WriteOnly",
|
|
"Prefetchable"} : ToSubClass,
|
|
ValueMap {"ReadWrite", "ReadOnly", "WriteOnly",
|
|
"Prefetchable"} : ToSubClass,
|
|
MappingStrings {"Win32API|SystemStructures|"
|
|
"CM_PARTIAL_RESOURCE_DESCRIPTOR|Flags"}: ToSubClass]
|
|
string MemoryType ;
|
|
};
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_PortResource class represents an I/O port "
|
|
"on a Win32 computer system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4D0-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_PortResource:Win32_SystemMemoryResource
|
|
{
|
|
[Override("StartingAddress"), read , Key, Description (
|
|
"The StartingAddress property contains the starting address of memory mapped I/O. The hardware resource identifier "
|
|
"property should be set to this value to construct the mapped I/O "
|
|
"resource key.") , MappingStrings {"MIF.DMTF|Memory Mapped I/O|001.1"}
|
|
]
|
|
uint64 StartingAddress ;
|
|
|
|
[read : ToSubClass,
|
|
Description ("The Alias property indicates whether this instance "
|
|
"represents the base port address or one of the "
|
|
"ranges with an alias. A base port address is a predetermined port address "
|
|
"dedicated to a specific service or device. A port alias address is "
|
|
"one that a device responds to as if it were the actual address of an "
|
|
"I/O port. \nValues: TRUE or FALSE. A value of TRUE indicates this instance "
|
|
"represents an address alias."): ToSubClass,
|
|
MappingStrings {"Win32API|Configuration Manager Structures|IO_INFO"}: ToSubClass]
|
|
boolean Alias ;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Abstract,
|
|
Description ("The Win32_ProcessStartup class represents the startup "
|
|
"configuration of a Win32 process. The class is defined as a Method "
|
|
"Type definition, which means that it is used only for passing "
|
|
"information to a method (a procedure that provides access to an "
|
|
"object's data)."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4DB-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_ProcessStartup:Win32_MethodParameterClass
|
|
{
|
|
[Write: ToSubClass ,
|
|
Description ("The CreateFlags property specifies additional "
|
|
"values that control the priority class and the creation of the "
|
|
"process. The following creation values can be specified in any "
|
|
"combination, except as noted:\n"
|
|
"Create_Default_Error_Mode - Newly created processes are given the "
|
|
"system default error mode of the calling process instead of "
|
|
"inheriting the error mode of the parent process. This flag is "
|
|
"useful for multi-threaded shell applications that run with "
|
|
"hard errors disabled.\n"
|
|
"Create_New_Console - The new process has a new console, instead "
|
|
"of inheriting the parent's console. This flag cannot be used "
|
|
"with the Detached_Process flag.\n"
|
|
"Create_New_Process_Group - The new process is the root process "
|
|
"of a new process group. The process group includes all "
|
|
"processes that are descendants of this root process. The "
|
|
"process identifier of the new process group is the same as "
|
|
"the process identifier (returned in the ProcessID property of the "
|
|
"Win32_Process class). Process groups are used by the "
|
|
"GenerateConsoleCtrlEvent function to enable sending a "
|
|
"CTRL+C or CTRL+BREAK signal to a group of console processes.\n"
|
|
"Create_Suspended - The primary thread of the new process is "
|
|
"created in a suspended state and does not run until the "
|
|
"ResumeThread function is called.\n"
|
|
"Create_Unicode_Environment - The environment settings listed "
|
|
"in the EnvironmentVariables property use Unicode characters. If "
|
|
"clear, the environment block uses ANSI characters.\n"
|
|
"Debug_Process - If this flag is set, the calling process is treated "
|
|
"as a debugger, and the new process is a process being debugged. "
|
|
"The system notifies the debugger of all debug events that occur "
|
|
"in the process being debugged. On Windows 95 and Windows 98 "
|
|
"systems, this flag is not valid if the new process is a 16-bit "
|
|
"application.\n"
|
|
"Debug_Only_This_Process - If not set and the calling process is "
|
|
"being debugged, the new process becomes another process being "
|
|
"debugged by the process of the calling debugger. If the calling "
|
|
"process is not a process being debugged, no debugging related "
|
|
"actions occur.\n"
|
|
"Detached_Process - For console processes, the new process does not "
|
|
"have access to the console of the parent process. This flag "
|
|
"cannot be used if the Create_New_Console flag is set." ) : ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Functions|CreateProcess|"
|
|
"dwCreationFlags"}: ToSubClass,
|
|
BitValues {"Debug_Process", "Debug_Only_This_Process",
|
|
"Create_Suspended", "Detached_Process", "Create_New_Console",
|
|
"Create_New_Process_Group", "Create_Unicode_Environment",
|
|
"Create_Default_Error_Mode"}: ToSubClass,
|
|
BitMap {"0", "1", "2", "3", "4", "9", "10", "26"} : ToSubClass]
|
|
uint32 CreateFlags ;
|
|
|
|
[Write: ToSubClass,
|
|
Description ("The PriorityClass property controls the priority class "
|
|
"of the new process (used to determine the scheduling priorities of "
|
|
"the threads in the process). If the PriorityClass property is left "
|
|
"null, the priority class defaults to Normal unless the priority "
|
|
"class of the creating process is Idle or Below_Normal. In these "
|
|
"cases, the child process receives the default priority class of "
|
|
"the calling process. One of the following values can be specified:\n"
|
|
"High - Indicates a process that performs time-critical tasks that "
|
|
"must be executed immediately for it to run correctly. The "
|
|
"threads of a high-priority class process preempt the threads of "
|
|
"normal-priority or idle-priority class processes. An example is "
|
|
"Windows Task List, which must respond quickly when called by "
|
|
"the user, regardless of the load on the operating system. Use "
|
|
"extreme care when using the high-priority class, because a "
|
|
"high-priority class CPU-bound application can use nearly all "
|
|
"available cycles. Only Realtime priority will preempt threads "
|
|
"set to this level\n"
|
|
"Idle - Indicates a process whose threads run only when the system "
|
|
"is idle and are preempted by the threads of any process running "
|
|
"in a higher priority class. An example is a screen saver. The "
|
|
"idle priority class is inherited by child processes.\n"
|
|
"Normal - Indicates a normal process with no special scheduling "
|
|
"needs.\n"
|
|
"Realtime - Indicates a process that has the highest possible "
|
|
"priority. The threads of a real-time priority class process "
|
|
"preempt the threads of all other processes, including "
|
|
"operating system processes performing important tasks, and "
|
|
"high priority threads. For example, a real-time process that "
|
|
"executes for more than a very brief interval can cause disk "
|
|
"caches not to flush or cause the mouse to be unresponsive.\n"
|
|
"Above_Normal - (Windows 2000 and later) Indicates a process "
|
|
"that has priority higher than Normal but lower than High.\n"
|
|
"Below_Normal - (Windows 2000 and later): Indicates "
|
|
"a process that has priority higher than Idle but lower than "
|
|
"Normal.") : ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|"
|
|
"JOBOBJECT_BASIC_LIMIT_INFORMATION|PriorityClass"}: ToSubClass,
|
|
Values {"Normal", "Idle", "High", "Realtime", "Below_Normal",
|
|
"Above_Normal" } : ToSubClass,
|
|
ValueMap {"32", "64", "128", "256", "16384", "32768"}: ToSubClass]
|
|
uint32 PriorityClass ;
|
|
|
|
[Write: ToSubClass,
|
|
Description ("The EnvironmentVariables property contains a list of "
|
|
"settings for the configuration of a computer. Environment variables "
|
|
"specify search paths for files, directories for temporary files, "
|
|
"application-specific options, and other similar information. The "
|
|
"system maintains a block of environment settings for each user and "
|
|
"one for the computer. The system environment block represents "
|
|
"environment variables for all users of the particular computer. A "
|
|
"user's environment block represents the environment variables the "
|
|
"system maintains for that particular user, including the set of "
|
|
"system environment variables. By default, each process receives "
|
|
"a copy of the environment block for its parent process. Typically, "
|
|
"this is the environment block for the user who is logged on. A "
|
|
"process can specify different environment blocks for its child "
|
|
"processes."): ToSubClass,
|
|
MappingStrings {"Win32Registry|HKEY_CURRENT_USER\\"
|
|
"Environment"}: ToSubClass ]
|
|
string EnvironmentVariables[] ;
|
|
|
|
[Write: ToSubClass,
|
|
Description ("(For Windows NT only) The WinstationDesktop property "
|
|
"specifies either the name of the desktop only or the name of both "
|
|
"the desktop and window station for the process. A backslash in the "
|
|
"string indicates that the string includes both desktop and window "
|
|
"station names. If WinstationDesktop is NULL, the new process inherits "
|
|
"the desktop and window station of its parent process. If "
|
|
"WinstationDesktop is an empty string, the process does not inherit "
|
|
"the desktop and window station of its parent process; instead, the "
|
|
"system determines if a new desktop and window station need to be "
|
|
"created. A window station is a secure object that contains a "
|
|
"clipboard, a set of global atoms and a group of desktop objects. "
|
|
"The interactive window station assigned to the logon session of the "
|
|
"interactive user also contains the keyboard, mouse, and display "
|
|
"device. A desktop is a secure object contained within a window "
|
|
"station. A desktop has a logical display surface and contains "
|
|
"windows, menus, and hooks. A window station can have multiple "
|
|
"desktops. Only the desktops of the interactive window station can "
|
|
"be visible and receive user input. "): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"lpDesktop"}: ToSubClass]
|
|
string WinstationDesktop ;
|
|
|
|
[Write: ToSubClass ,
|
|
Description ("The Title property used for console processes contains "
|
|
"the string displayed in the title bar if a new console window is "
|
|
"created. If NULL, the name of the executable file is used as the "
|
|
"window title instead. This property must be NULL for GUI or console "
|
|
"processes that do not create a new console window."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"lpTitle"}: ToSubClass]
|
|
string Title ;
|
|
|
|
[Write: ToSubClass,
|
|
Description ("The X property specifies the x offset, in pixels, of "
|
|
"the upper left corner of a window if a new window is created. The "
|
|
"offsets are from the upper left corner of the screen. For GUI "
|
|
"processes, the specified position is used the first time the new "
|
|
"process calls CreateWindow to create an overlapped window if the x "
|
|
"parameter of CreateWindow is CW_USEDEFAULT. Note, X and Y cannot be "
|
|
"specified independently."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"dwX"}: ToSubClass]
|
|
uint32 X ;
|
|
|
|
[Write: ToSubClass ,
|
|
Description ("The Y property specifies the y offset, in pixels, of "
|
|
"the upper left corner of a window if a new window is created. The "
|
|
"offsets are from the upper left corner of the screen. For GUI "
|
|
"processes, the specified position is used the first time the new "
|
|
"process calls CreateWindow to create an overlapped window if the y "
|
|
"parameter of CreateWindow is CW_USEDEFAULT. Note, X and Y cannot be "
|
|
"specified independently."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"dwY"}: ToSubClass]
|
|
uint32 Y ;
|
|
|
|
[Write: ToSubClass ,
|
|
Description ("The XSize property specifies the width, in pixels, of "
|
|
"the window if a new window is created. For GUI processes, this is "
|
|
"used only the first time the new process calls CreateWindow to "
|
|
"create an overlapped window if the nWidth parameter of CreateWindow "
|
|
"is CW_USEDEFAULT. Note, XSize and YSize cannot be specified "
|
|
"independently."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"dwXSize"}: ToSubClass]
|
|
uint32 XSize ;
|
|
|
|
[Write: ToSubClass ,
|
|
Description ("The YSize property specifies the height, in pixels, of "
|
|
"the window if a new window is created. For GUI processes, this is "
|
|
"used only the first time the new process calls CreateWindow to "
|
|
"create an overlapped window if the nWidth parameter of CreateWindow "
|
|
"is CW_USEDEFAULT. Note, XSize and YSize cannot be specified "
|
|
"independently."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"dwYSize"}: ToSubClass]
|
|
uint32 YSize ;
|
|
|
|
[Write: ToSubClass ,
|
|
Description ("The XCountChars property, used for processes creating "
|
|
"a console window, specifies the screen buffer width in character "
|
|
"columns. These values are ignored in GUI processes. Note, "
|
|
"XCountChars and YCountChars cannot be specified independently."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"XCountChars"}: ToSubClass ]
|
|
uint32 XCountChars ;
|
|
|
|
[Write: ToSubClass ,
|
|
Description ("The YCountChars property, used for processes creating "
|
|
"a console window, specifies the screen buffer height in character "
|
|
"rows. These values are ignored in GUI processes. Note, XCountChars "
|
|
"and YCountChars cannot be specified independently."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"YCountChars"}: ToSubClass ]
|
|
uint32 YCountChars ;
|
|
|
|
[Write: ToSubClass,
|
|
Description ("The FillAttribute property specifies the initial "
|
|
"text and background colors if a new console window is created "
|
|
"in a console application. These values are ignored in GUI "
|
|
"applications."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"dwFillAttribute"}: ToSubClass,
|
|
BitValues {"Foreground_Blue", "Foreground_Green", "Foreground_Red",
|
|
"Foreground_Intensity", "Background_Blue", "Background_Green",
|
|
"Background_Red", "Background_Intensity"} : ToSubClass]
|
|
uint32 FillAttribute ;
|
|
|
|
[Write: ToSubClass,
|
|
Description ("The ShowWindow property specifies how the window is to "
|
|
"be displayed to the user."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|STARTUPINFO|"
|
|
"wShowWindow"}: ToSubClass,
|
|
Values {"SW_HIDE", "SW_NORMAL", "SW_SHOWMINIMIZED",
|
|
"SW_SHOWMAXIMIZED", "SW_SHOWNOACTIVATE", "SW_SHOW",
|
|
"SW_MINIMIZE", "SW_SHOWMINNOACTIVE", "SW_SHOWNA",
|
|
"SW_RESTORE", "SW_SHOWDEFAULT", "SW_FORCEMINIMIZE"}: ToSubClass]
|
|
uint16 ShowWindow ;
|
|
|
|
[Write: ToSubClass,
|
|
Description ("The ErrorMode property controls how the operating "
|
|
"system handles several types of serious errors. You can specify "
|
|
"that the operating system handle these errors or that the "
|
|
"application receives and handles them. On some non-x86 "
|
|
"processors, misaligned memory references cause an alignment "
|
|
"fault exception. The No_Alignment_Fault_Except flag lets you "
|
|
"control whether the system automatically fixes such alignment "
|
|
"faults or makes them visible to an application. On a MIPS "
|
|
"platform, an application must explicitly call SetErrorMode with the "
|
|
"No_Alignment_Fault_Except flag to have the operating system "
|
|
"automatically fix alignment faults. The default setting is for the "
|
|
"operating system to make alignment faults visible to an application. "
|
|
"Since the x86 platform does not make alignment faults visible to an "
|
|
"application, the No_Alignment_Fault_Except flag will not make the "
|
|
"operating system raise an alignment fault error even if the flag is not "
|
|
"set. The default state for ErrorMode is to set all flags to 0. "
|
|
"Defined values for this flag are are:\n"
|
|
"Fail_Critical_Errors - If this flag is set, the operating system "
|
|
"does not display the critical-error-handler message box when "
|
|
"such an error occurs. Instead, the operating system sends the "
|
|
"error to the calling process.\n"
|
|
"No_Alignment_Fault_Except - (RISC only) If this flag is set, the "
|
|
"operating system automatically fixes memory alignment faults "
|
|
"and makes them invisible to the application. It does this for "
|
|
"the calling process and any descendant processes. "
|
|
"This flag has no effect on x86 processors.\n"
|
|
"No_GP_Fault_Error_Box - If this flag is set, the operating system "
|
|
"does not display the general-protection-fault message box when "
|
|
"such an error occurs. This flag should only be set by debugging "
|
|
"applications that handle general protection (GP) faults "
|
|
"themselves via an appropriate exception handler.\n"
|
|
"No_Open_File_Error_Box - If this flag is set, the operating system "
|
|
"does not display a message box when it fails to find a file. "
|
|
"Instead, the error is returned to the calling process. Note, "
|
|
"this flag is currently ignored."): ToSubClass,
|
|
MappingStrings {"Win32API|Error Functions|SetErrorMode"}: ToSubClass,
|
|
BitValues {"Fail_Critical_Errors","No_GP_Fault_Error_Box",
|
|
"No_Alignment_Fault_Except","No_Open_File_Error_Box"}: ToSubClass]
|
|
uint16 ErrorMode = "0";
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
[DisplayName("Processes"),
|
|
Dynamic, Provider ("CIMWin32"),
|
|
SupportsCreate, CreateBy("Create"),
|
|
SupportsDelete, DeleteBy("DeleteInstance"),
|
|
Description ("The Win32_Process class represents a sequence of events "
|
|
"on a Win32 system. Any sequence consisting of the interaction of one "
|
|
"or more processors or interpreters, some executable code, and a set "
|
|
"of inputs, is a descendent (or member) of this class.\nExample: A "
|
|
"client application running on a Win32 system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4DC-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_Process:CIM_Process
|
|
{
|
|
[DisplayName("Executable Path"),
|
|
Read: ToSubClass,
|
|
Description ("The ExecutablePath property indicates the path to "
|
|
"the executable file of the process.\nExample: "
|
|
"C:\\WINDOWS\\EXPLORER.EXE"): ToSubClass,
|
|
Privileges{"SeDebugPrivilege"}: ToSubClass,
|
|
MappingStrings {"Win32API|Tool Help Structures|MODULEENTRY32|"
|
|
"szExePath"}: ToSubClass]
|
|
string ExecutablePath ;
|
|
|
|
[DisplayName("Maximum Working Set Size"),
|
|
Read: ToSubClass, Units ("Kilobytes"): ToSubClass,
|
|
Description ("The MaximumWorkingSetSize property indicates "
|
|
"the maximum working set size of the process. The working set of "
|
|
"a process is the set of memory pages currently visible to the "
|
|
"process in physical RAM. These pages are resident and "
|
|
"available for an application to use without triggering a page "
|
|
"fault.\nExample: 1413120."): ToSubClass,
|
|
Privileges{"SeDebugPrivilege"}: ToSubClass,
|
|
MappingStrings {"Win32|WINNT.H|QUOTA_LIMITS|"
|
|
"MaximumWorkingSetSize"}: ToSubClass]
|
|
uint32 MaximumWorkingSetSize ;
|
|
|
|
[DisplayName("Minimum Working Set Size"),
|
|
Read: ToSubClass, Units ("Kilobytes"): ToSubClass,
|
|
Description ("The MinimumWorkingSetSize property indicates the "
|
|
"minimum working set size of the process. The working set of "
|
|
"a process is the set of memory pages currently visible to the "
|
|
"process in physical RAM. These pages are resident and "
|
|
"available for an application to use without triggering a page "
|
|
"fault.\nExample: 20480."): ToSubClass,
|
|
Privileges{"SeDebugPrivilege"}: ToSubClass,
|
|
MappingStrings {"Win32|WINNT.H|QUOTA_LIMITS|"
|
|
"MinimumWorkingSetSize"}: ToSubClass ]
|
|
uint32 MinimumWorkingSetSize ;
|
|
|
|
[DisplayName("Number Of Page Faults"),
|
|
Read: ToSubClass,
|
|
Description ("The PageFaults property indicates the number of page "
|
|
"faults generated by the process.\nExample: 10"): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"PageFaultCount"}: ToSubClass]
|
|
uint32 PageFaults ;
|
|
|
|
[DisplayName("Page File Usage"),
|
|
Read: ToSubClass, Units ("Kilobytes"),
|
|
Description ("The PageFileUsage property indicates the amount"
|
|
"of page file space currently being used by the process."
|
|
"\nExample: 102435"): ToSubClass ,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"PagefileUsage"}: ToSubClass]
|
|
uint32 PageFileUsage ;
|
|
|
|
[DisplayName("Peak Page File Usage"),
|
|
Read: ToSubClass, Units ("Kilobytes"),
|
|
Description ("The PeakPageFileUsage property indicates the maximum "
|
|
"amount of page file space used during the life of the process."
|
|
"\nExample: 102367"): ToSubClass ,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"PeakPagefileUsage"}: ToSubClass ]
|
|
uint32 PeakPageFileUsage ;
|
|
|
|
[DisplayName("Peak Working Set Size"),
|
|
Read: ToSubClass, Units ("Kilobytes"): ToSubClass,
|
|
Description ("The PeakWorkingSetSize property indicates the peak "
|
|
"working set size of the process.\nExample: 1413120"): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"PeakWorkingSetSize"}: ToSubClass ]
|
|
uint32 PeakWorkingSetSize ;
|
|
|
|
[DisplayName("Process Id"),
|
|
Read: ToSubClass,
|
|
Description ("The ProcessId property contains the global process "
|
|
"identifier that can be used to identify a process. The value is "
|
|
"valid from the creation of the process until the process"
|
|
" is terminated."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|"
|
|
"PROCESS_INFORMATION|dwProcessId "}: ToSubClass ]
|
|
uint32 ProcessId ;
|
|
|
|
[DisplayName("Non-Paged Pool Usage Quota"),
|
|
Read: ToSubClass,
|
|
Description ("The QuotaNonPagedPoolUsage property indicates "
|
|
"the quota amount of non-paged pool usage for the process."
|
|
"\nExample: 15"): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"QuotaNonPagedPoolUsage"}: ToSubClass ]
|
|
uint32 QuotaNonPagedPoolUsage ;
|
|
|
|
[DisplayName("Paged Pool Usage Quota"),
|
|
Read: ToSubClass,
|
|
Description ("The QuotaPagedPoolUsage property indicates "
|
|
"the quota amount of paged pool usage for the process."
|
|
"\nExample: 22"): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"QuotaPagedPoolUsage"}: ToSubClass ]
|
|
uint32 QuotaPagedPoolUsage ;
|
|
|
|
[DisplayName("Peak Non-Paged Pool Usage Quota"),
|
|
Read: ToSubClass,
|
|
Description ("The QuotaPeakNonPagedPoolUsage property indicates "
|
|
"the peak quota amount of non-paged pool usage for the process."
|
|
"\nExample: 31"): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"QuotaPeakNonPagedPoolUsage"}: ToSubClass ]
|
|
uint32 QuotaPeakNonPagedPoolUsage ;
|
|
|
|
[DisplayName("Peak Paged Pool Usage Quota"),
|
|
Read: ToSubClass,
|
|
Description ("The QuotaPeakPagedPoolUsage property indicates the peak "
|
|
"quota amount of paged pool usage for the process.\n Example: 31"): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"QuotaPeakPagedPoolUsage"}: ToSubClass ]
|
|
uint32 QuotaPeakPagedPoolUsage ;
|
|
|
|
[DisplayName("Windows Version"),
|
|
Read: ToSubClass,
|
|
Description ("The WindowsVersion property indicates the version of "
|
|
"Windows in which the process is running.\nExample: 4.0"): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"GetProcessVersion"}: ToSubClass ]
|
|
string WindowsVersion ;
|
|
|
|
[DisplayName("Priority"),
|
|
Read: ToSubClass, Override("Priority"): ToSubClass,
|
|
Description ("The Priority property indicates the scheduling "
|
|
"priority of the process within the operating system. The "
|
|
"higher the value, the higher priority the process receives. "
|
|
"Priority values can range from 0 (lowest priority) to 31 (highest "
|
|
"priority).\nExample: 7."): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"BasePriority"}: ToSubClass]
|
|
uint32 Priority ;
|
|
|
|
[DisplayName("Thread Count"),
|
|
Read: ToSubClass,
|
|
Description ("The ThreadCount property specifies the number of "
|
|
"active threads in this process. An instruction is the basic unit "
|
|
"of execution in a processor, and a thread is the object that "
|
|
"executes instructions. Every running process has at least one "
|
|
"thread. This property is for computers running Windows NT only."): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"NumberOfThreads"}: ToSubClass]
|
|
uint32 ThreadCount ;
|
|
|
|
[DisplayName("Handle Count"),
|
|
Read: ToSubClass,
|
|
Description ("The HandleCount property specifies the total number "
|
|
"of handles currently open by this process. This number is the sum "
|
|
"of the handles currently open by each thread in this process. A "
|
|
"handle is used to examine or modify the system resources. "
|
|
"Each handle has an entry in an internally maintained table. These "
|
|
"entries contain the addresses of the resources and the means to "
|
|
"identify the resource type."): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"HandleCount"}: ToSubClass]
|
|
uint32 HandleCount ;
|
|
|
|
[DisplayName("Parent Process Id"),
|
|
Read: ToSubClass,
|
|
Description ("The ParentProcessId property specifies the unique "
|
|
"identifier of the process that created this process. Process "
|
|
"identifier numbers are reused, so they only identify a process for "
|
|
"the lifetime of that process. It is possible that the process "
|
|
"identified by ParentProcessId has terminated, so ParentProcessId "
|
|
"may not refer to an running process. It is also possible that ParentProcessId "
|
|
"incorrectly refers to a process which re-used that process "
|
|
"identifier. The CreationDate property can be used to determine "
|
|
"whether the specified parent was created after this process was "
|
|
"created."): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"InheritedFromUniqueProcessId"}: ToSubClass]
|
|
uint32 ParentProcessId;
|
|
|
|
[DisplayName("Session Id"),
|
|
Read: ToSubClass,
|
|
Description ("The SessionId property specifies the unique "
|
|
"identifier that is generated by the operating system when "
|
|
"the session is created. A session spans a period of time from "
|
|
"log in to log out on a particular system."): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"SessionId"}: ToSubClass ]
|
|
uint32 SessionId ;
|
|
|
|
[DisplayName("Private Page Count"),
|
|
Read: ToSubClass,
|
|
Description ("The PrivatePageCount property specifies the "
|
|
"current number of pages allocated that are accessible only "
|
|
"to this process "): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"PrivatePageCount"}: ToSubClass ]
|
|
uint64 PrivatePageCount ;
|
|
|
|
[DisplayName("Peak Virual Address Space Usage"),
|
|
Read: ToSubClass, Units ("Bytes"): ToSubClass,
|
|
Description ("The PeakVirtualSize property specifies the maximum "
|
|
"virtual address space the process has used at any one time. Use "
|
|
"of virtual address space does not necessarily imply corresponding "
|
|
"use of either disk or main memory pages. However, virtual space is "
|
|
"finite, and by using too much, the process might limit "
|
|
"its ability to load libraries."): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"PeakVirtualSize"}: ToSubClass ]
|
|
uint64 PeakVirtualSize ;
|
|
|
|
[DisplayName("Virtual Address Space Usage"),
|
|
Read: ToSubClass, Units ("Bytes"): ToSubClass,
|
|
Description ("The VirtualSize property specifies the current "
|
|
"size in bytes of the virtual address space the process is using. "
|
|
"Use of virtual address space does not necessarily imply "
|
|
"corresponding use of either disk or main memory pages. Virtual "
|
|
"space is finite, and by using too much, the process can limit its "
|
|
"ability to load libraries."): ToSubClass,
|
|
MappingStrings {"Win32API|Process Status|SYSTEM_PROCESS_INFORMATION|"
|
|
"VirtualSize"}: ToSubClass]
|
|
uint64 VirtualSize ;
|
|
|
|
[DisplayName("Read Operation Count"),
|
|
Read: ToSubClass,
|
|
Description ("The ReadOperationCount property specifies the number "
|
|
"of read operations performed."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|"
|
|
"SYSTEM_PROCESS_INFORMATION|ReadOperationCount"}: ToSubClass ]
|
|
uint64 ReadOperationCount ;
|
|
|
|
[DisplayName("Write Operation Count"),
|
|
Read: ToSubClass,
|
|
Description ("The WriteOperationCount property specifies the number "
|
|
"of write operations performed."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|"
|
|
"SYSTEM_PROCESS_INFORMATION|WriteOperationCount"}: ToSubClass ]
|
|
uint64 WriteOperationCount ;
|
|
|
|
[DisplayName("Other Operation Count"),
|
|
Read: ToSubClass,
|
|
Description ("The OtherOperationCount property specifies the "
|
|
"number of I/O operations performed, other than read and write "
|
|
"operations."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|"
|
|
"SYSTEM_PROCESS_INFORMATION|OtherOperationCount"}: ToSubClass ]
|
|
uint64 OtherOperationCount ;
|
|
|
|
[DisplayName("Read Transfer Count"),
|
|
Read: ToSubClass, Units ("Bytes"): ToSubClass,
|
|
Description ("The ReadTransferCount property specifies the "
|
|
"amount of data read."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|"
|
|
"SYSTEM_PROCESS_INFORMATION|ReadTransferCount"}: ToSubClass ]
|
|
uint64 ReadTransferCount ;
|
|
|
|
[DisplayName("Write Transfer Count"),
|
|
Read: ToSubClass, Units ("Bytes"): ToSubClass,
|
|
Description ("The WriteTransferCount property specifies the "
|
|
"amount of data written."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|"
|
|
"SYSTEM_PROCESS_INFORMATION|WriteTransferCount"}: ToSubClass ]
|
|
uint64 WriteTransferCount ;
|
|
|
|
[DisplayName("Other Transfer Count"),
|
|
Read: ToSubClass, Units ("Bytes"): ToSubClass,
|
|
Description ("The OtherTransferCount property specifies the "
|
|
"amount of data transferred during operations other than read "
|
|
"and write operations."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Structures|"
|
|
"SYSTEM_PROCESS_INFORMATION|OtherTransferCount"}: ToSubClass ]
|
|
uint64 OtherTransferCount ;
|
|
|
|
[DisplayName("Command Line To Start Process"),
|
|
Read: ToSubClass,
|
|
Description ("The CommandLine property specifies the "
|
|
"command line used to start a particular process, if applicable."): ToSubClass]
|
|
string CommandLine ;
|
|
|
|
|
|
[Override("KernelModeTime"),
|
|
Description ("Time in kernel mode, in 100 nanoseconds. If this information "
|
|
"is not available, a value of 0 should be used."),
|
|
Units ("100ns")]
|
|
uint64 KernelModeTime ;
|
|
|
|
[Override("UserModeTime"),
|
|
Description ("Time in user mode, in 100 nanoseconds. If this information "
|
|
"is not available, a value of 0 should be used."),
|
|
Units ("100ns")]
|
|
uint64 UserModeTime ;
|
|
|
|
[Constructor, Static, Implemented,
|
|
Privileges {"SeAssignPrimaryTokenPrivilege", "SeIncreaseQuotaPrivilege"},
|
|
Description ("The Create method creates a new process. \n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"2 - The user does not have access to the requested information.\n"
|
|
"3 - The user does not have sufficient privilge.\n"
|
|
"8 - Unknown failure.\n"
|
|
"9 - The path specified does not exist.\n"
|
|
"21 - The specified parameter is invalid.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Successful completion",
|
|
"Access denied",
|
|
"Insufficient privilege",
|
|
"Unknown failure",
|
|
"Path not found",
|
|
"Invalid parameter",
|
|
"Other" },
|
|
ValueMap{ "0", "2", "3", "8", "9", "21", ".." },
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"CreateProcess"}: ToSubClass ]
|
|
uint32 Create (
|
|
|
|
[In: ToSubClass,
|
|
Description ("The CommandLine parameter specifies the command "
|
|
"line to execute. The system adds a null character to the "
|
|
"command line, trimming the string if necessary, to indicate "
|
|
"which file was actually used. "
|
|
"A fully qualified path must be specified in cases where "
|
|
"the program to be launched is not in the search path of "
|
|
"Winmgmt (not the user's path)."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"lpCommandLine "}: ToSubClass]
|
|
string CommandLine,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The CurrentDirectory parameter specifies the "
|
|
"current drive and directory for the child process. The "
|
|
"string requires that the current directory resolves to a "
|
|
"known path. A user can specify an absolute path or a path "
|
|
"relative to the current working directory. If this parameter "
|
|
"is NULL, the new process will have the same path as the calling "
|
|
"process. This option is provided primarily for shells that "
|
|
"must start an application and specify the application's "
|
|
"initial drive and working directory."): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"CreateProcess|lpCurrentDirectory "}: ToSubClass]
|
|
string CurrentDirectory ,
|
|
|
|
[In: ToSubClass,
|
|
Description ("The ProcessStartupInformation parameter represents "
|
|
"the startup configuration of a Win32 process. It includes "
|
|
"information about displaying the window, characteristics of a "
|
|
"console application, and handling errors. \n\n"
|
|
"Note that in Windows XP and beyond, the WinstationDesktop string "
|
|
"property (which previously defaulted to \"winsta0\\default\") is "
|
|
"ignored in all cases. The value used in place of this parameter "
|
|
"is an empty string (\"\")."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ProcessStartup"}: ToSubClass]
|
|
Win32_ProcessStartup ProcessStartupInformation ,
|
|
|
|
[Out: ToSubClass,
|
|
Description ("The ProcessId parameter returns a global process "
|
|
"identifier that can be used to identify a process. The value is "
|
|
"valid from the time the process is created until the time the "
|
|
"process is terminated. "): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"CreateProcess|lpProcessInformation|dwProcessId"}: ToSubClass]
|
|
uint32 ProcessId
|
|
|
|
); // end of Create method
|
|
|
|
|
|
[Destructor, Implemented,
|
|
Privileges{"SeDebugPrivilege"},
|
|
Description ("The Terminate method terminates a process and all "
|
|
"of its threads. The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"2 - The user does not have access to the requested information.\n"
|
|
"3 - The user does not have sufficient privilge.\n"
|
|
"8 - Unknown failure.\n"
|
|
"9 - The path specified does not exist.\n"
|
|
"21 - The specified parameter is invalid.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation.\n"
|
|
"\nNote: The SE_DEBUG_PRIVILEGE privilege is required to invoke this "
|
|
"method"): ToSubClass,
|
|
Values{ "Successful completion",
|
|
"Access denied",
|
|
"Insufficient privilege",
|
|
"Unknown failure",
|
|
"Path not found",
|
|
"Invalid parameter",
|
|
"Other" },
|
|
ValueMap{ "0", "2", "3", "8", "9", "21", ".." },
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"TerminateProcess"}: ToSubClass]
|
|
uint32 Terminate (
|
|
|
|
[In: ToSubClass,
|
|
Description ("The Reason parameter specifies the exit code "
|
|
"for the process and for all threads terminated as a result "
|
|
"of this call. "): ToSubClass,
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"TerminateProcess|uExitCode "}: ToSubClass]
|
|
uint32 Reason
|
|
|
|
); // end of Terminate method
|
|
|
|
|
|
[Implemented,
|
|
Description ("The GetOwner method retrieves the user name and "
|
|
"domain name under which the process is running. \n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"2 - The user does not have access to the requested information.\n"
|
|
"3 - The user does not have sufficient privilge.\n"
|
|
"8 - Unknown failure.\n"
|
|
"9 - The path specified does not exist.\n"
|
|
"21 - The specified parameter is invalid.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Successful completion",
|
|
"Access denied",
|
|
"Insufficient privilege",
|
|
"Unknown failure",
|
|
"Path not found",
|
|
"Invalid parameter",
|
|
"Other" },
|
|
ValueMap{ "0", "2", "3", "8", "9", "21", ".." },
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
uint32 GetOwner (
|
|
|
|
[Out: ToSubClass,
|
|
Description ("The User parameter returns the user name "
|
|
"of the owner of this process."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string User,
|
|
|
|
[Out: ToSubClass,
|
|
Description ("The Domain parameter returns the domain name "
|
|
"under which this process is running."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string Domain
|
|
|
|
); // end of GetOwner method
|
|
|
|
|
|
[Implemented,
|
|
Description ("The GetOwnerSid method retrieves the security "
|
|
"identifier (SID) for the owner of this process.\n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"2 - The user does not have access to the requested information.\n"
|
|
"3 - The user does not have sufficient privilge.\n"
|
|
"8 - Unknown failure.\n"
|
|
"9 - The path specified does not exist.\n"
|
|
"21 - The specified parameter is invalid.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Successful completion",
|
|
"Access denied",
|
|
"Insufficient privilege",
|
|
"Unknown failure",
|
|
"Path not found",
|
|
"Invalid parameter",
|
|
"Other" },
|
|
ValueMap{ "0", "2", "3", "8", "9", "21", ".." },
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
uint32 GetOwnerSid (
|
|
|
|
[Out: ToSubClass,
|
|
Description ("The Sid property returns the security identifier "
|
|
"descriptor for this process."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string Sid
|
|
|
|
); // end of GetOwnerSid method
|
|
|
|
[Implemented,
|
|
Description ("The SetPriority method attempts to change the "
|
|
"execution priority of the process. In order to set the priority "
|
|
"to Realtime, the caller must hold the SeIncreaseBasePriorityPrivilege. "
|
|
"Without this privilege, the highest the priority can be set to is "
|
|
"High priority.\n"
|
|
"The method returns an integer value that can be "
|
|
"interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"2 - The user does not have access to the requested information.\n"
|
|
"3 - The user does not have sufficient privilge.\n"
|
|
"8 - Unknown failure.\n"
|
|
"9 - The path specified does not exist.\n"
|
|
"21 - The specified parameter is invalid.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Successful completion",
|
|
"Access denied",
|
|
"Insufficient privilege",
|
|
"Unknown failure",
|
|
"Path not found",
|
|
"Invalid parameter",
|
|
"Other" },
|
|
ValueMap{ "0", "2", "3", "8", "9", "21", ".." },
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"SetPriorityClass"}:ToSubClass ]
|
|
uint32 SetPriority (
|
|
|
|
[in,
|
|
Description ("The Priority parameter specifies the new "
|
|
"priority class for the process. Values:\n"
|
|
"Idle - Specified for a process whose threads "
|
|
"run only when the system is idle. The threads of the "
|
|
"process are preempted by the threads of any process "
|
|
"running in a higher priority class. An example is a "
|
|
"screen saver. The idle-priority class is inherited "
|
|
"by child processes.\n"
|
|
"Below Normal - Indicates a process that "
|
|
"has priority above IDLE_PRIORITY_CLASS but below "
|
|
"NORMAL_PRIORITY_CLASS. For Windows 2000.\n"
|
|
"Normal - Specified for a process with no "
|
|
"special scheduling needs.\n"
|
|
"Above Normal - Indicates a process that "
|
|
"has priority above NORMAL_PRIORITY_CLASS but "
|
|
"below HIGH_PRIORITY_CLASS. For Windows 2000.\n"
|
|
"High Priority - Specified for a process that "
|
|
"performs time-critical tasks that must be executed "
|
|
"immediately. The threads of the process preempt the "
|
|
"threads of normal or idle priority class processes. "
|
|
"An example is the Task List, which must respond "
|
|
"quickly when called by the user, regardless of the "
|
|
"load on the operating system. Use extreme care when "
|
|
"using the high-priority class, because a "
|
|
"high-priority class application can use nearly all "
|
|
"available CPU time.\n"
|
|
"Realtime - Specified for a process that has "
|
|
"the highest possible priority. The threads of the "
|
|
"process preempt the threads of all other processes, "
|
|
"including operating system processes performing "
|
|
"important tasks. For example, a real-time process "
|
|
"that executes for more than a very brief interval "
|
|
"can cause disk caches not to flush or cause the "
|
|
"mouse to be unresponsive.\n"),
|
|
MappingStrings {"Win32API|Process and Thread Functions|"
|
|
"SetPriorityClass|dwPriorityClass"}:ToSubClass,
|
|
Values {"Idle",
|
|
"Below Normal",
|
|
"Normal",
|
|
"Above Normal",
|
|
"High Priority",
|
|
"Realtime"}: ToSubClass,
|
|
ValueMap {"0x00000040",
|
|
"0x00004000",
|
|
"0x00000020",
|
|
"0x00008000",
|
|
"0x00000080",
|
|
"0x00000100"}: ToSubClass]
|
|
sint32 Priority
|
|
);
|
|
|
|
|
|
|
|
[Description("The AttachDebugger method launches the "
|
|
"currently registered debugger for this process. "
|
|
"Dr. Watson, however, is not supported. \n"
|
|
"The method returns a 'generic failure' if it finds an "
|
|
"invalid string in the registry key or an integer value "
|
|
"that can be interpretted as follows: \n"
|
|
"0 - Successful completion.\n"
|
|
"2 - The user does not have access to the requested information.\n"
|
|
"3 - The user does not have sufficient privilge.\n"
|
|
"8 - Unknown failure.\n"
|
|
"9 - The path specified does not exist.\n"
|
|
"21 - The specified parameter is invalid.\n"
|
|
"Other - For integer values other than those listed above, "
|
|
"refer to Win32 error code documentation."): ToSubClass,
|
|
Values{ "Successful completion",
|
|
"Access denied",
|
|
"Insufficient privilege",
|
|
"Unknown failure",
|
|
"Path not found",
|
|
"Invalid parameter",
|
|
"Other" },
|
|
ValueMap{ "0", "2", "3", "8", "9", "21", ".." },
|
|
Implemented]
|
|
uint32 AttachDebugger();
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_StartupCommand class represents a "
|
|
"command that runs automatically when a user logs onto "
|
|
"the computer system."): ToSubClass,
|
|
Locale (0x409), UUID("{8502C50A-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_StartupCommand:CIM_Setting
|
|
{
|
|
[read : ToSubClass, key: ToSubClass,
|
|
Description("The User property indicates the user name for whom "
|
|
"this startup command will run.\nExample: mydomain\\myname."): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string User;
|
|
|
|
[read : ToSubClass, key: ToSubClass,
|
|
Description("The Name property indicates the filename of the startup "
|
|
"command.\nExample: FindFast"): ToSubClass,
|
|
MappingStrings {"Win32API|File Structures|WIN32_FIND_DATA|"
|
|
"cFileName"}: ToSubClass ]
|
|
string Name;
|
|
|
|
[read : ToSubClass, key: ToSubClass,
|
|
Description("The Location property indicates the path "
|
|
"where the startup command resides on the disk file system."): ToSubClass,
|
|
Values {"Startup", "Common Startup", "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run","HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunServices"}: ToSubClass,
|
|
ValueMap {"Startup", "Common Startup", "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run","HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunServices"}: ToSubClass,
|
|
MappingStrings {"Win32Registry|\\SOFTWARE\\MICROSOFT\\WINDOWS\\"
|
|
"CURRENTVERSION\\Windows"}: ToSubClass ]
|
|
string Location;
|
|
|
|
[read : ToSubClass, key: ToSubClass,
|
|
Description("The Command property indicates the string representing the "
|
|
"command line run by the startup command.\nExample: c:\\winnt\\notepad.exe "
|
|
"myfile.txt."): ToSubClass,
|
|
MappingStrings {"Win32Registry|SOFTWARE\\Microsoft\\Windows\\"
|
|
"CurrentVersion\\Run"}: ToSubClass ]
|
|
string Command;
|
|
};
|
|
|
|
|
|
|
|
//RuleBased("Select * From "
|
|
// "Win32_Directory As A "
|
|
// "Join "
|
|
// "Win32_Directory As B "
|
|
// "On A.Name = B.Path")
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_Subdirectory class represents an "
|
|
"association between a directory (folder) and one of its "
|
|
"subdirectories (subfolders)."): ToSubClass,
|
|
Locale (0x409), UUID("{F25FE469-783E-11d2-90BF-0060081A46FD}") ]
|
|
class Win32_SubDirectory:CIM_Component
|
|
{
|
|
[Read: ToSubClass, Key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"Win32_Directory that contains the properties of the parent "
|
|
"directory (folder) in this association."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Directory"}: ToSubClass]
|
|
Win32_Directory REF GroupComponent;
|
|
|
|
[Read: ToSubClass, Key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"Win32_Directory that contains the subdirectory (subfolder) "
|
|
"part of the association."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Directory"}: ToSubClass ]
|
|
Win32_Directory REF PartComponent;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_SystemBIOS class represents an association "
|
|
"between a computer system (including data such as startup properties, "
|
|
"time zones, boot configurations, or administrative passwords) and "
|
|
"a system BIOS (services, languages, system management "
|
|
"properties)."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4EE-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemBIOS:CIM_SystemComponent
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"Win32_ComputerSystem containing the BIOS of the association."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents Win32_BIOS "
|
|
"contained in the computer system of this association."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_BIOS"}: ToSubClass]
|
|
Win32_BIOS REF PartComponent;
|
|
};
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_SystemOperatingSystem class represents "
|
|
"an association between a computer system and its operating "
|
|
"system."):ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4F0-5FBB-11D2-AAC1-006008C78BC7}"): ToSubClass ]
|
|
class Win32_SystemOperatingSystem:CIM_InstalledOS
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents "
|
|
"the properties of the computer system upon which the "
|
|
"operating system is installed."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"properties of the operating system running on this computer "
|
|
"system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_OperatingSystem"}: ToSubClass]
|
|
Win32_OperatingSystem REF PartComponent;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_SystemSystemDriver class represents "
|
|
"an association between a computer system and a system driver "
|
|
"running on that computer system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4F1-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemSystemDriver:CIM_SystemComponent
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"properties of the computer system upon which the driver "
|
|
"is running."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"system driver running on the computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_SystemDriver"}: ToSubClass]
|
|
Win32_SystemDriver REF PartComponent;
|
|
};
|
|
|
|
|
|
//RuleBased("Select * From "
|
|
// "Win32_UserAccount As A "
|
|
// "Join "
|
|
// "Win32_ComputerSystem As B "
|
|
// "On A.Domain = B.Name")
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemUsers class represents an "
|
|
"association between a computer system and a user account "
|
|
"on that system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4F2-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemUsers:CIM_SystemComponent
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"computer system containing the user account."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"user account on the computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_UserAccount"}: ToSubClass ]
|
|
Win32_UserAccount REF PartComponent;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemProcesses class represents an "
|
|
"association between a computer system and a process running "
|
|
"on that system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4F3-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemProcesses:CIM_SystemComponent
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"computer system upon which the process is running."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"process running on the computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Process"}: ToSubClass ]
|
|
Win32_Process REF PartComponent;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemPartitions class represents an "
|
|
"association between a computer system and a disk partition "
|
|
"on that system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4F5-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemPartitions:Win32_SystemDevices
|
|
{
|
|
[read: ToSubClass, Override ("GroupComponent"): ToSubClass ,
|
|
Description ("The GroupComponent reference represents the "
|
|
"Win32_ComputerSystem containing the properties of the computer "
|
|
"system where the disk partition is located."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, Override ("PartComponent"): ToSubClass ,
|
|
Description ("The PartComponent reference represents the "
|
|
"Win32_DiskPartition containing the properties of a disk "
|
|
"partition that exists on the computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_DiskPartition"}: ToSubClass]
|
|
Win32_DiskPartition REF PartComponent;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_SystemServices class represents an "
|
|
"association between a computer system and a service program "
|
|
"that exists on the system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4F6-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemServices:CIM_SystemComponent
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"Win32_ComputerSystem containing the properties of the computer "
|
|
"system on which the service exists."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the"
|
|
"Win32_Service containing the service that exists on the "
|
|
"computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Service"}: ToSubClass]
|
|
Win32_Service REF PartComponent;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemNetworkConnections class represents an "
|
|
"association between a network connection and the computer system on which it "
|
|
"resides."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4F7-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemNetworkConnections:CIM_SystemComponent
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"computer system connected to the network."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass ]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"network connection (to this computer system)."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_NetworkConnection"}: ToSubClass]
|
|
Win32_NetworkConnection REF PartComponent;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_SystemResources class represents an "
|
|
"association between a system resource and the computer "
|
|
"system it resides on."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4F8-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemResources:CIM_ComputerSystemResource
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the "
|
|
"computer system where the resource is located."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents the "
|
|
"the resource (such as I/O services, "
|
|
"memory resources) available on the computer system."): ToSubClass,
|
|
MappingStrings {"CIM|CIM_SystemResource"}: ToSubClass]
|
|
CIM_SystemResource REF PartComponent;
|
|
};
|
|
|
|
|
|
[Abstract,
|
|
Description ("The Win32_SystemSetting class represents an "
|
|
"association between a computer system and a general setting "
|
|
"on that system."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C501-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemSetting:CIM_ElementSetting
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("Element"): ToSubClass ,
|
|
Description ("The Element reference represents the "
|
|
"properties of a computer "
|
|
"system where this setting can be applied."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF Element;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("Setting"): ToSubClass ,
|
|
Description ("The Setting reference represents the "
|
|
"properties of the setting that can be "
|
|
"applied to the computer system."): ToSubClass,
|
|
MappingStrings {"CIM|CIM_Setting"}: ToSubClass]
|
|
CIM_Setting REF Setting;
|
|
};
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemDesktop class represents an "
|
|
"association between a computer system and its desktop "
|
|
"configuration."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C506-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemDesktop:Win32_SystemSetting
|
|
{
|
|
[read: ToSubClass, Override ("Element"): ToSubClass,
|
|
Description ("The Element reference represents the computer system "
|
|
"where the desktop configuration exists."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF Element;
|
|
|
|
[read: ToSubClass, Override ("Setting"): ToSubClass,
|
|
Description ("The Setting reference represents a desktop "
|
|
"configuration existing on the computer system." ): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Desktop"}: ToSubClass]
|
|
Win32_Desktop REF Setting;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemBootConfiguration class "
|
|
"represents an association between a computer system and "
|
|
"its boot configuration."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C507-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemBootConfiguration:Win32_SystemSetting
|
|
{
|
|
[read: ToSubClass, Override ("Element"): ToSubClass,
|
|
Description ("The Element reference represents the computer "
|
|
"system using the boot configuration."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF Element;
|
|
|
|
[read: ToSubClass, Override ("Setting"): ToSubClass,
|
|
Description ("The Setting reference represents a boot configuration "
|
|
"for the computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_BootConfiguration"}: ToSubClass ]
|
|
Win32_BootConfiguration REF Setting;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemEnclosure class "
|
|
"represents the properties associated with a physical "
|
|
"system enclosure."): ToSubClass,
|
|
Locale (0x409), UUID ("{FAF76B94-798C-11D2-AAD1-006008C78BC7}") ]
|
|
class Win32_SystemEnclosure:CIM_Chassis
|
|
{
|
|
[Read: ToSubClass, Key: ToSubClass,
|
|
MaxLen (256): ToSubClass , Override ("Tag"): ToSubClass,
|
|
Description ("The Tag property is a string that uniquely "
|
|
"identifies the system enclosure."
|
|
"\nExample: System Enclosure 1"): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string Tag;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SMBIOSAssetTag property indicates the "
|
|
"asset tag number of the system enclosure."): ToSubClass ,
|
|
MappingStrings {"SMBIOS|Type 3|Asset Tag"}: ToSubClass ]
|
|
string SMBIOSAssetTag;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SecurityStatus property indicates the "
|
|
"security setting for external input (such as a keyboard) "
|
|
"to this computer."): ToSubClass ,
|
|
Values {"Other", "Unknown", "None", "External interface locked out",
|
|
"External interface enabled"}: ToSubClass,
|
|
ValueMap {"1", "2", "3", "4", "5" }: ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 3|Security Status"}: ToSubClass]
|
|
uint16 SecurityStatus;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_SystemLoadOrderGroups class "
|
|
"represents an association between a computer system "
|
|
"and a load order group."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C503-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemLoadOrderGroups:CIM_SystemComponent
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("GroupComponent"): ToSubClass,
|
|
Description ("The GroupComponent reference represents the computer "
|
|
"system where the load order group exists."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF GroupComponent;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("PartComponent"): ToSubClass,
|
|
Description ("The PartComponent reference represents a load "
|
|
"order group existing on the computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_LoadOrderGroup"}: ToSubClass]
|
|
Win32_LoadOrderGroup REF PartComponent;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemTimeZone class represents an "
|
|
"association between a computer system and a time zone."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C504-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemTimeZone:Win32_SystemSetting
|
|
{
|
|
[read: ToSubClass, Override ("Element"): ToSubClass,
|
|
Description ("The Element reference represents the computer "
|
|
"system keeping track of the system time zone."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF Element;
|
|
|
|
[read: ToSubClass, Override ("Setting"): ToSubClass,
|
|
Description ("The Setting reference represents the time zone "
|
|
"properties tracked by the computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_TimeZone"}: ToSubClass]
|
|
Win32_TimeZone REF Setting;
|
|
};
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemProgramGroups class represents "
|
|
"an association between a computer system and a logical "
|
|
"program group."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C505-5FBB-11D2-AAC1-006008C78BC7}")]
|
|
class Win32_SystemProgramGroups:Win32_SystemSetting
|
|
{
|
|
[read: ToSubClass, Override ("Element"): ToSubClass,
|
|
Description ("The Element reference represents the computer "
|
|
"system containing the logical program group."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF Element;
|
|
|
|
[read: ToSubClass, Override ("Setting"): ToSubClass,
|
|
Description ("The Setting reference represents a logical program "
|
|
"group on the computer system."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_LogicalProgramGroup"}: ToSubClass]
|
|
Win32_LogicalProgramGroup REF Setting;
|
|
};
|
|
|
|
|
|
|
|
[DEPRECATED, Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_SystemLogicalMemoryConfiguration "
|
|
"class represents an association between a logical memory "
|
|
"configuration and the computer system on which it exists. "
|
|
"This class has been deprecated because the properties "
|
|
"existing in the Win32_LogicalMemoryConfiguration class are "
|
|
"now a part of the Win32_OperatingSystem class."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C502-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_SystemLogicalMemoryConfiguration:Win32_SystemSetting
|
|
{
|
|
[DEPRECATED, read: ToSubClass, Override ("Element"): ToSubClass ,
|
|
Description ("The Element reference represents the "
|
|
"Win32_ComputerSystem containing the properties of the "
|
|
"computer system where the logical memory configuration "
|
|
"resides. \n"
|
|
"This property has been deprecated in favor of the corresponding "
|
|
"property in the Win32_OperatingSystem class."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_ComputerSystem"}: ToSubClass]
|
|
Win32_ComputerSystem REF Element;
|
|
|
|
[DEPRECATED, read: ToSubClass, Override ("Setting"): ToSubClass ,
|
|
Description ("The Setting reference represents the "
|
|
"Win32_LogicalMemoryConfiguration containing the logical memory "
|
|
"configuration that exists on the computer system. \n"
|
|
"This property has been deprecated in favor of the corresponding "
|
|
"property in the Win32_OperatingSystem class."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_LogicalMemoryConfiguration"}: ToSubClass]
|
|
Win32_LogicalMemoryConfiguration REF Setting;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_SystemSlot class represents physical "
|
|
"connection points including ports, motherboard slots and "
|
|
"peripherals, and proprietary connections points."): ToSubClass,
|
|
Locale (0x409), UUID ("{FAF76B91-798C-11D2-AAD1-006008C78BC7}") ]
|
|
class Win32_SystemSlot:CIM_Slot
|
|
{
|
|
[read: ToSubClass, Key: ToSubClass,
|
|
MaxLen (256): ToSubClass, Override ("Tag"): ToSubClass,
|
|
Description ("The Tag property uniquely identifies the system "
|
|
"slot represented by an instance of this class.\nExample: "
|
|
"System Slot 1"): ToSubClass,
|
|
MappingStrings {"WMI"}: ToSubClass]
|
|
string Tag;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The SlotDesignation property contains an SMBIOS "
|
|
"string that identifies the system slot designation of the slot "
|
|
"on the motherboard.\nExample: PCI-1"): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 9|Slot Designation"}: ToSubClass]
|
|
string SlotDesignation;
|
|
|
|
[read: ToSubClass, Override ("ConnectorType"): ToSubClass,
|
|
Description ("The ConnectorType property indicates the physical "
|
|
"attributes of the connector used by this slot.\nExample: 2 25 "
|
|
"(Male RS-232)"): ToSubClass,
|
|
Values {"Unknown", "Other", "Male", "Female", "Shielded", "Unshielded",
|
|
"SCSI (A) High-Density (50 pins)",
|
|
"SCSI (A) Low-Density (50 pins)",
|
|
"SCSI (P) High-Density (68 pins)",
|
|
"SCSI SCA-I (80 pins)",
|
|
"SCSI SCA-II (80 pins)",
|
|
"SCSI Fibre Channel (DB-9, Copper)",
|
|
"SCSI Fibre Channel (Fibre)",
|
|
"SCSI Fibre Channel SCA-II (40 pins)",
|
|
"SCSI Fibre Channel SCA-II (20 pins)",
|
|
"SCSI Fibre Channel BNC",
|
|
"ATA 3-1/2 Inch (40 pins)", "ATA 2-1/2 Inch (44 pins)",
|
|
"ATA-2", "ATA-3", "ATA/66", "DB-9", "DB-15", "DB-25",
|
|
"DB-36", "RS-232C", "RS-422", "RS-423", "RS-485", "RS-449",
|
|
"V.35", "X.21", "IEEE-488", "AUI", "UTP Category 3",
|
|
"UTP Category 4", "UTP Category 5", "BNC", "RJ11", "RJ45",
|
|
"Fiber MIC", "Apple AUI", "Apple GeoPort", "PCI", "ISA",
|
|
"EISA", "VESA", "PCMCIA", "PCMCIA Type I",
|
|
"PCMCIA Type II", "PCMCIA Type III", "ZV Port", "CardBus",
|
|
"USB", "IEEE 1394", "HIPPI", "HSSDC (6 pins)", "GBIC",
|
|
"DIN", "Mini-DIN", "Micro-DIN", "PS/2", "Infrared",
|
|
"HP-HIL", "Access.bus", "NuBus", "Centronics",
|
|
"Mini-Centronics", "Mini-Centronics Type-14",
|
|
"Mini-Centronics Type-20", "Mini-Centronics Type-26",
|
|
"Bus Mouse", "ADB", "AGP", "VME Bus", "VME64", "Proprietary",
|
|
"Proprietary Processor Card Slot", "Proprietary Memory Card Slot",
|
|
"Proprietary I/O Riser Slot", "PCI-66MHZ", "AGP2X",
|
|
"AGP4X", "PC-98/C20", "PC-98/C24", "PC-98/E",
|
|
"PC-98/Local Bus", "PC-98/Card"}: ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 9|Slot Type"}: ToSubClass]
|
|
uint16 ConnectorType[];
|
|
|
|
[read: ToSubClass,
|
|
Description ("The CurrentUsage property indicates the current "
|
|
"usage of the system slot. \nValues are: \"Reserved\" (0), "
|
|
"\"Other\" (1), \"Unknown\" (2), \"Available\" (3), "
|
|
"\"In Use\" (4)"): ToSubClass,
|
|
Values {"Reserved", "Other", "Unknown", "Available",
|
|
"In use"} : ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 9|Current Usage"}: ToSubClass]
|
|
uint16 CurrentUsage;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The PMESignal property indicates whether the PCI bus "
|
|
"Power Management Enabled signal is supported by this slot. "
|
|
"PMESignal will be FALSE for non-PCI slots. If TRUE, then the "
|
|
"Power Management Enabled signal is supported."): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 9|Slot Characteristics 2"}: ToSubClass]
|
|
boolean PMESignal;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The Shared property indicates whether the two "
|
|
"or more slots shared a location on the base board such as a "
|
|
"PCI/EISA shared slot.\nValues: TRUE or FALSE. If TRUE, the "
|
|
"slot is shared."): ToSubClass,
|
|
MappingStrings {"SMBIOS|Type 9|Slot Characteristics 1"}: ToSubClass]
|
|
boolean Shared;
|
|
[Override ("MaxDataWidth"): ToSubClass,
|
|
Description ("The MaxDataWidth property returns the maximum bus width of "
|
|
"adapter cards that can be inserted into this slot, in bits. The value "
|
|
"of the property is to be interpreted as follows:\n"
|
|
"0 for 8 \n"
|
|
"1 for 16 \n"
|
|
"2 for 32 \n"
|
|
"3 for 64 \n"
|
|
"4 for 128 "),
|
|
Units ("Bits"),
|
|
ValueMap {"0", "1", "2", "3", "4"},
|
|
Values {"8", "16", "32", "64", "128"},
|
|
MappingStrings {"MIF.DMTF|System Slot|004.3"} ,
|
|
read]
|
|
uint16 MaxDataWidth;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_Thread class represents a thread of execution."
|
|
"While a process must have one thread of execution, the process can "
|
|
"create other threads to execute tasks in parallel. Threads share "
|
|
"the process environment, thus multiple threads under the same process "
|
|
"use less memory than the same number of processes."):ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4DD-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_Thread:CIM_Thread
|
|
{
|
|
[Read: ToSubClass, MaxLen (256): ToSubClass,
|
|
Override ("ProcessHandle"): ToSubClass,
|
|
Propagated ("CIM_Process.Handle"): ToSubClass,
|
|
Description ("The ProcessHandle property indicates the process that "
|
|
"created the thread. The contents of this property can be used by Win32 "
|
|
"API elements."): ToSubClass,
|
|
MappingStrings {"Win32API|Tool Help Structures|THREADENTRY32|"
|
|
"th32OwnerProcessID"}:ToSubClass]
|
|
string ProcessHandle ;
|
|
|
|
[Read: ToSubClass, MaxLen (256): ToSubClass,
|
|
Override ("Handle"): ToSubClass,
|
|
Description ("The Handle property represents a handle to a thread. "
|
|
"The handle has full access rights by default. With the correct "
|
|
"security access, the handle can be used in any function "
|
|
"that accepts a thread handle. Depending on the inheritance flag "
|
|
"specified when it is created, this handle can be inherited by child "
|
|
"processes."): ToSubClass,
|
|
MappingStrings {"Win32API|Tool Help Structures|THREADENTRY32|"
|
|
"th32ThreadID"}:ToSubClass ]
|
|
string Handle ;
|
|
|
|
[Read: ToSubClass, Units ("Milliseconds"): ToSubClass,
|
|
Description ("The ElapsedTime property indicates the total execution "
|
|
"time given to this thread since its creation."): ToSubClass,
|
|
MappingStrings {"Win32API|Performance Data Structures|"
|
|
"PERF_OBJECT_TYPE|PerfTime"}:ToSubClass]
|
|
uint64 ElapsedTime ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The PriorityBase property indicates the current base priority "
|
|
"of a thread. The operating system may raise the thread's dynamic priority "
|
|
"above the base priority if the thread is handling user input, or lower "
|
|
"it toward the base priority if the thread becomes compute-bound. The PriorityBase property"
|
|
"can have a value between 0 and 31"): ToSubClass,
|
|
MappingStrings {"Win32API|Performance Data Structures|PERF_OBJECT_TYPE|PerfPriorityBase"}:ToSubClass]
|
|
uint32 PriorityBase ;
|
|
|
|
[Override ("Priority"): ToSubClass, read: ToSubClass,
|
|
Description ("The Priority property indicates the dynamic priority of "
|
|
"the thread. Each thread has a dynamic priority that the scheduler "
|
|
"uses to determine which thread to execute. Initially, a thread's "
|
|
"dynamic priority is the same as its base priority. The system can "
|
|
"raise and lower the dynamic priority, to ensure that it is "
|
|
"responsive (guaranteeing that no threads are starved for processor time). The "
|
|
"system does not boost the priority of threads with a base priority "
|
|
"level between 16 and 31. Only threads with a base priority between "
|
|
"0 and 15 receive dynamic priority boosts. Higher numbers indicate "
|
|
"higher priorities."): ToSubClass,
|
|
MappingStrings {"Win32API|Tool Help Structures|THREADENTRY32|"
|
|
"tpDeltaPri"}:ToSubClass]
|
|
uint32 Priority ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The StartAddress property indicates the starting address "
|
|
"of the thread. Because any application with appropriate access to the "
|
|
"thread can change the thread's context, this value may only be an "
|
|
"approximation of the thread's starting address."): ToSubClass,
|
|
MappingStrings {"WIn32API|Thread Object|LPTHREAD_START_ROUTINE|"
|
|
"lpStartAddress"}:ToSubClass ]
|
|
uint32 StartAddress ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The ThreadState property indicates the current execution "
|
|
"state for the thread. A thread can have one of eight values: Initialized "
|
|
"(recognized by the microkernel), Ready (prepared to run on next "
|
|
"available processor), Running (executing), Standby (about to run, "
|
|
"only one thread may be in this state at a time), Terminated "
|
|
"(finished executing), Waiting (not ready for the processor, when "
|
|
"ready, it will be rescheduled), Transition (thread is waiting for "
|
|
"resources other than the processor), and Unknown (the thread state "
|
|
"is unknown)."): ToSubClass,
|
|
Values {"Initialized", "Ready", "Running", "Standby", "Terminated",
|
|
"Waiting", "Transition", "Unknown"}: ToSubClass,
|
|
MappingStrings {"Win32API|Thread State"}:ToSubClass]
|
|
uint32 ThreadState ;
|
|
|
|
[Read: ToSubClass,
|
|
Description ("The ThreadWaitReason property indicates why "
|
|
"the thread is waiting. The value is only valid if "
|
|
"the ThreadState member is set to Waiting. Values of 0 or 7 denote "
|
|
"that the thread is waiting for the Executive, 1 or 8 for a Free "
|
|
"Page, 2 or 9 for a Page In, 3 or 10 for a Pool Allocation, 4 "
|
|
"or 11 for an Execution Delay, 5 or 12 for a Suspended condition, "
|
|
"6 or 13 for a User Request, 14 for an Event Pair High, 15 for an "
|
|
"Event Pair Low, 16 for an Local Procedure Call (LPC) Receive, 17 "
|
|
"for an LPC Reply, 18 for Virtual Memory, 19 for a Page Out. 20 and "
|
|
"higher are not assigned. Event Pairs "
|
|
"allow communication with protected subsystems (see Context "
|
|
"Switches)."): ToSubClass,
|
|
Values {"Executive", "FreePage", "PageIn", "PoolAllocation",
|
|
"ExecutionDelay", "FreePage", "PageIn", "Executive", "FreePage",
|
|
"PageIn", "PoolAllocation", "ExecutionDelay", "FreePage", "PageIn",
|
|
"EventPairHigh", "EventPairLow", "LPCReceive", "LPCReply",
|
|
"VirtualMemory", "PageOut", "Unknown"}: ToSubClass,
|
|
MappingStrings {"Win32API|Thread Wait Reason"}:ToSubClass ]
|
|
uint32 ThreadWaitReason ;
|
|
|
|
[Override("KernelModeTime"),
|
|
Description ("The KernelModeTime property indicates the "
|
|
"raw counter data from the performance counter type \n"
|
|
"PERF_SIZE_LARGE | PERF_TYPE_COUNTER | PERF_COUNTER_RATE | "
|
|
"PERF_TIMER_100NS | PERF_DELTA_COUNTER | PERF_DISPLAY_PERCENT\n"
|
|
"The counter data is in 100 nanosecond units."),
|
|
Units ("100ns"),
|
|
MappingStrings {"Win32API|Performance Data Structures|PERF_OBJECT_TYPE|PrivilegedTime"}]
|
|
uint64 KernelModeTime ;
|
|
|
|
[Override("UserModeTime"),
|
|
Description ("The UserModeTime property indicates the "
|
|
"raw counter data from the performance counter type \n"
|
|
"PERF_SIZE_LARGE | PERF_TYPE_COUNTER | PERF_COUNTER_RATE | "
|
|
"PERF_TIMER_100NS | PERF_DELTA_COUNTER | PERF_DISPLAY_PERCENT\n"
|
|
"The counter data is in 100 nanosecond units."),
|
|
Units ("100ns"),
|
|
MappingStrings {"Win32API|Performance Data Structures|PERF_OBJECT_TYPE|UserTime"}]
|
|
uint64 UserModeTime ;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32"),
|
|
Description ("The Win32_TimeZone class represents the time "
|
|
"zone information for a Win32 system. This includes changes "
|
|
"needed for the transition to and from daylight savings "
|
|
"time."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4EC-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_TimeZone:CIM_Setting
|
|
{
|
|
[read: ToSubClass, Units ("Minutes"): ToSubClass,
|
|
Description ("The Bias property specifies the current bias for local "
|
|
"time translation. The bias is the difference between Coordinated "
|
|
"Universal Time (UTC) and local time. All translations between UTC "
|
|
"and local time are based on the following formula: UTC = local time "
|
|
"+ bias. This member is required."): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"Bias"}: ToSubClass]
|
|
sint32 Bias ;
|
|
|
|
[read: ToSubClass, Units ("Minutes"): ToSubClass,
|
|
Description ("The DaylightBias property specifies a bias value to "
|
|
"be used during local time translations that occur during daylight "
|
|
"time. This member is ignored if a value for the DaylightDay member "
|
|
"is not supplied. The value of this member is added to the Bias "
|
|
"member to form the bias used during daylight time. In most time "
|
|
"zones, the value of this member is -60."): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightBias"}: ToSubClass ]
|
|
sint32 DaylightBias ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaylightDay property specifies the day of the "
|
|
"DaylightMonth when the transition from standard time to daylight "
|
|
"savings time occurs on this operating system. \n"
|
|
"\nExample: 15 \n"
|
|
"The property specifies a SYSTEMTIME structure that contains a date and "
|
|
"local time when the transition from standard time to daylight time occurs "
|
|
"on this operating system. If this date is not specified, the wMonth "
|
|
"member in the SYSTEMTIME structure must be zero. If this date is "
|
|
"specified, the StandardDate value in the TIME_ZONE_INFORMATION "
|
|
"structure must also be specified. This member supports the absolute "
|
|
"and day-in-month time formats described for the StandardDate "
|
|
"member. "): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightDate|wDay"}: ToSubClass ]
|
|
uint32 DaylightDay ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaylightDayOfWeek property specifies the day of the "
|
|
"week when the transition from standard time to daylight savings time "
|
|
"occurs on this operating system.\nExample: 1"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightDate|wDayOfWeek"}: ToSubClass,
|
|
Values {"Sunday", "Monday", "Tuesday", "Wednesday",
|
|
"Thursday", "Friday", "Saturday"}: ToSubClass]
|
|
uint8 DaylightDayOfWeek ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaylightHour property specifies the hour of the "
|
|
"day when the transition from standard time to daylight savings time "
|
|
"occurs on this operating system.\nExample: 2"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightDate|wHour"}: ToSubClass ]
|
|
uint32 DaylightHour ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaylightMillisecond property specifies the "
|
|
"millisecond of the DaylightSecond when the transition from "
|
|
"standard time to daylight savings time occurs on this operating "
|
|
"system."): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightDate|wMilliseconds"}: ToSubClass ]
|
|
uint32 DaylightMillisecond ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaylightMinute property specifies the minute "
|
|
"of the DaylightHour when the transition from standard time to "
|
|
"daylight savings time occurs on this operating system."
|
|
"\nExample: 59"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightDate|wMinute"}: ToSubClass ]
|
|
uint32 DaylightMinute ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaylightMonth property specifies the month when the "
|
|
"transition from standard time to daylight savings time occurs on "
|
|
"this operating system.\nExample: 1 = January"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightDate|wMonth"}: ToSubClass,
|
|
Values {"January", "February", "March", "April", "May", "June", "July",
|
|
"August","September", "October", "November", "December"}: ToSubClass,
|
|
ValueMap {"1", "2", "3", "4", "5", "6",
|
|
"7", "8", "9", "10", "11", "12"}: ToSubClass]
|
|
uint32 DaylightMonth ;
|
|
|
|
[read: ToSubClass, MaxLen (256): ToSubClass,
|
|
Description ("The DaylightName property indicates the name of the "
|
|
"time zone being represented when daylight savings time is in effect."
|
|
"\nExample: EDT = Eastern Daylight Time. "): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightName"}: ToSubClass ]
|
|
string DaylightName ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaylightSecond property specifies the second of "
|
|
"of the DaylightMinute when the transition from standard time to "
|
|
"daylight savings time occurs on this operating system."
|
|
"\nExample: 59"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightDate|wSecond"}: ToSubClass ]
|
|
uint32 DaylightSecond ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The DaylightYear property indicates the year when "
|
|
"daylight saving time is in effect. This member is not required."
|
|
"\nExample: 1997"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"DaylightDate|wYear"}: ToSubClass ]
|
|
uint32 DaylightYear ;
|
|
|
|
[read: ToSubClass, Units ("Minutes"): ToSubClass,
|
|
Description ("The StandardBias property specifies a bias value to "
|
|
"be used when daylight savings time is not in effect. "
|
|
"This member is ignored if a value for the StandardDay member "
|
|
"is not supplied. The value of this member is added to the Bias "
|
|
"member to form the bias during standard time."
|
|
"\nExample: 0"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardBias"}: ToSubClass ]
|
|
uint32 StandardBias ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The StandardDay property specifies the day of the "
|
|
"StandardMonth when the transition from daylight savings time to "
|
|
"standard time occurs on this operating system.\n"
|
|
"\nExample: 31 \n"
|
|
"The property specifies a SYSTEMTIME structure that contains a date "
|
|
"and local time when the transition from daylight time to standard "
|
|
"time occurs on this operating system. If this date is not specified, "
|
|
"the wMonth member in the SYSTEMTIME structure must be zero. If this "
|
|
"date is specified, the DaylightDate value in the TIME_ZONE_INFORMATION "
|
|
"structure must also be specified. \n"
|
|
"This member supports two date formats. Absolute format specifies an "
|
|
"exact date and time when standard time begins. In this form, the wYear, "
|
|
"wMonth, wDay, wHour, wMinute, wSecond, and wMilliseconds members of the "
|
|
"SYSTEMTIME structure are used to specify an exact date. \n"
|
|
"Day-in-month format is specified by setting the wYear member to zero, "
|
|
"setting the wDayOfWeek member to an appropriate weekday, and using a "
|
|
"wDay value in the range 1 through 5 to select the correct day in the "
|
|
"month. Using this notation, the first Sunday in April can be specified, "
|
|
"as can the last Thursday in October (5 is equal to \"the last\"). "): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardDate|wDay"}: ToSubClass ]
|
|
uint32 StandardDay ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The StandardDayOfWeek property specifies the day of the "
|
|
"week when the transition from daylight savings time to "
|
|
"standard time occurs on this operating system.\nExample: 1"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardDate|wDayOfWeek"}: ToSubClass,
|
|
Values {"Sunday", "Monday", "Tuesday", "Wednesday",
|
|
"Thursday", "Friday", "Saturday"}: ToSubClass]
|
|
uint8 StandardDayOfWeek ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The StandardHour property specifies the hour of the "
|
|
"day when the transition from daylight savings time to "
|
|
"standard time occurs on this operating system.\nExample: 11"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardDate|wHour"}: ToSubClass ]
|
|
uint32 StandardHour ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The StandardMillisecond property specifies the "
|
|
"millisecond of the StandardSecond when the transition from "
|
|
"daylight savings time to standard time occurs on this operating "
|
|
"system."): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardDate|wMilliseconds"}: ToSubClass ]
|
|
uint32 StandardMillisecond ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The StandardMinute property specifies the minute of the "
|
|
"StandardDay when the transition from daylight savings time to "
|
|
"standard time occurs on this operating system.\nExample: 59"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardDate|wMinute"}: ToSubClass ]
|
|
uint32 StandardMinute ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The StandardMonth property specifies the month "
|
|
"when the transition from daylight savings time to standard time "
|
|
"occurs on this operating system.\nExample: 12"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardDate|wMonth"}: ToSubClass,
|
|
Values {"January", "February", "March", "April", "May", "June", "July",
|
|
"August","September", "October", "November", "December"}: ToSubClass,
|
|
ValueMap {"1", "2", "3", "4", "5", "6",
|
|
"7", "8", "9", "10", "11", "12"}: ToSubClass]
|
|
uint32 StandardMonth ;
|
|
|
|
[read: ToSubClass, key: ToSubClass, MaxLen (256): ToSubClass,
|
|
Description ("The StandardName property indicates the name of the "
|
|
"time zone being represented when standard time is in effect."
|
|
"\nExample: EST = Eastern Standard Time. "): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardName"}: ToSubClass ]
|
|
string StandardName ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The StandardSecond property specifies the second of the "
|
|
"StandardMinute when the transition from daylight savings time to "
|
|
"standard time occurs on this operating system.\nExample: 59"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardDate|wSecond"}: ToSubClass ]
|
|
uint32 StandardSecond ;
|
|
|
|
[read: ToSubClass,
|
|
Description ("The StandardYear property indicates the year when "
|
|
"standard time is in effect. This member is not required."
|
|
"\nExample: 1997"): ToSubClass,
|
|
MappingStrings {"Win32API|Time Structures|TIME_ZONE_INFORMATION|"
|
|
"StandardDate|wYear"}: ToSubClass ]
|
|
uint32 StandardYear ;
|
|
};
|
|
|
|
|
|
|
|
|
|
[Dynamic, Provider ("CIMWin32") ,
|
|
Description ("The Win32_UserDesktop class represents an "
|
|
"association between a user account and desktop settings "
|
|
"that are specific to it."): ToSubClass,
|
|
Locale (0x409), UUID ("{8502C4FF-5FBB-11D2-AAC1-006008C78BC7}") ]
|
|
class Win32_UserDesktop:CIM_ElementSetting
|
|
{
|
|
[read: ToSubClass, key: ToSubClass, Override ("Element"): ToSubClass ,
|
|
Description ("The Element reference represents the "
|
|
"user account whose desktop can be "
|
|
"customized by the Settings property of this class."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_UserAccount"}: ToSubClass]
|
|
Win32_UserAccount REF Element;
|
|
|
|
[read: ToSubClass, key: ToSubClass, Override ("Setting"): ToSubClass,
|
|
Description ("The Setting reference represents the "
|
|
"desktop settings that serve to customize "
|
|
"a specific user account desktop."): ToSubClass,
|
|
MappingStrings {"WMI|Win32_Desktop"}: ToSubClass]
|
|
Win32_Desktop REF Setting;
|
|
};
|
|
|
|
|