Re: How to access usbstor.sys
- From: T.Masuda <TMasuda@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 19 Jan 2007 12:22:13 -0800
I want to send a reset command to usb mass storage devices. Can I do that by
calling SetupDiXX functions or CM_XX functions ?
"David J. Craig" wrote:
Masuda-san,.
Start with the SetupDi functions to find all disk drives. Then look for the
buss, USB, that they are located upon. You can also try all the drive
letters beginning with A: or C: as you find desirable. Use DeviceTree to
determine the names as used on your computer and let that guide you in how
you make your choice. Once you get the names, you can then open each as a
physical drive to send requests to them. How much support the USB disk
class driver provides is a good question that will require experimentation.
"T.Masuda" <TMasuda@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A3A96C40-D5BF-4097-803F-4A505D7F2932@xxxxxxxxxxxxxxxx
I want to get information about usb mass strage devices and set commands to
them. Maybe I have to access usbstor.sys which Microsoft provides with.
Does
anyone know any information ?
Thanks in advance.
Takashi Masuda
- Follow-Ups:
- Re: How to access usbstor.sys
- From: David J. Craig
- Re: How to access usbstor.sys
- References:
- Re: How to access usbstor.sys
- From: David J. Craig
- Re: How to access usbstor.sys
- Prev by Date: Re: RegisterDeviceNotification does not work
- Next by Date: Win32 Thread Interleaving
- Previous by thread: Re: How to access usbstor.sys
- Next by thread: Re: How to access usbstor.sys
- Index(es):
Relevant Pages
|