| 272 | return None |
| 273 | |
| 274 | def query_working_setex(self, addresses): |
| 275 | if self.bitness == 64 or windows.current_process.bitness == 64: |
| 276 | info_type = EPSAPI_WORKING_SET_EX_INFORMATION64 |
| 277 | else: |
| 278 | info_type = EPSAPI_WORKING_SET_EX_INFORMATION32 |
| 279 | info_array = (info_type * len(addresses))() |
| 280 | for i, data in enumerate(info_array): |
| 281 | info_array[i].VirtualAddress = addresses[i] |
| 282 | if windows.current_process.bitness == 32 and self.bitness == 64: |
| 283 | windows.syswow64.NtQueryVirtualMemory_32_to_64(self.handle, 0, MemoryWorkingSetListEx, info_array) |
| 284 | else: |
| 285 | winproxy.QueryWorkingSetEx(self.handle, ctypes.byref(info_array), ctypes.sizeof(info_array)) |
| 286 | return info_array |
| 287 | |
| 288 | |
| 289 | def get_mapped_filename(self, addr): |