The GetCurrentProcessId function returns the current process ID.
This function has no parameters.
The return value is the process ID of the currently running process.
GetCurrentProcess, OpenProcess