Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM Memory
#4
Function GetQmMemoryUsage
Code:
Copy      Help
;/
function#

;Returns QM memory usage, KB.
;It is what you see in Task Manager, "Commit Size" column.


PROCESS_MEMORY_COUNTERS z.cb=sizeof(z)
if GetProcessMemoryInfo(GetCurrentProcess &z sizeof(z))
,ret z.PagefileUsage/1024


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)