Added support for forwarded ordinals in built-in dlls.
[wine/multimedia.git] / msdos / int17.c
bloba366b7ba4e0789ac2f4be6f447c6fc14bbb726dd
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 DEFAULT_DEBUG_CHANNEL(int17)
15 /**********************************************************************
16 * INT_Int17Handler
18 * Handler for int 17h (printer - output character).
20 void WINAPI INT_Int17Handler( CONTEXT *context )
22 switch( AH_reg(context) )
24 case 0x01: /* PRINTER - INITIALIZE */
25 FIXME(int17, "Initialize Printer - Not Supported\n");
26 AH_reg(context) = 0; /* time out */
27 break;
28 case 0x02: /* PRINTER - GET STATUS */
29 FIXME(int17, "Get Printer Status - Not Supported\n");
30 break;
31 default:
32 AH_reg(context) = 0; /* time out */
33 INT_BARF( context, 0x17 );