MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / CloseHandlesExceptForProcess

Function CloseHandlesExceptForProcess

SpeedTest/Process.h:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace internal
8{
9 static inline HANDLE CloseHandlesExceptForProcess(PROCESS_INFORMATION pi)
10 {
11 CloseHandle(pi.hThread);
12 return pi.hProcess;
13 }
14
15 /**
16 * @brief Encapsulate a process handle, should be inherited by other class

Callers 2

ProcessMethod · 0.85
ProcessMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected