mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:50:30 +00:00
8b91563079
Sun Jun 16 16:51:31 1996 Alexandre Julliard <julliard@lrc.epfl.ch> * [memory/heap.c] Fixed bug in HeapRealloc (thanks to Bruce Milner). * [misc/wsprintf.c] Fixed argument size for %c format in wsprintf16(). * [objects/dc.c] Don't free hFirstBitmap for saved DCs. * [windows/event.c] Added timer handling in EVENT_WaitXEvent(). * [windows/message.c] In MSG_TranslateMouseMsg and MSG_TranslateKbdMsg, check if the event is for the current task; if not, wake the other task. * [windows/queue.c] [include/queue.h] Added 'self' handle in queue structure. * [windows/timer.c] Added TIMER_ExpireTimers() function to mark expired timers and wake up the corresponding tasks. Thu Jun 13 01:46:33 EDT 1996 William Magro <wmagro@tc.cornell.edu> * [windows/mapping.c] First point in list was mapped multiple times in DPtoLP and LPtoDP. Other points were not mapped. Wed Jun 12 18:08:45 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu> * [misc/shell.c] Some fixes for ExtractIcon function family. * [documentation/user_module] Chapter about windowing and messaging subsystems.
36 lines
1,014 B
C
36 lines
1,014 B
C
/*
|
|
* Message definitions
|
|
*
|
|
* Copyright 1993 Alexandre Julliard
|
|
*/
|
|
|
|
#ifndef __WINE_MESSAGE_H
|
|
#define __WINE_MESSAGE_H
|
|
|
|
#include "win.h"
|
|
#include "queue.h"
|
|
|
|
extern DWORD MSG_WineStartTicks; /* Ticks at Wine startup */
|
|
|
|
/* message.c */
|
|
extern BOOL MSG_InternalGetMessage( SEGPTR msg, HWND hwnd, HWND hwndOwner,
|
|
short code, WORD flags, BOOL sendIdle );
|
|
|
|
/* timer.c */
|
|
extern void TIMER_RemoveWindowTimers( HWND hwnd );
|
|
extern void TIMER_RemoveQueueTimers( HQUEUE hqueue );
|
|
extern void TIMER_SwitchQueue( HQUEUE hOldQueue, HQUEUE hNewQueue );
|
|
extern LONG TIMER_GetNextExpiration(void);
|
|
extern void TIMER_ExpireTimers(void);
|
|
extern BOOL TIMER_GetTimerMsg( MSG16 *msg, HWND hwnd,
|
|
HQUEUE hQueue, BOOL remove );
|
|
|
|
/* event.c */
|
|
extern BOOL EVENT_WaitXEvent( BOOL sleep );
|
|
extern void EVENT_Synchronize(void);
|
|
extern void EVENT_ProcessEvent( XEvent *event );
|
|
extern void EVENT_RegisterWindow( WND *pWnd );
|
|
extern void EVENT_DummyMotionNotify(void);
|
|
|
|
#endif /* __WINE_MESSAGE_H */
|