PopBatteryAdd
VOID __stdcall PopBatteryAdd(_POP_POLICY_DEVICE *PolicyDevice){
INT64 v1;
WCHAR v2;
KeInitializeEvent((_KEVENT *)&PolicyDevice[1].DeviceType, SynchronizationEvent, 0);
if( ++dword_140C23530 == 1 )
{
PopAcquirePolicyLock();
if( byte_140C23E5E != 1 )
{
byte_140C23E5E = 1;
PopResetCurrentPolicies();
}
PopReleasePolicyLock();
PopCadTriggerDriverLoad(1ui64, v1, v2);
}
PopAcquireRwLockExclusive((_POP_RW_LOCK *)&PopCB);
byte_140C23538 = 1;
PopBatteryWaitTag();
PopBatteryQueueWork(8i64);
PopReleaseRwLock((UINT64)&PopCB);
}Referenced by:
No references.