mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
ecf3416f49
CORE-17688 When a new driver is installed for the same device (like VBoxVideo), it uses the same hardware enum registry key and thus reuses the same DisplayId and the same display registry key. Therefore we need to update the setting in that key, even when the key already exists. This seems to work good and not cause any issues, but testing indicated that on Windows some values are only updated, when the driver has changed. If neccessary, this can be achieved by updating and querying the ActiveService value in the device enum key (e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_80EE&DEV_BEEF&SUSYS_00000000&REV_00\3&267a616a&0&10\Control: ActiveService). If that doesn't match the current device name (from DriverExtension->RegistryPath) the values should be copied over. |
||
---|---|---|
.. | ||
agp.c | ||
child.c | ||
CMakeLists.txt | ||
ddc.c | ||
dispatch.c | ||
dma.c | ||
event.c | ||
funclist.c | ||
guid.c | ||
int10.c | ||
interrupt.c | ||
registry.c | ||
resource.c | ||
services.c | ||
spinlock.c | ||
stubs.c | ||
timer.c | ||
videoprt.c | ||
videoprt.h | ||
videoprt.rc | ||
videoprt.spec |