Thanks for the information friend.
USB_DEVICE_DESCRIPTOR pDevDesc;
USB_NODE_CONNECTION_INFORMATION pNodeCon;
how can i pass the USB_DEVICE_DESCRIPTOR to the USB_NODE_CONNECTION_INFORMATION structure.
after that i have to use like below for getting device information like vendor id and product id.
DeviceIoControl(hDevice, // device handle
IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION , // info of device property
NULL,
0,
pDevDesc, sizeof(PUSB_DEVICE_DESCRIPTOR), // output data buffer
&dwOutBytes, // out's length
(LPOVERLAPPED)NULL);
I have been searching for a long time but no help .
Kindly help me out.
Bookmarks