Get parent information of a USB device C++
问题 I'm working on an MFC tool that check some driver information's of connected USB device such as location info, parent, hardware id, etc. I have got all other information i want but i'm stuck in getting device parent information. I have used Setupapi.dll to get device information in my code. Got USB device information handle using SetupDiGetClassDevs function. Got specific device info data using SetupDiEnumDeviceInfo function. Got device description and hardware id using