VfUtilGetAvailableSystemPages
__int64 __fastcall VfUtilGetAvailableSystemPages(_QWORD *a1){
__int64 result;
if( !a1 )
return 3221225485i64;
result = MmCreatePartition(&ViSystemPartition, 1);
if( (int)result >= 0 )
{
if( ViSystemPartition )
{
memset((INT64)&ViSystemPartitionMemoryInfo, 0i64);
dword_140C1CFC4 = -1;
dword_140C1CFC8 = -1;
result = MmManagePartitionMemoryInformation(&ViSystemPartition, (INT64)&ViSystemPartitionMemoryInfo);
if( (int)result >= 0 )
*a1 = qword_140C1CFF8;
}
else
{
return 3221225506i64;
}
}
return result;
}Referenced by:
No references.