PopInitializeSystemIdleDetection

VOID __stdcall PopInitializeSystemIdleDetection(){
  PopAcquireRwLockExclusive((_POP_RW_LOCK *)&PopIrpWorkerControlEvent + 15);
  PopPulseSystemIdleEvent(1ui64);
  *(&stru_140C23628 + 822) = PopCheckForIdleness;
  *(&stru_140C23628 + 827) = 8i64;
  *(&stru_140C23628 + 829) = (char *)&stru_140C23628 + 6624;
  *(&stru_140C23628 + 828) = (char *)&stru_140C23628 + 6624;
  *(&stru_140C23628 + 1638) = 275;
  *(&stru_140C23628 + 823) = 0i64;
  *(&stru_140C23628 + 826) = 0i64;
  *(&stru_140C23628 + 821) = 0i64;
  *(&stru_140C23628 + 830) = 0i64;
  *(&stru_140C23628 + 1669) = 0;
  *(&stru_140C23628 + 3336) = 0;
  if( PopIdleScanInterval )
    KeSetCoalescableTimer(
      (INT64)&stru_140C23628 + 6616,
      -10000000i64 * (unsigned int)PopIdleScanInterval,
      (unsigned int)(1000 * PopIdleScanInterval),
      0x3E8ui64,
      (INT64)&stru_140C23628 + 6552);
  PopReleaseRwLock((_POP_RW_LOCK *)&PopIrpWorkerControlEvent + 15);
}

Referenced by:

PoInitSystem