次の方法で共有


CompatibleID レジストリ サブキー

Beginning with Windows 7, the CompatibleID registry subkey specifies a removable device capability override for a device installed in the computer. リムーバブル デバイス機能のオーバーライドの詳細については、「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.

レジストリ サブキー名 Required/optional Format requirements Parent key Child subkeys

Valid compatible ID value

Required

互換性のある ID のバス プレフィックスを含める必要があります。

互換性のある ID 内のすべてのスラッシュ () パス区切り文字は、(#) 文字で置き換える必要があります。

DeviceOverrides

LocationPaths and/or ChildLocationPaths

互換性のある ID 値は、この表で説明されている形式要件に従う必要があります。 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.