PoSetSystemState

VOID __stdcall PoSetSystemState(UINT64 Flags){
  unsigned int v1; 
  unsigned __int8 CurrentIrql; 
  v1 = Flags;
  CurrentIrql = KeGetCurrentIrql();
  if( CurrentIrql < 2u )
    PopAcquirePolicyLock();
  PopSetSystemState(v1, MonitorRequestReasonPoSetSystemState);
  if( CurrentIrql < 2u )
    PopReleasePolicyLock();
}

Referenced by:

PoRegisterSystemState