Leandro
Wed Jun 23 12:44:22 CDT 2004
Thank you.
This is the enumeration of the scsi disk (found by WMI):
instance of Win32_PnPEntity
{
Caption = "Disk drive";
ClassGuid = "{4D36E967-E325-11CE-BFC1-08002BE10318}";
ConfigManagerErrorCode = 0;
ConfigManagerUserConfig = FALSE;
CreationClassName = "Win32_PnPEntity";
Description = "Disk drive";
DeviceID = "SCSI\\DISK&VEN_ADAPTEC&PROD_ARRAY&REV_V1.0\\6&1202EE51&0&400";
Manufacturer = "(Standard disk drives)";
Name = "Disk drive";
PNPDeviceID =
"SCSI\\DISK&VEN_ADAPTEC&PROD_ARRAY&REV_V1.0\\6&1202EE51&0&400";
Service = "disk";
Status = "OK";
SystemCreationClassName = "Win32_ComputerSystem";
SystemName = "XXXXXX";
};
And this of the raid adapter:
instance of Win32_PnPEntity
{
Caption = "Adaptec SCSI RAID Management Device";
ClassGuid = "{4D36E97D-E325-11CE-BFC1-08002BE10318}";
ConfigManagerErrorCode = 0;
ConfigManagerUserConfig = FALSE;
CreationClassName = "Win32_PnPEntity";
Description = "Adaptec SCSI RAID Management Device";
DeviceID =
"SCSI\\PROCESSOR&VEN_ADAPTEC&PROD_MANAGEMENT&REV_V1.0\\6&1202EE51&0&500";
Manufacturer = "Adaptec";
Name = "Adaptec SCSI RAID Management Device";
PNPDeviceID =
"SCSI\\PROCESSOR&VEN_ADAPTEC&PROD_MANAGEMENT&REV_V1.0\\6&1202EE51&0&500";
Status = "OK";
SystemCreationClassName = "Win32_ComputerSystem";
SystemName = "XXXXXX";
};
How I can find the string to pass to the CreateFile function ? Do you have
some tip ?
Thank you again ...
"Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
news:x0iCc.2552$624.1385@newssvr23.news.prodigy.com...
> Enumerate the SCSI HDDs you have connected using a GUID such as
> GUID_DEVINTERFACE_DISK, open a handle to the one you want and send the
IOCTL
> to the drive. It has to go down to the miniport and the miniport will
> intercept it, if it handles pass through.
>
> --
> Gary G. Little
> Seagate Technologies, LLC
>
> "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> news:%23YSWZOTWEHA.212@TK2MSFTNGP12.phx.gbl...
> > Hi
> >
> > I'd like to identify the SCSI HDD's that are attached to my Adaptec RAID
> > controller. Maybe using IOCTL_SCSI_PASS_THROUGH to the driver I could do
> > that.
> >
> > Thank you
> >
> > --
> > Leandro Gustavo Biss Becker
> > eSystech Embedded Systems Technologies
> > +55(41)3029-2960
> >
http://www.esystech.com.br
> >
> >
>
>