KeAcquireGuardedMutex
VOID __stdcall KeAcquireGuardedMutex(PKGUARDED_MUTEX Mutex){
_BYTE *v2;
unsigned __int8 CurrentIrql;
v2 = KeAbPreAcquire(Mutex, 0i64, 0i64);
CurrentIrql = KeGetCurrentIrql();
__writecr8(1ui64);
if( !_interlockedbittestandreset(&Mutex->Count, 0) )
ExpAcquireFastMutexContended(Mutex, v2);
if( v2 )
v2[26] |= 1u;
Mutex->Owner = KeGetCurrentThread();
Mutex->OldIrql = CurrentIrql;
}Referenced by:
IoRegisterPlugPlayNotification
PiUEventHandleVetoEvent
PnpDeviceEventWorker
PnpNotifyTargetDeviceChange
PnpProcessAssignResources
PopGracefulShutdown
PopRequestShutdownWait