WDF_DEVICE_PNP_CAPABILITIES_INIT function
[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
- Caps [out]
-
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
Minimum KMDF version | 1.0 |
---|---|
Minimum UMDF version | 2.0 |
Header |
|
Show: