13 Jul
2022
13 Jul
'22
10:03 a.m.
On Wed Jul 13 06:29:40 2022 +0000, Claire wrote:
I investigated, and my understanding is that `install_device_driver` in `dlls/ntoskrnl.exe/pnp.c` is only called the first time the HID device is registered. This means that changing `install_device_driver` alone is not sufficient to update the `ContainerID` if it changes, nor to register a `ContainerID` at all if the device was ever used before the change is implemented. I am not sure where the best place to update the `ContainerID` should be. I decided to move it to `enumerate_new_device`, so that it is done even if the driver does not need to be installed, and avoid doing it once per interface.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/432#note_4055