Release 961222
[wine/gsoc-2012-control.git] / include / message.h
blobf51efd25438d71479f7607619a57a08572f858e4
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 BOOL32 MSG_InternalGetMessage( MSG16 *msg, HWND32 hwnd,
17 HWND32 hwndOwner, WPARAM32 code,
18 WORD flags, BOOL32 sendIdle );
20 /* timer.c */
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 /* event.c */
30 extern BOOL32 EVENT_WaitXEvent( BOOL32 sleep, BOOL32 peek );
31 extern void EVENT_Synchronize(void);
32 extern void EVENT_ProcessEvent( XEvent *event );
33 extern void EVENT_RegisterWindow( WND *pWnd );
34 extern void EVENT_DestroyWindow( WND *pWnd );
35 extern void EVENT_DummyMotionNotify(void);
37 #endif /* __WINE_MESSAGE_H */