SRB_FUNCTION_EXECUTE_SCSI

Hi,
Is there any way to send SRB_FUNCTION_EXECUTE_SCSI
from an application.
Actually I want to send SRB from an application to the
miniport.

Thanks in advance,
Gurpreet


Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yes, look at SPTI example in DDK.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Gurpreet Anand [mailto:xxxxx@yahoo.com]
Sent: Tuesday, October 23, 2001 1:24 PM
To: NT Developers Interest List
Subject: [ntdev] SRB_FUNCTION_EXECUTE_SCSI

Hi,
Is there any way to send SRB_FUNCTION_EXECUTE_SCSI
from an application.
Actually I want to send SRB from an application to the
miniport.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

It looks from the spti example that the request to the
miniport driver will come as SRB_FUNCTION_IO_CONTROL
not as SRB_FUNCTION_EXECUTE_SCSI.
I am not very clear about IOCTL_SCSI_PASS_THROUGH or
IOCTL_SCSI_PASS_THROUGH_DIRECT.How do these calls
comes as to miniport driver.

— Paul Bunn wrote:
> Yes, look at SPTI example in DDK.
>
> Regards,
>
> Paul Bunn, UltraBac.com, 425-644-6000
> Microsoft MVP - WindowsNT/2000
> http://www.ultrabac.com
>
>
> -----Original Message-----
> From: Gurpreet Anand
> [mailto:xxxxx@yahoo.com]
> Sent: Tuesday, October 23, 2001 1:24 PM
> To: NT Developers Interest List
> Subject: [ntdev] SRB_FUNCTION_EXECUTE_SCSI
>
>
> Hi,
> Is there any way to send SRB_FUNCTION_EXECUTE_SCSI
> from an application.
> Actually I want to send SRB from an application to
> the
> miniport.
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I’ll make it more clearer what I want from the
application.
If we send IOCTL calls from the application like
IOCTL_SCSI_GET_CAPABILITIES,
IOCTL_SCSI_GET_INQUIRY_DATA, these calls take lot of
time to return as it scans all the PATHID/TARGET/LUN.
I want to send the enquiry to a particular
PathID/Target/Lun from the application.

— Gurpreet Anand wrote:
> It looks from the spti example that the request to
> the
> miniport driver will come as SRB_FUNCTION_IO_CONTROL
> not as SRB_FUNCTION_EXECUTE_SCSI.
> I am not very clear about IOCTL_SCSI_PASS_THROUGH or
> IOCTL_SCSI_PASS_THROUGH_DIRECT.How do these calls
> comes as to miniport driver.
>
> — Paul Bunn wrote:
> > Yes, look at SPTI example in DDK.
> >
> > Regards,
> >
> > Paul Bunn, UltraBac.com, 425-644-6000
> > Microsoft MVP - WindowsNT/2000
> > http://www.ultrabac.com
> >
> >
> > -----Original Message-----
> > From: Gurpreet Anand
> > [mailto:xxxxx@yahoo.com]
> > Sent: Tuesday, October 23, 2001 1:24 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] SRB_FUNCTION_EXECUTE_SCSI
> >
> >
> > Hi,
> > Is there any way to send SRB_FUNCTION_EXECUTE_SCSI
> > from an application.
> > Actually I want to send SRB from an application to
> > the
> > miniport.
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> > leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
>
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Scsi Pass through requests go to the miniport as
SRB_FUNCTION_EXECUTE_SCSI

Ravi.

-----Original Message-----
From: Gurpreet Anand [mailto:xxxxx@yahoo.com]
Sent: Tuesday, October 23, 2001 3:19 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SRB_FUNCTION_EXECUTE_SCSI

It looks from the spti example that the request to the
miniport driver will come as SRB_FUNCTION_IO_CONTROL
not as SRB_FUNCTION_EXECUTE_SCSI.
I am not very clear about IOCTL_SCSI_PASS_THROUGH or
IOCTL_SCSI_PASS_THROUGH_DIRECT.How do these calls comes as to
miniport driver.

— Paul Bunn wrote:
> > Yes, look at SPTI example in DDK.
> >
> > Regards,
> >
> > Paul Bunn, UltraBac.com, 425-644-6000
> > Microsoft MVP - WindowsNT/2000
> > http://www.ultrabac.com
> >
> >
> > -----Original Message-----
> > From: Gurpreet Anand
> > [mailto:xxxxx@yahoo.com]
> > Sent: Tuesday, October 23, 2001 1:24 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] SRB_FUNCTION_EXECUTE_SCSI
> >
> >
> > Hi,
> > Is there any way to send SRB_FUNCTION_EXECUTE_SCSI
> > from an application.
> > Actually I want to send SRB from an application to
> > the
> > miniport.
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> > leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed
> to ntdev as: xxxxx@microsoft.com To unsubscribe send a blank
> email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

If you open the correct handle, you should see the SRB come through directly to
the correct device.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Gurpreet Anand [mailto:xxxxx@yahoo.com]
Sent: Tuesday, October 23, 2001 4:58 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SRB_FUNCTION_EXECUTE_SCSI

I’ll make it more clearer what I want from the
application.
If we send IOCTL calls from the application like
IOCTL_SCSI_GET_CAPABILITIES,
IOCTL_SCSI_GET_INQUIRY_DATA, these calls take lot of
time to return as it scans all the PATHID/TARGET/LUN.
I want to send the enquiry to a particular
PathID/Target/Lun from the application.

— Gurpreet Anand wrote:
> It looks from the spti example that the request to
> the
> miniport driver will come as SRB_FUNCTION_IO_CONTROL
> not as SRB_FUNCTION_EXECUTE_SCSI.
> I am not very clear about IOCTL_SCSI_PASS_THROUGH or
> IOCTL_SCSI_PASS_THROUGH_DIRECT.How do these calls
> comes as to miniport driver.
>
> — Paul Bunn wrote:
> > Yes, look at SPTI example in DDK.
> >
> > Regards,
> >
> > Paul Bunn, UltraBac.com, 425-644-6000
> > Microsoft MVP - WindowsNT/2000
> > http://www.ultrabac.com
> >
> >
> > -----Original Message-----
> > From: Gurpreet Anand
> > [mailto:xxxxx@yahoo.com]
> > Sent: Tuesday, October 23, 2001 1:24 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] SRB_FUNCTION_EXECUTE_SCSI
> >
> >
> > Hi,
> > Is there any way to send SRB_FUNCTION_EXECUTE_SCSI
> > from an application.
> > Actually I want to send SRB from an application to
> > the
> > miniport.
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> > leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
>
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: xxxxx@ultrabac.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Both ASPI and SPTI do not work for you?

On 10/23/01, “Gurpreet Anand ” wrote:
> Hi,
> Is there any way to send SRB_FUNCTION_EXECUTE_SCSI
> from an application.
> Actually I want to send SRB from an application to the
> miniport.
>
> Thanks in advance,
> Gurpreet
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Surely.
IOCTL_SCSI_PASS_THROUGH

Max

----- Original Message -----
From: “Gurpreet Anand”
To: “NT Developers Interest List”
Sent: Wednesday, October 24, 2001 12:23 AM
Subject: [ntdev] SRB_FUNCTION_EXECUTE_SCSI

> Hi,
> Is there any way to send SRB_FUNCTION_EXECUTE_SCSI
> from an application.
> Actually I want to send SRB from an application to the
> miniport.
>
> Thanks in advance,
> Gurpreet
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> It looks from the spti example that the request to the

miniport driver will come as SRB_FUNCTION_IO_CONTROL
not as SRB_FUNCTION_EXECUTE_SCSI.
I am not very clear about IOCTL_SCSI_PASS_THROUGH or
IOCTL_SCSI_PASS_THROUGH_DIRECT.How do these calls
comes as to miniport driver.

As SRB_FUNCTION_EXECUTE_SCSI.
It is IOCTL_SCSI_MINIPORT which comes as SRB_FUNCTION_IO_CONTROL.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

INQUIRY data is cached by SCSIPORT - so I don’t think sending an INQUIRY SRB from the app is a good idea.

Max

----- Original Message -----
From: “Gurpreet Anand”
To: “NT Developers Interest List”
Sent: Wednesday, October 24, 2001 3:58 AM
Subject: [ntdev] RE: SRB_FUNCTION_EXECUTE_SCSI

> I’ll make it more clearer what I want from the
> application.
> If we send IOCTL calls from the application like
> IOCTL_SCSI_GET_CAPABILITIES,
> IOCTL_SCSI_GET_INQUIRY_DATA, these calls take lot of
> time to return as it scans all the PATHID/TARGET/LUN.
> I want to send the enquiry to a particular
> PathID/Target/Lun from the application.
>
> — Gurpreet Anand wrote:
> > It looks from the spti example that the request to
> > the
> > miniport driver will come as SRB_FUNCTION_IO_CONTROL
> > not as SRB_FUNCTION_EXECUTE_SCSI.
> > I am not very clear about IOCTL_SCSI_PASS_THROUGH or
> > IOCTL_SCSI_PASS_THROUGH_DIRECT.How do these calls
> > comes as to miniport driver.
> >
> > — Paul Bunn wrote:
> > > Yes, look at SPTI example in DDK.
> > >
> > > Regards,
> > >
> > > Paul Bunn, UltraBac.com, 425-644-6000
> > > Microsoft MVP - WindowsNT/2000
> > > http://www.ultrabac.com
> > >
> > >
> > > -----Original Message-----
> > > From: Gurpreet Anand
> > > [mailto:xxxxx@yahoo.com]
> > > Sent: Tuesday, October 23, 2001 1:24 PM
> > > To: NT Developers Interest List
> > > Subject: [ntdev] SRB_FUNCTION_EXECUTE_SCSI
> > >
> > >
> > > Hi,
> > > Is there any way to send SRB_FUNCTION_EXECUTE_SCSI
> > > from an application.
> > > Actually I want to send SRB from an application to
> > > the
> > > miniport.
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as:
> > > xxxxx@yahoo.com
> > > To unsubscribe send a blank email to
> > > leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> > >
> >
> >
> >
> > Do You Yahoo!?
> > Make a great connection at Yahoo! Personals.
> > http://personals.yahoo.com
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
>

> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com