getProcessID -package:Win32

getProcessID calls getpid to obtain the ProcessID for the current process.