HaliSetSystemInformation
NTSTATUS __stdcall HaliSetSystemInformation(_HAL_SET_INFORMATION_CLASS InformationClass, PVOID Buffer){
_SECONDARY_INTERRUPT_PROVIDER_INTERFACE *v2;
__int32 v3;
__int32 v4;
__int32 v5;
__int32 v6;
NTSTATUS v7;
NTSTATUS v8;
v3 = InformationClass - 11;
if( !v3 )
return -1073741637;
v4 = v3 - 2;
if( !v4 )
{
if( (unsigned int)Buffer < 0x58 )
return -1073741820;
return HalpRegisterSecondaryIcInterface(v2);
}
v5 = v4 - 1;
if( !v5 )
{
HalpChannelPowerRequest(v2, (UINT64)Buffer, 0i64);
return v8;
}
v6 = v5 - 2;
if( !v6 )
{
if( (_DWORD)Buffer == 4 )
{
v7 = 0;
HalpResetParkDisposition = *(_DWORD *)&v2->Size != 0;
return v7;
}
return -1073741820;
}
if( v6 == 2 )
{
if( (_DWORD)Buffer == 4 )
{
v7 = 0;
*(&CmpDummyThreadEvent + 4272) = *(_DWORD *)&v2->Size != 0;
return v7;
}
return -1073741820;
}
return -1073741496;
}Referenced by:
HalpSetSystemInformation