PnpQueryWatchdogTimeoutConfiguration
__int64 __fastcall PnpQueryWatchdogTimeoutConfiguration(void *a1){
__int64 result;
unsigned int v3;
v3 = 0;
if( (int)PnpGetRegistryDword(a1, L"WatchdogFirstChanceInMs", &v3) < 0
|| (*(&PnpReplaceEvent + 30) = v3, v3 - 1 > 0xFFFFFFFD) )
{
*(&PnpReplaceEvent + 30) = 10000;
}
result = PnpGetRegistryDword(a1, L"WatchdogSecondChanceInMs", &v3);
if( (int)result < 0 || (result = v3, *(&PnpReplaceEvent + 31) = v3, *(&PnpReplaceEvent + 30) >= v3) )
*(&PnpReplaceEvent + 31) = 360000;
return result;
}Referenced by:
PnpInitializePnpWatchdogs