USBd.dll problem




I am trying to get the VID and PID of the USB device attached(lets just say
any of them no specifics).
I am trying to load library as below but cannot, is WinCE able to load this
library and if so why can't I or where can i get it?

HINSTANCE usbLib = LoadLibrary(TEXT("usbd.dll"));
if(usbLib == 0)
printf("Can't load the library USBd.dll\n");
else
blah blah do stuff with it

it doesn't have to use this lib i just need to know how to get a USB device
so i can talk to it and yes i know about findfirstdevice and findnext

thanks,
chris

.



Relevant Pages