Introduction - If you have any usage issues, please Google them yourself
// Get device interface info set handle for all devices attached to system
HDEVINFO hDevInfo = SetupDiGetClassDevs(
&GUID_DEVINTERFACE_USB_DEVICE, /* CONST GUID* ClassGuid- USB class GUID*/
NULL, /* PCTSTR Enumerator*/
NULL, /* HWND hwndParent*/
DIGCF_PRESENT | DIGCF_DEVICEINTERFACE /* DWORD Flags*/
)