急求通过u盘盘符获取u盘的设备信息pid,vid,serialnumber(USB_DEVICE_DESCRIPTOR结构体中的数据)的方法. 此USB_DEVICE_DESCRIPTOR 数据结构获得的设备pid,vid,serialnumber escriptor.typedef struct _USB_DEVICE_DESCRIPTOR { UCHAR bLength ; UCHAR bDescriptorType ; USHORT bcdUSB ; UCHAR bDeviceClass ; UCHAR bDeviceSubClass ; UCHAR bDeviceProtocol ; UCHAR bMaxPacketSize0 ; USHORT idVendor ; USHORT idProduct ; USHORT bcdDevice ; UCHAR iManufacturer ; UCHAR iProduct ; UCHAR iSerialNumber ; UCHAR bNumConfigurations ;} USB_DEVICE_DESCRIPTOR, *PUSB_DEVICE_DESCRIPTOR ;获得的值不同,我想获得USB_DEVICE_DESCRIPTOR结构中的pid,vid,serialnumber 数据。
谢谢