WDF_POWER_POLICY_EVENT_CALLBACKS_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfdevice.h

VOID WDF_POWER_POLICY_EVENT_CALLBACKS_INIT(
  [out] PWDF_POWER_POLICY_EVENT_CALLBACKS Callbacks
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdevice-wdf_power_policy_event_callbacks_init)

WDF_POWER_POLICY_EVENT_CALLBACKS_INIT function

Description

[Applies to KMDF and UMDF]

The WDF_POWER_POLICY_EVENT_CALLBACKS_INIT function initializes a driver's WDF_POWER_POLICY_EVENT_CALLBACKS structure.

Parameters

Callbacks [out]

A pointer to a driver-allocated WDF_POWER_POLICY_EVENT_CALLBACKS structure.

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.