Hello,
I have questions regarding the IRP cheat sheet's SCENARIO 4: QUEUE FOR
LATER, OR FORWARD AND REUSE
http://support.microsoft.com/default.aspx?scid=kb;EN-US;320275
could somebody pls clarify these
thanks
Taha
===================================================
|SCENARIO 4: QUEUE FOR LATER, OR FORWARD AND REUSE|
===================================================
Question 1)
-----------
The comment in DispathRoutine_4 says the following:
//
// You mark the IRP pending if you are intending to --> queue the
IRP <----
// and process it later. If you are intending to forward the IRP
// directly, use one of the methods discussed earlier in this
article.
what is meant by "queue the IRP" over here?
Question 2)
-----------
In the explanation it says:
"
The completion routine can either return
STATUS_CONTINUE_COMPLETION or STATUS_MORE_PROCESSING_REQUIRED.
You return STATUS_MORE_PROCESSING_REQUIRED only if you intend to
reuse the IRP from another thread and
complete it later.
"
what does it mean by "if you intend to reuse the IRP from another
thread and
complete it later"?
Question 3)
-----------
In CompletionRoutine_42 (.....
Here in the comment it sys:
//
// Because you are stopping the completion of the IRP by returning
the
// following status, you must complete the IRP later.
What is meant by "you must complete the IRP later." , later when ,
why and how?