@type dwThreadId: int @param dwThreadId: Global thread ID. @type hThread: L{ThreadHandle} @param hThread: (Optional) Handle to the thread. @type process: L{Process} @param process: (Optional) Parent Process object.
(self, dwThreadId, hThread=None, process=None)
| 128 | """ |
| 129 | |
| 130 | def __init__(self, dwThreadId, hThread=None, process=None): |
| 131 | """ |
| 132 | @type dwThreadId: int |
| 133 | @param dwThreadId: Global thread ID. |
| 134 | |
| 135 | @type hThread: L{ThreadHandle} |
| 136 | @param hThread: (Optional) Handle to the thread. |
| 137 | |
| 138 | @type process: L{Process} |
| 139 | @param process: (Optional) Parent Process object. |
| 140 | """ |
| 141 | self.dwProcessId = None |
| 142 | self.dwThreadId = dwThreadId |
| 143 | self.hThread = hThread |
| 144 | self.pInjectedMemory = None |
| 145 | self.set_name(None) |
| 146 | self.set_process(process) |
| 147 | |
| 148 | # Not really sure if it's a good idea... |
| 149 | ## def __eq__(self, aThread): |
nothing calls this directly
no test coverage detected