1 /* $Id: process.cpp,v 1.2 2002/03/24 18:55:39 ea Exp $ */
2 /* Terminates the current thread or the current Process.
3 Decission is made by action
4 FIXME: move this code to OS2.EXE */
5 VOID APIENTRY
Dos32Exit(ULONG action
, ULONG result
)
8 if( action
== EXIT_THREAD
)
10 NtTerminateThread( NULL
, result
);
14 NtTerminateProcess( NULL
, result
);