ULONG
FASTCALL
MiReleasePageFileSpace(
  IN  MMPTE PteContents
  );

Routine Description:

    This routine frees the paging file allocated to the specified PTE
    and adjusts the necessary quotas.

Arguments:

    PteContents - Supplies the PTE which is in page file format.

Return Value:

    Returns TRUE if any paging file space was deallocated.

Environment:

    Kernel mode, APCs disabled, PFN lock held.