(self)
| 772 | |
| 773 | @utils.fixedpropety |
| 774 | def owner_pid(self): |
| 775 | res = THREAD_BASIC_INFORMATION() |
| 776 | windows.winproxy.NtQueryInformationThread(self.handle, ThreadBasicInformation, byref(res), ctypes.sizeof(res)) |
| 777 | owner_id = res.ClientId.UniqueProcess |
| 778 | return owner_id |
| 779 | |
| 780 | @utils.fixedpropety |
| 781 | def owner(self): |