Ignore:
Timestamp:
Dec 29, 1999, 3:37:19 PM (26 years ago)
Author:
sandervl
Message:

PostMessage memory leak fixed

File:
1 edited

Legend:

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

    r2246 r2250  
    1 /* $Id: windowmsg.cpp,v 1.14 1999-12-29 12:39:45 sandervl Exp $ */
     1/* $Id: windowmsg.cpp,v 1.15 1999-12-29 14:37:19 sandervl Exp $ */
    22/*
    33 * Win32 window message APIs for OS/2
     
    175175    }
    176176    dprintf(("PostMessageA, %x %x %x %x", hwnd, msg, wParam, lParam));
    177     return window->PostMessageA(msg, wParam, lParam);
     177    return OSLibPostMessage(window->getOS2WindowHandle(), msg, wParam, lParam, FALSE);
    178178}
    179179//******************************************************************************
     
    198198    }
    199199    dprintf(("PostMessageW, %x %x %x %x", hwnd, msg, wParam, lParam));
    200     return window->PostMessageW(msg, wParam, lParam);
     200    return OSLibPostMessage(window->getOS2WindowHandle(), msg, wParam, lParam, TRUE);
     201}
     202//******************************************************************************
     203//******************************************************************************
     204BOOL WIN32API PostThreadMessageA( DWORD threadid, UINT msg, WPARAM wParam, LPARAM lParam)
     205{
     206    return OSLibPostThreadMessage(threadid, msg, wParam, lParam, FALSE);
     207}
     208//******************************************************************************
     209//******************************************************************************
     210BOOL WIN32API PostThreadMessageW( DWORD threadid, UINT msg, WPARAM wParam, LPARAM lParam)
     211{
     212    return OSLibPostThreadMessage(threadid, msg, wParam, lParam, TRUE);
    201213}
    202214//******************************************************************************
     
    221233    dprintf(("USER32: ReplyMessage %x", result));
    222234    return OSLibWinReplyMessage(result);
    223 }
    224 //******************************************************************************
    225 //******************************************************************************
    226 BOOL WIN32API PostThreadMessageA( DWORD threadid, UINT msg, WPARAM wParam, LPARAM lParam)
    227 {
    228     return Win32BaseWindow::PostThreadMessageA(threadid, msg, wParam, lParam);
    229 }
    230 //******************************************************************************
    231 //******************************************************************************
    232 BOOL WIN32API PostThreadMessageW( DWORD threadid, UINT msg, WPARAM wParam, LPARAM lParam)
    233 {
    234     return Win32BaseWindow::PostThreadMessageW(threadid, msg, wParam, lParam);
    235235}
    236236//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.