PoSetUserPresent

VOID __stdcall PoSetUserPresent(POWER_MONITOR_REQUEST_REASON MonitorOnReason){
  unsigned __int8 CurrentIrql; 
  __int64 v3[2]; 

  CurrentIrql = KeGetCurrentIrql();
  if( CurrentIrql < 2u )
    PopAcquirePolicyLock();
  if( (xmmword_140CFB490 & 0x8000) != 0 )
  {
    v3[0] = 0i64;
    v3[1] = 0i64;
    EtwTraceKernelEvent((__int64)v3, 1u, 0x80008000, 0x1241u, 0x401802u);
  }
  PopSetSystemState(4ui64, MonitorOnReason);
  if( CurrentIrql < 2u )
    PopReleasePolicyLock();
}

Referenced by:

PopTransitionSystemPowerStateEx