次の方法で共有


POWER_MONITOR_REQUEST_REASON列挙 (ntpoapi.h)

システム用に予約されています。

構文

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
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

必要条件

要件 価値
ヘッダー ntpoapi.h