WDF_DEVICE_PROPERTY_DATA_INIT function (wdfdevice.h)
[Applies to KMDF and UMDF]
The WDF_DEVICE_PROPERTY_DATA_INIT function initializes a driver's WDF_DEVICE_PROPERTY_DATA structure.
Syntax
void WDF_DEVICE_PROPERTY_DATA_INIT(
[in] PWDF_DEVICE_PROPERTY_DATA PropertyData,
[in] const DEVPROPKEY *PropertyKey
);
Parameters
[in] PropertyData
A pointer to WDF_DEVICE_PROPERTY_DATA structure.
[in] PropertyKey
A pointer to a DEVPROPKEY structure that specifies the device property key.
Return value
None
Remarks
Before calling the following methods, a driver must call WDF_DEVICE_PROPERTY_DATA_INIT to initialize a WDF_DEVICE_PROPERTY_DATA structure.
- WdfDeviceAllocAndQueryPropertyEx
- WdfDeviceAssignProperty
- WdfDeviceQueryPropertyEx
- WdfFdoInitAllocAndQueryPropertyEx
- WdfFdoInitQueryPropertyEx
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.13 |
Minimum UMDF version | 2.0 |
Header | wdfdevice.h (include Wdf.h) |
See also
WdfDeviceAllocAndQueryPropertyEx