// wdfdevice.h
VOID WDF_DEVICE_POWER_CAPABILITIES_INIT(
[out] PWDF_DEVICE_POWER_CAPABILITIES Caps
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WDF_DEVICE_POWER_CAPABILITIES_INIT function initializes a WDF_DEVICE_POWER_CAPABILITIES structure.
Caps [out]A pointer to a driver-supplied WDF_DEVICE_POWER_CAPABILITIES structure.
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.