= getSysMem =
Warning: This function causes memory access violations, do not use. == Syntax == int getSysMem(int switch) == Return == Different integer values depending on the value of Switch - see description. == Description == Returns some values about the system memory. || Switch || Returned value || || 0 || Percent of memory in use || || 1 || Bytes of physical memory || || 2 || Free physical memory bytes || || 3 || Bytes of paging file || || 4 || Free bytes of paging file || || 5 || User bytes of address space || || 6 || Free user bytes || == Comment == Note that there is bug in this function that can cause memory access violations, resulting in a crash in the host application - please do not use this function. |