[Spice-devel] windows spice-client-glib hotplug not working

zhou qi atmgnd at outlook.com
Tue Aug 20 11:52:30 UTC 2019


Hello, I write a demo under windows unsing spice-client-glib only, I can get usb devices from UsbManager. but hotplug is not working. no device change event recieved.
I found the function g_udev_client_initable_init in win-usb-dev.c create a hidden window to monitor WM_DEVICECHANGE message. but I could not found the corresponding message loop(GetMessage/DispatchMessage...). Where is the message loop(gtk)? Does it depends on some higher library(gtk)?How can I get usb hotplug working?

best regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190820/1736a88c/attachment.html>


More information about the Spice-devel mailing list