WDF_POWER_POLICY_EVENT_CALLBACKS_INIT function (wdfdevice.h)
[Applies to KMDF and UMDF]
The WDF_POWER_POLICY_EVENT_CALLBACKS_INIT function initializes a driver's WDF_POWER_POLICY_EVENT_CALLBACKS structure.
void WDF_POWER_POLICY_EVENT_CALLBACKS_INIT(
[out] PWDF_POWER_POLICY_EVENT_CALLBACKS Callbacks
);
[out] Callbacks
A pointer to a driver-allocated WDF_POWER_POLICY_EVENT_CALLBACKS structure.
None
The WDF_POWER_POLICY_EVENT_CALLBACKS_INIT function zeros the specified WDF_POWER_POLICY_EVENT_CALLBACKS structure and sets the structures Size member.
For a code example that uses WDF_POWER_POLICY_EVENT_CALLBACKS_INIT, see WdfDeviceInitSetPowerPolicyEventCallbacks.
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfdevice.h (include Wdf.h) |