include/GizegoEngine.h
//Returns the amount of RAM in your system in bytes. Needs windows.h
Returns the amount of RAM in your system in bytes.
Returns the amount of RAM in your system in bytes .
inline unsigned long long GetMemoryAmount()
		{
#ifdef _WINDOWS_
			MEMORYSTATUSEX memorydata;
			GlobalMemoryStatusEx(&memorydata);
			return memorydata.ullTotalPhys;
#else
#warning Hardware::GetGetMemoryAmount will not work. include windows.h
			ThrowException(L"Windows is not included in this window build so you can't call this function");
			return 0;
#endif			
		}
inline unsigned long long GetMemoryAmount ( ) { #ifdef _WINDOWS_ MEMORYSTATUSEX memorydata ; GlobalMemoryStatusEx ( & memorydata ) ; return memorydata . ullTotalPhys ; #else #warning  Hardware::GetGetMemoryAmount will not work. include windows.h ThrowException ( L" " ) ; return 0 ; #endif }
Returns the amount of RAM in your system in bytes.
Returns the amount of RAM in your system in bytes .