RESULTCODES: Difference between revisions
Appearance
mNo edit summary |
m Ak120 moved page OS2 API:DataType:RESULTCODES to RESULTCODES |
(No difference)
|
Revision as of 02:22, 21 December 2016
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.