Beginning with Windows 7, the HardwareID registry subkey specifies a removable device capability override for a device installed in the computer. リムーバブル デバイス機能のオーバーライドの詳細については、「DeviceOverrides レジストリ キーの 」を参照してください。
The name of the HardwareID registry subkey specifies the hardware ID of the device, and is formatted based on the requirements described below.
The following table defines the format and requirements of the HardwareID registry subkey.
| レジストリ サブキー名 | Required/optional | Format requirements | Parent key | Child subkeys |
|---|---|---|---|---|
Valid hardware ID value |
Required |
ハードウェア ID のバス プレフィックスを含める必要があります。 ハードウェア ID 内のすべてのスラッシュ () パス区切り文字は、数字 (#) 文字に置き換える必要があります。 |
DeviceOverrides |
ハードウェア ID の値は、この表で説明されている形式の要件に従う必要があります。 Each HardwareID subkey must contain either the LocationPaths or ChildLocationPaths subkeys. Both subkeys could be specified within the HardwareID 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 HardwareID registry subkey name. For example, if a removable device capability override is specified for the device node (devnode) with a hardware ID of USB\VID_1234&PID_ABCD&REV_0001, you must create a HardwareID registry subkey with a name of USB#VID_1234&PID_ABCD&REV_0001.