Ignore:
Timestamp:
Dec 9, 1999, 10:49:41 AM (26 years ago)
Author:
sandervl
Message:

winproc changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/winproc.h

    r4 r2037  
    1 /* $Id: winproc.h,v 1.1 1999-05-24 20:19:22 ktk Exp $ */
     1/* $Id: winproc.h,v 1.2 1999-12-09 09:49:41 sandervl Exp $ */
    22
    33/*
     
    1515{
    1616    WIN_PROC_INVALID,
    17     WIN_PROC_16,
    1817    WIN_PROC_32A,
    1918    WIN_PROC_32W
     
    3130typedef struct
    3231{
    33     WPARAM16    wParam;
    34     LPARAM      lParam;
    35     LRESULT     lResult;
    36 } MSGPARAM16;
    37 
    38 typedef struct
    39 {
    4032    WPARAM    wParam;
    4133    LPARAM      lParam;
     
    4436
    4537extern BOOL WINPROC_Init(void);
    46 extern WNDPROC16 WINPROC_GetProc( HWINDOWPROC proc, WINDOWPROCTYPE type );
    47 extern BOOL WINPROC_SetProc( HWINDOWPROC *pFirst, WNDPROC16 func,
     38extern WNDPROC WINPROC_GetProc( HWINDOWPROC proc, WINDOWPROCTYPE type );
     39extern BOOL WINPROC_SetProc( HWINDOWPROC *pFirst, WNDPROC func,
    4840                               WINDOWPROCTYPE type, WINDOWPROCUSER user );
    4941extern void WINPROC_FreeProc( HWINDOWPROC proc, WINDOWPROCUSER user );
    5042extern WINDOWPROCTYPE WINPROC_GetProcType( HWINDOWPROC proc );
    5143
    52 extern INT WINPROC_MapMsg32ATo32W( HWND hwnd, UINT msg, WPARAM wParam,
    53                                      LPARAM *plparam );
    54 extern INT WINPROC_MapMsg32WTo32A( HWND hwnd, UINT msg, WPARAM wParam,
    55                                      LPARAM *plparam );
    56 extern INT WINPROC_MapMsg16To32A( UINT16 msg16, WPARAM16 wParam16,
    57                                     UINT *pmsg32, WPARAM *pwparam32,
    58                                     LPARAM *plparam );
    59 extern INT WINPROC_MapMsg16To32W( HWND16, UINT16 msg16, WPARAM16 wParam16,
    60                                     UINT *pmsg32, WPARAM *pwparam32,
    61                                     LPARAM *plparam );
    62 extern INT WINPROC_MapMsg32ATo16( HWND hwnd, UINT msg32,
    63                                     WPARAM wParam32, UINT16 *pmsg16,
    64                                     WPARAM16 *pwparam16, LPARAM *plparam );
    65 extern INT WINPROC_MapMsg32WTo16( HWND hwnd, UINT msg32,
    66                                     WPARAM wParam32, UINT16 *pmsg16,
    67                                     WPARAM16 *pwparam16, LPARAM *plparam );
    68 extern void WINPROC_UnmapMsg32ATo32W( HWND hwnd, UINT msg, WPARAM wParam,
    69                                       LPARAM lParam );
    70 extern void WINPROC_UnmapMsg32WTo32A( HWND hwnd, UINT msg, WPARAM wParam,
    71                                       LPARAM lParam );
    72 extern LRESULT WINPROC_UnmapMsg16To32A( HWND16 hwnd, UINT msg, WPARAM wParam,
    73                                         LPARAM lParam, LRESULT result );
    74 extern LRESULT WINPROC_UnmapMsg16To32W( HWND16 hwnd, UINT msg, WPARAM wParam,
    75                                         LPARAM lParam, LRESULT result );
    76 extern void WINPROC_UnmapMsg32ATo16( HWND hwnd, UINT msg, WPARAM wParam,
    77                                      LPARAM lParam, MSGPARAM16* pm16 );
    78 extern void WINPROC_UnmapMsg32WTo16( HWND hwnd, UINT msg, WPARAM wParam,
    79                                      LPARAM lParam, MSGPARAM16* pm16 );
     44LRESULT WINPROC_CallProc32ATo32W( WNDPROC func, HWND hwnd,
     45                                  UINT msg, WPARAM wParam,
     46                                  LPARAM lParam );
     47
     48LRESULT WINPROC_CallProc32WTo32A( WNDPROC func, HWND hwnd,
     49                                  UINT msg, WPARAM wParam,
     50                                  LPARAM lParam );
     51
    8052#endif  /* __WINE_WINPROC_H */
Note: See TracChangeset for help on using the changeset viewer.