MCPcopy Create free account
hub / github.com/ElyDotDev/windows-kill / closeRemoteThread

Method closeRemoteThread

windows-kill-library/remote-process.cpp:138–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers 1

startRemoteThreadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected