Changeset 10300 for trunk/src/version/resource.c
- Timestamp:
- Oct 24, 2003, 5:08:11 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/version/resource.c
r10296 r10300 44 44 #include "wine/debug.h" 45 45 #include <module.h> 46 47 #define DBG_LOCALLOG DBG_resource 48 #include "dbglocal.h" 46 49 47 50 WINE_DEFAULT_DEBUG_CHANNEL(ver); … … 192 195 if ( !resTabSize ) 193 196 { 194 TRACE("No resources in NE dll\n");197 dprintf(("No resources in NE dll\n" )); 195 198 return FALSE; 196 199 } … … 234 237 } 235 238 } 236 TRACE("No typeid entry found for %p\n", typeid);239 dprintf(("No typeid entry found for %p\n", typeid )); 237 240 HeapFree( GetProcessHeap(), 0, resTab ); 238 241 return FALSE; … … 257 260 if (nameInfo->id == id) goto found_name; 258 261 } 259 TRACE("No resid entry found for %p\n", typeid);262 dprintf(("No resid entry found for %p\n", typeid )); 260 263 HeapFree( GetProcessHeap(), 0, resTab ); 261 264 return FALSE; … … 295 298 if ( !resDataDir->Size ) 296 299 { 297 TRACE("No resources in PE dll\n");300 dprintf(("No resources in PE dll\n" )); 298 301 return FALSE; 299 302 } … … 327 330 { 328 331 HeapFree( GetProcessHeap(), 0, sections ); 329 TRACE("Couldn't find resource section\n");332 dprintf(("Couldn't find resource section\n" )); 330 333 return FALSE; 331 334 } … … 350 353 if ( !resPtr ) 351 354 { 352 TRACE("No typeid entry found for %p\n", typeid);355 dprintf(("No typeid entry found for %p\n", typeid )); 353 356 goto done; 354 357 } … … 356 359 if ( !resPtr ) 357 360 { 358 TRACE("No resid entry found for %p\n", resid);361 dprintf(("No resid entry found for %p\n", resid )); 359 362 goto done; 360 363 } … … 362 365 if ( !resPtr ) 363 366 { 364 TRACE("No default language entry found for %p\n", resid);367 dprintf(("No default language entry found for %p\n", resid )); 365 368 goto done; 366 369 } … … 376 379 if ( i == nSections ) 377 380 { 378 TRACE("Couldn't find resource data section\n");381 dprintf(("Couldn't find resource data section\n" )); 379 382 goto done; 380 383 } … … 404 407 DWORD reslen; 405 408 406 TRACE("(%s,type=0x%lx,id=0x%lx,off=%p)\n",409 dprintf(("(%s,type=0x%lx,id=0x%lx,off=%p)\n", 407 410 debugstr_a(lpszFileName), (LONG)lpszResType, (LONG)lpszResId, 408 lpszResId ) ;411 lpszResId )); 409 412 410 413 lzfd = LZOpenFileA( (LPSTR)lpszFileName, &ofs, OF_READ ); … … 441 444 DWORD reslen = dwResLen; 442 445 443 TRACE("(%s,type=0x%lx,id=0x%lx,off=%ld,len=%ld,data=%p)\n",446 dprintf(("(%s,type=0x%lx,id=0x%lx,off=%ld,len=%ld,data=%p)\n", 444 447 debugstr_a(lpszFileName), (LONG)lpszResType, (LONG)lpszResId, 445 dwFileOffset, dwResLen, lpvData ) ;448 dwFileOffset, dwResLen, lpvData )); 446 449 447 450 lzfd = LZOpenFileA( (LPSTR)lpszFileName, &ofs, OF_READ );
Note:
See TracChangeset
for help on using the changeset viewer.