Click to See Complete Forum and Search --> : How to retrieve machine dependent data?


PaLu
August 24th, 1999, 11:27 AM
Does any body know if there are functions to retrieve the following
machine dependent data?

Machine Type
Physical RAM Size
ROM Size
ROM Version

Or similar machine dependent data

Best regards

PaLu

Martin Speiser
August 24th, 1999, 02:10 PM
Hi PaLu,

if you mean the CPU type with machine type, this can be found with GetSystemInfo. Don't know how to get the other information.


Martin

August 24th, 1999, 02:32 PM
To get RAM info:

MEMORYSTATUS ms;
ms.dwLength = sizeof(ms);
GlobalMemoryStatus(&ms);

ms.dwTotalPhys <= Total Physical RAM
ms.dwAvailPhys <= Total Available RAM
.
.
.
and there are other members