Udostępnij przez


Klucz rejestru DeviceOverrides

Beginning with Windows 7, the DeviceOverrides registry key specifies that one or more removable device capability overrides exist in the system. Aby uzyskać więcej informacji na temat możliwości urządzenia wymiennego, zobacz Omówienie możliwości urządzenia wymiennego.

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. W przypadku starszych urządzeń menedżer PnP generuje identyfikatory kontenerów za pomocą możliwości urządzenia wymiennego. Aby uzyskać więcej informacji na temat generowania identyfikatorów kontenerów przez menedżera pnP, zobacz Jak są generowane identyfikatory kontenerów.

Przesłonięcia możliwości urządzeń wymiennych umożliwiają niezależnemu dostawcy sprzętu (IHV) lub producentowi oryginalnego sprzętu (OEM) zmianę interpretowanej wartości możliwości urządzenia wymiennego w węźle devnode lub grupie węzłów devnode.

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. Powoduje to, że menedżer PnP niepoprawnie wygenerował identyfikator kontenera używany do grupowania węzłów devnode wyliczonych z urządzenia fizycznego.

Te przesłonięcia w rzeczywistości nie zmieniają globalnego stanu możliwości urządzenia wymiennego zgłoszonego przez węzeł deweloperski. 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. Dodatkowe podklucze w podkluczu rejestru DeviceOverrides zawierają więcej szczegółów na temat tego, które węzły deweloperskie mają zastąpić.

The following table defines the DeviceOverrides registry key's format and requirements.

Nazwa klucza rejestru Required/optional Format requirements Parent key Child subkeys

DeviceOverrides

Optional

None

None

HardwareID or CompatibleID

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. W tym kluczu rejestru jest tworzony lub konserwowany co najmniej jeden przesłonięcia funkcji urządzenia wymiennego.

Removable device capability overrides are specific to individual devices specified through either the HardwareID or CompatibleID registry subkeys. Dodatkowe podklucze definiują ścieżki węzłów devnode wyliczonych dla określonych urządzeń. Ogólnie rzecz biorąc, najbardziej konkretny identyfikator sprzętu urządzenia powinien służyć do identyfikowania urządzenia, zamiast mniej określonego sprzętu lub zgodnego identyfikatora. Gwarantuje to, że funkcja urządzenia wymiennego nie zostanie zastosowana do żadnych niezamierzonych urządzeń, które mają ten sam identyfikator sprzętu lub zgodnego identyfikatora co zamierzone urządzenie docelowe.

The following figure shows the topology of the DeviceOverrides registry key and its related subkeys.

diagram ilustrujący topologię klucza rejestru deviceoverrides.

The DeviceOverrides registry key must be created for the first removable device capability override that is added to the system. Może nie istnieć domyślnie w czystej instalacji systemu operacyjnego.

Note The existence of a removable device capability registry override does not change the global state of the removable device capability on a devnode.