NTSTATUS MiAccessCheck( IN PMMPTE PointerPte, IN BOOLEAN WriteOperation, IN KPROCESSOR_MODE PreviousMode, IN ULONG Protection, IN BOOLEAN CallerHoldsPfnLock ); Routine Description: Arguments: PointerPte - Supplies the pointer to the PTE which caused the page fault. WriteOperation - Supplies 1 if the operation is a write, 0 if the operation is a read. PreviousMode - Supplies the previous mode, one of UserMode or KernelMode. Protection - Supplies the protection mask to check. CallerHoldsPfnLock - Supplies TRUE if the PFN lock is held, FALSE otherwise. Return Value: Returns TRUE if access to the page is allowed, FALSE otherwise. Environment: Kernel mode, APCs disabled.