The SPICE-GTK support for USB redirection under Windows clients is implemented through the WINUSB drive, but Winusb and usbstore drivers cannot exist simultaneously. So spice-gtk through Usb-clerk service Laian loading and unloading WINUSB drive to achieve. Reference http://permalink.gmane.org/gmane.comp.lib.libusbx.devel/132
Usbclerk Source http://cgit.freedesktop.org/~agilboa/usbclerk/
git clone Git://people.freedesktop.org/~agilboa/usbclerk
Compile by VC, generate Usbclerk.exe
Register/Cancel Registration Usbclerk service, Usbclerk Install/usbclerk Uninstall
Start the Usbclerk service, locate the USB Clerk service, and start
Libwdi Source http://sourceforge.net/projects/libwdi/
Compile by VC, generate Libwdi.dll, note the need to set some library file path
Put the Libwdi.dll and some auxiliary library files into the appropriate path.
Testing the correctness of Libwdi.dll of Usbclerk machine
Insert U disk, look for corresponding pid,vid;
Through Usbclerktest Vid:pid, see whether the installation drive is successful;
Through usbclerktest/u Vid:pid, to see whether the unloading drive is successful;
If you succeed, you are done.