// wdfdevice.h
typedef struct _WDF_DEVICE_PROPERTY_DATA {
ULONG Size;
const DEVPROPKEY *PropertyKey;
LCID Lcid;
ULONG Flags;
} WDF_DEVICE_PROPERTY_DATA, *PWDF_DEVICE_PROPERTY_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WDF_DEVICE_PROPERTY_DATA structure describes a device property.
SizeThe size, in bytes, of this structure.
PropertyKeyA pointer to a DEVPROPKEY structure that specifies the device property key.
LcidSpecifies 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.
FlagsSet to PLUGPLAY_PROPERTY_PERSISTENT if this property value is being set by WdfDeviceAssignProperty. Otherwise, set this member to zero.
The WDF_DEVICE_PROPERTY_DATA structure is used as input to the following methods:
Drivers should initialize this structure by calling WDF_DEVICE_PROPERTY_DATA_INIT.
WdfDeviceAllocAndQueryPropertyEx
WdfFdoInitAllocAndQueryPropertyEx