WDF_DEVICE_POWER_CAPABILITIES_INIT - NtDoc

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

VOID WDF_DEVICE_POWER_CAPABILITIES_INIT(
  [out] PWDF_DEVICE_POWER_CAPABILITIES Caps
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

WDF_DEVICE_POWER_CAPABILITIES_INIT function

Description

[Applies to KMDF and UMDF]

The WDF_DEVICE_POWER_CAPABILITIES_INIT function initializes a WDF_DEVICE_POWER_CAPABILITIES structure.

Parameters

Caps [out]

A pointer to a driver-supplied WDF_DEVICE_POWER_CAPABILITIES structure.

Remarks

The WDF_DEVICE_POWER_CAPABILITIES_INIT function zeros the WDF_DEVICE_POWER_CAPABILITIES structure and sets the structure's Size member. Then, it does the following:

For a code example that uses WDF_DEVICE_POWER_CAPABILITIES_INIT, see WdfDeviceSetPowerCapabilities.

See also

WDF_DEVICE_POWER_CAPABILITIES