POWER_MONITOR_REQUEST_REASON枚举 (wdm.h)
本主题介绍 POWER_MONITOR_REQUEST_REASON 枚举。
语法
typedef enum {
MonitorRequestReasonUnknown,
MonitorRequestReasonPowerButton,
MonitorRequestReasonRemoteConnection,
MonitorRequestReasonScMonitorpower,
MonitorRequestReasonUserInput,
MonitorRequestReasonAcDcDisplayBurst,
MonitorRequestReasonUserDisplayBurst,
MonitorRequestReasonPoSetSystemState,
MonitorRequestReasonSetThreadExecutionState,
MonitorRequestReasonFullWake,
MonitorRequestReasonSessionUnlock,
MonitorRequestReasonScreenOffRequest,
MonitorRequestReasonIdleTimeout,
MonitorRequestReasonPolicyChange,
MonitorRequestReasonSleepButton,
MonitorRequestReasonLid,
MonitorRequestReasonBatteryCountChange,
MonitorRequestReasonGracePeriod,
MonitorRequestReasonPnP,
MonitorRequestReasonDP,
MonitorRequestReasonSxTransition,
MonitorRequestReasonSystemIdle,
MonitorRequestReasonNearProximity,
MonitorRequestReasonThermalStandby,
MonitorRequestReasonResumePdc,
MonitorRequestReasonResumeS4,
MonitorRequestReasonTerminal,
MonitorRequestReasonPdcSignal,
MonitorRequestReasonAcDcDisplayBurstSuppressed,
MonitorRequestReasonSystemStateEntered,
MonitorRequestReasonWinrt,
MonitorRequestReasonUserInputKeyboard,
MonitorRequestReasonUserInputMouse,
MonitorRequestReasonUserInputTouchpad,
MonitorRequestReasonUserInputPen,
MonitorRequestReasonUserInputAccelerometer,
MonitorRequestReasonUserInputHid,
MonitorRequestReasonUserInputPoUserPresent,
MonitorRequestReasonUserInputSessionSwitch,
MonitorRequestReasonUserInputInitialization,
MonitorRequestReasonPdcSignalWindowsMobilePwrNotif,
MonitorRequestReasonPdcSignalWindowsMobileShell,
MonitorRequestReasonPdcSignalHeyCortana,
MonitorRequestReasonPdcSignalHolographicShell,
MonitorRequestReasonPdcSignalFingerprint,
MonitorRequestReasonDirectedDrips,
MonitorRequestReasonDim,
MonitorRequestReasonBuiltinPanel,
MonitorRequestReasonDisplayRequiredUnDim,
MonitorRequestReasonBatteryCountChangeSuppressed,
MonitorRequestReasonResumeModernStandby,
MonitorRequestReasonTerminalInit,
MonitorRequestReasonPdcSignalSensorsHumanPresence,
MonitorRequestReasonBatteryPreCritical,
MonitorRequestReasonUserInputTouch,
MonitorRequestReasonAusterityBatteryDrain,
MonitorRequestReasonDozeRestrictedStandby,
MonitorRequestReasonSmartRestrictedStandby,
MonitorRequestReasonMax
} POWER_MONITOR_REQUEST_REASON;
常量
MonitorRequestReasonUnknown 定义 MonitorRequestReasonUnknown 常量。 |
MonitorRequestReasonPowerButton 定义 MonitorRequestReasonPowerButton 常量。 |
MonitorRequestReasonRemoteConnection 定义 MonitorRequestReasonRemoteConnection 常量。 |
MonitorRequestReasonScMonitorpower 定义 MonitorRequestReasonScMonitorpower 常量。 |
MonitorRequestReasonUserInput 定义 MonitorRequestReasonUserInput 常量。 |
MonitorRequestReasonAcDcDisplayBurst 定义 MonitorRequestReasonAcDcDisplayBurst 常量。 |
MonitorRequestReasonUserDisplayBurst 定义 MonitorRequestReasonUserDisplayBurst 常量。 |
MonitorRequestReasonPoSetSystemState 定义 MonitorRequestReasonPoSetSystemState 常量。 |
MonitorRequestReasonSetThreadExecutionState 定义 MonitorRequestReasonSetThreadExecutionState 常量。 |
MonitorRequestReasonFullWake 定义 MonitorRequestReasonFullWake 常量。 |
MonitorRequestReasonSessionUnlock 定义 MonitorRequestReasonSessionUnlock 常量。 |
MonitorRequestReasonScreenOffRequest 定义 MonitorRequestReasonScreenOffRequest 常量。 |
MonitorRequestReasonIdleTimeout 定义 MonitorRequestReasonIdleTimeout 常量。 |
MonitorRequestReasonPolicyChange 定义 MonitorRequestReasonPolicyChange 常量。 |
MonitorRequestReasonSleepButton 定义 MonitorRequestReasonSleepButton 常量。 |
MonitorRequestReasonLid 定义 MonitorRequestReasonLid 常量。 |
MonitorRequestReasonBatteryCountChange 定义 MonitorRequestReasonBatteryCountChange 常量。 |
MonitorRequestReasonGracePeriod 定义 MonitorRequestReasonGracePeriod 常量。 |
MonitorRequestReasonPnP 定义 MonitorRequestReasonPnP 常量。 |
MonitorRequestReasonDP 定义 MonitorRequestReasonDP 常量。 |
MonitorRequestReasonSxTransition 定义 MonitorRequestReasonSxTransition 常量。 |
MonitorRequestReasonSystemIdle 定义 MonitorRequestReasonSystemIdle 常量。 |
MonitorRequestReasonNearProximity 定义 MonitorRequestReasonNearProximity 常量。 |
MonitorRequestReasonThermalStandby 定义 MonitorRequestReasonThermalStandby 常量。 |
MonitorRequestReasonResumePdc 定义 MonitorRequestReasonResumePdc 常量。 |
MonitorRequestReasonResumeS4 定义 MonitorRequestReasonResumeS4 常量。 |
MonitorRequestReasonTerminal 定义 MonitorRequestReasonTerminal 常量。 |
MonitorRequestReasonPdcSignal 定义 MonitorRequestReasonPdcSignal 常量。 |
MonitorRequestReasonAcDcDisplayBurstSuppressed 定义 MonitorRequestReasonAcDcDisplayBurstSuppressed 常量。 |
MonitorRequestReasonSystemStateEntered 定义 MonitorRequestReasonSystemStateEntered 常量。 |
MonitorRequestReasonWinrt 定义 MonitorRequestReasonWinrt 常量。 |
MonitorRequestReasonUserInputKeyboard 定义 MonitorRequestReasonUserInputKeyboard 常量。 |
MonitorRequestReasonUserInputMouse 定义 MonitorRequestReasonUserInputMouse 常量。 |
MonitorRequestReasonUserInputTouchpad 定义 MonitorRequestReasonUserInputTouchpad 常量。 |
MonitorRequestReasonUserInputPen 定义 MonitorRequestReasonUserInputPen 常量。 |
MonitorRequestReasonUserInputAccelerometer 定义 MonitorRequestReasonUserInputAccelerometer 常量。 |
MonitorRequestReasonUserInputHid 定义 MonitorRequestReasonUserInputHid 常量。 |
MonitorRequestReasonUserInputPoUserPresent 定义 MonitorRequestReasonUserInputPoUserPresent 常量。 |
MonitorRequestReasonUserInputSessionSwitch 定义 MonitorRequestReasonUserInputSessionSwitch 常量。 |
MonitorRequestReasonUserInputInitialization 定义 MonitorRequestReasonUserInputInitialization 常量。 |
MonitorRequestReasonPdcSignalWindowsMobilePwrNotif 定义 MonitorRequestReasonPdcSignalWindowsMobilePwrNotif 常量。 |
MonitorRequestReasonPdcSignalWindowsMobileShell 定义 MonitorRequestReasonPdcSignalWindowsMobileShell 常量。 |
MonitorRequestReasonPdcSignalHeyCortana 定义 MonitorRequestReasonPdcSignalHeyCortana 常量。 |
MonitorRequestReasonPdcSignalHolographicShell 定义 MonitorRequestReasonPdcSignalHolographicShell 常量。 |
MonitorRequestReasonPdcSignalFingerprint 定义 MonitorRequestReasonPdcSignalFingerprint 常量。 |
MonitorRequestReasonDirectedDrips 定义 MonitorRequestReasonDirectedDrips 常量。 |
MonitorRequestReasonDim 定义 MonitorRequestReasonDim 常量。 |
MonitorRequestReasonBuiltinPanel 定义 MonitorRequestReasonBuiltinPanel 常量。 |
MonitorRequestReasonDisplayRequiredUnDim 定义 MonitorRequestReasonDisplayRequiredUnDim 常量。 |
MonitorRequestReasonBatteryCountChangeSuppressed 定义 MonitorRequestReasonBatteryCountChangeSuppressed 常量。 |
MonitorRequestReasonResumeModernStandby 定义 MonitorRequestReasonResumeModernStandby 常量。 |
MonitorRequestReasonTerminalInit 定义 MonitorRequestReasonTerminalInit 常量。 |
MonitorRequestReasonPdcSignalSensorsHumanPresence 定义 MonitorRequestReasonPdcSignalSensorsHumanPresence 常量。 |
MonitorRequestReasonBatteryPreCritical 定义 MonitorRequestReasonBatteryPreCritical 常量。 |
MonitorRequestReasonUserInputTouch 定义 MonitorRequestReasonUserInputTouch 常量。 |
MonitorRequestReasonAusterityBatteryDrain 定义 MonitorRequestReasonAusterityBatteryDrain 常量。 |
MonitorRequestReasonMax 定义 MonitorRequestReasonMax 常量。 |
要求
要求 | 值 |
---|---|
Header | wdm.h (包括 Wdm.h) |