Ignore:
Timestamp:
Jul 25, 1999, 5:51:57 PM (26 years ago)
Author:
sandervl
Message:

Lots of changes; Solitaire now starts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/wingdi.cpp

    r391 r392  
    1 /* $Id: wingdi.cpp,v 1.7 1999-07-25 09:19:22 sandervl Exp $ */
     1/* $Id: wingdi.cpp,v 1.8 1999-07-25 15:51:57 sandervl Exp $ */
    22/*
    33 * Win32 Window graphics apis for OS/2
     
    6565   window = Win32Window::GetWindowFromHandle(hwnd);
    6666   if(!window) {
    67     dprintf(("GetDC, window %x not found", hwnd));
    68     return 0;
     67        dprintf(("GetDC, window %x not found", hwnd));
     68#ifdef OPEN32_GDI
     69        dprintf(("GetDC %x", hwnd));
     70        return O32_GetDC(0);
     71#else
     72        //desktop window?
     73        dprintf(("GetDC %x", hwnd));
     74        return OSLibWinGetPS(OSLIB_HWND_DESKTOP);
     75#endif
    6976   }
    7077   dprintf(("GetDC %x", hwnd));
     
    8996int WIN32API ReleaseDC(HWND hwnd, HDC hdc)
    9097{
     98    dprintf(("ReleaseDC %x %x", hwnd, hdc));
    9199#ifdef OPEN32_GDI
    92100    return O32_ReleaseDC(hwnd,hdc);
     
    115123//******************************************************************************
    116124//******************************************************************************
     125HWND WIN32API WindowFromDC(HDC hdc)
     126{
     127    dprintf(("USER32:  WindowFromDC\n"));
     128#ifdef OPEN32_GDI
     129    return O32_WindowFromDC(hdc);
     130#else
     131    ?????
     132#endif
     133}
     134//******************************************************************************
     135//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.