Changeset 1872 for trunk/src/kernel32/winimagepe2lx.cpp
- Timestamp:
- Nov 29, 1999, 1:05:03 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagepe2lx.cpp
r1844 r1872 1 /* $Id: winimagepe2lx.cpp,v 1. 6 1999-11-26 00:05:19 sandervlExp $ */1 /* $Id: winimagepe2lx.cpp,v 1.7 1999-11-29 00:04:06 bird Exp $ */ 2 2 3 3 /* … … 16 16 #define INCL_DOSERRORS /* DOS Error values */ 17 17 #define INCL_DOSPROFILE /* DosQuerySysState (Toolkit 4.5) */ 18 #define INCL_DOSMODULEMGR /* DOS Module management */18 #define INCL_DOSMODULEMGR /* DOS Module management */ 19 19 20 20 #define ALIGN(a, alignment) (((a) + (alignment - 1UL)) & ~(alignment - 1UL)) … … 152 152 * Read the PE section table the set the RVAs in paSections. 153 153 * Locate and set the entrypoint. 154 * Locate the resource directory (if any). (pResDir, pResourceSectionStart)154 * Locate the resource directory (if any). (pResDir, ulRVAResourceSection) 155 155 * TLS - FIXME! 156 156 * @status completely implemented. … … 236 236 && pNtHdrs->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAddress > 0UL) 237 237 { 238 pResourceSectionStart= pNtHdrs->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAddress;239 pResDir = (PIMAGE_RESOURCE_DIRECTORY)getPointerFromRVA( pResourceSectionStart);238 ulRVAResourceSection = pNtHdrs->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAddress; 239 pResDir = (PIMAGE_RESOURCE_DIRECTORY)getPointerFromRVA(ulRVAResourceSection); 240 240 } 241 241
Note:
See TracChangeset
for help on using the changeset viewer.