Add config check and thread safe wrappers for the XRender library.
[wine] / msdos / int17.c
1 /*
2  * BIOS interrupt 17h handler
3  */
4
5 #include <stdlib.h>
6
7 #include "miscemu.h"
8 #include "debugtools.h"
9 #include "msdos.h"
10 #include "winnt.h"
11
12 DEFAULT_DEBUG_CHANNEL(int17);
13
14 /**********************************************************************
15  *          INT_Int17Handler
16  *
17  * Handler for int 17h (printer - output character).
18  */
19 void WINAPI INT_Int17Handler( CONTEXT86 *context )
20 {
21     switch( AH_reg(context) )
22     {
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 );
33     }
34 }