Merged mouse dll into USER.
[wine.git] / include / mouse.h
blob302c4eee81c1c1ccba9960f3de6116f15403fd69
1 /*
2 * MOUSE driver interface
4 * Copyright 1998 Ulrich Weigand
5 */
7 #ifndef __WINE_MOUSE_H
8 #define __WINE_MOUSE_H
10 #include "windef.h"
11 #include "user.h"
13 /* Wine internals */
15 #define WINE_MOUSEEVENT_MAGIC ( ('M'<<24)|('A'<<16)|('U'<<8)|'S' )
16 typedef struct _WINE_MOUSEEVENT
18 DWORD magic;
19 DWORD keyState;
20 DWORD time;
21 HWND hWnd;
23 } WINE_MOUSEEVENT;
25 /***********************************
26 * MouseWheel support (defines)
29 #define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG"
31 #define WHEEL_DELTA 120
33 #define MOUSEZ_CLASSNAME "MouseZ"
34 #define MOUSEZ_TITLE "Magellan MSWHEEL"
36 #define MSH_WHEELMODULE_CLASS (MOUSEZ_CLASSNAME)
37 #define MSH_WHEELMODULE_TITLE (MOUSEZ_TITLE)
39 #define MSH_WHEELSUPPORT "MSH_WHEELSUPPORT_MSG"
41 #define MSH_SCROLL_LINES "MSH_SCROLL_LINES_MSG"
43 #ifndef WHEEL_PAGESCROLL
44 #define WHEEL_PAGESCROLL (UINT_MAX)
45 #endif
47 #ifndef SPI_SETWHEELSCROLLLINES
48 #define SPI_SETWHEELSCROLLLINES 105
49 #endif
52 /* MouseWheel support
53 ***********************************/
55 #endif /* __WINE_MOUSE_H */