Does anyone know how to use the 'getmemorystatus' function in evb, I cannot get much help from the help files.

I know I need to declare the function but am not sure how. I also know I need to create a structure to store the results in, I also do not know how to this.

Any help would be most appreciated.

alternatively, can anyone suggest any other way of finding out how much ram in remaining.