Ignore:
Timestamp:
Sep 18, 1999, 7:47:10 PM (26 years ago)
Author:
sandervl
Message:

Changes for LX image resource support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winimagepeldr.cpp

    r956 r978  
    1 /* $Id: winimagepeldr.cpp,v 1.1 1999-09-15 23:39:08 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.2 1999-09-18 17:47:10 sandervl Exp $ */
    22
    33/*
     
    6464    imageVirtBase(-1), realBaseAddress(0), imageVirtEnd(0),
    6565    nrNameExports(0), nrOrdExports(0), nameexports(NULL), ordexports(NULL),
    66     pResSection(NULL), pResDir(NULL)
     66    pResSection(NULL)
    6767{
    6868  strcpy(this->szFileName, szFileName);
     
    359359  if(GetSectionHdrByName (win32file, &sh, ".rsrc")) {
    360360        //get offset in resource object of directory entry
    361 //      pResDir = (PIMAGE_RESOURCE_DIRECTORY)ImageDirectoryOffset(win32file, IMAGE_DIRECTORY_ENTRY_RESOURCE);
    362361        pResDir = (PIMAGE_RESOURCE_DIRECTORY)(sh.VirtualAddress + realBaseAddress);
     362        pResourceSectionStart = (ULONG)pResSection->virtaddr - oh.ImageBase;
    363363  }
    364364
Note: See TracChangeset for help on using the changeset viewer.