1996-05-21 17:01:41 +02:00
|
|
|
/*
|
|
|
|
* Window procedure callbacks definitions
|
|
|
|
*
|
|
|
|
* Copyright 1996 Alexandre Julliard
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_WINPROC_H
|
|
|
|
#define __WINE_WINPROC_H
|
|
|
|
|
|
|
|
#include "wintypes.h"
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
WIN_PROC_INVALID,
|
|
|
|
WIN_PROC_16,
|
|
|
|
WIN_PROC_32A,
|
|
|
|
WIN_PROC_32W
|
|
|
|
} WINDOWPROCTYPE;
|
|
|
|
|
1997-03-29 18:20:20 +01:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
WIN_PROC_CLASS,
|
|
|
|
WIN_PROC_WINDOW,
|
|
|
|
WIN_PROC_TIMER
|
|
|
|
} WINDOWPROCUSER;
|
|
|
|
|
1996-07-05 19:14:13 +02:00
|
|
|
typedef void *HWINDOWPROC; /* Really a pointer to a WINDOWPROC */
|
|
|
|
|
Release 970415
Mon Apr 14 11:22:54 1997 John Harvey <john@division.co.uk>
* [graphics/win16drv/init.c]
Minor changes to help debug problems.
* [if1632/dummy.c] [if1632/gdi.spec]
Dummy routines for StartPage, EndPage, SetAbortProc, AbortProc.
* [misc/printdrv.c] [if1632/gdi.spec] [include/windows.h]
StartDoc16, EndDoc16 new functions.
Sun Apr 13 11:18:35 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [memory/virtual.c]
Implemented MapViewOfFile.
* [debugger/dbg.y]
Added 'info maps' command.
Fri Apr 11 16:34:08 1997 Frans van Dorsselaer <devel@rulhmpc58.LeidenUniv.nl>
* [controls/edit.c] [controls/EDIT.TODO]
Started restructuring. Performance improvements.
Fixed: wordwrap, scrollbar handling, scrolling, painting,
EditWndProc() is now reentrant, wordbreak procs,
better compliance to specs.
New: margins, format rectangle.
* [controls/widgets.c]
Changed the cursor for the edit control class to an I-beam.
* [include/callback.h]
Added 32 bit wordbreak callback.
Mon Apr 7 20:53:28 1997 Albrecht Kleine <kleine@ak.sax.de>
* [objects/metafile.c]
Added handling of some more metafile records:
META_CREATEREGION, META_INVERTREGION etc.
Sat Apr 5 09:23:02 MET DST 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
* [loader/signal.c]
Define kernel sigaction ourselves instead of getting it
from the kernel source.
Wed Apr 2 21:05:00 1997 Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
* [control/menu.c]
Fix return value range for GetMenuState.
* [files/file.c]
Always fill out ofs->szPathName in FILE_DoOpenFile.
* [memory/string.c]
Add debug option string.
* [objects/cursoricon.c]
Fix return value for DestroyIcon32.
Mon Mar 31 17:16:12 1997 Alex Korobka <alex@trantor.pharm.sunysb.edu>
* [DEVELOPERS-HINTS] [misc/*] [windows/*] [graphics/*]
Added description of the source tree. Moved several
files to fit it.
* [misc/shell.c]
Use Win32 heap functions.
1997-04-15 19:19:52 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
WPARAM16 wParam;
|
|
|
|
LPARAM lParam;
|
|
|
|
LRESULT lResult;
|
|
|
|
} MSGPARAM16;
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
WPARAM32 wParam;
|
|
|
|
LPARAM lParam;
|
|
|
|
LRESULT lResult;
|
|
|
|
} MSGPARAM32;
|
|
|
|
|
1996-07-05 19:14:13 +02:00
|
|
|
extern BOOL32 WINPROC_Init(void);
|
|
|
|
extern WNDPROC16 WINPROC_GetProc( HWINDOWPROC proc, WINDOWPROCTYPE type );
|
|
|
|
extern BOOL32 WINPROC_SetProc( HWINDOWPROC *pFirst, WNDPROC16 func,
|
1997-03-29 18:20:20 +01:00
|
|
|
WINDOWPROCTYPE type, WINDOWPROCUSER user );
|
|
|
|
extern void WINPROC_FreeProc( HWINDOWPROC proc, WINDOWPROCUSER user );
|
1996-07-05 19:14:13 +02:00
|
|
|
extern WINDOWPROCTYPE WINPROC_GetProcType( HWINDOWPROC proc );
|
1996-05-21 17:01:41 +02:00
|
|
|
|
1996-07-12 21:02:39 +02:00
|
|
|
extern INT32 WINPROC_MapMsg32ATo32W( UINT32 msg, WPARAM32 wParam,
|
|
|
|
LPARAM *plparam );
|
|
|
|
extern INT32 WINPROC_MapMsg32WTo32A( UINT32 msg, WPARAM32 wParam,
|
|
|
|
LPARAM *plparam );
|
|
|
|
extern INT32 WINPROC_MapMsg16To32A( UINT16 msg16, WPARAM16 wParam16,
|
|
|
|
UINT32 *pmsg32, WPARAM32 *pwparam32,
|
|
|
|
LPARAM *plparam );
|
|
|
|
extern INT32 WINPROC_MapMsg16To32W( UINT16 msg16, WPARAM16 wParam16,
|
|
|
|
UINT32 *pmsg32, WPARAM32 *pwparam32,
|
|
|
|
LPARAM *plparam );
|
|
|
|
extern INT32 WINPROC_MapMsg32ATo16( UINT32 msg32, WPARAM32 wParam32,
|
|
|
|
UINT16 *pmsg16, WPARAM16 *pwparam16,
|
|
|
|
LPARAM *plparam );
|
|
|
|
extern INT32 WINPROC_MapMsg32WTo16( UINT32 msg32, WPARAM32 wParam32,
|
|
|
|
UINT16 *pmsg16, WPARAM16 *pwparam16,
|
|
|
|
LPARAM *plparam );
|
|
|
|
extern void WINPROC_UnmapMsg32ATo32W( UINT32 msg, WPARAM32 wParam,
|
|
|
|
LPARAM lParam );
|
|
|
|
extern void WINPROC_UnmapMsg32WTo32A( UINT32 msg, WPARAM32 wParam,
|
|
|
|
LPARAM lParam );
|
|
|
|
extern void WINPROC_UnmapMsg16To32A( UINT32 msg, WPARAM32 wParam,
|
|
|
|
LPARAM lParam );
|
|
|
|
extern void WINPROC_UnmapMsg16To32W( UINT32 msg, WPARAM32 wParam,
|
|
|
|
LPARAM lParam );
|
Release 970415
Mon Apr 14 11:22:54 1997 John Harvey <john@division.co.uk>
* [graphics/win16drv/init.c]
Minor changes to help debug problems.
* [if1632/dummy.c] [if1632/gdi.spec]
Dummy routines for StartPage, EndPage, SetAbortProc, AbortProc.
* [misc/printdrv.c] [if1632/gdi.spec] [include/windows.h]
StartDoc16, EndDoc16 new functions.
Sun Apr 13 11:18:35 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [memory/virtual.c]
Implemented MapViewOfFile.
* [debugger/dbg.y]
Added 'info maps' command.
Fri Apr 11 16:34:08 1997 Frans van Dorsselaer <devel@rulhmpc58.LeidenUniv.nl>
* [controls/edit.c] [controls/EDIT.TODO]
Started restructuring. Performance improvements.
Fixed: wordwrap, scrollbar handling, scrolling, painting,
EditWndProc() is now reentrant, wordbreak procs,
better compliance to specs.
New: margins, format rectangle.
* [controls/widgets.c]
Changed the cursor for the edit control class to an I-beam.
* [include/callback.h]
Added 32 bit wordbreak callback.
Mon Apr 7 20:53:28 1997 Albrecht Kleine <kleine@ak.sax.de>
* [objects/metafile.c]
Added handling of some more metafile records:
META_CREATEREGION, META_INVERTREGION etc.
Sat Apr 5 09:23:02 MET DST 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
* [loader/signal.c]
Define kernel sigaction ourselves instead of getting it
from the kernel source.
Wed Apr 2 21:05:00 1997 Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
* [control/menu.c]
Fix return value range for GetMenuState.
* [files/file.c]
Always fill out ofs->szPathName in FILE_DoOpenFile.
* [memory/string.c]
Add debug option string.
* [objects/cursoricon.c]
Fix return value for DestroyIcon32.
Mon Mar 31 17:16:12 1997 Alex Korobka <alex@trantor.pharm.sunysb.edu>
* [DEVELOPERS-HINTS] [misc/*] [windows/*] [graphics/*]
Added description of the source tree. Moved several
files to fit it.
* [misc/shell.c]
Use Win32 heap functions.
1997-04-15 19:19:52 +02:00
|
|
|
extern void WINPROC_UnmapMsg32ATo16( UINT32 msg, WPARAM32 wParam,
|
|
|
|
LPARAM lParam, MSGPARAM16* pm16 );
|
|
|
|
extern void WINPROC_UnmapMsg32WTo16( UINT32 msg, WPARAM32 wParam,
|
|
|
|
LPARAM lParam, MSGPARAM16* pm16 );
|
1996-07-12 21:02:39 +02:00
|
|
|
|
1997-05-09 10:40:27 +02:00
|
|
|
typedef LRESULT (*WINPROC_CALLWNDPROC16)(WNDPROC16,HWND16,UINT16,WPARAM16,LPARAM);
|
|
|
|
extern void WINPROC_SetCallWndProc16( WINPROC_CALLWNDPROC16 proc );
|
|
|
|
|
1996-05-21 17:01:41 +02:00
|
|
|
#endif /* __WINE_WINPROC_H */
|