DEVPKEY_Device_DriverRank

The DEVPKEY_Device_DriverRank device property represents the rank of the driver that is installed for a device instance.

Attribute Value

Property key

DEVPKEY_Device_DriverRank

Property-data-type identifier

DEVPROP_TYPE_UINT32

Property access

Read-only access by installation applications and installers

Localized?

No

Remarks

Windows sets the value of DEVPKEY_Device_DriverRank.

You can call CM_Get_DevNode_Property or SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_Device_DriverRank.

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_Device_DriverRank property key. For information about how to access this property on these earlier versions of Windows, see Accessing Device Driver Properties.

For information about driver rank, see How Windows Ranks Drivers.

Requirements

Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)

See also

SetupDiGetDeviceProperty

SetupDiGetDriverInstallParams

SP_DRVINSTALL_PARAMS