c++ - how to get memory used by any process programatically in vC++ in windows mobile -


i tried memory used individual process using

bool winapi getprocessmemoryinfo(   __in   handle process,   __out  pprocess_memory_counters ppsmemcounters,   __in   dword cb ); 

but showing error saying undeclared identifier in process_memory_counters. have included header-file "psapi.h".

anyone please suggest api.

thanks, m

getprocessmemoryinfo not windows mobile or windows ce sdk function, it's desktop. you'll need use toolhelp api functions (http://msdn.microsoft.com/en-us/library/aa915058.aspx) process memory snapshot , undocumented cegetprocvminfo pkfuncs.h.

more read here:


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -