指示电源级别信息。
语法
typedef enum {
SystemPowerPolicyAc,
SystemPowerPolicyDc,
VerifySystemPolicyAc,
VerifySystemPolicyDc,
SystemPowerCapabilities,
SystemBatteryState,
SystemPowerStateHandler,
ProcessorStateHandler,
SystemPowerPolicyCurrent,
AdministratorPowerPolicy,
SystemReserveHiberFile,
ProcessorInformation,
SystemPowerInformation,
ProcessorStateHandler2,
LastWakeTime,
LastSleepTime,
SystemExecutionState,
SystemPowerStateNotifyHandler,
ProcessorPowerPolicyAc,
ProcessorPowerPolicyDc,
VerifyProcessorPowerPolicyAc,
VerifyProcessorPowerPolicyDc,
ProcessorPowerPolicyCurrent,
SystemPowerStateLogging,
SystemPowerLoggingEntry,
SetPowerSettingValue,
NotifyUserPowerSetting,
PowerInformationLevelUnused0,
SystemMonitorHiberBootPowerOff,
SystemVideoState,
TraceApplicationPowerMessage,
TraceApplicationPowerMessageEnd,
ProcessorPerfStates,
ProcessorIdleStates,
ProcessorCap,
SystemWakeSource,
SystemHiberFileInformation,
TraceServicePowerMessage,
ProcessorLoad,
PowerShutdownNotification,
MonitorCapabilities,
SessionPowerInit,
SessionDisplayState,
PowerRequestCreate,
PowerRequestAction,
GetPowerRequestList,
ProcessorInformationEx,
NotifyUserModeLegacyPowerEvent,
GroupPark,
ProcessorIdleDomains,
WakeTimerList,
SystemHiberFileSize,
ProcessorIdleStatesHv,
ProcessorPerfStatesHv,
ProcessorPerfCapHv,
ProcessorSetIdle,
LogicalProcessorIdling,
UserPresence,
PowerSettingNotificationName,
GetPowerSettingValue,
IdleResiliency,
SessionRITState,
SessionConnectNotification,
SessionPowerCleanup,
SessionLockState,
SystemHiberbootState,
PlatformInformation,
PdcInvocation,
MonitorInvocation,
FirmwareTableInformationRegistered,
SetShutdownSelectedTime,
SuspendResumeInvocation,
PlmPowerRequestCreate,
ScreenOff,
CsDeviceNotification,
PlatformRole,
LastResumePerformance,
DisplayBurst,
ExitLatencySamplingPercentage,
RegisterSpmPowerSettings,
PlatformIdleStates,
ProcessorIdleVeto,
PlatformIdleVeto,
SystemBatteryStatePrecise,
ThermalEvent,
PowerRequestActionInternal,
BatteryDeviceState,
PowerInformationInternal,
ThermalStandby,
SystemHiberFileType,
PhysicalPowerButtonPress,
QueryPotentialDripsConstraint,
EnergyTrackerCreate,
EnergyTrackerQuery,
UpdateBlackBoxRecorder,
SessionAllowExternalDmaDevices,
SendSuspendResumeNotification,
BlackBoxRecorderDirectAccessBuffer,
SystemPowerSourceState,
PowerInformationLevelMaximum
} POWER_INFORMATION_LEVEL;
常数
SystemPowerPolicyAc指示 SystemPowerPolicyAc。 |
SystemPowerPolicyDc指示 SystemPowerPolicyDc。 |
VerifySystemPolicyAc指示 VerifySystemPolicyAc。 |
VerifySystemPolicyDc指示 VerifySystemPolicyDc。 |
SystemPowerCapabilities指示系统的电源功能。 |
SystemBatteryState指示系统的电池状态。 |
SystemPowerStateHandler指示系统的电源状态处理程序。 |
ProcessorStateHandler指示处理器状态处理程序。 |
SystemPowerPolicyCurrent指示系统的当前电源策略。 |
AdministratorPowerPolicy指示管理员的电源策略。 |
SystemReserveHiberFile指示 SystemReserveHiberFile。 |
ProcessorInformation指示处理器信息。 |
SystemPowerInformation指示系统电源信息。 |
ProcessorStateHandler2指示处理器状态处理程序。 |
LastWakeTime指示上次唤醒时间。 |
LastSleepTime指示上次睡眠时间。 |
SystemExecutionState指示系统执行状态。 |
SystemPowerStateNotifyHandler指示系统电源状态通知处理程序。 |
ProcessorPowerPolicyAc指示 ProcessorPowerPolicyAc。 |
ProcessorPowerPolicyDc指示 ProcessorPowerPolicyDc。 |
VerifyProcessorPowerPolicyAc指示 VerifyProcessorPowerPolicyAc。 |
VerifyProcessorPowerPolicyDc指示 VerifyProcessorPowerPolicyDc。 |
ProcessorPowerPolicyCurrent指示当前处理器电源策略。 |
SystemPowerStateLogging指示 SystemPowerStateLogging。 |
SystemPowerLoggingEntry指示 SystemPowerLoggingEntry。 |
SetPowerSettingValue指示已设置电源设置值。 |
NotifyUserPowerSetting指示应通知用户电源设置。 |
PowerInformationLevelUnused0指示电源信息级别未使用。 |
SystemMonitorHiberBootPowerOff指示系统监视器启动电源已关闭。 |
SystemVideoState指示系统视频状态。 |
TraceApplicationPowerMessage指示跟踪应用程序电源消息。 |
TraceApplicationPowerMessageEnd指示跟踪应用程序电源消息的结束。 |
ProcessorPerfStates指示处理器性能状态。 |
ProcessorIdleStates指示处理器空闲状态。 |
ProcessorCap指示处理器上限。 |
SystemWakeSource指示系统唤醒源。 |
SystemHiberFileInformation指示系统的休眠文件信息。 |
TraceServicePowerMessage指示跟踪服务电源消息。 |
ProcessorLoad指示处理器负载。 |
PowerShutdownNotification指示电源关闭通知。 |
MonitorCapabilities指示监视器的功能。 |
SessionPowerInit指示会话电源已初始化。 |
SessionDisplayState指示会话显示状态。 |
PowerRequestCreate指示已创建电源请求。 |
PowerRequestAction指示电源请求的作。 |
GetPowerRequestList指示电源请求列表应排队。 |
ProcessorInformationEx指示 ProcessorInformationEx。 |
NotifyUserModeLegacyPowerEvent指示应为用户模式旧电源事件创建通知。 |
GroupPark指示组寄存。 |
ProcessorIdleDomains指示处理器的空闲域。 |
WakeTimerList指示唤醒计时器列表。 |
SystemHiberFileSize指示系统的休眠文件大小。 |
ProcessorIdleStatesHv指示处理器的空闲状态。 |
ProcessorPerfStatesHv指示处理器的性能状态。 |
ProcessorPerfCapHv指示处理器的性能功能。 |
ProcessorSetIdle指示处理器已设置为空闲。 |
LogicalProcessorIdling指示处理器正在闲转。 |
UserPresence指示用户状态。 |
PowerSettingNotificationName指示电源设置通知名称。 |
GetPowerSettingValue指示电源设置值应排队。 |
IdleResiliency指示空闲复原能力。 |
SessionRITState指示会话的 RIT 状态。 |
SessionConnectNotification指示会话的连接通知。 |
SessionPowerCleanup指示会话的电源清理。 |
SessionLockState指示会话的锁定状态。 |
SystemHiberbootState指示系统的休眠启动状态。 |
PlatformInformation指示平台信息。 |
PdcInvocation指示 pdc 调用。 |
MonitorInvocation指示监视器调用。 |
FirmwareTableInformationRegistered指示已注册的固件表信息。 |
SetShutdownSelectedTime指示应设置关闭时间。 |
SuspendResumeInvocation指示 SuspendResumeInvocation。 |
PlmPowerRequestCreate指示已创建电源请求。 |
ScreenOff指示屏幕已关闭。 |
CsDeviceNotification指示设备通知。 |
PlatformRole指示平台角色。 |
LastResumePerformance指示上次恢复性能的时间。 |
DisplayBurst指示显示突发。 |
ExitLatencySamplingPercentage指示延迟采样百分比。 |
RegisterSpmPowerSettings指示电源设置已注册。 |
PlatformIdleStates指示平台的空闲状态。 |
ProcessorIdleVeto指示处理器的空闲否决。 |
PlatformIdleVeto指示平台的空闲否决权。 |
SystemBatteryStatePrecise指示系统的电池状态。 |
ThermalEvent指示热事件。 |
PowerRequestActionInternal指示内部电源请求作。 |
BatteryDeviceState指示电池的设备状态。 |
PowerInformationInternal指示内部电源信息。 |
ThermalStandby指示热备用。 |
SystemHiberFileType指示系统的休眠文件类型。 |
PhysicalPowerButtonPress指示按物理电源按钮。 |
QueryPotentialDripsConstraint指示潜在的滴答约束。 |
EnergyTrackerCreate指示已创建能量跟踪器。 |
EnergyTrackerQuery指示查询能量跟踪器。 |
UpdateBlackBoxRecorder指示已更新黑盒录制器。 |
SessionAllowExternalDmaDevices指示会话允许外部 DMA 设备。 |
SendSuspendResumeNotification指示发送暂停/恢复通知。 |
BlackBoxRecorderDirectAccessBuffer指示黑盒录制器直接访问缓冲区。 |
PowerInformationLevelMaximum指示最大功率级别。 |
要求
| 要求 | 价值 |
|---|---|
| 标头 | ntpoapi.h (包括 Ntpoapi.h) |