(ntpoapi.h) POWER_INFORMATION_LEVEL枚举

指示电源级别信息。

语法

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,
  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
指示最大功率级别。

要求

要求
Header ntpoapi.h (包括 Ntpoapi.h)