MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / OpenProcess

Function OpenProcess

Win32Lib/Win32Lib.cpp:225–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225Handle OpenProcess(DWORD dwDesiredAccess, BOOL bInheritHandle, DWORD dwProcessId)
226{
227 Handle hProcessHandle(::OpenProcess(dwDesiredAccess, bInheritHandle, dwProcessId));
228 if (!hProcessHandle)
229 ThrowLastError(L"OpenProcess");
230
231 return hProcessHandle;
232}
233
234Handle CreateEvent(const SECURITY_ATTRIBUTES* pEventAttributes, bool manualReset, bool initialState, const wchar_t* pName)
235{

Callers 3

GetProcessNameByPidMethod · 0.85
NotifyMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

ThrowLastErrorFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68