MiPteNeedsCommitCharge

NTSTATUS __stdcall MiPteNeedsCommitCharge(_MMVAD *Vad, _MMPTE *PointerPte){
  if( (Vad->Core.u.LongFlags & 0x70) == 32 && (Vad->Core.u.LongFlags & 0xF80) != 128 )
    MiGetProtoPteAddress();
  return(Vad->Core.u.LongFlags & 0x280) != 640;
}

Referenced by:

MiCountSharedPages
MiSetProtectionOnSection