This topic has not yet been rated - Rate this topic

SYSTEM_POWER_INFORMATION structure

Applies to: desktop apps only

Contains information about the idleness of the system.

Syntax

typedef struct _SYSTEM_POWER_INFORMATION {
  ULONG MaxIdlenessAllowed;
  ULONG Idleness;
  ULONG TimeRemaining;
  UCHAR CoolingMode;
} SYSTEM_POWER_INFORMATION, *PSYSTEM_POWER_INFORMATION;

Members

MaxIdlenessAllowed

The idleness at which the system is considered idle and the idle time-out begins counting, expressed as a percentage. Dropping below this number causes the timer to be canceled.

Idleness

The current idle level, expressed as a percentage.

TimeRemaining

The time remaining in the idle timer, in seconds.

CoolingMode

The current system cooling mode. This member must one of the following values.

ValueMeaning
PO_TZ_ACTIVE
0

The system is currently in Active cooling mode.

PO_TZ_INVALID_MODE
2

The system does not support CPU throttling, or there is no thermal zone defined in the system.

PO_TZ_PASSIVE
1

The system is currently in Passive cooling mode.

 

Remarks

Note that this structure definition was accidentally omitted from WinNT.h. This error will be corrected in the future. In the meantime, to compile your application, include the structure definition contained in this topic in your source code.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

See also

CallNtPowerInformation

 

 

Send comments about this topic to Microsoft

Build date: 2/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ