View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
joeu2004 joeu2004 is offline
external usenet poster
 
Posts: 2,059
Default What kernel function returns process stats

What kernel function returns process statistics either for the current
process or for the specified process?

(For the latter, I would pass the result from GetCurrentProcessID.)

Currently, I am only interested in the Mem Usage and VM Size for the
current process, as they are called in Task Manager.

So if there is only a function that returns memory usage information
for the current or specified process, that will do.

Please provide the function declaration to use in VBA.