Re: [Spice-devel] [PATCH v2 1/2] UsbDk: Add UsbDk wrapper

2015-06-14 Thread Kirill Moizik
On Thu, Jun 11, 2015 at 6:59 PM, Christophe Fergeau wrote: > Hey, > > I think I forgot to mention this in the initial review, but GModule > might probably have been useful as a wrapper for the GetProcAddress > calls. As we only need to do that on Windows, GModule VS direct win32 > API calls do no

Re: [Spice-devel] [PATCH v2 1/2] UsbDk: Add UsbDk wrapper

2015-06-11 Thread Christophe Fergeau
Hey, I think I forgot to mention this in the initial review, but GModule might probably have been useful as a wrapper for the GetProcAddress calls. As we only need to do that on Windows, GModule VS direct win32 API calls do not bring us much. I'd squash the attached patch in with just some cosmet

[Spice-devel] [PATCH v2 1/2] UsbDk: Add UsbDk wrapper

2015-06-09 Thread Kirill Moizik
From: Kirill Moizik Introduce UsbDk API definitions and binding code. Signed-off-by: Kirill Moizik --- src/Makefile.am | 2 + src/usbdk_api.c | 166 src/usbdk_api.h | 34 3 files changed, 202 insertions(+) create mode 10