Ticket #169: SafeDosStartSession.diff
File SafeDosStartSession.diff, 689 bytes (added by , 17 years ago) |
---|
-
SafeDosStartSession.c
APIRET APIENTRY SafeDosStartSession(PST 158 158 psd->PgmInputs = PgmInputs; 159 159 psd->Environment = Environment; 160 160 psd->IconFile = IconFile; 161 161 162 162 /* Save returned values */ 163 163 if (ObjectBuffLen) 164 164 memcpy(ObjectBuffer, psd->ObjectBuffer, ObjectBuffLen); 165 165 psd->ObjectBuffer = ObjectBuffer; 166 *pulIdSession = ulIdSession; 167 *ppid = pid; 166 if (pulIdSession) 167 *pulIdSession = ulIdSession; 168 if (ppid) 169 *ppid = pid; 168 170 169 171 if (pchSafeMem) free( pchSafeMem ); 170 172 return rc; 171 173 172 174 } 173 175