Questions on IRP Cheat Sheet ==> SCENARIO 2: FORWARD AND WAIT

Discussion in 'Windows Vista Drivers' started by M Taha Masood, Aug 17, 2004.

  1. Hello,
    I have questions regarding the IRP cheat sheet's Scenario 2 , Forward
    and Wait.
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;320275

    could somebody pls clarify these

    thanks
    Taha

    Question 1 )
    ------------

    in DispatchRoutine_2 ( ...
    if (status == STATUS_PENDING) {

    does this return value of STATUS_PENDING mean that the completion
    routine of some lower level driver
    would have returned STATUS_MORE_PROCESSING_REQUIRED?



    Question 2)
    -----------

    in DispatchRoutine_2 ( ...
    IoCompleteRequest (Irp, IO_NO_INCREMENT);
    return status;

    i) What control flow will the call to IoCompleteRequest initiate?
    ii) To whom will the "return status;" statement give control

    How are i) and ii) above inter-related?
     
    M Taha Masood, Aug 17, 2004
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.