RESULTCODES: Difference between revisions
Appearance
New |
No edit summary |
||
Line 30: | Line 30: | ||
Result code specified by the terminating synchronous process on | Result code specified by the terminating synchronous process on | ||
its last call to DosExit. | its last call to DosExit. | ||
[[OS2_API | Back to OS/2 API]] | |||
[[Category:The OS/2 API Project]] |
Revision as of 16:45, 30 October 2011
RESULTCODES
Result from application termination.
Type
ULONG codeTerminate ULONG codeResult
C Declaration Method
typedef struct
Fields
codeTerminate Termination code or process identifier. For asynchronous requests, this field contains the process identifier of the child process. For synchronous requests, this field contains the termination code furnished by the system describing why the child process ended. The values of the termination code are shown in the following list: 0 TC_EXIT Normal exit. 1 TC_HARDERROR Hard-error halt 2 TC_TRAP Trap operation for a 16-bit child process 3 TC_KILLPROCESS Unintercepted DosKillProcess 4 TC_EXCEPTION Exception operation for a 32-bit child process
codeResult Exit code. Result code specified by the terminating synchronous process on its last call to DosExit.