Export (0) Print
Expand All

DEVPKEY_Device_ModelId

The DEVPKEY_Device_ModelId device property matches a device to a device metadata package.

Property key

DEVPKEY_Device_ModelId

Property-data-type identifier

DEVPROP_TYPE_GUID

Property access

Read and write access by installation applications and installers

Localized?

No

 

Remarks

The DEVPKEY_Device_ModelId device property provides support for IHVs and OEMs to uniquely identify devices that share the same manufacturer and model. By using a model identifier (ModelID), OEMs and IHVs can match the device model that they distribute to their own branded device metadata package.

The DEVPKEY_Device_ModelId device property contains the value of the ModelID XML element from the device's metadata package. When the device is installed, this PKEY is populated with the ModelID GUID value as reported by the device.

For more information, see Device Metadata Packages.

Requirements

Version

Available in Windows 7 and later versions of Windows.

Header

Devpkey.h (include Devpkey.h)

See also

Device Metadata Packages
ModelID
SetupDiGetDeviceProperty

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft