| 136 | } |
| 137 | |
| 138 | void RemoteProcess::closeRemoteThread(void) { |
| 139 | if (this->remote_thread != NULL) { |
| 140 | if (!CloseHandle(this->remote_thread)) { |
| 141 | throw system_error(error_code(GetLastError(), system_category()), "remote-process:closeRemoteThread"); |
| 142 | } |
| 143 | this->remote_thread = (HANDLE)NULL; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | void RemoteProcess::closeHandle(void) { |
| 148 | if (this->handle != NULL) { |