MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / IsProcessHandleValid

Function IsProcessHandleValid

ReClass/stdafx.cpp:448–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446}
447
448BOOLEAN IsProcessHandleValid( HANDLE hProc )
449{
450 DWORD RetVal = WAIT_FAILED;
451 if (!hProc)
452 return FALSE;
453 RetVal = WaitForSingleObject( hProc, 0 );
454 if (RetVal == WAIT_FAILED)
455 return FALSE;
456 return (RetVal == WAIT_TIMEOUT) ? TRUE : FALSE;
457}
458
459BOOLEAN UpdateMemoryMap( void )
460{

Callers 1

UpdateMemoryMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected