大网数据广告活动
性能与资源

SystemConfig_Services class

· 52CE 我爱测

SystemConfig_Services class - This class is the event type class for service configuration events.

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

SystemConfig

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。