Page 1 of 1

Writing to VUSB using API only... Is it possible?

Posted: Sun Jul 18, 2010 3:02 pm
by Vanoid
Hi, everyone! Trying to write to V-USB using only API functions. Later, I want to use V-USB device with Windows CE operation System.
Device absolutely functional, because example set-led is still working. I read sources of this example and sources of a driver: "libusb-win32-filter-bin-0.1.12.1".
To light-on led indicator I trying to use in Delphi:

Code: Select all

 cmd[0]:=$01;
 cmd[1]:=$00;
 cmd[2]:=$00;
 cmd[3]:=$00;

 //$80C LIBUSB_IOCTL_VENDOR_WRITE
 DeviceIOControl(HidHandle,$80C,nil,0,addr(cmd),4,res,nil);

No result.

Where I can find examples or documentation how to work with this device using native windows API functions? Or, maybe, you can do this?