PO_EFFECTIVE_POWER_MODE_CALLBACK - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

PO_EFFECTIVE_POWER_MODE_CALLBACK PoEffectivePowerModeCallback;

VOID PoEffectivePowerModeCallback(
  PO_EFFECTIVE_POWER_MODE Mode,
  VOID *Context
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdm-po_effective_power_mode_callback)

Description

The PO_EFFECTIVE_POWER_MODE_CALLBACK is the effective power mode callback.

Parameters

Mode

Indicates the effective power mode the system is running in. For more information, see PO_EFFECTIVE_POWER_MODE.

Context

User-specified opaque context. This context would have been passed in at registration in PoRegisterForEffectivePowerModeNotifications.

Remarks

Immediately after registration, this callback is invoked with the current value of the power setting. If the registration occurs while the power setting is changing, you may receive multiple callbacks. The last callback is the most recent update.

See also

PO_EFFECTIVE_POWER_MODE

PoRegisterForEffectivePowerModeNotifications

PoUnregisterFromEffectivePowerModeNotifications