PpmInternalPlatformIdleVeto
NTSTATUS __stdcall PpmInternalPlatformIdleVeto(UINT64 a1, CHAR a2){
NTSTATUS v2;
__int64 v3;
v2 = 0;
if( !PpmPlatformStates )
return -1073741653;
if( (unsigned int)a1 >= *(_DWORD *)PpmPlatformStates )
return -1073741585;
v3 = 384i64 * (unsigned int)a1;
if( a2 )
_InterlockedOr((volatile signed __int32 *)(v3 + PpmPlatformStates + 80), 0x80000000);
else
_InterlockedAnd((volatile signed __int32 *)(v3 + PpmPlatformStates + 80), 0x7FFFFFFFu);
return v2;
}Referenced by:
PopPowerInformationInternal