Partager via


énumération POWER_MONITOR_REQUEST_REASON (ntpoapi.h)

Réservé à l’utilisation du système.

Syntaxe

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;

Constantes

 
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
MonitorRequestReasonMax

Exigences

Exigence Valeur
d’en-tête ntpoapi.h