Minor change: CVS Id placeholder fixed or added.
[reactos.git] / os2 / lib / doscalls / run / process.cpp
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)
6 {
7 // decide what to do
8 if( action == EXIT_THREAD)
9 {
10 NtTerminateThread( NULL, result );
11 }
12 else // EXIT_PROCESS
13 {
14 NtTerminateProcess( NULL, result );
15 }
16 }
17
18 /* EOF */