Doron
Tue Dec 09 12:32:45 CST 2003
that is exactly the bug the verifier is attempting to expose.
d
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ray Trent" <rat@synaptics.com.spamblock> wrote in message
news:%23UACi6nvDHA.1744@TK2MSFTNGP12.phx.gbl...
> Wow... you learn something new every day. Is this documented anywhere? I
> hate to think of how many drivers out there might be doing something
> equivalent to:
>
> status = IoCallDriver(...)
> if (status == STATUS_SUCCESS) { // yes you're supposed to use NT_SUCCESS
> // Do something significant, but not obvious
> }
>
> Bill McKenzie wrote:
>
> > This is a DriverVerifier status. DriverVerifier is checking to make
sure
> > you are not altering an IRP's completion status where you ought not be
> > altering it. This should not cause you any problems unless you are
doing
> > something wrong, or depending upon something you ought not be depending
on.
> >
> > --
> > Bill McKenzie
> > Compuware Corporation
> > Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
> >
http://frontline.compuware.com/nashua/patches/utility.htm
> >
> >
> > "Del Fredricks" <im.sick.of.spam@ask.i.might.tell> wrote in message
> > news:#W8MgdnvDHA.2444@TK2MSFTNGP12.phx.gbl...
> >
> >>According to the documentation for the IoCallDriver function, it is
> >
> > supposed
> >
> >>to return either the NTSTATUS value the lower driver set in the I/O
Status
> >>Block or STATUS_PENDING.
> >>
> >>However, I have a case where the lower driver is clearly setting the
> >>NTSTATUS in the I/O Status Block to STATUS_SUCCESS, yet the IoCallDriver
> >>function is returning a STATUS_WAIT_2 !!!!!!!!!
> >>
> >>Better yet, there is absolutely NO documentation on what the heck a
> >>STATUS_WAIT_2 even means!!!!!!!!!!!!!!!!!!!!!!!!
> >>
> >>Does anyone out there know what a STATUS_WAIT_0, STATUS_WAIT_1,
> >>STATUS_WAIT_2, or STATUS_WAIT_3 means?
> >>
> >>Anyone have any idea why the IoCallDriver function decides it knows
better
> >>than the underlying driver and changes the return status from what the
> >>driver attempted to return?
> >>
> >>
> >
> >
> >
>
> --
> ../ray\..