IPowerPolicyCallbackWakeFromS0 interface (wudfddi.h)

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

A driver's IPowerPolicyCallbackWakeFromS0 interface provides callback functions that the framework calls to notify the driver about wake events. These events are related to a device's ability to wake from a low-power state while the system remains in the system working state (S0).

Inheritance

The IPowerPolicyCallbackWakeFromS0 interface inherits from the IUnknown interface. IPowerPolicyCallbackWakeFromS0 also has these types of members:

  • Methods

Methods

The IPowerPolicyCallbackWakeFromS0 interface has these methods.

 
IPowerPolicyCallbackWakeFromS0::OnArmWakeFromS0

A driver's OnArmWakeFromS0 callback function arms (that is, enables) a device so that it can trigger a wake signal while in a low-power device state, if the system remains in the system working state (S0).
IPowerPolicyCallbackWakeFromS0::OnDisarmWakeFromS0

A driver's OnDisarmWakeFromS0 event callback function disarms (that is, disables) a device's ability to trigger a wake signal while in a low-power device state, if the system remains in the system working state (S0).
IPowerPolicyCallbackWakeFromS0::OnWakeFromS0Triggered

A driver's OnWakeFromS0Triggered event callback function informs the driver that its device, which had previously entered a low-power device state while the system power state remained at S0, might have triggered a wake signal.

Remarks

If your driver supports an IPowerPolicyCallbackWakeFromS0 interface for a device, the IUnknown::QueryInterface method that the driver passes to IWDFDriver::CreateDevice must return the interface.

Requirements

Requirement Value
End of support Unavailable in UMDF 2.0 and later.
Target Platform Desktop
Minimum UMDF version 1.9
Header wudfddi.h (include Wudfddi.h)