IPowerPolicyCallbackWakeFromSx interface
A driver's IPowerPolicyCallbackWakeFromSx 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 both itself and the system from a low-power state.
Members
The IPowerPolicyCallbackWakeFromSx interface inherits from the IUnknown interface. IPowerPolicyCallbackWakeFromSx also has these types of members:
Methods
The IPowerPolicyCallbackWakeFromSx interface has these methods.
| Method | Description |
|---|---|
| IPowerPolicyCallbackWakeFromSx::OnArmWakeFromSx |
A driver's OnArmWakeFromSx event callback function arms (that is, enables) a device so that it can trigger a wake signal while in a low-power device state. The wake signal causes the device to enter its working state (D0) and the system to enter its working state (S0). |
| IPowerPolicyCallbackWakeFromSx::OnDisarmWakeFromSx |
A driver's OnDisarmWakeFromSx event callback function disarms (that is, disables) a device's ability to trigger a wake signal while the device and system are in low-power states. |
| IPowerPolicyCallbackWakeFromSx::OnWakeFromSxTriggered |
A driver's OnWakeFromSxTriggered event callback function informs the driver that its device, which had previously entered a low-power device state because system power was reduced, might have triggered a wake signal. |
Remarks
If your driver supports an IPowerPolicyCallbackWakeFromSx interface for a device, the IUnknown::QueryInterface method that the driver passes to IWDFDriver::CreateDevice must return the interface.
Requirements
|
Version | Available in UMDF versions 1.9 and later. (See UMDF Version History). |
|---|---|
|
Header |
|
Send comments about this topic to Microsoft
Build date: 4/1/2013
