The process possessing the handle :type: :class:`WinProcess `
(self)
| 15 | """A handle of the system""" |
| 16 | @windows.utils.fixedpropety |
| 17 | def process(self): |
| 18 | """The process possessing the handle |
| 19 | |
| 20 | :type: :class:`WinProcess <windows.winobject.process.WinProcess>`""" |
| 21 | # "TODO: something smart ? :D" |
| 22 | # return [p for p in windows.system.processes if p.pid == self.dwProcessId][0] |
| 23 | return windows.WinProcess(pid=self.dwProcessId) |
| 24 | |
| 25 | @property |
| 26 | def pid(self): |
nothing calls this directly
no outgoing calls
no test coverage detected