Changeset 21916 for trunk/src/user32/loadres.cpp
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/user32/loadres.cpp
r21303 r21916 19 19 */ 20 20 #include <os2win.h> 21 #include <user32.h>21 #include "user32.h" 22 22 #include <heapstring.h> 23 #include <oslibres.h>24 #include <win \virtual.h>23 #include "oslibres.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.