Ignore:
Timestamp:
Nov 29, 1999, 1:05:03 AM (26 years ago)
Author:
bird
Message:

Implemented EnumResourceNamesA/W.

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 sandervl Exp $ */
     1/* $Id: winimagepe2lx.cpp,v 1.7 1999-11-29 00:04:06 bird Exp $ */
    22
    33/*
     
    1616#define INCL_DOSERRORS          /* DOS Error values */
    1717#define INCL_DOSPROFILE         /* DosQuerySysState (Toolkit 4.5) */
    18 #define INCL_DOSMODULEMGR   /* DOS Module management */
     18#define INCL_DOSMODULEMGR       /* DOS Module management */
    1919
    2020#define ALIGN(a, alignment) (((a) + (alignment - 1UL)) & ~(alignment - 1UL))
     
    152152 *            Read the PE section table the set the RVAs in paSections.
    153153 *            Locate and set the entrypoint.
    154  *            Locate the resource directory (if any). (pResDir, pResourceSectionStart)
     154 *            Locate the resource directory (if any). (pResDir, ulRVAResourceSection)
    155155 *            TLS - FIXME!
    156156 * @status    completely implemented.
     
    236236        && pNtHdrs->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAddress > 0UL)
    237237    {
    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);
    240240    }
    241241
Note: See TracChangeset for help on using the changeset viewer.