GetProcessMemoryInfo
Parameters:
Process: [in] Handle to the process.
ppsmemCounters: [out] Pointer to the PROCESS_MEMORY_COUNTERS structure that receives information about the memory usage of the process.
cb: [in] Specifies the size, in bytes, of the PROCESS_MEMORY_COUNTERS structure.
Dann versuch mal den prozess per
OpenProcess(PROCESS_ALL_ACCESS,false,PID)
zu öffnen.
ciao, Philipp