- Timestamp:
- Jun 1, 2001, 9:49:30 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibitmap.cpp
r5825 r5855 1 /* $Id: dibitmap.cpp,v 1.1 7 2001-05-29 09:45:21sandervl Exp $ */1 /* $Id: dibitmap.cpp,v 1.18 2001-06-01 07:49:30 sandervl Exp $ */ 2 2 3 3 /* … … 284 284 int rc; 285 285 286 dprintf(("GDI32: GetDIBits %x %x %d %d %x %x (biBitCount %d) %d", hdc, hBitmap, uStartScan, cScanLines, lpvBits, lpbi, lpbi->bmiHeader.biBitCount, uUsage)); 286 287 rc = O32_GetDIBits(hdc, hBitmap, uStartScan, cScanLines, lpvBits, lpbi, uUsage); 287 288 // set proper color masks! … … 299 300 break; 300 301 } 301 302 dprintf(("GDI32: GetDIBits %x %x %d %d %x %x %d returned %d", hdc, hBitmap, uStartScan, cScanLines, lpvBits, lpbi, uUsage, rc)); 302 //WGSS/Open32 returns 0 when querying the bitmap info; must return nr of scanlines 303 //as 0 signals failure 304 if(lpvBits == NULL) { 305 rc = cScanLines; 306 } 307 dprintf(("GDI32: GetDIBits return rc %d", rc)); 303 308 return rc; 304 309 }
Note:
See TracChangeset
for help on using the changeset viewer.