744fe8d8e66e1c07ad7a8096a3d94a58d5955ca1
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
);