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