Table of contents
TOC
Collapse the table of content
Expand the table of content

Driver Rank Example

Last Updated: 7/25/2016

Consider a device that has the following lists of device identification strings, where the HwID_N and CID_N names represent actual hardware IDs and compatible IDs:

  • List of hardware IDs

     HwID_1, HwID_2
    
  • List of compatible IDs

    CID_1, and CID_2
    

The first hardware ID in a list of hardware IDs is the most specific identifier for the device. In this example, that is HwID_1.

Also assume there is an INF file that has an INF Models section that has the following entry, where the INF_XXX_N names represent actual hardware IDs and compatible IDs:

DeviceDesc1 = InstallSection1, INF_HWID_1, INF_CID_1, INF_CID_2

In addition, assume that the INF DDInstall section named InstallSection1 has the following FeatureScore directive, where the corresponding feature score of the driver is 0x00GG0000:

FeatureScore=0xGG

The following table lists the rank of each possible match between the identifiers that are reported by the device and the identifiers that are listed in the INF Models section entry. The rank is the sum of the signature score, which is represented by 0xSS000000, the feature score, which is represented by 0x00GG0000, and the identifier score, which depends, in each case, on the two identifiers that matched.

Device identifiers Identifiers in the INF Models section entry INF_HwID_1

INF_CID_1

INF_CID_2

HwID_1

Rank 0xSSGG0000

Rank 0xSSGG1000

Rank 0xSSGG1000

HwID_2

Rank 0xSSGG0001

Rank 0xSSGG1001

Rank 0xSSGG1001

CID_1

Rank 0xSSGG2000

Rank 0xSSGG3000

Rank 0xSSGG3100

CID_2

Rank 0xSSGG2001

Rank 0xSSGG3001

Rank 0xSSGG3101

Send comments about this topic to Microsoft

© 2016 Microsoft