Ends the current thread or process.
#define INCL_DOSPROCESS #include <os2.h> ULONG action; /* Ends the process and all of its threads. */ ULONG result; /* Program's completion code. */ DosExit(action, result);