PfTSetTracingPriority
VOID __stdcall PfTSetTracingPriority(UINT64 MinLoggingPriority){
_ETHREAD *CurrentThread;
unsigned int v2;
CurrentThread = (_ETHREAD *)KeGetCurrentThread();
v2 = MinLoggingPriority;
--*((_WORD *)CurrentThread + 242);
ExAcquirePushLockExclusiveEx((UINT64)&qword_140C4F910, 0i64);
MmSetAccessLogging(dword_140C4F90C == 0, v2);
if( (_InterlockedExchangeAdd64((volatile signed __int64 *)&qword_140C4F910, 0xFFFFFFFFFFFFFFFFui64) & 6) == 2 )
ExfTryToWakePushLock((volatile INT64 *)&qword_140C4F910);
KeAbPostRelease(&qword_140C4F910);
KeLeaveCriticalRegion();
}Referenced by:
PfpLogEventRequest