psd (PSTARTDATA) - input
pidSession (PULONG) - output
pidSession is returned only when the value specified for Related is 1 (SSF_RELATED_CHILD). The pidSession returned can be specified on subsequent calls to DosSelectSession, DosSetSession, and DosStopSession.
This parameter is not returned for independent sessions. For more information about independent sessions, refer to the Related field in the STARTDATA.
ppid (PPID) - output
ppid is returned only when the value specified for Related is 1 (SSF_RELATED_CHILD). The ppid returned may not be used on any system functions (for example, DosSetPriority) that require a parent process/child process relationship.
This parameter is not returned for independent sessions. For more information about independent sessions, refer to the Related field in the STARTDATA structure.
Refer to "Parent/Child Relationship" in the Remarks section for more information about child processes.
ulrc (APIRET) - returns
DosStartSession returns one of the following values: