|
From: Stephan M. <ste...@we...> - 2007-04-24 17:27:07
|
>=20 > I do need to replace it with a suitable alternative, in order to do so,=20 > I need to know how this function behaves. >=20 > Kind regards > Robin I think you are taking the wrong approach. If you just want to create a libusb compatible layer that sits in between your application and your special driver then you should not care about the internals of the current= Windows implementation. All you have to do is to implement the API functions specified by usb.h. If I had to do the job I would use windows.c as a starting point, remove all platform dependent code, and reimplement this code from scratch. I think this is much easier than trying to adapt the existing code to your= driver. Stephan >=20 > Stephan Meyer wrote: > >> -----Urspr=FCngliche Nachricht----- > >> Von: lib...@li... > >> =20 > > usb=5Freap=5Fasync() is part of the DLL's undocumented=20 > > asynchronous API. > > You can just ignore it and all other usb=5Fxxx=5Fasync() functions,=20 > > since WinCE doesn't support asynchronous (overlapped) IO. > > > > Stephan > > > > =20 > >> Hello, > >> > >> I'm porting an application developed for windows xp to windows mobile= . =20 > >> This application uses libusb to communicate with a USB-device. > >> I developed a USB driver myself for windows CE. Now I'm at the point= to=20 > >> port the layer between the libusb to the application to a layer betwe= en=20 > >> my driver and the application. I found a call to the following funct= ion: > >> int usb=5Freap=5Fasync(void *context, int timeout); > >> However, I can't find any documentation on this function. What does = it=20 > >> do exactly=3F > >> > >> Kind Regards > >> Robin Astle > >> > >> ---------------------------------------------------------------------= ---- > >> This SF.net email is sponsored by DB2 Express > >> Download DB2 Express C - the FREE version of DB2 express and take > >> control of your XML. No limits. Just data. Click to get it now. > >> http://sourceforge.net/powerbar/db2/ > >> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > >> Libusb-win32-devel mailing list > >> Lib...@li... > >> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > >> > >> =20 > > > > > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und > > kostenguenstig. Jetzt gleich testen! http://f.web.de/=3Fmc=3D021192 > > > > > > ----------------------------------------------------------------------= --- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > > Libusb-win32-devel mailing list > > Lib...@li... > > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > > > > > > > =20 >=20 >=20 > ------------------------------------------------------------------------= - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/=3Fmc=3D021192 |