¡@

Home 

c++ Programming Glossary: sp_device_interface_detail_data

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

BYTE Buf 1024 DWORD i DWORD InterfaceNumber 0 PSP_DEVICE_INTERFACE_DETAIL_DATA pspdidd PSP_DEVICE_INTERFACE_DETAIL_DATA Buf for i 0 SetupDiEnumDeviceInfo.. 0 PSP_DEVICE_INTERFACE_DETAIL_DATA pspdidd PSP_DEVICE_INTERFACE_DETAIL_DATA Buf for i 0 SetupDiEnumDeviceInfo hInfo i DeviceInfoData i .. interface DWORD needed pspdidd cbSize sizeof pspdidd SP_DEVICE_INTERFACE_DETAIL_DATA pDetData NULL DWORD dwDetDataSize sizeof SP_DEVICE_INTERFACE_DETAIL_DATA..

How to get the Drive Letter for the DevicePath

http://stackoverflow.com/questions/2995957/how-to-get-the-drive-letter-for-the-devicepath

a USB stick . can you pls explain it to me what i have is SP_DEVICE_INTERFACE_DETAIL_DATA DevicePath using this Device path i get VID AND PID of the usb..