PopUserPresentSetWorker
VOID __stdcall PopUserPresentSetWorker(VOID *Context){
UINT8 v1;
POWER_MONITOR_REQUEST_REASON v2;
v2 = (int)Context;
if( byte_140C23D11 )
{
_InterlockedExchange(&dword_140C23D18, 1);
KeInitializeDpc(&PopAwayModeUserPresenceDpcObject, PopAwayModeUserPresenceDpc, &dword_140C23D18);
KiSetTimerEx(
(_KTIMER *)&PopAwayModeUserPresenceTimer,
(_LARGE_INTEGER)-30000000i64,
0i64,
0,
&PopAwayModeUserPresenceDpcObject);
PopAwaymodeExitReason = v2;
PopSetNotificationWork(0x40ui64);
}
PopNotifyConsoleUserPresent(0, v1, v2);
_InterlockedExchange(&PopUserPresentSetStatus, 0);
if( _InterlockedCompareExchange(&dword_140C23D14, 0, 0) )
KeSetEvent(&PopUserPresentCompletedEvent, 0);
}Referenced by:
No references.