MiUnlockControlAreaFileObjectShared
VOID __stdcall MiUnlockControlAreaFileObjectShared(_CONTROL_AREA *ControlArea){
_ETHREAD *CurrentThread;
_EX_PUSH_LOCK *p_FileObjectLock;
CurrentThread = (_ETHREAD *)KeGetCurrentThread();
p_FileObjectLock = &ControlArea->FileObjectLock;
if( _InterlockedCompareExchange64(&ControlArea->FileObjectLock._bf_0, 0i64, 17i64) != 17 )
ExfReleasePushLockShared(p_FileObjectLock);
KeAbPostRelease(p_FileObjectLock);
KiLeaveGuardedRegionUnsafe((__int64)CurrentThread);
}Referenced by:
MiTrimSection