PoGetThermalRequestSupport

UINT8 __stdcall PoGetThermalRequestSupport(VOID *ThermalRequest, PO_THERMAL_REQUEST_TYPE Type){
  __int64 v2; 
  UINT8 result; 
  bool v4; 

  v2 = *((_QWORD *)ThermalRequest + 4);
  result = 0;
  if( Type )
  {
    if( Type != PoThermalRequestActive )
      return result;
    v4 = *(_QWORD *)(v2 + 128) == 0i64;
  }
  else
  {
    v4 = *(_QWORD *)(v2 + 136) == 0i64;
  }
  return !v4;
}

Referenced by:

PoSetThermalActiveCooling
PoSetThermalPassiveCooling