MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / memory_info

Method memory_info

windows/winobject/process.py:445–450  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

443
444 @property
445 def memory_info(self):
446 result = gdef.PROCESS_MEMORY_COUNTERS_EX()
447 result.cb = sizeof(gdef.PROCESS_MEMORY_COUNTERS_EX)
448 cast_result = cast(pointer(result), gdef.PPROCESS_MEMORY_COUNTERS)
449 windows.winproxy.GetProcessMemoryInfo(self.limited_handle, cast_result, result.cb)
450 return result
451
452 def query_info(self, information_class, data=None):
453 winproxy.NtQueryInformationProcess(self.handle, information_class, byref(data), sizeof(data))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected