PopEsPowerSettingBatteryThresholdCallback

NTSTATUS __stdcall PopEsPowerSettingBatteryThresholdCallback(
        _GUID *SettingGuid,
        UINT64 *NewValue,
        UINT64 ValueLength,
        VOID *Context){
  NTSTATUS v5; 

  v5 = -1073741811;
  if( NewValue && (_DWORD)ValueLength == 4 )
  {
    v5 = 0;
    PopAcquireRwLockExclusive(&PopEsLock);
    *(&stru_140C23628 + 458) = *(_DWORD *)NewValue;
    if( *(&stru_140C23628 + 458) > 0x64u )
      *(&stru_140C23628 + 458) = 100;
    PopReleaseRwLock(&PopEsLock);
    PopEsWorkItemSchedule(2ui64);
  }
  return v5;
}

Referenced by:

No references.