Jump to content

RESULTCODES: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== RESULTCODES ==
Result from application termination.
Result from application termination.


Line 19: Line 18:
;codeResult:Exit code.
;codeResult:Exit code.
:Result code specified by the terminating synchronous process on its last call to DosExit.
:Result code specified by the terminating synchronous process on its last call to DosExit.
==PRESULTCODES==
Pointer to RESULTCODES


[[Category:Data type]]
[[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