Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
namespace 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
Process
Method · 0.85
Process
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected