Changeset 8608


Ignore:
Timestamp:
Jun 9, 2002, 12:47:50 PM (23 years ago)
Author:
sandervl
Message:

SendMessageTimeoutA/W fixes for inter-process/thread message sending

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/user32/message.cpp

    r7808 r8608  
    1 /* $Id: message.cpp,v 1.2 2002-02-06 16:31:48 sandervl Exp $ */
     1/* $Id: message.cpp,v 1.3 2002-06-09 10:47:50 sandervl Exp $ */
    22/*
    33 * Win32 window message APIs for OS/2
     
    209209    {
    210210        //otherwise use WinSendMsg to send it to the right process/thread
    211         dprintf(("SendMessages (inter-process) %x %x %x %x", Win32ToOS2Handle(hwnd), msg, wparam, lparam));
    212         ret = OSLibSendMessage(Win32ToOS2Handle(hwnd), msg, wparam, lparam, TRUE);
     211        dprintf(("SendMessages (inter-process/thread) %x %x %x %x", Win32ToOS2Handle(hwnd), msg, wparam, lparam));
     212        result = OSLibSendMessage(Win32ToOS2Handle(hwnd), msg, wparam, lparam, TRUE);
     213        ret = 1;
    213214    }
    214215
     
    253254    {
    254255        //otherwise use WinSendMsg to send it to the right process/thread
    255         dprintf(("SendMessages (inter-process) %x %x %x %x", Win32ToOS2Handle(hwnd), msg, wparam, lparam));
    256         ret = OSLibSendMessage(Win32ToOS2Handle(hwnd), msg, wparam, lparam, FALSE);
     256        dprintf(("SendMessages (inter-process/thread) %x %x %x %x", Win32ToOS2Handle(hwnd), msg, wparam, lparam));
     257        result = OSLibSendMessage(Win32ToOS2Handle(hwnd), msg, wparam, lparam, FALSE);
     258        ret = 1;
    257259    }
    258260    if (ret && res_ptr) *res_ptr = result;
     
    476478
    477479        //otherwise use PostMessage to send it to the right process/thread
    478         dprintf(("SendMessageCallbackA (inter-process) %x %x %x %x", hwnd, uMsg, wParam, lParam));
     480        dprintf(("SendMessageCallbackA (inter-process/thread) %x %x %x %x", hwnd, uMsg, wParam, lParam));
    479481        PostMessageA(hwnd, uMsg, wParam, lParam);
    480482        return TRUE;
     
    556558
    557559        //otherwise use PostMessage to send it to the right process/thread
    558         dprintf(("SendMessageCallbackW (inter-process) %x %x %x %x", hwnd, uMsg, wParam, lParam));
     560        dprintf(("SendMessageCallbackW (inter-process/thread) %x %x %x %x", hwnd, uMsg, wParam, lParam));
    559561        PostMessageW(hwnd, uMsg, wParam, lParam);
    560562        return TRUE;
Note: See TracChangeset for help on using the changeset viewer.