4 * Copyright 1993 Alexandre Julliard
7 #ifndef __WINE_MESSAGE_H
8 #define __WINE_MESSAGE_H
13 extern DWORD MSG_WineStartTicks
; /* Ticks at Wine startup */
16 extern BOOL
MSG_InternalGetMessage( MSG
*msg
, HWND hwnd
,
17 HWND hwndOwner
, WPARAM code
,
18 WORD flags
, BOOL sendIdle
);
21 extern BOOL
TIMER_Init( void );
22 extern void TIMER_RemoveWindowTimers( HWND hwnd
);
23 extern void TIMER_RemoveQueueTimers( HQUEUE16 hqueue
);
24 extern BOOL
TIMER_GetTimerMsg( MSG
*msg
, HWND hwnd
,
25 HQUEUE16 hQueue
, BOOL remove
);
28 typedef struct tagEVENT_DRIVER
{
30 void (*pSynchronize
)(void);
31 BOOL (*pCheckFocus
)(void);
32 BOOL (*pQueryPointer
)(DWORD
*, DWORD
*, DWORD
*);
33 void (*pUserRepaintDisable
)(BOOL
);
36 extern EVENT_DRIVER
*EVENT_Driver
;
38 extern BOOL
EVENT_Init( void );
39 extern void EVENT_Synchronize( void );
40 extern BOOL
EVENT_CheckFocus( void );
41 extern BOOL
EVENT_QueryPointer(DWORD
*posX
, DWORD
*posY
, DWORD
*state
);
45 extern HWND
EVENT_Capture( HWND
, INT16
);
46 extern BOOL
EVENT_QueryPointer( DWORD
*posX
, DWORD
*posY
, DWORD
*state
);
48 extern void joySendMessages(void);
50 #endif /* __WINE_MESSAGE_H */