WDF_POWER_POLICY_EVENT_CALLBACKS_INIT function
[Applies to KMDF and UMDF]
The WDF_POWER_POLICY_EVENT_CALLBACKS_INIT function initializes a driver's WDF_POWER_POLICY_EVENT_CALLBACKS structure.
Syntax
VOID WDF_POWER_POLICY_EVENT_CALLBACKS_INIT( _Out_ PWDF_POWER_POLICY_EVENT_CALLBACKS Callbacks );
Parameters
- Callbacks [out]
- 
A pointer to a driver-allocated WDF_POWER_POLICY_EVENT_CALLBACKS structure. 
Return value
None
Remarks
The WDF_POWER_POLICY_EVENT_CALLBACKS_INIT function zeros the specified WDF_POWER_POLICY_EVENT_CALLBACKS structure and sets the structures Size member.
Examples
For a code example that uses WDF_POWER_POLICY_EVENT_CALLBACKS_INIT, see WdfDeviceInitSetPowerPolicyEventCallbacks.
Requirements
| Minimum KMDF version | 1.0 | 
|---|---|
| Minimum UMDF version | 2.0 | 
| Header | 
 | 
        Show:
        
        
    

