◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_DOSPROCESS USHORT DosGetPID(ppidi) PPIDINFO ppidi; /* pointer to structure receiving identifiers */ The DosGetPID function retrieves the process, thread, and parent-process identifiers for the current process. The DosGetPID function is a family API function. Parameter Description ──────────────────────────────────────────────────────────────────────────── ppidi Points to the PIDINFO structure that receives the process identifiers. Return Value The return value is zero if the function is successful. Otherwise, it is an error value. See Also DosExecPgm, DosGetPPID, PIDINFO ♦