PopCheckForWork
VOID __stdcall PopCheckForWork(){
unsigned __int64 v0;
if( (*(&stru_140C23628 + 320) & PopWorkerPending) != 0
&& (struct _KTHREAD *)PopPolicyLockThread != KeGetCurrentThread() )
{
v0 = (unsigned __int8)KeAcquireSpinLockRaiseToDpc((UINT64 *)&stru_140C23628 + 143);
if( *(&stru_140C23628 + 320) < 0 )
{
*(&stru_140C23628 + 320) &= ~0x80000000;
ExQueueWorkItem((PWORK_QUEUE_ITEM)((char *)&stru_140C23628 + 1304), DelayedWorkQueue);
}
KxReleaseSpinLock((UINT64 *)&stru_140C23628 + 143);
__writecr8(v0);
}
}Referenced by:
PoNotifySystemTimeSet
PoRegisterDeviceForIdleDetection
PopBatteryApplyCompositeState
PopCheckForIdleness
PopCoalescingCheck
PopCoalesingTimerDpcCallback
PopHandleSystemIdleReset
PopReleasePolicyLock
PopSetNotificationWork
PopTransitionSystemPowerStateEx