PopComputeWatchdogTimeout

UINT64 __stdcall PopComputeWatchdogTimeout(_POP_IRP_DATA *IrpData){
  if( *(_QWORD *)&IrpData->PowerStateType == 0x100000000i64
    || IrpData->PowerStateType == DevicePowerState && IrpData->PowerState.SystemState == PowerSystemWorking )
  {
    return(unsigned int)PopWatchdogResumeTimeout;
  }
  else
  {
    return(unsigned int)PopWatchdogSleepTimeout;
  }
}

Referenced by:

PoQueryWatchdogTime
PopDiagTraceIrpFinishTelemetry
PopEnableIrpWatchdog