DWORD getCurrentProcessId()
Gets the current process ID.
Example:
auto pid = getCurrentProcessId(); writeln("PID: ", pid);