Fixed definition of the RtlMemory functions. Use macros internally and
[wine.git] / msdos / int17.c
blob319e77379dbc732da19f2711b8d6c39d8eaee55b
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 "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( CONTEXT86 *context )
22 switch( AH_reg(context) )
24 case 0x01: /* PRINTER - INITIALIZE */
25 FIXME("Initialize Printer - Not Supported\n");
26 AH_reg(context) = 0; /* time out */
27 break;
28 case 0x02: /* PRINTER - GET STATUS */
29 FIXME("Get Printer Status - Not Supported\n");
30 break;
31 default:
32 AH_reg(context) = 0; /* time out */
33 INT_BARF( context, 0x17 );