Re: USB bulk transfer help needed
From: Gnum (alexander_dot_lavrinovich_at_provenco_dot_com)
Date: 02/13/05
- Next message: ad: "Questions of CreateFile and WriteFile"
- Previous message: ad: "services and security"
- In reply to: Arnaud Debaene: "Re: USB bulk transfer help needed"
- Next in thread: William DePalo [MVP VC++]: "Re: USB bulk transfer help needed"
- Reply: William DePalo [MVP VC++]: "Re: USB bulk transfer help needed"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Feb 2005 08:08:02 +1300
Could you please explain how is this issue related to "vc.language" ?
Thanks a lot!
Gnum
"Arnaud Debaene" <adebaene@club-internet.fr> wrote in message
news:ub0O0WvDFHA.1524@TK2MSFTNGP09.phx.gbl...
> B. Klosterman wrote:
> > I have never done USB programing before and nedd a little help.
> > I using the MS WIN32 C model and would like to poll the OS(WIN2K or
> > XP) for all the
> > devices attached to the USB.
> Use SetupDiGetClassDevsEx to enumerate all devices on the system, then for
> each device enumerate recursively it's parent to check if one of it's
parent
> is an USB host (see article "Obtaining the Parent of a Device in the
Device
> Tree" in MSDN). You will need the DDK to have the correct GUID for USB
Host.
>
> > Also, is there a generic USB driver that let's one do "generic" bulk
> > data transfers to/from a USB device?
> No.
> An USB device export one or more "interface" that describe it's
> functionnality (examples : "mass storage", "joystick", "Network card",
> etc...). You manipulate the device through this interface. Windows has
> drivers to manage the most common interfaces (such as USB mass storage),
but
> if your device doesn't fit in one of thosecategories, you need your own
> driver.
>
> Arnaud
> MVP - VC
>
>
- Next message: ad: "Questions of CreateFile and WriteFile"
- Previous message: ad: "services and security"
- In reply to: Arnaud Debaene: "Re: USB bulk transfer help needed"
- Next in thread: William DePalo [MVP VC++]: "Re: USB bulk transfer help needed"
- Reply: William DePalo [MVP VC++]: "Re: USB bulk transfer help needed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|