WDF_DEVICE_PNP_CAPABILITIES_INIT function (wdfdevice.h)

[Applies to KMDF and UMDF]

The WDF_DEVICE_PNP_CAPABILITIES_INIT function initializes a WDF_DEVICE_PNP_CAPABILITIES structure.

Syntax

void WDF_DEVICE_PNP_CAPABILITIES_INIT(
  [out] PWDF_DEVICE_PNP_CAPABILITIES Caps
);

Parameters

[out] Caps

A pointer to a driver-supplied WDF_DEVICE_PNP_CAPABILITIES structure.

Return value

None

Remarks

The WDF_DEVICE_PNP_CAPABILITIES_INIT function zeros the specified WDF_DEVICE_PNP_CAPABILITIES structure, sets the structure's Size member, and sets other members to default values.

Examples

For a code example that uses WDF_DEVICE_PNP_CAPABILITIES_INIT, see WdfDeviceSetPnpCapabilities.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfdevice.h (include Wdf.h)