Ignore:
Timestamp:
Dec 24, 1999, 7:42:46 PM (26 years ago)
Author:
sandervl
Message:

Message handling rewrite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibmsg.h

    r1971 r2200  
    1 /* $Id: oslibmsg.h,v 1.6 1999-12-05 00:31:47 sandervl Exp $ */
     1/* $Id: oslibmsg.h,v 1.7 1999-12-24 18:39:10 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    1818ULONG TranslateWinMsg(ULONG msg);
    1919
     20#define ODINMSG_NOEXTRAMSGS     0
     21#define ODINMSG_EXTRAMSGS       1
     22
    2023#ifdef OS2DEF_INCLUDED
    21 void  OS2ToWinMsgTranslate(QMSG *os2Msg, MSG *winMsg, BOOL isUnicode);
     24BOOL  OS2ToWinMsgTranslate(void *pThdb, QMSG *os2Msg, MSG *winMsg, BOOL isUnicode, BOOL fTranslateExtraMsgs = ODINMSG_EXTRAMSGS);
    2225void  WinToOS2MsgTranslate(MSG *winMsg, QMSG *os2Msg, BOOL isUnicode);
     26
     27extern QMSG *MsgThreadPtr;
     28
    2329#endif
    2430
     
    2632                     UINT uMsgFilterMax, BOOL isUnicode = FALSE);
    2733BOOL  OSLibWinPeekMsg(LPMSG pMsg, HWND hwnd, UINT uMsgFilterMin,
    28                       UINT uMsgFilterMax, BOOL fRemove, BOOL isUnicode = FALSE);
     34                      UINT uMsgFilterMax, DWORD fRemove, BOOL isUnicode = FALSE);
    2935void  OSLibWinPostQuitMessage(ULONG nExitCode);
    3036LONG  OSLibWinDispatchMsg(MSG *msg, BOOL isUnicode = FALSE);
     37BOOL  OSLibWinTranslateMessage(MSG *msg);
    3138
    3239ULONG OSLibWinQueryMsgTime();
     
    3744LONG  OSLibWinGetMessageTime();
    3845BOOL  OSLibWinReplyMessage(ULONG result);
    39 
    4046ULONG OSLibWinQueryQueueStatus();
    4147
     
    94100#define WINWM_COPYDATA              0x004A
    95101#define WINWM_CANCELJOURNAL         0x004B
     102#define WINWM_CONTEXTMENU           0x007b
     103#define WINWM_STYLECHANGING         0x007c
     104#define WINWM_STYLECHANGED          0x007d
     105#define WINWM_DISPLAYCHANGE         0x007e
     106#define WINWM_GETICON               0x007f
     107#define WINWM_SETICON               0x0080
    96108#define WINWM_NCCREATE              0x0081
    97109#define WINWM_NCDESTROY             0x0082
     
    129141#define WINWM_INITMENU              0x0116
    130142#define WINWM_INITMENUPOPUP         0x0117
     143#define WINWM_SYSTIMER              0x0118
    131144#define WINWM_MENUSELECT            0x011F
    132145#define WINWM_MENUCHAR              0x0120
     
    187200#define WINWM_HOTKEY                0x0312
    188201#define WINWM_DDE_FIRST             0x03E0
    189 #define WINWM_DDE_INITIATE          (WM_DDE_FIRST)
    190 #define WINWM_DDE_TERMINATE         (WM_DDE_FIRST + 1)
    191 #define WINWM_DDE_ADVISE            (WM_DDE_FIRST + 2)
    192 #define WINWM_DDE_UNADVISE          (WM_DDE_FIRST + 3)
    193 #define WINWM_DDE_ACK               (WM_DDE_FIRST + 4)
    194 #define WINWM_DDE_DATA              (WM_DDE_FIRST + 5)
    195 #define WINWM_DDE_REQUEST           (WM_DDE_FIRST + 6)
    196 #define WINWM_DDE_POKE              (WM_DDE_FIRST + 7)
    197 #define WINWM_DDE_EXECUTE           (WM_DDE_FIRST + 8)
    198 #define WINWM_DDE_LAST              (WM_DDE_FIRST + 8)
     202#define WINWM_DDE_INITIATE          (WINWM_DDE_FIRST)
     203#define WINWM_DDE_TERMINATE         (WINWM_DDE_FIRST + 1)
     204#define WINWM_DDE_ADVISE            (WINWM_DDE_FIRST + 2)
     205#define WINWM_DDE_UNADVISE          (WINWM_DDE_FIRST + 3)
     206#define WINWM_DDE_ACK               (WINWM_DDE_FIRST + 4)
     207#define WINWM_DDE_DATA              (WINWM_DDE_FIRST + 5)
     208#define WINWM_DDE_REQUEST           (WINWM_DDE_FIRST + 6)
     209#define WINWM_DDE_POKE              (WINWM_DDE_FIRST + 7)
     210#define WINWM_DDE_EXECUTE           (WINWM_DDE_FIRST + 8)
     211#define WINWM_DDE_LAST              (WINWM_DDE_FIRST + 8)
    199212#define WINWM_USER                  0x0400
    200213
Note: See TracChangeset for help on using the changeset viewer.