In Windows, every device has a few sets of properties that can be used to identify the device or the class of the device. In the table below the properties are ordered by specificity from most specific to general.
A device has only one device ID that is the most specific ID for a device.
A device can have multiple hardware IDs. They are also ordered by specificity.
List of general IDs for all devices of the same kind.
A single GUID of device interface class. Every device has only one class. This is a registry key under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class where device information are stored. There are list of common classes but some devices generates unique class.