Getting memory(Kb) allocated by a process

Please!!! I'm tryng to get the amount of memory allocated by a process. I have the HANDLE of process, and actually a discovered a function wich returns information about pages "GetProcessMemoryInfo" defined in "psapi.h", but I don't know how to get the amount of memory (in Kb) allocated for this process. How can I get this information
Thanks in advance!



Answer this question

Getting memory(Kb) allocated by a process