PopInputDisabled
VOID __stdcall PopInputDisabled(UINT64 SessionId, UINT8 Console, UINT8 Remote){
unsigned int v4;
_EPROCESS *i;
unsigned int v6;
_EPROCESS *NextSession;
_EPROCESS *v8;
v4 = SessionId;
if( Remote )
{
for( i = 0i64; ; i = v8 )
{
NextSession = (_EPROCESS *)MmGetNextSession(i);
v8 = NextSession;
if( !NextSession )
break;
v6 = MmGetSessionId(NextSession);
if( !PsIsServiceSession(v6) && v4 != v6 )
PopSetSessionUserStatus(v6, PowerUserPresent);
}
}
if( Console )
PopSetSessionUserStatus(v4, PowerUserPresent);
}Referenced by:
PopAdaptivePowerSettingCallback