2 * MOUSE driver interface
4 * Copyright 1998 Ulrich Weigand
12 struct tagCURSORICONINFO
;
15 typedef struct _MOUSEINFO
26 } MOUSEINFO
, *LPMOUSEINFO
;
29 typedef VOID (CALLBACK
*LPMOUSE_EVENT_PROC
)(DWORD
,DWORD
,DWORD
,DWORD
,DWORD
);
31 WORD WINAPI
MOUSE_Inquire(LPMOUSEINFO lpMouseInfo
);
32 VOID WINAPI
MOUSE_Enable(LPMOUSE_EVENT_PROC lpMouseEventProc
);
33 VOID WINAPI
MOUSE_Disable(VOID
);
37 #define WINE_MOUSEEVENT_MAGIC ( ('M'<<24)|('A'<<16)|('U'<<8)|'S' )
38 typedef struct _WINE_MOUSEEVENT
47 extern void MOUSE_SendEvent( DWORD mouseStatus
, DWORD posX
, DWORD posY
,
48 DWORD keyState
, DWORD time
, HWND hWnd
);
50 /***********************************
51 * MouseWheel support (defines)
54 #define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG"
56 #define WHEEL_DELTA 120
59 #define WM_MOUSEWHEEL (WM_MOUSELAST+1)
62 #define MOUSEZ_CLASSNAME "MouseZ"
63 #define MOUSEZ_TITLE "Magellan MSWHEEL"
65 #define MSH_WHEELMODULE_CLASS (MOUSEZ_CLASSNAME)
66 #define MSH_WHEELMODULE_TITLE (MOUSEZ_TITLE)
68 #define MSH_WHEELSUPPORT "MSH_WHEELSUPPORT_MSG"
70 #define MSH_SCROLL_LINES "MSH_SCROLL_LINES_MSG"
72 #ifndef WHEEL_PAGESCROLL
73 #define WHEEL_PAGESCROLL (UINT_MAX)
76 #ifndef SPI_SETWHEELSCROLLLINES
77 #define SPI_SETWHEELSCROLLLINES 105
82 ***********************************/
84 #endif /* __WINE_MOUSE_H */