Re: use createfile to access usb device



Thank Andrue,thank Doron,thank you very much!
Finally i got it worked following your directions.

"Andrue Cope" wrote:

> Doron Holan [MS] wrote:
>
> > GUID_DEVCLAS_USB is a device class. think of a device class a
> > logical grouping. Not all USB devices have the same interface, even
> > though they are of the same bus type.
>
> Gosh - that's pretty much the way I'd worked it out. Nice to know I was
> right.
>
> My current problem is how to enumerate all the devices classes on the
> system. At the moment I'm looking at enumerating
> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\DeviceClasses\
>
> Perhaps whyitbe could do the same - 'all' he then needs is to issue a
> IOCTL_SCSI_GET_INQUIRY_DATA and compare the manufacturer ID. My only
> concern is that I /think/ I remember when we were developing our IOCTL
> handling class that some non-SCSI devices react badly to
> IOCTL_SCSI_GET_INQUIRY_DATA requests.
>
.



Relevant Pages

  • Re: use createfile to access usb device
    ... logical grouping. ... Not all USB devices have the same interface, ... My current problem is how to enumerate all the devices classes on the ...
    (microsoft.public.development.device.drivers)
  • Re: USB port number and device instance
    ... I'm writing a program that will store a mapping of all usb devices vs the port number. ... To enumerate the device, I have followed the sample code - usbview. ... I have the "driver key name" as the key to map the devices. ... But the problem is with the "unknown usb devices". ...
    (microsoft.public.development.device.drivers)
  • Problem booting 2 USB devices
    ... When I have two USB devices plugged in at boot time (say a USB keyboard and a ... Mass Storage Device), only one will enumerate. ... It doesn't seem to matter which USB devices are used - I get the same ...
    (microsoft.public.windowsce.platbuilder)

Loading