Changeset 10583 for trunk/src/gdi32/oslibgpi.cpp
- Timestamp:
- Apr 14, 2004, 11:44:36 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/oslibgpi.cpp
r10374 r10583 1 /* $Id: oslibgpi.cpp,v 1.1 7 2004-01-11 11:42:19sandervl Exp $ */1 /* $Id: oslibgpi.cpp,v 1.18 2004-04-14 09:44:13 sandervl Exp $ */ 2 2 3 3 /* … … 395 395 BOOL rc = GpiSetAttrs(GetDCData(pHps)->hps,PRIM_LINE,LBB_COLOR,0,&lbNew); 396 396 if(rc == FALSE) { 397 dprintf(("GpiSetAttrs /GpiSetPelfailed with %x", WinGetLastError(0)));397 dprintf(("GpiSetAttrs failed with %x", WinGetLastError(0))); 398 398 } 399 399 else { 400 400 rc = GpiSetPel(GetDCData(pHps)->hps,(PPOINTL)pt) != GPI_ERROR; 401 if(rc == FALSE && LOWORD(WinGetLastError(0)) == PMERR_INV_IN_PATH) {402 dprintf(("WARNING: GpiSetPel invalid in path; retrying with GpiLine"));401 if(rc == FALSE) { 402 dprintf(("WARNING: GpiSetPel failed %x (invalid in path?); retrying with GpiLine", WinGetLastError(0))); 403 403 rc = GpiLine(GetDCData(pHps)->hps,(PPOINTL)pt) != GPI_ERROR; 404 404 }
Note:
See TracChangeset
for help on using the changeset viewer.