Created separate dlls for user,gdi,ttydrv,x11drv.
[wine] / include / message.h
1 /*
2  * Message definitions
3  *
4  * Copyright 1993 Alexandre Julliard
5  */
6
7 #ifndef __WINE_MESSAGE_H
8 #define __WINE_MESSAGE_H
9
10 #include "windef.h"
11
12 struct tagMSG;
13
14 extern DWORD MSG_WineStartTicks;  /* Ticks at Wine startup */
15
16 /* message.c */
17 extern BOOL MSG_InternalGetMessage( int type, struct tagMSG *msg, HWND hwnd,
18                                     HWND hwndOwner, WPARAM code,
19                                     WORD flags, BOOL sendIdle, BOOL* idleSent );
20
21 /* timer.c */
22 extern BOOL TIMER_Init( void );
23 extern void TIMER_RemoveWindowTimers( HWND hwnd );
24 extern void TIMER_RemoveQueueTimers( HQUEUE16 hqueue );
25 extern BOOL TIMER_GetTimerMsg( struct tagMSG *msg, HWND hwnd,
26                                  HQUEUE16 hQueue, BOOL remove );
27
28 /* event.c */
29 typedef struct tagEVENT_DRIVER {
30   BOOL   (*pInit)(void);
31   void   (*pSynchronize)(void);
32   BOOL   (*pCheckFocus)(void);
33   void   (*pUserRepaintDisable)(BOOL);
34 } EVENT_DRIVER;
35
36 extern EVENT_DRIVER *EVENT_Driver;
37
38 extern BOOL EVENT_Init( void );
39 extern void EVENT_Synchronize( void );
40 extern BOOL EVENT_CheckFocus( void );
41
42 /* input.c */
43
44 extern HWND EVENT_Capture( HWND, INT16 );
45
46 #endif  /* __WINE_MESSAGE_H */