(self)
| 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)) |
nothing calls this directly
no outgoing calls
no test coverage detected