Upravit

Sdílet prostřednictvím


SystemConfig_Power class

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