Changeset 21720 for branches/gcc-kmk/src/user32/loadres.cpp
- Timestamp:
- Oct 19, 2011, 11:26:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/user32/loadres.cpp
r21303 r21720 22 22 #include <heapstring.h> 23 23 #include <oslibres.h> 24 #include <win \virtual.h>24 #include <win/virtual.h> 25 25 #include "dib.h" 26 26 #include "initterm.h" … … 70 70 hRes = FindResourceW(hinst, (LPWSTR)(((wID>>4)&0xffff)+1), RT_STRINGW); 71 71 if(hRes == NULL) { 72 dprintf(("LoadStringW NOT FOUND from %X, id %d buffersize %d\n", hinst, wID, cchBuffer)); 72 dprintf(("LoadStringW NOT FOUND from %X, id %d buffersize %d\n", hinst, wID, cchBuffer)); 73 73 *lpBuffer = 0; //NT4, SP6 clears first character 74 74 return 0; … … 342 342 headersize = sizeof(BITMAPINFO)+colortablesize+3*sizeof(DWORD); //+ extra space for > 8bpp images 343 343 344 pInfo = (BITMAPINFO *)malloc(headersize+bmpsize); 344 pInfo = (BITMAPINFO *)malloc(headersize+bmpsize); 345 345 if(pInfo == NULL) { 346 346 DebugInt3(); … … 360 360 GetDIBits(hdc, hBitmap, 0, bm.bmHeight, pBitmapData, pInfo, DIB_RGB_COLORS); 361 361 362 res = CreateDIBitmap(hdc, &pInfo->bmiHeader, CBM_INIT, pBitmapData, 362 res = CreateDIBitmap(hdc, &pInfo->bmiHeader, CBM_INIT, pBitmapData, 363 363 pInfo, DIB_RGB_COLORS ); 364 364
Note:
See TracChangeset
for help on using the changeset viewer.