WDF_DEVICE_PROPERTY_DATA_INIT - NtDoc

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

VOID WDF_DEVICE_PROPERTY_DATA_INIT(
  [in] PWDF_DEVICE_PROPERTY_DATA PropertyData,
  [in] const DEVPROPKEY          *PropertyKey
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

WDF_DEVICE_PROPERTY_DATA_INIT function

Description

[Applies to KMDF and UMDF]

The WDF_DEVICE_PROPERTY_DATA_INIT function initializes a driver's WDF_DEVICE_PROPERTY_DATA structure.

Parameters

PropertyData [in]

A pointer to WDF_DEVICE_PROPERTY_DATA structure.

PropertyKey [in]

A pointer to a DEVPROPKEY structure that specifies the device property key.

Remarks

Before calling the following methods, a driver must call WDF_DEVICE_PROPERTY_DATA_INIT to initialize a WDF_DEVICE_PROPERTY_DATA structure.

The WDF_DEVICE_PROPERTY_DATA_INIT function zeros the specified WDF_DEVICE_PROPERTY_DATA structure and sets the structure's Size member. It also sets the structure's PropertyKey member to the specified value.

See also

WDF_DEVICE_PROPERTY_DATA

WdfDeviceAllocAndQueryPropertyEx

WdfDeviceAssignProperty

WdfDeviceQueryPropertyEx

WdfFdoInitAllocAndQueryPropertyEx

WdfFdoInitQueryPropertyEx