Fixes crash when running without external shell32.dll.
[wine/multimedia.git] / msdos / int17.c
blob70ae034e38a88b7be381e771443d7b765cdf23af
1 /*
2 * BIOS interrupt 17h handler
3 */
5 #include <stdlib.h>
7 #include "miscemu.h"
8 #include "debug.h"
9 #include "msdos.h"
10 #include "drive.h"
11 #include "winnt.h"
13 /**********************************************************************
14 * INT_Int17Handler
16 * Handler for int 17h (printer - output character).
18 void WINAPI INT_Int17Handler( CONTEXT *context )
20 switch( AH_reg(context) )
22 case 0x01: /* PRINTER - INITIALIZE */
23 FIXME(int17, "Initialize Printer - Not Supported\n");
24 AH_reg(context) = 0; /* time out */
25 break;
26 case 0x02: /* PRINTER - GET STATUS */
27 FIXME(int17, "Get Printer Status - Not Supported\n");
28 break;
29 default:
30 AH_reg(context) = 0; /* time out */
31 INT_BARF( context, 0x17 );