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 BOOL32
MSG_InternalGetMessage( MSG16
*msg
, HWND32 hwnd
,
17 HWND32 hwndOwner
, WPARAM32 code
,
18 WORD flags
, BOOL32 sendIdle
);
21 extern void TIMER_RemoveWindowTimers( HWND32 hwnd
);
22 extern void TIMER_RemoveQueueTimers( HQUEUE16 hqueue
);
23 extern void TIMER_SwitchQueue( HQUEUE16 hOldQueue
, HQUEUE16 hNewQueue
);
24 extern LONG
TIMER_GetNextExpiration(void);
25 extern void TIMER_ExpireTimers(void);
26 extern BOOL32
TIMER_GetTimerMsg( MSG16
*msg
, HWND32 hwnd
,
27 HQUEUE16 hQueue
, BOOL32 remove
);
29 #define EVENT_IO_READ 0
30 #define EVENT_IO_WRITE 1
31 #define EVENT_IO_EXCEPT 2
34 extern void EVENT_AddIO( int fd
, unsigned flag
);
35 extern BOOL32
EVENT_CheckFocus( void );
36 extern void EVENT_DeleteIO( int fd
, unsigned flag
);
37 extern BOOL32
EVENT_Init( void );
38 extern BOOL32
EVENT_WaitNetEvent( BOOL32 sleep
, BOOL32 peek
);
39 extern void EVENT_Synchronize(void);
40 extern void EVENT_ProcessEvent( XEvent
*event
);
41 extern void EVENT_RegisterWindow( WND
*pWnd
);
42 extern void EVENT_DestroyWindow( WND
*pWnd
);
43 extern void EVENT_DummyMotionNotify(void);
44 extern HWND32
EVENT_Capture( HWND32
, INT16
);
45 extern INT16
EVENT_GetCaptureInfo(void);
47 extern void joySendMessages(void);
49 #endif /* __WINE_MESSAGE_H */