57 lines
1.0 KiB
C
57 lines
1.0 KiB
C
/*
|
|
* MOUSE driver interface
|
|
*
|
|
* Copyright 1998 Ulrich Weigand
|
|
*/
|
|
|
|
#ifndef __WINE_MOUSE_H
|
|
#define __WINE_MOUSE_H
|
|
|
|
#include "windef.h"
|
|
#include "user.h"
|
|
|
|
/* Wine internals */
|
|
|
|
#define WINE_MOUSEEVENT_MAGIC ( ('M'<<24)|('A'<<16)|('U'<<8)|'S' )
|
|
typedef struct _WINE_MOUSEEVENT
|
|
{
|
|
DWORD magic;
|
|
DWORD keyState;
|
|
DWORD time;
|
|
HWND hWnd;
|
|
|
|
} WINE_MOUSEEVENT;
|
|
|
|
/***********************************
|
|
* MouseWheel support (defines)
|
|
*/
|
|
|
|
#define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG"
|
|
|
|
#define WHEEL_DELTA 120
|
|
|
|
#define MOUSEZ_CLASSNAME "MouseZ"
|
|
#define MOUSEZ_TITLE "Magellan MSWHEEL"
|
|
|
|
#define MSH_WHEELMODULE_CLASS (MOUSEZ_CLASSNAME)
|
|
#define MSH_WHEELMODULE_TITLE (MOUSEZ_TITLE)
|
|
|
|
#define MSH_WHEELSUPPORT "MSH_WHEELSUPPORT_MSG"
|
|
|
|
#define MSH_SCROLL_LINES "MSH_SCROLL_LINES_MSG"
|
|
|
|
#ifndef WHEEL_PAGESCROLL
|
|
#define WHEEL_PAGESCROLL (UINT_MAX)
|
|
#endif
|
|
|
|
#ifndef SPI_SETWHEELSCROLLLINES
|
|
#define SPI_SETWHEELSCROLLLINES 105
|
|
#endif
|
|
|
|
|
|
/* MouseWheel support
|
|
***********************************/
|
|
|
|
#endif /* __WINE_MOUSE_H */
|
|
|