Changeset 529 for trunk/src/kernel32/winimgres.cpp
- Timestamp:
- Aug 17, 1999, 6:35:30 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimgres.cpp
r464 r529 1 /* $Id: winimgres.cpp,v 1. 5 1999-08-09 22:55:11 phaller Exp $ */1 /* $Id: winimgres.cpp,v 1.6 1999-08-17 16:35:11 phaller Exp $ */ 2 2 3 3 /* … … 16 16 #include <stdlib.h> 17 17 #include <string.h> 18 #include <odincrt.h>19 18 20 19 #include "misc.h" … … 161 160 unicodestr += *unicodestr; 162 161 } 163 ODIN_FS_BEGIN 162 164 163 res = new Win32Resource(this, id, NTRT_STRING, (ULONG)*unicodestr, (char *)unicodestr); 165 ODIN_FS_END166 164 if(res == NULL) { 167 165 dprintf(("new Win32Resource failed!\n")); … … 170 168 } 171 169 else 172 ODIN_FS_BEGIN173 170 res = new Win32Resource(this, id, type, pData->Size, resdata); 174 ODIN_FS_END175 171 176 172 return res; … … 307 303 if(hres) 308 304 { 309 ODIN_FS_BEGIN310 305 res = new Win32Resource(this, hres, (ULONG)lpszName, (ULONG)szType); 311 ODIN_FS_END312 306 } 313 307 … … 316 310 if(hres) 317 311 { 318 ODIN_FS_BEGIN319 312 res = new Win32Resource(this, hres, (ULONG)lpszName, (ULONG)szType); 320 ODIN_FS_END321 313 } 322 314 else dprintf(("FindResourceA can't find string %d\n", (int)lpszName)); … … 408 400 if(hres) 409 401 { 410 ODIN_FS_BEGIN411 402 res = new Win32Resource(this, hres, (ULONG)lpszName, (ULONG)szType); 412 ODIN_FS_END413 403 } 414 404 … … 417 407 if(hres) 418 408 { 419 ODIN_FS_BEGIN420 409 res = new Win32Resource(this, hres, (ULONG)lpszName, (ULONG)szType); 421 ODIN_FS_END422 410 } 423 411 else dprintf(("FindResourceW can't find string %d\n", (int)lpszName));
Note:
See TracChangeset
for help on using the changeset viewer.