VerifierExEnterCriticalRegionAndAcquireResourceExclusive

NTSTATUS __stdcall VerifierExEnterCriticalRegionAndAcquireResourceExclusive(ERESOURCE *Resource){
  NTSTATUS v2; 
  void *Caller; 
  void *retaddr; 
  v2 = ((__int64(*)(void))pXdvExEnterCriticalRegionAndAcquireResourceExclusive)();
  if( (MmVerifierData & 0x400000) == 0 )
  {
    Caller = retaddr;
    goto LABEL_5;
  }
  if( ViDeadlockDetectionEnabled )
  {
    Caller = retaddr;
LABEL_5:
    VfDeadlockAcquireResource(Resource, VfDeadlockEresource, KeGetCurrentThread(), 0i64, Caller);
  }
  return v2;
}

Referenced by:

No references.