¡@

Home 

c++ Programming Glossary: pdetdata

how to get vendor id and product id of a plugged usb device on windows

http://stackoverflow.com/questions/2935184/how-to-get-vendor-id-and-product-id-of-a-plugged-usb-device-on-windows

but my print statement displays the result as below qDebug pDetData DevicePath i get the result as 0x4 Whether i have any implementation.. cbSize sizeof pspdidd SP_DEVICE_INTERFACE_DETAIL_DATA pDetData NULL DWORD dwDetDataSize sizeof SP_DEVICE_INTERFACE_DETAIL_DATA.. 256 SetupDiGetDeviceInterfaceDetail hInfo Interface_Info pDetData dwDetDataSize NULL DeviceInfoData qDebug pDetData DevicePath..

Using IOCTL_MOUNTMGR_QUERY_POINTS

http://stackoverflow.com/questions/3012828/using-ioctl-mountmgr-query-points

time below is my source coode HANDLE hUsbDevice CreateFile pDetData DevicePath GENERIC_READ GENERIC_WRITE 0 NULL OPEN_EXISTING 0..