advapi32: Obtain the process id locally.