Re: DeviceIoControl fail in windows server 2003 standard edition
- From: Mark Roddy <markr@xxxxxxxxxxxxxx>
- Date: Tue, 01 May 2007 07:35:24 -0400
On 30 Apr 2007 12:46:06 -0700, fred <guofred@xxxxxxxxx> wrote:
Thanks Maxim,
this is funny.
under windows server 2003.
"\\.\DriveLetter:" work with pass throu
(IOCTL_SCSI_PASS_THROUGH_DIRECT) but didn't work with MS
inquiry(IOCTL_SCSI_GET_INQUIRY_DATA).
"\\.\ScsiN:" work with MS inquiry ,but didn't work with pass throu.
looks like I have to scan from D: to Z: by sending CDB inquiry to get
device list. any other method to get the device list?
Thanks
Fred
Use the SetupDi* api to get a list of disk devices (drive letters are
not disk devices they are volumes) and get the scsi address of each
disk. Correlate the scsi address to the HBA of interest.
=====================
Mark Roddy DDK MVP
Windows Vista/2003/XP Consulting
Device and Filesystem Drivers
Broken Driver Code? Call us.
Hollis Technology Solutions 603-321-1032
www.hollistech.com
.
- Prev by Date: Re: Give me some advice
- Next by Date: Re: Who can tell me where I can download the WDK?
- Previous by thread: Re: Get Underlying Device Object
- Next by thread: Re: DeviceIoControl fail in windows server 2003 standard edition
- Index(es):
Relevant Pages
|