4 * Copyright 1998 Ulrich Weigand
13 #include "wine/winbase16.h"
16 typedef struct _MOUSEINFO
27 } MOUSEINFO, *LPMOUSEINFO;
30 static FARPROC16 DefMouseEventProc;
32 /***********************************************************************
35 WORD WINAPI MOUSE_Inquire(LPMOUSEINFO mouseInfo)
37 mouseInfo->msExist = TRUE;
38 mouseInfo->msRelative = FALSE;
39 mouseInfo->msNumButtons = 2;
40 mouseInfo->msRate = 34; /* the DDK says so ... */
41 mouseInfo->msXThreshold = 0;
42 mouseInfo->msYThreshold = 0;
43 mouseInfo->msXRes = 0;
44 mouseInfo->msYRes = 0;
45 mouseInfo->msMouseCommPort = 0;
47 return sizeof(MOUSEINFO);
50 /***********************************************************************
53 VOID WINAPI MOUSE_Enable( FARPROC16 proc )
55 DefMouseEventProc = proc;
58 /***********************************************************************
61 VOID WINAPI MOUSE_Disable(VOID)
63 DefMouseEventProc = 0;