MiGetSessionVm
_MMSUPPORT_INSTANCE *__stdcall MiGetSessionVm(INT64 a1, INT64 a2, INT16 a3){
_MMSUPPORT_INSTANCE *result;
result = (_MMSUPPORT_INSTANCE *)KeGetCurrentThread()->ApcState.Process->Session;
if( result )
return(_MMSUPPORT_INSTANCE *)((char *)result + 256);
return result;
}Referenced by:
MiCopyOnWrite
MiCountSystemImageCommitment
MiDeleteSessionPdes
MiEmptyAccessLogs
MiExceptionForMappedVa
MiInitializeColorBase
MiInsertInSystemSpace
MiLockCode
MiLockStealSystemVm
MiMakeDriverPagesPrivate
MiMapRetpolineStubs
MiProbeAndLockPrepare
MiRemoveFromSystemSpace
MiReturnSystemVa
MiSessionInsertImage
MiSessionRemoveImage
MiSetSystemCodeProtection
MiSystemFault
MiTranslatePageForCopy
MiTrimAllSystemPagableMemory
MiTrimSharedPageFromViews
MiUnmapPatchTable
MiUnmapRetpolineStubs
MmCopyMemory
MmPrefetchVirtualMemory
MmProtectPool
MmReplaceImportEntry