PspSendNoWakeChargeLimitNotification

VOID __stdcall PspSendNoWakeChargeLimitNotification(_EJOB *Job){
  __int64 v1; 
  if( !Job )
    goto LABEL_5;
  if( !PspNoWakeChargeReferencedProcess )
  {
    v1 = 0i64;
    PspEnumJobsAndProcessesInJobHierarchy(
      Job,
      0i64,
      0i64,
      (__int64(__fastcall *)(_QWORD *, __int64))PspGetProcessInJobHierarchyCallback,
      (__int64)&v1,
      0);
    if( v1 )
    {
      PspNoWakeChargeReferencedProcess = (PVOID)v1;
LABEL_5:
      ZwUpdateWnfStateData();
    }
  }
}

Referenced by:

PspEnforceLimitsJobPostCallback