DEVPKEY_Device_CompatibleIds
The DEVPKEY_DEVICE_CompatibleIds device property represents the list of compatible identifiers for a device instance.
Attribute | Value |
---|---|
Property key |
DEVPKEY_Device_CompatibleIds |
Property-data-type identifier |
|
Internal data format |
"compatible-id1\0compatible-id2\0...compatible-idn\0\0" |
Property access |
Read-only access by installation applications and installers |
Corresponding SPDRP_Xxx identifier |
SPDRP_COMPATIBLEIDS |
Localized? |
No |
Remarks
The value of DEVPKEY_DEVICE_CompatibleIds is set by the compatible-id entry values that are supplied for a device in the INF Models section of the INF file that installs a device.
You can call CM_Get_DevNode_Property or SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_DEVICE_CompatibleIds.
Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_Device_CompatibleIds property key. Instead, you can use the corresponding SPDRP_COMPATIBLEIDS identifier to access the value of the property on these earlier versions of Windows. For information about how to access this property value on these earlier versions of Windows, see Accessing Device Instance SPDRP_Xxx Properties.
Requirements
Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)