Getting a GUID for a USB-Device

Hi !!

I’m student of computer sciences in germany and work on a project in
which I want to build some generic classes to connect to an USB device.

I build a class to enumerate all USB devices and give it back as a list
(like the USBView Example in the DDK). Now I want to open
a connection to one of this devices.
For this I need the GUID, but I can’t find a way to get it from Windows
(with the device data i got from enumeration)…
do you know a possibility to do that ??
Or perhaps another way to open the device…

Thx for ANY help.

Andre

Normally you will have a client driver for each USB device you
enumerated in your app. This client driver has an upper edge interface
that this particular client driver defines. That means it is private.
Only for USB devices conforming to some class interface ( Definitions
may be found on usb.org) there might be a class driver that exports a
defined and documented interface. Each client driver talks to the
device via USBD ( Control-Pipe and interface Pipes). I guess you would
like to write generic classes to wrap the access via these pipes ?

For this you need a usb device that has a known interface on its
pipes to which your client driver would connect.

May be you should give a more detailed explanation of your ‘generic
classes’ you would like to design (+ background info, Patents … :-).

Norbert.

“Good news is just life’s way of keeping you off balance.”
---- snip ----

I’m student of computer sciences in germany and work on a project in
which I want to build some generic classes to connect to an USB device.

---- snip ----