Fixed memory leak.
[wine/multimedia.git] / dlls / winedos / int17.c
blob5324e53a6140ca43822c8b2b8f89deb73f816043
1 /*
2 * BIOS interrupt 17h handler
3 */
5 #include <stdlib.h>
7 #include "miscemu.h"
8 #include "debugtools.h"
9 #include "msdos.h"
10 #include "winnt.h"
12 DEFAULT_DEBUG_CHANNEL(int);
14 /**********************************************************************
15 * DOSVM_Int17Handler
17 * Handler for int 17h (printer - output character).
19 void WINAPI DOSVM_Int17Handler( CONTEXT86 *context )
21 switch( AH_reg(context) )
23 case 0x01: /* PRINTER - INITIALIZE */
24 FIXME("Initialize Printer - Not Supported\n");
25 AH_reg(context) = 0; /* time out */
26 break;
27 case 0x02: /* PRINTER - GET STATUS */
28 FIXME("Get Printer Status - Not Supported\n");
29 break;
30 default:
31 AH_reg(context) = 0; /* time out */
32 INT_BARF( context, 0x17 );