Bugfix: SetDlgItemText32 returns BOOL not void.
[wine/multimedia.git] / include / mouse.h
blob703384c7b91726d6bdf7d085da7608aa67dd2b00
1 /*
2 * MOUSE driver interface
4 * Copyright 1998 Ulrich Weigand
5 */
7 #ifndef __WINE_MOUSE_H
8 #define __WINE_MOUSE_H
10 #pragma pack(1)
11 typedef struct _MOUSEINFO
13 BYTE msExist;
14 BYTE msRelative;
15 WORD msNumButtons;
16 WORD msRate;
17 WORD msXThreshold;
18 WORD msYThreshold;
19 WORD msXRes;
20 WORD msYRes;
21 WORD msMouseCommPort;
22 } MOUSEINFO, *LPMOUSEINFO;
23 #pragma pack(4)
25 typedef VOID (CALLBACK *LPMOUSE_EVENT_PROC)(DWORD,DWORD,DWORD,DWORD,DWORD);
27 WORD WINAPI MOUSE_Inquire(LPMOUSEINFO lpMouseInfo);
28 VOID WINAPI MOUSE_Enable(LPMOUSE_EVENT_PROC lpMouseEventProc);
29 VOID WINAPI MOUSE_Disable(VOID);
31 /* Wine internals */
33 #define WINE_MOUSEEVENT_MAGIC ( ('M'<<24)|('A'<<16)|('U'<<8)|'S' )
34 typedef struct _WINE_MOUSEEVENT
36 DWORD magic;
37 DWORD keyState;
38 DWORD time;
39 HWND32 hWnd;
41 } WINE_MOUSEEVENT;
43 void MOUSE_SendEvent( DWORD mouseStatus, DWORD posX, DWORD posY,
44 DWORD keyState, DWORD time, HWND32 hWnd );
46 #endif /* __WINE_MOUSE_H */