Changeset 6420 for trunk/src


Ignore:
Timestamp:
Jul 30, 2001, 10:48:52 PM (24 years ago)
Author:
sandervl
Message:

PostThreadMessage fix

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r6008 r6420  
    1 /* $Id: oslibmsg.cpp,v 1.39 2001-06-14 11:30:55 sandervl Exp $ */
     1/* $Id: oslibmsg.cpp,v 1.40 2001-07-30 20:48:51 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    517517    packet->wParam   = wParam;
    518518    packet->lParam   = lParam;
     519#ifdef USING_OPEN32
    519520    return O32_PostThreadMessage(threadid, WIN32APP_POSTMSG-OPEN32_MSGDIFF+msg, ((fUnicode) ? WIN32MSG_MAGICW : WIN32MSG_MAGICA), (LPARAM)packet);
    520 }
    521 //******************************************************************************
    522 //******************************************************************************
    523 
     521#else
     522    return O32_PostThreadMessage(threadid, WIN32APP_POSTMSG+msg, ((fUnicode) ? WIN32MSG_MAGICW : WIN32MSG_MAGICA), (LPARAM)packet);
     523#endif
     524}
     525//******************************************************************************
     526//******************************************************************************
     527
  • trunk/src/user32/windowmsg.cpp

    r6012 r6420  
    1 /* $Id: windowmsg.cpp,v 1.27 2001-06-14 14:49:19 sandervl Exp $ */
     1/* $Id: windowmsg.cpp,v 1.28 2001-07-30 20:48:52 sandervl Exp $ */
    22/*
    33 * Win32 window message APIs for OS/2
     
    6262  BOOL ret;
    6363
    64     dprintf2(("GetMessageA %x %d-%d %d", hwnd, uMsgFilterMin, uMsgFilterMax));
     64    dprintf2(("GetMessageA %x %x-%x", hwnd, uMsgFilterMin, uMsgFilterMax));
    6565    ret = OSLibWinGetMsg(pMsg, hwnd, uMsgFilterMin, uMsgFilterMax);
     66    if(ret) dprintf2(("GetMessageA %x %x %x %x", hwnd, pMsg->message, pMsg->wParam, pMsg->lParam));
    6667    HOOK_CallHooksA(WH_GETMESSAGE, HC_ACTION, PM_REMOVE, (LPARAM)pMsg);
    6768    return ret;
     
    7374  BOOL ret;
    7475
    75     dprintf2(("GetMessageW %x %d-%d %d", hwnd, uMsgFilterMin, uMsgFilterMax));
     76    dprintf2(("GetMessageW %x %x-%x", hwnd, uMsgFilterMin, uMsgFilterMax));
    7677    ret = OSLibWinGetMsg(pMsg, hwnd, uMsgFilterMin, uMsgFilterMax, TRUE);
    7778    HOOK_CallHooksW(WH_GETMESSAGE, HC_ACTION, PM_REMOVE, (LPARAM)pMsg);
Note: See TracChangeset for help on using the changeset viewer.