TCC > Variables & Functions > Variables:
Comments (...)
_PPID returns the process ID number of the parent process.
Help URL: http://jpsoft.com/help/index.htm?_ppid.htm