Skipping IoMarkIrpPending in Completion Routine

Discussion in 'Windows Vista Drivers' started by Bajamani, Apr 28, 2005.

  1. Bajamani

    Bajamani Guest

    Can i skip the code in the CR [if(irp->PendingReturned)
    IoMarkIrpPending(irp)] for my driver originated irp?
    Bajamani, Apr 28, 2005
    1. Advertisements

  2. Bajamani

    Calvin Guan Guest

    If your driver is the IRP originator, you must NOT mark IRP pending in your
    completion since you don't have a stack (by default) there.
    Calvin Guan, Apr 28, 2005
    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.