PdcPoResiliencyClient

NTSTATUS __stdcall PdcPoResiliencyClient(POWER_RESILIENCY Resiliency, UINT8 Engage){
  unsigned int v2; 
  __int32 v4; 
  __int32 v5; 
  NTSTATUS v6; 

  v4 = Resiliency - 1;
  if( !v4 )
    return PopPdcIdleResiliencyCallback(v2, Engage);
  v5 = v4 - 1;
  if( !v5 )
  {
    PopAcquirePolicyLock();
    v6 = 0;
    if( !PopDeepIoCoalescingEnabled )
    {
LABEL_8:
      PopPdcIoCoalescing = Engage;
      PopCheckResiliencyScenarios();
    }
LABEL_9:
    PopReleasePolicyLock();
    return v6;
  }
  if( v5 == 1 )
  {
    PopAcquirePolicyLock();
    v6 = 0;
    if( PopDeepIoCoalescingEnabled )
      goto LABEL_8;
    goto LABEL_9;
  }
  return 0;
}

Referenced by:

No references.