Changeset 2552 for trunk/src/user32/dc.cpp
- Timestamp:
- Jan 28, 2000, 11:26:01 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r2529 r2552 1 /* $Id: dc.cpp,v 1.3 7 2000-01-27 17:21:08 cbratschiExp $ */1 /* $Id: dc.cpp,v 1.38 2000-01-28 22:25:59 sandervl Exp $ */ 2 2 3 3 /* … … 438 438 HPS hPS_ownDC = NULLHANDLE; 439 439 440 dprintf (("USER32: BeginPaint(%x)", hWnd));441 442 440 if ( !lpps ) 443 441 { 444 O32_SetLastError (ERROR_INVALID_PARAMETER); 445 return (HDC)NULLHANDLE; 442 dprintf (("USER32: BeginPaint %x invalid parameter %x", hWnd, lpps)); 443 O32_SetLastError (ERROR_INVALID_PARAMETER); 444 return (HDC)NULLHANDLE; 446 445 } 447 446 … … 459 458 if (!pHps) 460 459 { 460 dprintf (("USER32: BeginPaint %x invalid parameter %x", hWnd, lpps)); 461 461 O32_SetLastError (ERROR_INVALID_PARAMETER); 462 462 return (HDC)NULLHANDLE; … … 504 504 505 505 O32_SetLastError(0); 506 dprintf(("USER32: BeginPaint %x -> hdc %x", hWnd, pHps->hps)); 506 507 return (HDC)pHps->hps; 507 508 } … … 688 689 hWindow = HWND_DESKTOP; 689 690 690 dprintf (("User32: GetDCEx hwnd %x (%x %x) -> wnd %x", hwnd, hrgn, flags, wnd));691 692 691 //SvL: Hack for memory.exe (doesn't get repainted properly otherwise) 693 692 // isWindowOwnDC = (((hWindow == HWND_DESKTOP) ? FALSE : (wnd->isOwnDC() && wnd->getOwnDC())) … … 707 706 708 707 pHps->hdcType = TYPE_1; 708 dprintf (("User32: GetDCEx hwnd %x (%x %x) -> wnd %x hdc %x", hwnd, hrgn, flags, wnd, hps)); 709 709 return (HDC)hps; 710 710 } … … 784 784 GpiSetDrawControl (hps, DCTL_DISPLAY, drawingAllowed ? DCTL_ON : DCTL_OFF); 785 785 786 dprintf (("User32: GetDCEx hwnd %x (%x %x) -> hdc %x", hwnd, hrgn, flags, pHps->hps)); 786 787 return (HDC)pHps->hps; 787 788
Note:
See TracChangeset
for help on using the changeset viewer.