PopUsbErrorWNFNotificationCallback
INT64 __fastcall PopUsbErrorWNFNotificationCallback(INT64 a1){
int v1;
bool v2;
bool v3;
unsigned int v5;
int v6;
_DWORD v7[4];
v5 = 12;
v1 = ExQueryWnfStateData(a1, &v6, v7, &v5);
if( v1 >= 0 )
{
if( v5 == 12 )
{
v2 = v7[2] == 1;
PopAcquireRwLockExclusive(&stru_140C236C8);
byte_140C236C4 = v2;
if( v2 )
v3 = dword_140C236C0 == 0;
else
v3 = dword_140C236C0 == 1;
if( v3 )
PopBatteryQueueWork(64i64);
PopReleaseRwLock((UINT64)&stru_140C236C8);
}
else
{
return 128;
}
}
return(unsigned int)v1;
}Referenced by:
No references.