Perform 16/32A/32W message mapping for posted messages.
[wine/wine-kai.git] / include / message.h
blobfd86651e80546243f2f48b17548cf29dd4042a74
1 /*
2 * Message definitions
4 * Copyright 1993 Alexandre Julliard
5 */
7 #ifndef __WINE_MESSAGE_H
8 #define __WINE_MESSAGE_H
10 #include "win.h"
11 #include "queue.h"
13 extern DWORD MSG_WineStartTicks; /* Ticks at Wine startup */
15 /* message.c */
16 extern BOOL MSG_InternalGetMessage( int type, MSG *msg, HWND hwnd,
17 HWND hwndOwner, WPARAM code,
18 WORD flags, BOOL sendIdle, BOOL* idleSent );
20 /* timer.c */
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 );
27 /* event.c */
28 typedef struct tagEVENT_DRIVER {
29 BOOL (*pInit)(void);
30 void (*pSynchronize)(void);
31 BOOL (*pCheckFocus)(void);
32 void (*pUserRepaintDisable)(BOOL);
33 } EVENT_DRIVER;
35 extern EVENT_DRIVER *EVENT_Driver;
37 extern BOOL EVENT_Init( void );
38 extern void EVENT_Synchronize( void );
39 extern BOOL EVENT_CheckFocus( void );
41 /* input.c */
43 extern HWND EVENT_Capture( HWND, INT16 );
45 extern void joySendMessages(void);
47 #endif /* __WINE_MESSAGE_H */