bool processExists(DWORD pid)
Checks if a process exists.
pid
Example:
if (processExists(1234)) { writeln("Process exists"); }