PopEsPowerSettingPolicyCallback
NTSTATUS __stdcall PopEsPowerSettingPolicyCallback(
_GUID *SettingGuid,
UINT64 *NewValue,
UINT64 ValueLength,
VOID *Context){
NTSTATUS v4;
char v6;
v4 = 0;
if( !NewValue || (_DWORD)ValueLength != 4 )
return -1073741811;
v6 = 0;
PopAcquireRwLockExclusive(&PopEsLock);
if( *(_DWORD *)NewValue == 1 )
{
if( !*(&stru_140C23628 + 1836) )
{
v6 = 1;
*(&stru_140C23628 + 1836) = 1;
}
}
else if( !*(_DWORD *)NewValue && *(&stru_140C23628 + 1836) )
{
v6 = 1;
*(&stru_140C23628 + 1836) = 0;
}
PopReleaseRwLock(&PopEsLock);
if( v6 )
PopEsQueueStateEvaluation(0);
return v4;
}Referenced by:
No references.