|
From: Thomas S. <th...@th...> - 2006-04-05 07:30:08
|
I need to create a small wrapper in c that interfaces between a USB
device via libusb-win32 and a .NET program. One problem I've just found
is that it appears that vendor requests are not implemented in
libusb-win32. Is this true? In windows.c: usb_control_msg() { case
USB_TYPE_VENDOR: } is empty. Some code that one of my partners wrote
using the linux libusb sends a vendor request like so:
retval = usb_control_msg (curHandle, USB_TYPE_VENDOR | USB_RECIP_DEVICE
| USB_ENDPOINT_IN, request, value, index,
buf, size, USB_TIMEOUT);
Is it possible to do this in libusb-win32 as it is, or does this ability
need to be added. I have the win DDK and am trying to grok its ioctl
stuff, but I'm new to this. Any tips?
T
|