NTSTATUS
PopPresentIrp(
      PIO_STACK_LOCATION IrpSp,
      PIRP Irp,
      PVOID ReturnAddress
  );

Routine Description:

    When PoCallDriver, PoCompleteRequest, etc, need to actually present
    an Irp to a devobj, they call PopPresentIrp.

    This routine will compute whether the Irp should be presented at
    PASSIVE or DISPATCH level, and make an appropriately structured call

Arguments:

    IrpSp - provides current stack location  in Irp of interest

    Irp - provides irp of interest

Return Value:

    Normal NTSTATUS data.