views:

66

answers:

1

Grretings to all,

I get devices list from the system.

but i am not sure that if i want to get only the usb devices currently in the system means ,

What class i must specify in the below code ( DWORD Flags )

hDevInfo = SetupDiGetClassDevs(&GUID_DEVINTERFACE_USB_DEVICE,
                           0, // Enumerator
                           0,
                           DIGCF_PRESENT | DIGCF_INTERFACEDEVICE );
+1  A: 

Comprehensive Example


www.intel.com/intelpress/usb/examples/DUSBVC.PDF

Additional info & a "Detailed" discussion here

GoodLUCK!!
- CVS

CVS-2600Hertz