Expand Minimize

WDF_DEVICE_INTERFACE_PROPERTY_DATA_INIT function

[Applies to UMDF only]

The WDF_DEVICE_INTERFACE_PROPERTY_DATA_INIT function initializes a driver's WDF_DEVICE_INTERFACE_PROPERTY_DATA structure.

Syntax


void WDF_DEVICE_INTERFACE_PROPERTY_DATA_INIT(
  _In_  PWDF_DEVICE_INTERFACE_PROPERTY_DATA PropertyData,
  _In_  const GUID *InterfaceClassGUID,
  _In_  const DEVPROPKEY *PropertyKey
);

Parameters

PropertyData [in]

A pointer to WDF_DEVICE_INTERFACE_PROPERTY_DATA structure.

InterfaceClassGUID [in]

A pointer to a GUID that identifies the device interface class.

PropertyKey [in]

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

Return value

This function does not return a value.

Remarks

Before calling the following methods, a driver must call WDF_DEVICE_INTERFACE_PROPERTY_DATA_INIT to initialize a WDF_DEVICE_INTERFACE_PROPERTY_DATA structure.

The WDF_DEVICE_INTERFACE_PROPERTY_DATA_INIT function zeros the specified WDF_DEVICE_INTERFACE_PROPERTY_DATA structure and sets the structure's Size member. It also sets the structure's InterfaceClassGUID and PropertyKey members to the specified values.

For a code example that uses WDF_DEVICE_INTERFACE_PROPERTY_DATA_INIT, see WdfDeviceAssignInterfaceProperty.

Requirements

Minimum support

Windows 8.1

Minimum UMDF version

2.0

Header

Wdfdevice.h (include Wdf.h)

See also

WDF_DEVICE_INTERFACE_PROPERTY_DATA
WdfDeviceAllocAndQueryInterfaceProperty
WdfDeviceAssignInterfaceProperty
WdfDeviceQueryInterfaceProperty

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.