CmpIsRegistryLockContended

CHAR __stdcall CmpIsRegistryLockContended(){
  CHAR v0; 

  v0 = 0;
  if( ExGetSharedWaiterCount((UINT64)&CmpRegistryLock) || ExGetExclusiveWaiterCount((UINT64)&CmpRegistryLock) )
    return 1;
  return v0;
}

Referenced by:

CmpEnumerateLayeredKey