261 lines
90 KiB
Plaintext
261 lines
90 KiB
Plaintext
#pragma autorecover
|
|
#pragma classflags(64)
|
|
#pragma namespace("\\\\.\\ROOT\\MicrosoftIISv2")
|
|
instance of __namespace{ name="ms_409";};
|
|
#pragma namespace("\\\\.\\ROOT\\MicrosoftIISv2\\ms_409")
|
|
|
|
[Description("The CIM_ManagedSystemElement class is the base class for the system element hierarchy. Membership criteria: Any distinguishable component of a system is a candidate for inclusion in this class.\nExamples: software components, such as files; and devices, such as disk drives and controllers, and physical components such as chips and cards.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class CIM_ManagedSystemElement
|
|
{
|
|
[Description("The Caption property is a short textual description (one-line string) of the object.") : Amended ToSubclass] string Caption;
|
|
[Description("The Description property provides a textual description of the object.") : Amended ToSubclass] string Description;
|
|
[Description("The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.") : Amended ToSubclass] datetime InstallDate;
|
|
[Description("The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.") : Amended ToSubclass] string Name;
|
|
[Description("The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are \"OK\", \"Degraded\" and \"Pred Fail\". \"Pred Fail\" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are \"Error\", \"Starting\", \"Stopping\" and \"Service\". The latter, \"Service\", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither \"OK\" nor in one of the other states.") : Amended ToSubclass,Values{"OK", "Error", "Degraded", "Unknown", "Pred Fail", "Starting", "Stopping", "Service"} : Amended ToSubclass] string Status;
|
|
};
|
|
|
|
[Description("The CIM_LogicalElement class is the base class for all the components of the system that represent abstract system components.\nExample: profiles, processes, or system capabilities in the form of logical devices.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class CIM_LogicalElement : CIM_ManagedSystemElement
|
|
{
|
|
};
|
|
|
|
[Description("A logical element that aggregates an enumerable set of managed system elements. The aggregation operates as an functional whole. Within any particular subclass of CIM_System, there is a well-defined list of CIM_ManagedSystemElement classes whose instances must be aggregated.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class CIM_System : CIM_LogicalElement
|
|
{
|
|
[Description("The CreationClassName property indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.") : Amended ToSubclass] string CreationClassName;
|
|
[Description("The inherited Name property serves as key of a CIM_System instance in an enterprise environment.") : Amended ToSubclass] string Name;
|
|
[Description("The CIM_System object and its derivatives are top level objects of CIM. They provide the scope for numerous components. Having unique system keys is required. A heuristic can be defined in individual system subclasses to attempt to always generate the same system name key. The NameFormat property identifies how the system name was generated, using the subclass' heuristic.") : Amended ToSubclass] string NameFormat;
|
|
[Description("A string that provides information on how the primary system owner can be reached (e.g. phone number, email address, ...).") : Amended ToSubclass] string PrimaryOwnerContact;
|
|
[Description("The name of the primary system owner.") : Amended ToSubclass] string PrimaryOwnerName;
|
|
[Description("A collection of strings that specify the roles this system plays in the IT-environment.") : Amended ToSubclass] string Roles[];
|
|
};
|
|
|
|
[Description("The Setting class represents configuration-related and operational parameters for one or more ManagedSystemElement(s). A ManagedSystemElement may have multiple Setting objects associated with it. The current operational values for an Element's parameters are reflected by properties in the Element itself or by properties in its associations. These properties do not have to be the same values present in the Setting object. For example, a modem may have a Setting baud rate of 56Kb/sec but be operating at 19.2Kb/sec.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class CIM_Setting
|
|
{
|
|
[Description("The identifier by which the CIM_Setting object is known.") : Amended ToSubclass] string SettingID;
|
|
[Description("A short textual description (one-line string) of the CIM_Setting object.") : Amended ToSubclass] string Caption;
|
|
[Description("A textual description of the CIM_Setting object.") : Amended ToSubclass] string Description;
|
|
};
|
|
|
|
[Description("A generic association to establish 'part of' relationships between managed system elements.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class CIM_Component
|
|
{
|
|
[Description("The parent element in the association") : Amended ToSubclass] CIM_ManagedSystemElement Ref GroupComponent;
|
|
[Description("The child element in the association") : Amended ToSubclass] CIM_ManagedSystemElement Ref PartComponent;
|
|
};
|
|
|
|
[Description("A logical element that contains the information necessary to represent and manage the functionality provided by a device and/or software feature. A service is a general-purpose object to configure and manage the implementation of functionality. It is not the functionality itself.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class CIM_Service : CIM_LogicalElement
|
|
{
|
|
[Description("The Name property uniquely identifies the service and provides an indication of the functionality that is managed. This functionality is described in more detail in the object's Description property.") : Amended ToSubclass] string Name;
|
|
[Description("CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.") : Amended ToSubclass] string CreationClassName;
|
|
[Description("StartMode is a string value indicating whether the service is automatically started by a operating system, or only started upon request.") : Amended ToSubclass,Values{"Automatic", "Manual"} : Amended ToSubclass] string StartMode;
|
|
[Description("Started is a boolean indicating whether the service has been started (TRUE), or stopped (FALSE).") : Amended ToSubclass] boolean Started;
|
|
[Description("The type name of the system that hosts this service") : Amended ToSubclass] string SystemCreationClassName;
|
|
[Description("The name of the system that hosts this service") : Amended ToSubclass] string SystemName;
|
|
[Description("The StartService method places the service in the started state. It returns an integer value of 0 if the service was successfully started, 1 if the request is not supported and any other number to indicate an error.") : Amended ToSubclass] uint32 StartService();
|
|
[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.") : Amended ToSubclass] uint32 StopService();
|
|
};
|
|
|
|
[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.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class Win32_BaseService : CIM_Service
|
|
{
|
|
[Description("The Name property uniquely identifies the service and provides an indication of the functionality that is managed. This functionality is described in more detail in the object's Description property.") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] string Name;
|
|
[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.") : Amended ToSubclass,Values{"Boot", "System", "Auto", "Manual", "Disabled"} : Amended ToSubclass] string StartMode;
|
|
[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.") : Amended ToSubclass] boolean AcceptPause;
|
|
[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.") : Amended ToSubclass] boolean AcceptStop;
|
|
[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.") : Amended ToSubclass] boolean DesktopInteract;
|
|
[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.") : Amended ToSubclass] string DisplayName;
|
|
[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\" errorsthe 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.") : Amended ToSubclass,Values{"Ignore", "Normal", "Severe", "Critical", "Unknown"} : Amended ToSubclass] string ErrorControl;
|
|
[Description("The PathName property contains the fully qualified path to the service binary file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys") : Amended ToSubclass] string PathName;
|
|
[Description("The ServiceType property supplies the type of service provided to calling processes.") : Amended ToSubclass,Values{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own Process", "Share Process", "Interactive Process"} : Amended ToSubclass] string ServiceType;
|
|
[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.") : Amended ToSubclass] string StartName;
|
|
[Description("The State property indicates the current state of the base service.") : Amended ToSubclass,Values{"Stopped", "Start Pending", "Stop Pending", "Running", "Continue Pending", "Pause Pending", "Paused", "Unknown"} : Amended ToSubclass] string State;
|
|
[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.") : Amended ToSubclass] uint32 TagId;
|
|
[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.") : Amended ToSubclass] uint32 ExitCode;
|
|
[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 ExitCodeproperty value is ERROR_SERVICE_SPECIFIC_ERROR, 1066.") : Amended ToSubclass] uint32 ServiceSpecificExitCode;
|
|
[Description("The StartService method attempts to place the service into its startup state. It returns one of the following integer values:\n0 - The request was accepted.\n1 - The request is not supported.\n2 - The user did not have the necessary access.\n3 - The service cannot be stopped because other services that are running are dependent on it.\n4 - The requested control code is not valid, or it is unacceptable to the service.\n5 - 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.\n6 - The service has not been started.\n7 - The service did not respond to the start request in a timely fashion.\n8 - Unknown failure when starting the service.\n9 - The directory path to the service executable was not found.\n10 - The service is already running.\n11 - The database to add a new service is locked.\n12 - A dependency for which this service relies on has been removed from the system.\n13 - The service failed to find the service needed from a dependent service.\n14 - The service has been disabled from the system.\n15 - The service does not have the correct authentication to run on the system.\n16 - This service is being removed from the system.\n17 - There is no execution thread for the service.\n18 - There are circular dependencies when starting the service.\n19 - There is a service running under the same name.\n20 - There are invalid characters in the name of the service.\n21 - Invalid parameters have been passed to the service.\n22 - The account which this service is to run under is either invalid or lacks the permissions to run the service.\n23 - The service exists in the database of services available from the system.\n24 - The service is currently paused in the system.\n") : Amended 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"} : Amended ToSubclass] uint32 StartService();
|
|
[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.") : Amended ToSubclass] uint32 StopService();
|
|
[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.") : Amended ToSubclass] uint32 PauseService();
|
|
[Description("The ResumeService method attempts to place the service in the resumed state. It returns an integer value of 0 if the ResumeService request was accepted, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 ResumeService();
|
|
[Description("The InterrogateService method requests that the service update its state to the service manager. It returns an integer value of 0 if the InterrogateService request was accepted, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 InterrogateService();
|
|
[Description("The UserControlService method attempts to send a user-defined control code to a service. It returns an integer value of 0 if the UserControlService request was accepted, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 UserControlService([In,Description("The ControlCode parameter specifies defined values(from 128 to 255) that provide control commands specific to a user.") : Amended ToSubclass] uint8 ControlCode);
|
|
[Description("The Create method creates a new service. It returns an integer value of 0 if the service was successfully created, 1 if the request is not supported, and any other number to indicate an error. 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.") : Amended ToSubclass] uint32 Create([In,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.") : Amended ToSubclass] string Name,[In,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.") : Amended ToSubclass] string DisplayName,[In,Description("The PathName parameter passes the fully qualified path to the executable file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys") : Amended ToSubclass] string PathName,[In,Description("The ServiceType parameter passes the type of services provided to processes that call them.") : Amended ToSubclass,BitValues{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own Process", "Share Process"} : Amended ToSubclass] uint8 ServiceType,[In,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.") : Amended ToSubclass,Values{"Ignore", "Normal", "Severe", "Critical"} : Amended ToSubclass] uint8 ErrorControl,[In,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.") : Amended ToSubclass,Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"} : Amended ToSubclass] string StartMode,[In,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.") : Amended ToSubclass] boolean DesktopInteract,[In,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.") : Amended ToSubclass] string StartName,[In,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.") : Amended ToSubclass] string StartPassword,[In,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:\nHKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ServiceGroupOrder.") : Amended ToSubclass] string LoadOrderGroup,[In,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.") : Amended ToSubclass] string LoadOrderGroupDependencies[],[In,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.") : Amended ToSubclass] string ServiceDependencies[]);
|
|
[Description("The Change method modifies a service. It returns an integer value of 0 if the service was successfully modified, 1 if the request is not supported and any other number to indicate an error. 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.") : Amended ToSubclass] uint32 Change([In,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") : Amended ToSubclass] string DisplayName,[In,Description("The PathName parameter passes the fully qualified path of the service binary file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys") : Amended ToSubclass] string PathName,[In,Description("The ServiceType parameter passes the type of service provided to processes calling the service.") : Amended ToSubclass,BitValues{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own Process", "Share Process"} : Amended ToSubclass] uint8 ServiceType,[In,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.") : Amended ToSubclass,Values{"Ignore", "Normal", "Severe", "Critical"} : Amended ToSubclass] uint8 ErrorControl,[In,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.") : Amended ToSubclass,Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"} : Amended ToSubclass] string StartMode,[In,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.") : Amended ToSubclass] boolean DesktopInteract,[In,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.") : Amended ToSubclass] string StartName,[In,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.") : Amended ToSubclass] string StartPassword,[In,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:\nHKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ServiceGroupOrder.") : Amended ToSubclass] string LoadOrderGroup,[In,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.") : Amended ToSubclass] string LoadOrderGroupDependencies[],[In,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.") : Amended ToSubclass] string ServiceDependencies[]);
|
|
[Description("The ChangeStartMode method modifies the StartMode of a service. It returns an integer value of 0 if the service was successfully modified, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 ChangeStartMode([In,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.") : Amended ToSubclass,Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"} : Amended ToSubclass] string StartMode);
|
|
[Description("The Delete method deletes an existing service. It returns an integer value of 0 if the service was successfully deleted, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 Delete();
|
|
};
|
|
|
|
[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.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class Win32_Service : Win32_BaseService
|
|
{
|
|
[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.") : Amended ToSubclass] uint32 CheckPoint;
|
|
[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 CurrentState. If the amount of time specified by WaitHint passes, and CheckPoint has not been incremented, or the CurrentState has not changed, the service control manager or service control program assumes that an error has occurred.") : Amended ToSubclass] uint32 WaitHint;
|
|
[Description("The ProcessId property specifies the process identifier of the service.\nExample: 324") : Amended ToSubclass] uint32 ProcessId;
|
|
};
|
|
|
|
[Description(" The CIM_ApplicationSystem class is used to represent an application or a software system that supports a particular business function and that can be managed as an independent units. Such a system can be decomposed into its functional components using the CIM_SoftwareFeature class. The software features for a particular application or software system are located using the CIM_ApplicationSystemSoftwareFeature association. ") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class CIM_ApplicationSystem : CIM_System
|
|
{
|
|
};
|
|
|
|
[Description("ElementSetting represents the association between ManagedSystemElements and the Setting class(es) defined for them.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class CIM_ElementSetting
|
|
{
|
|
[Description("The Element reference represents the role of the CIM_ManagedSystemElement object of the CIM_ElementSetting association. Role: The associated managed system element provides the element that implements the element setting.") : Amended ToSubclass] CIM_ManagedSystemElement Ref Element;
|
|
[Description("The CIM_Setting reference represents the role of the CIM_Setting object of the CIM_ElementSetting association. Role: The associated setting provides the setting that implements the element setting.") : Amended ToSubclass] CIM_Setting Ref Setting;
|
|
};
|
|
|
|
[AMENDMENT, LOCALE(0x409)]
|
|
class IIsSetting : CIM_Setting
|
|
{
|
|
};
|
|
|
|
[AMENDMENT, LOCALE(0x409)]
|
|
class IIsDirectory : CIM_LogicalElement
|
|
{
|
|
};
|
|
|
|
[Description("Manages metabase key values that apply to a file in a Web directory for a Web server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebFileSetting : IIsSetting
|
|
{
|
|
};
|
|
|
|
[Description("Manages metabase properties that apply to one or all FTP virtual directories for an FTP server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsFtpVirtualDir : IIsDirectory
|
|
{
|
|
};
|
|
|
|
[Description("Manages metabase properties that apply to one or all FTP virtual directories for an FTP server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsFtpVirtualDirSetting : IIsSetting
|
|
{
|
|
};
|
|
|
|
[AMENDMENT, LOCALE(0x409)]
|
|
class IIsApplicationPool : CIM_LogicalElement
|
|
{
|
|
[Description("Determine which applications are currently routed to the given application pool") : Amended ToSubclass] void EnumAppsInPool([OUT] string Applications[]);
|
|
[Description("Recycle an already enabled application pool on demand") : Amended ToSubclass] void RecycleAppPool();
|
|
[Description("Starts an application pool") : Amended ToSubclass] void Start();
|
|
[Description("Stops an application pool") : Amended ToSubclass] void Stop();
|
|
};
|
|
|
|
[Description("Manages inheritable metabase properties for Web sites and Web virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebServiceSetting : IIsSetting
|
|
{
|
|
};
|
|
|
|
[Description("Manages inheritable metabase properties for Web sites and Web virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebService : Win32_Service
|
|
{
|
|
[Description("Creates a new site.") : Amended ToSubclass] string CreateNewSite([IN] string ServerComment,[IN] ServerBinding ServerBindings[],[IN] string PathOfRootVirtualDir,[IN] sint32 ServerId);
|
|
[Description("Returns what mode -- Full Isolation (= 1) or Shared Isolation (= 0) -- the W3SVC is running in.") : Amended ToSubclass] void GetCurrentMode([OUT] sint32 ServerMode);
|
|
};
|
|
|
|
[Description("Manages the metabase properties that control FTP sites and FTP virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsFtpServiceSetting : IIsSetting
|
|
{
|
|
};
|
|
|
|
[Description("Manages metabase properties that apply to one or all virtual directories for a Web site.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebVirtualDirSetting : IIsSetting
|
|
{
|
|
};
|
|
|
|
[Description("Manages metabase properties that apply to one or all virtual directories for a Web site.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebVirtualDir : IIsDirectory
|
|
{
|
|
[Description("Creates an application at the specified metabase key(parameter is a Boolean).") : Amended ToSubclass] void AppCreate([IN] boolean InProcFlag,[IN] string AppPoolName,[IN] boolean bCreate);
|
|
[Description("Creates an application at the specified metabase key(parameter is a Long).") : Amended ToSubclass] void AppCreate2([IN] sint32 AppMode,[IN] string AppPoolName,[IN] boolean bCreate);
|
|
[Description("Deletes an application definition at the specified key (and its subkeys).") : Amended ToSubclass] void AppDelete([IN] boolean Recursive);
|
|
[Description("Unloads an application at the specified key (and its subkeys).") : Amended ToSubclass] void AppUnLoad([IN] boolean Recursive);
|
|
[Description("Restarts the ASP application that invoked it.") : Amended ToSubclass] void AspAppRestart();
|
|
};
|
|
|
|
[Description("Is used to set metabase properties that apply to one or more Web directories for a Web server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebDirectory : IIsDirectory
|
|
{
|
|
[Description("Creates an application at the specified metabase key(parameter is a Boolean).") : Amended ToSubclass] void AppCreate([IN] boolean InProcFlag,[IN] string AppPoolName,[IN] boolean bCreate);
|
|
[Description("Creates an application at the specified metabase key(parameter is a Long).") : Amended ToSubclass] void AppCreate2([IN] sint32 AppMode,[IN] string AppPoolName,[IN] boolean bCreate);
|
|
[Description("Deletes an application definition at the specified key (and its subkeys).") : Amended ToSubclass] void AppDelete([IN] boolean Recursive);
|
|
[Description("Unloads an application at the specified key (and its subkeys).") : Amended ToSubclass] void AppUnLoad([IN] boolean Recursive);
|
|
[Description("Restarts the ASP application that invoked it.") : Amended ToSubclass] void AspAppRestart();
|
|
};
|
|
|
|
[Description("Is used to set metabase properties that apply to one or more Web directories for a Web server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebDirectorySetting : IIsSetting
|
|
{
|
|
};
|
|
|
|
[Description("Manages global metabase properties that determine how IIS operates") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsComputer : CIM_ApplicationSystem
|
|
{
|
|
[Description("Explicitly saves the metabase data to disk.") : Amended ToSubclass] void SaveData();
|
|
[Description("Saves the metabase to long-term storage.") : Amended ToSubclass] void BackupWithPassword([IN] string BackupLocation,[IN] sint32 BackupVersion,[IN] sint32 BackupFlags,[IN] string Password);
|
|
[Description("Deletes a metabase backup from long-term storage.") : Amended ToSubclass] void DeleteBackup([IN] string BackupLocation,[IN] sint32 BackupVersion);
|
|
[Description("Enumerates metabase backups in long-term storage.") : Amended ToSubclass] void EnumBackups([IN,OUT] string BackupLocation,[IN] sint32 IndexIn,[OUT] sint32 BackupVersionOut,[OUT] datetime BackupDateTimeOut);
|
|
[Description("Restores a metabase backup from long-term storage.") : Amended ToSubclass] void RestoreWithPassword([IN] string BackupLocation,[IN] sint32 BackupVersion,[IN] sint32 BackupFlags,[IN] string Password);
|
|
};
|
|
|
|
[Description("Manages metabase properties that apply to a specific FTP server and to set inheritable metabase properties for FTP virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsFtpServerSetting : IIsSetting
|
|
{
|
|
};
|
|
|
|
[Description("Manages metabase properties that apply to a specific FTP server and to set inheritable metabase properties for FTP virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsFtpServer : CIM_LogicalElement
|
|
{
|
|
[Description("Starts the server.") : Amended ToSubclass] void Start();
|
|
[Description("Stops the server.") : Amended ToSubclass] void Stop();
|
|
[Description("Continues the server.") : Amended ToSubclass] void Continue();
|
|
[Description("Pauses the server.") : Amended ToSubclass] void Pause();
|
|
};
|
|
|
|
[Description("Manages metabase properties that apply to a specific Web virtual server, and to set inheritable metabase properties for virtual directories, Web directories, and Web files.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebServer : CIM_LogicalElement
|
|
{
|
|
[Description("Starts the server.") : Amended ToSubclass] void Start();
|
|
[Description("Stops the server.") : Amended ToSubclass] void Stop();
|
|
[Description("Continues the server.") : Amended ToSubclass] void Continue();
|
|
[Description("Pauses the server.") : Amended ToSubclass] void Pause();
|
|
};
|
|
|
|
[Description("Manages the metabase properties that control FTP sites and FTP virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsFtpService : Win32_Service
|
|
{
|
|
[Description("Creates a new site.") : Amended ToSubclass] string CreateNewSite([IN] string ServerComment,[IN] ServerBinding ServerBindings[],[IN] string PathOfRootVirtualDir,[IN] sint32 ServerId);
|
|
};
|
|
|
|
[Description("Manages metabase properties that apply to a specific Web virtual server, and to set inheritable metabase properties for virtual directories, Web directories, and Web files.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebServerSetting : IIsSetting
|
|
{
|
|
};
|
|
|
|
[Description("Manages global metabase properties that determine how IIS operates") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsComputerSetting : IIsSetting
|
|
{
|
|
};
|
|
|
|
[Description("Maps client certificates to Windows user accounts.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsCertMapper : CIM_LogicalElement
|
|
{
|
|
[Description("Maps a certificate to a Windows account.") : Amended ToSubclass] void CreateMapping([IN] string vCert,[IN] string NtAcct,[IN] string NtPwd,[IN] string strName,[IN] boolean IEnabled);
|
|
[Description("Deletes an existing certificate mapping.") : Amended ToSubclass] void DeleteMapping([IN] sint32 IMethod,[IN] string vKey);
|
|
[Description("Retrieves a certificate and the mapping data from an existing certificate mapping.") : Amended ToSubclass] void GetMapping([IN] sint32 IMethod,[IN] string vKey,[OUT] string vCert,[OUT] string NtAcct,[OUT] string NtPwd,[OUT] string strName,[OUT] boolean IEnabled);
|
|
[Description("Sets a new value for the Windows account string in an existing certificate mapping.") : Amended ToSubclass] void SetAcct([IN] sint32 IMethod,[IN] string vKey,[IN] string NtAcct);
|
|
[Description("Enables or disables an existing certificate mapping.") : Amended ToSubclass] void SetEnabled([IN] sint32 IMethod,[IN] string vKey,[IN] boolean IEnabled);
|
|
[Description("Sets a new value for the name string in an existing certificate mapping.") : Amended ToSubclass] void SetName([IN] sint32 IMethod,[IN] string vKey,[IN] string strName);
|
|
[Description("Sets a new value for the Windows password string in an existing certificate mapping.") : Amended ToSubclass] void SetPwd([IN] sint32 IMethod,[IN] string vKey,[IN] string NtPwd);
|
|
};
|
|
|
|
[Description("Manages metabase key values that apply to a file in a Web directory for a Web server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsWebFile : IIsDirectory
|
|
{
|
|
};
|
|
|
|
[Description("Maps client certificates to Windows user accounts.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
|
|
class IIsCertMapperSetting : IIsSetting
|
|
{
|
|
};
|