Partager via


Sous-clé du Registre CompatibleID

Beginning with Windows 7, the CompatibleID registry subkey specifies a removable device capability override for a device installed in the computer. Pour plus d’informations sur les remplacements de fonctionnalités d’appareil amovibles, consultez La clé de Registre DeviceOverrides.

The name of the CompatibleID registry subkey specifies the compatible ID of the device, and is formatted based on the requirements described below.

The following table defines the format and requirements of the CompatibleID registry subkey.

Nom de sous-clé de Registre Required/optional Format requirements Parent key Child subkeys

Valid compatible ID value

Required

Doit inclure le préfixe de bus de l’ID compatible.

Tous les caractères de séparateur de chemin de barre oblique () dans l’ID compatible doivent être remplacés par des caractères numériques (#).

DeviceOverrides

LocationPaths and/or ChildLocationPaths

La valeur d’ID compatible doit respecter les exigences de format décrites dans ce tableau. Each CompatibleID subkey must contain either the LocationPaths or ChildLocationPaths subkeys. Both subkeys could be specified within the CompatbleID subkey if necessary.

Because the slash character is not a valid character in a registry subkey name, you must replace it with the number character when specifying a bus prefix for the CompatibleID registry subkey name. For example, if a removable device capability override is specified for the device node (devnode) with a hardware ID of PCI\VEN_ABCD&DEV_1234&SUBSYS_000, you must create a CompatibleID registry subkey with a name of PCI#VEN_ABCD&DEV_1234&SUBSYS_000.