This class is the event type class for service configuration events.
The following syntax is simplified from MOF code.
Syntax
[EventType(15), EventTypeName("Services")]
class SystemConfig_Services : SystemConfig
{
uint32 ProcessId;
uint32 ServiceState;
uint32 SubProcessTag;
string ServiceName[];
string DisplayName[];
string ProcessName[];
};
Members
The SystemConfig_Services class has these types of members:
Properties
The SystemConfig_Services class has these properties.
DisplayName
Data type: string array
Access type: Read-only
Qualifiers: WmiDataId (5), StringTermination("NullTerminated"), Format("w")
Display name of the service. The name is case-preserved in the Service Control Manager. However, display name comparisons are always case-insensitive.
ProcessId
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId (1), Format("x")
Identifier of the process in which the service runs.
ProcessName
Data type: string array
Access type: Read-only
Qualifiers: WmiDataId (6), StringTermination("NullTerminated"), Format("w")
Name of the process in which the service runs.
ServiceName
Data type: string array
Access type: Read-only
Qualifiers: WmiDataId (4), StringTermination("NullTerminated"), Format("w")
Unique identifier of the service. The identifier provides an indication of the functionality the service provides.
ServiceState
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId (2), Format("x")
Current state of the service. For possible values, see the dwCurrentState member of SERVICE_STATUS_PROCESS.
SubProcessTag
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId (3), Format("x")
Identifies the service.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
