◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_DOSPROCESS USHORT DosGetPPID(pidChild, ppidParent) USHORT pidChild; /* process identifier of child process */ PUSHORT ppidParent; /* point to variable for parent-process identifier */ The DosGetPPID function retrieves the process identifier of a parent process. Parameter Description ──────────────────────────────────────────────────────────────────────────── pidChild Specifies the process identifier of the child process. ppidParent Points to the variable that receives the process identifier of the parent process. Return Value The return value is zero if the function is successful. Otherwise, it is an error value, which may be the following: ERROR_INVALID_PROCID See Also DosGetPID ♦