Beginning with Windows 7, the DeviceOverrides registry key specifies that one or more removable device capability overrides exist in the system. リムーバブル デバイス機能の詳細については、「リムーバブル デバイス機能 の概要」を参照してください。
The Plug and Play (PnP) manager uses a new ID (container IDs) to group one or more device nodes (devnodes) that originated from and belong to each instance of a particular physical device installed in the computer. レガシ デバイスの場合、PnP マネージャーはリムーバブル デバイス機能を使用してコンテナー ID を生成します。 PnP マネージャーがコンテナー ID を生成する方法の詳細については、「コンテナー ID の 生成方法」を参照してください。
リムーバブル デバイス機能のオーバーライドにより、独立系ハードウェア ベンダー (IHV) または OEM (Original Equipment Manufacturer) は、開発ノードまたは開発ノードのグループ上のリムーバブル デバイス機能の解釈された値を変更できます。
Removable device capability overrides through the DeviceOverrides registry key are useful for legacy devices or third-party hardware components that may not report the removable device capability correctly. これにより、PnP マネージャーは、物理デバイスから列挙された devnode をグループ化するために使用されるコンテナー ID を誤って生成します。
これらのオーバーライドによって、devnode によって報告されるリムーバブル デバイス機能のグローバルな状態は実際には変更されません。 Instead, these overrides cause the PnP manager to ignore the reported device capability and use the registry-based setting when generating a container ID for devnodes that match an override. DeviceOverrides レジストリ サブキーの下にある追加のサブキーは、オーバーライドする devnode の詳細を提供します。
The following table defines the DeviceOverrides registry key's format and requirements.
| レジストリ キー名 | Required/optional | Format requirements | Parent key | Child subkeys |
|---|---|---|---|---|
DeviceOverrides |
Optional |
None |
None |
Each removable device capability override is specified through either the HardwareID or ContainerID registry subkeys.
The DeviceOverrides registry key is created and maintained under the HKLM\SYSTEM\CurrentControlSet\Control registry tree. このレジストリ キー内では、1 つ以上のリムーバブル デバイス機能のオーバーライドが作成または維持されます。
Removable device capability overrides are specific to individual devices specified through either the HardwareID or CompatibleID registry subkeys. 追加のサブキーは、指定されたデバイスに列挙された devnode のパスを定義します。 一般に、最も具体的なデバイス ハードウェア ID は、ハードウェアまたは互換性のある ID ではなく、デバイスを識別するために使用する必要があります。 これにより、リムーバブル デバイス機能のオーバーライドが、目的のターゲット デバイスと同じハードウェアまたは互換性のある ID を共有する意図しないデバイスには適用されません。
The following figure shows the topology of the DeviceOverrides registry key and its related subkeys.
The DeviceOverrides registry key must be created for the first removable device capability override that is added to the system. クリーン オペレーティング システムのインストールでは、既定では存在しない可能性があります。
Note The existence of a removable device capability registry override does not change the global state of the removable device capability on a devnode.