WDF_DEVICE_PROPERTY_DATA structure
[Applies to KMDF and UMDF]
The WDF_DEVICE_PROPERTY_DATA structure describes a device property.
Syntax
typedef struct _WDF_DEVICE_PROPERTY_DATA { ULONG Size; const DEVPROPKEY *PropertyKey; LCID Lcid; ULONG Flags; } WDF_DEVICE_PROPERTY_DATA, *PWDF_DEVICE_PROPERTY_DATA;
Members
- Size
- 
The size, in bytes, of this structure. 
- 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
- 
Set to PLUGPLAY_PROPERTY_PERSISTENT if this property value is being set by WdfDeviceAssignProperty. Otherwise, set this member to zero. 
Remarks
The WDF_DEVICE_PROPERTY_DATA structure is used as input to the following methods:
- WdfDeviceAllocAndQueryPropertyEx
- WdfDeviceAssignProperty
- WdfDeviceQueryPropertyEx
- WdfFdoInitAllocAndQueryPropertyEx
- WdfFdoInitQueryPropertyEx
Drivers should initialize this structure by calling WDF_DEVICE_PROPERTY_DATA_INIT.
Requirements
| Minimum KMDF version | 1.13 | 
|---|---|
| Minimum UMDF version | 2.0 | 
| Header | 
 | 
See also
- WDF_DEVICE_PROPERTY_DATA_INIT
- WdfDeviceAllocAndQueryPropertyEx
- WdfDeviceAssignProperty
- WdfDeviceQueryPropertyEx
- WdfFdoInitAllocAndQueryPropertyEx
- WdfFdoInitQueryPropertyEx

