[Applies to UMDF 1.x only]
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.
- pWdfDevice [in]
A pointer to the IWDFDevice interface of the device object that represents one of the driver's devices.
Your driver must provide an OnDisarmWakeFromSx callback function if the driver supports the IPowerPolicyCallbackWakeFromSx interface.
If the driver has registered this callback function, the framework calls it after the framework has determined that system power is being restored, and after the bus driver completes the wait/wake IRP. Before calling the driver's OnDisarmWakeFromSx callback function, the framework calls the driver's IPnpCallback::OnD0Entry and IPowerPolicyCallbackWakeFromSx::OnWakeFromSxTriggered callback functions.
The OnDisarmWakeFromSx callback function must perform any hardware operations that are needed to disable the device's ability to trigger a wake signal after the power has been lowered.
For more information about when the framework calls this callback function, see PnP and Power Management Scenarios in UMDF.
For more information about this callback function, see Supporting System Wake-Up in UMDF-based Drivers.
End of support
|Unavailable in UMDF 2.0 and later.|
Minimum UMDF version