Ignore:
Timestamp:
Dec 29, 2000, 7:41:23 PM (25 years ago)
Author:
sandervl
Message:

Win32ToOS2Handle & OS2ToWin32Handle exported with stdcall calling convention

File:
1 edited

Legend:

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

    r4825 r4848  
    1 /* $Id: window.cpp,v 1.85 2000-12-17 15:04:13 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.86 2000-12-29 18:40:00 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    3737#include <win\win.h>
    3838#include <heapstring.h>
     39#include <winuser32.h>
    3940
    4041#define DBG_LOCALLOG    DBG_window
     
    669670    BOOL activate;
    670671
    671     hwnd_O    = Win32BaseWindow::Win32ToOS2Handle (hwnd);
     672    hwnd_O    = Win32ToOS2Handle (hwnd);
    672673    lastFocus = OSLibWinQueryFocus (OSLIB_HWND_DESKTOP);
    673674    activate  = ((hwnd_O == lastFocus) || OSLibWinIsChild (lastFocus, hwnd_O));
    674     lastFocus_W = Win32BaseWindow::OS2ToWin32Handle (lastFocus);
     675    lastFocus_W = OS2ToWin32Handle (lastFocus);
    675676
    676677    dprintf(("SetFocus %x (%x) -> %x (%x)\n", lastFocus_W, lastFocus, hwnd, hwnd_O));
     
    685686
    686687    hwnd = OSLibWinQueryFocus(OSLIB_HWND_DESKTOP);
    687     hwnd = Win32BaseWindow::OS2ToWin32Handle(hwnd);
     688    hwnd = OS2ToWin32Handle(hwnd);
    688689    dprintf(("USER32: GetFocus %x\n", hwnd));
    689690    return hwnd;
     
    705706{
    706707    dprintf(("USER32: LockWindowUpdate %x", hwnd));
    707     return OSLibWinLockWindowUpdate(Win32BaseWindow::Win32ToOS2Handle(hwnd));
     708    return OSLibWinLockWindowUpdate(Win32ToOS2Handle(hwnd));
    708709}
    709710//******************************************************************************
     
    11481149{
    11491150    dprintf(("FlashWindow %x %d\n", hwnd, fFlash));
    1150 //    return OSLibWinFlashWindow(Win32BaseWindow::Win32ToOS2Handle(hwnd), fFlash);
     1151//    return OSLibWinFlashWindow(Win32ToOS2Handle(hwnd), fFlash);
    11511152    return 1;
    11521153}
     
    15211522    if(hwndOS2)
    15221523    {
    1523       hwnd = Win32BaseWindow::OS2ToWin32Handle(hwndOS2);
     1524      hwnd = OS2ToWin32Handle(hwndOS2);
    15241525      if(hwnd) {
    15251526              dprintf(("WindowFromPoint (%d,%d) %x->%x\n", point.x, point.y, hwndOS2, hwnd));
     
    15911592{
    15921593    dprintf(("USER32:  ArrangeIconicWindows %x", hwnd));
    1593     return O32_ArrangeIconicWindows(Win32BaseWindow::Win32ToOS2Handle(hwnd));
     1594    return O32_ArrangeIconicWindows(Win32ToOS2Handle(hwnd));
    15941595}
    15951596//******************************************************************************
     
    16661667 HWND hwnd;
    16671668
    1668     hwnd = Win32BaseWindow::OS2ToWin32Handle(OSLibWinQueryActiveWindow());
     1669    hwnd = OS2ToWin32Handle(OSLibWinQueryActiveWindow());
    16691670    dprintf(("USER32: GetForegroundWindow returned %x", hwnd));
    16701671    return hwnd;
     
    16761677 HWND hwnd;
    16771678
    1678     hwnd = Win32BaseWindow::Win32ToOS2Handle(hWnd);
    1679     hwnd = Win32BaseWindow::OS2ToWin32Handle(O32_GetLastActivePopup(hwnd));
     1679    hwnd = Win32ToOS2Handle(hWnd);
     1680    hwnd = OS2ToWin32Handle(O32_GetLastActivePopup(hwnd));
    16801681
    16811682    dprintf(("GetLastActivePopup %x returned %x NOT CORRECTLY IMPLEMENTED", hWnd, hwnd));
     
    16871688{
    16881689    dprintf2(("USER32:  GetWindowThreadProcessId"));
    1689     hWnd = Win32BaseWindow::Win32ToOS2Handle(hWnd);
     1690    hWnd = Win32ToOS2Handle(hWnd);
    16901691
    16911692    return O32_GetWindowThreadProcessId(hWnd,lpdwProcessId);
Note: See TracChangeset for help on using the changeset viewer.