No longer directly accessing debuggee memory.
[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 "win.h"
11 #include "queue.h"
12
13 extern DWORD MSG_WineStartTicks;  /* Ticks at Wine startup */
14
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 );
19
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 );
26
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;
34
35 extern EVENT_DRIVER *EVENT_Driver;
36
37 extern BOOL EVENT_Init( void );
38 extern void EVENT_Synchronize( void );
39 extern BOOL EVENT_CheckFocus( void );
40
41 /* input.c */
42
43 extern HWND EVENT_Capture( HWND, INT16 );
44
45 #endif  /* __WINE_MESSAGE_H */