Örnek
Şöyle yaparız.
Şöyle yaparız.
GetProcessMemoryInfo(GetCurrentProcess(), &pmc, sizeof(pmc));
std::cout << pmc.WorkingSetSize << " physical memory used by the process" << std::endl;
int a = pmc.WorkingSetSize;