WDF_DEVICE_INTERFACE_PROPERTY_DATA structure

[Applies to UMDF only]

The WDF_DEVICE_INTERFACE_PROPERTY_DATA structure describes a device interface property.

Syntax


typedef struct _WDF_DEVICE_INTERFACE_PROPERTY_DATA {
  ULONG            Size;
  const GUID       *InterfaceClassGUID;
  PCUNICODE_STRING ReferenceString;
  const DEVPROPKEY *PropertyKey;
  LCID             Lcid;
  ULONG            Flags;
} WDF_DEVICE_INTERFACE_PROPERTY_DATA, *PWDF_DEVICE_INTERFACE_PROPERTY_DATA;

Members

Size

The size, in bytes, of this structure.

InterfaceClassGUID

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

ReferenceString

A pointer to a UNICODE_STRING structure that describes a reference string for the device interface. This parameter is optional and can be NULL.

PropertyKey

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

Lcid

Specifies a locale identifier. Set this parameter either to a language-specific LCID value or to LOCALE_NEUTRAL. The LOCALE_NEUTRAL LCID specifies that the property is language-neutral (that is, not specific to any language). Do not set this parameter to LOCALE_SYSTEM_DEFAULT or LOCALE_USER_DEFAULT. For more information about language-specific LCID values, see LCID Structure.

Flags

Not currently used. Set this member to zero.

Remarks

The WDF_DEVICE_INTERFACE_PROPERTY_DATA structure is used as input to the following methods:

Drivers should initialize this structure by calling WDF_DEVICE_INTERFACE_PROPERTY_DATA_INIT.

Examples

For an example of how to use WDF_DEVICE_INTERFACE_PROPERTY_DATA, 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_INIT
WdfDeviceAllocAndQueryInterfaceProperty
WdfDeviceAssignInterfaceProperty
WdfDeviceQueryInterfaceProperty

 

 

Send comments about this topic to Microsoft

Show: