mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
Register the retained LGIdd authority handle for service device notifications. Close the exact handle before granting query-remove. Use cancellable overlapped control requests so the SCM handler never waits for driver I/O while Plug and Play is removing the device. Keep authority publication, host liveness, and child activation under one synchronized state machine to prevent activation after removal. Retire device notifications on the service thread and keep polling for the interface so a manual re-enable recovers without a service restart.
69 KiB
69 KiB