@type hWnd: int or L{win32.HWND} @param hWnd: Window handle. @type process: L{Process} @param process: (Optional) Process that owns this window. @type thread: L{Thread} @param thread: (Optional) Thread that owns this window.
(self, hWnd=None, process=None, thread=None)
| 122 | """ |
| 123 | |
| 124 | def __init__(self, hWnd=None, process=None, thread=None): |
| 125 | """ |
| 126 | @type hWnd: int or L{win32.HWND} |
| 127 | @param hWnd: Window handle. |
| 128 | |
| 129 | @type process: L{Process} |
| 130 | @param process: (Optional) Process that owns this window. |
| 131 | |
| 132 | @type thread: L{Thread} |
| 133 | @param thread: (Optional) Thread that owns this window. |
| 134 | """ |
| 135 | self.hWnd = hWnd |
| 136 | self.dwProcessId = None |
| 137 | self.dwThreadId = None |
| 138 | self.set_process(process) |
| 139 | self.set_thread(thread) |
| 140 | |
| 141 | @property |
| 142 | def _as_parameter_(self): |
nothing calls this directly
no test coverage detected