PopFxCompleteDevicePowerRequired
UINT8 __stdcall PopFxCompleteDevicePowerRequired(POP_FX_DEVICE *FxDevice, PEP_WORK_INFORMATION *WorkInfo){
UINT8 v2;
int v5;
v2 = 0;
v5 = _InterlockedDecrement(FxDevice + 9);
if( v5 < 0 )
PopFxBugCheck(0x613u, (ULONG_PTR)FxDevice, 0, 1u);
if( v5 )
{
if( WorkInfo )
PopFxAddLogEntry(*((_QWORD *)FxDevice + 6), 0, 16, 0i64);
}
else
{
PopDiagTraceFxDevicePowered(*((VOID **)FxDevice + 6));
if( !WorkInfo )
PopFxAddLogEntry(*((_QWORD *)FxDevice + 6), 0, 16, 1i64);
return PopPluginDevicePower(FxDevice, 1u, WorkInfo);
}
return v2;
}Referenced by:
PoFxReportDevicePoweredOn
PopFxDeliverDevicePowerRequired
PopFxProcessWork