Re: IoCompleteRequest query by Doron
Doron
Tue Apr 26 02:31:01 CDT 2005
no, that is not true. if you are not sending the request to another devobj,
you must eventually call IoCompleteRequest
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Bajamani" <bajamani@hotmail.com> wrote in message
news:1114488554.480839.298490@z14g2000cwz.googlegroups.com...
> Thank you Doron.
>
> i didn't call IoSkipCurrentIrpStackLocation & IoCallDriver. this is a
> simple driver. my usermode app sends a read request to the driver which
> it must complete.
>
> IoMarkPending doc says:
> Unless an IRP's dispatch routine completes the IRP (by calling
> IoCompleteRequest) or passes the IRP on to lower drivers, it must call
> IoMarkIrpPending with the IRP. Otherwise, the I/O manager attempts to
> complete the IRP as soon as the dispatch routine returns control.
>
> i thought the last sentence from the above paragraph worked for me. is
> it ?
>
> ...Mani
>