NTSTATUS
MiWaitForInPageComplete(
  IN  PMMPFN Pfn2,
  IN  PMMPTE PointerPte,
  IN  PVOID FaultingAddress,
  IN  PMMPTE PointerPteContents,
  IN  PMMINPAGE_SUPPORT InPageSupport,
  IN  PEPROCESS CurrentProcess
  );

Routine Description:

    Waits for a page read to complete.

Arguments:

    Pfn - Supplies a pointer to the PFN element for the page being read.

    PointerPte - Supplies a pointer to the pte that is in the transition
                 state.

    FaultingAddress - Supplies the faulting address.

    PointerPteContents - Supplies the contents of the PTE before the
                         working set lock was released.

    InPageSupport - Supplies a pointer to the inpage support structure
                    for this read operation.

Return Value:

    Returns the status of the in page.

    Note that the working set lock is held upon return !!!

Environment:

    Kernel mode, APCs disabled.  Neither the working set lock nor
    the PFN lock may be held.