RESULTCODES: Difference between revisions
Appearance
New |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Result from application termination. | Result from application termination. | ||
=== Type === | === Type === | ||
[[ULONG]] codeTerminate | |||
[[ | ULONG codeResult | ||
==== C Declaration Method ==== | ==== C Declaration Method ==== | ||
typedef struct | typedef struct | ||
=== Fields === | === 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. | |||
==PRESULTCODES== | |||
Pointer to RESULTCODES | |||
[[Category:Data type]] | |||
Latest revision as of 18:51, 7 November 2017
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.
PRESULTCODES
Pointer to RESULTCODES