[NTVDM]
[reactos.git] / reactos / subsystems / ntvdm / bios / bios32 / moubios32.h
1 /*
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
4 * FILE: moubios32.h
5 * PURPOSE: VDM Mouse 32-bit BIOS
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7 */
8
9 #ifndef _MOUBIOS32_H_
10 #define _MOUBIOS32_H_
11
12 /* INCLUDES *******************************************************************/
13
14 #include "ntvdm.h"
15
16 /* DEFINES ********************************************************************/
17
18 #define BIOS_MOUSE_INTERRUPT 0x33
19
20 typedef struct _MOUSE_DRIVER_STATE
21 {
22 SHORT ShowCount;
23 COORD Position;
24 WORD Character;
25
26 struct
27 {
28 WORD ScreenMask;
29 WORD CursorMask;
30 } TextCursor;
31
32 struct
33 {
34 COORD HotSpot;
35 WORD ScreenMask[16];
36 WORD CursorMask[16];
37 } GraphicsCursor;
38 } MOUSE_DRIVER_STATE, *PMOUSE_DRIVER_STATE;
39
40 /* FUNCTIONS ******************************************************************/
41
42 VOID MouseBiosUpdatePosition(PCOORD NewPosition);
43 BOOLEAN MouseBios32Initialize(VOID);
44 VOID MouseBios32Cleanup(VOID);
45
46 #endif // _MOUBIOS32_H_
47
48 /* EOF */