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

SystemConfig_Power class

· 52CE 我爱测

SystemConfig_Power class - This class is the event type class for power configuration events. The following syntax is simplified from MOF code.

This class is the event type class for power configuration events.

The following syntax is simplified from MOF code.

Syntax

[EventType(16), EventTypeName("Power")]
class SystemConfig_Power : SystemConfig
{
  uint8 s1;
  uint8 s2;
  uint8 s3;
  uint8 s4;
  uint8 s5;
  uint8 Pad1;
  uint8 Pad2;
  uint8 Pad3;
};

Members

The SystemConfig_Power class has these types of members:

Properties

The SystemConfig_Power class has these properties.

Pad1

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(6)

Not used.

Pad2

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(7)

Not used.

Pad3

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(8)

Not used.

s1

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(1)

True indicates the system supports sleep state S1.

s2

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(2)

True indicates the system supports sleep state S2.

s3

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(3)

True indicates the system supports sleep state S3.

s4

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(4)

True indicates the system supports sleep state S4.

s5

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(5)

True indicates the system supports sleep state S5.

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)

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

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