Re: Need scsi address assigned by port driver in SPTI
- From: "bill" <mcmuddjunknot@xxxxxxxxxxxxx>
- Date: Fri, 09 Jun 2006 05:07:43 GMT
Hi Mark, thanks for replying.
The targets all have scsi addresses. They are DVD & CD
devices. I need the scsi address to run a console program,
from a GUI, and to display it to the user.
Some of these devices are on a USB or Firewire bus so
IOCTL_SCSI_GET_ADDRESS doesn't seem to be an
option. Is there another IOCTL that works for USB & Firewire ?
Is getting the path, target ID, and LUN the port driver fills in
after sending a command with IOCTL_SCSI_PASS_THROUGH
not possible ?
Regards,
Bill Mudd
"Mark Roddy" <markr@xxxxxxxxxxxxxx> wrote in message
news:%23C33coKWFHA.3572@xxxxxxxxxxxxxxxxxxxxxxx
bill wrote:
Hi,Well you aren't supposed to need them. IOCTL_SCSI_GET_ADDRESS works on
MSDN says re: SCSI PASS THROUGH/IOCTL_SCSI_PASS_THROUGH
"This structure includes a SCSI CDB, which must be initialized by
the caller except for the path, target ID, and LUN, which are filled
in by the port driver. "
This works fine to send a scsi command to the device but for another
purpose I need the path, target ID, and LUN values the port driver
assigns to the device.
How do I get them ?
Thanks,
Bill Mudd
targets that actually have scsi addresses.
--
=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
.
- Prev by Date: Re: MPEG2 & TestCap Samples
- Next by Date: Re: Need scsi address assigned by port driver in SPTI
- Previous by thread: Re: MPEG2 & TestCap Samples
- Next by thread: Re: Need scsi address assigned by port driver in SPTI
- Index(es):