Changeset 392 for trunk/src/user32/new/wingdi.cpp
- Timestamp:
- Jul 25, 1999, 5:51:57 PM (26 years ago)
- 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:22sandervl Exp $ */1 /* $Id: wingdi.cpp,v 1.8 1999-07-25 15:51:57 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window graphics apis for OS/2 … … 65 65 window = Win32Window::GetWindowFromHandle(hwnd); 66 66 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 69 76 } 70 77 dprintf(("GetDC %x", hwnd)); … … 89 96 int WIN32API ReleaseDC(HWND hwnd, HDC hdc) 90 97 { 98 dprintf(("ReleaseDC %x %x", hwnd, hdc)); 91 99 #ifdef OPEN32_GDI 92 100 return O32_ReleaseDC(hwnd,hdc); … … 115 123 //****************************************************************************** 116 124 //****************************************************************************** 125 HWND 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.