Changeset 5393 for trunk/src/kernel32/winimgres.cpp
- Timestamp:
- Mar 28, 2001, 6:21:41 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimgres.cpp
r4471 r5393 1 /* $Id: winimgres.cpp,v 1. 49 2000-10-09 18:35:27sandervl Exp $ */1 /* $Id: winimgres.cpp,v 1.50 2001-03-28 16:21:41 sandervl Exp $ */ 2 2 3 3 /* … … 142 142 pResDirRet = getResSubDirA(pResRootDir, lpszType); 143 143 if(!pResDirRet) { 144 dprintf2(("FindResourceA %s: resource %x (type %x, lang %x) TYPE NOT FOUND", szModule, lpszName, lpszType, lang)); 144 145 SetLastError(ERROR_RESOURCE_TYPE_NOT_FOUND); 145 146 return NULL; … … 147 148 pResDirRet = getResSubDirA(pResDirRet, lpszName); 148 149 if(!pResDirRet) { 150 dprintf2(("FindResourceA %s: resource %x (type %x, lang %x) NAME NOT FOUND", szModule, lpszName, lpszType, lang)); 149 151 SetLastError(ERROR_RESOURCE_NAME_NOT_FOUND); 150 152 return NULL; … … 162 164 163 165 if((ULONG)lpszName != ID_GETFIRST && HIWORD(lpszName)) { 164 dprintf(("FindResource %s: resource %s (type %x, lang %x)", szModule, lpszName, lpszType, lang));165 } 166 else dprintf(("FindResource %s: resource %x (type %x, lang %x)", szModule, lpszName, lpszType, lang));166 dprintf(("FindResourceA %s: resource %s (type %x, lang %x)", szModule, lpszName, lpszType, lang)); 167 } 168 else dprintf(("FindResourceA %s: resource %x (type %x, lang %x)", szModule, lpszName, lpszType, lang)); 167 169 168 170 SetLastError(ERROR_SUCCESS); … … 196 198 pResDirRet = getResSubDirW(pResRootDir, lpszType); 197 199 if(!pResDirRet) { 200 dprintf2(("FindResourceW %s: resource %x (type %x, lang %x) TYPE NOT FOUND", szModule, lpszName, lpszType, lang)); 198 201 SetLastError(ERROR_RESOURCE_TYPE_NOT_FOUND); 199 202 return NULL; … … 201 204 pResDirRet = getResSubDirW(pResDirRet, lpszName); 202 205 if(!pResDirRet) { 206 dprintf2(("FindResourceW %s: resource %x (type %x, lang %x) NAME NOT FOUND", szModule, lpszName, lpszType, lang)); 203 207 SetLastError(ERROR_RESOURCE_NAME_NOT_FOUND); 204 208 return NULL; … … 214 218 } 215 219 else hRes = getResourceLangEx(pResDirRet, lang); 220 221 if((ULONG)lpszName != ID_GETFIRST && HIWORD(lpszName)) { 222 dprintf(("FindResourceW %s: resource %ls (type %x, lang %x)", szModule, lpszName, lpszType, lang)); 223 } 224 else dprintf(("FindResourceW %s: resource %x (type %x, lang %x)", szModule, lpszName, lpszType, lang)); 216 225 217 226 SetLastError(ERROR_SUCCESS);
Note:
See TracChangeset
for help on using the changeset viewer.