hi, gurus:
Our client want to gather all system hardware information which included
the SCSI information. So I need to enum all scsi devices. Besides the real
scsi deivices which can be done by SetupDi, I also must get the fake scsi
deivce such as ide device ( eg. \Device\IDEDeivceP0T0L0-3). How could I do
it?
Thanks for all replies.
Leo
Look at the AddFilter example in the DDK.
Gary G. Little
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, December 22, 2005 9:45 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] enum all scsi devices
hi, gurus:
Our client want to gather all system hardware information which
included the SCSI information. So I need to enum all scsi devices.
Besides the real scsi deivices which can be done by SetupDi, I also must
get the fake scsi deivce such as ide device ( eg.
\Device\IDEDeivceP0T0L0-3). How could I do it?
Thanks for all replies.
Leo
— Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank
email to xxxxx@lists.osr.com
Thanks Gary:
I have got it by send it IOCTL_SCSI_GET_INQUIRY_DATA to Scis0: Scsi1 …
Leo
On 12/23/05, xxxxx@seagate.com wrote:
>
> Look at the AddFilter example in the DDK.
>
>
>
> Gary G. Little
> ------------------------------
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *xxxxx@gmail.com
> Sent: Thursday, December 22, 2005 9:45 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] enum all scsi devices
>
>
>
> hi, gurus:
>
>
>
> Our client want to gather all system hardware information which
> included the SCSI information. So I need to enum all scsi devices.
> Besides the real scsi deivices which can be done by SetupDi, I also must get
> the fake scsi deivce such as ide device ( eg. \Device\IDEDeivceP0T0L0-3).
> How could I do it?
>
>
>
> Thanks for all replies.
>
>
>
> Leo
>
>
>
> — Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256 You are currently subscribed
> to ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank
> email to xxxxx@lists.osr.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
Unfortunately, that means you’ll miss items. There is no guarantee that
the legacy names (Scsi0, Scsi1, etc.) are contiguously numbered.
Typically, they are numbered this way, but if PNP causes the
uninstall/reinstall of some of them, there is a possibility of “holes”
in the numbers. Use the device interface methods instead – they’re
more complex, but also more correct.
.
-----Original Message-----
From: Leo [mailto:xxxxx@gmail.com]
Sent: Thursday, December 22, 2005 8:22 PM
Subject: Re: enum all scsi devices
Thanks Gary:
I have got it by send it IOCTL_SCSI_GET_INQUIRY_DATA to Scis0: Scsi1
…
Leo
On 12/23/05, xxxxx@seagate.com
wrote:
Look at the AddFilter example in the DDK.
Gary G. Little
________________________________
From: xxxxx@lists.osr.com
mailto:xxxxx
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, December 22, 2005 9:45 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] enum all scsi devices
hi, gurus:
Our client want to gather all system hardware information
which included the SCSI information. So I need to enum all scsi devices.
Besides the real scsi deivices which can be done by SetupDi, I also must
get the fake scsi deivce such as ide device ( eg.
\Device\IDEDeivceP0T0L0-3). How could I do it?
Thanks for all replies.
Leo
— Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
http: You are currently
subscribed to ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe
send a blank email to xxxxx@lists.osr.com
mailto:xxxxx
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
http:
You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to
xxxxx@lists.osr.com
mailto:xxxxx</mailto:xxxxx></http:></mailto:xxxxx></http:></mailto:xxxxx>