Description: // 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*/
)
File list (Check if you may need any files):
Unit5.cpp