mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
21 lines
458 B
C
21 lines
458 B
C
/*
|
|
* DOS interrupt 20h handler (TERMINATE PROGRAM)
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include "winbase.h"
|
|
#include "miscemu.h"
|
|
/* #define DEBUG_INT */
|
|
#include "debugtools.h"
|
|
#include "callback.h"
|
|
|
|
/**********************************************************************
|
|
* INT_Int20Handler
|
|
*
|
|
* Handler for int 20h.
|
|
*/
|
|
void WINAPI INT_Int20Handler( CONTEXT86 *context )
|
|
{
|
|
if (Dosvm.Exit) Dosvm.Exit( context, TRUE, 0 );
|
|
else ExitThread( 0 );
|
|
}
|