Ignore:
Timestamp:
Jun 28, 2000, 8:08:36 PM (25 years ago)
Author:
sandervl
Message:

findresource cleanup

File:
1 edited

Legend:

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

    r3757 r3765  
    1 /* $Id: winimagepeldr.cpp,v 1.48 2000-06-26 12:23:54 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.49 2000-06-28 18:08:36 sandervl Exp $ */
    22
    33/*
     
    501501  SetPDBInstance(hinstance);
    502502
    503   //PH: get pResDir pointer correct first, since processImports may
     503  //PH: get pResRootDir pointer correct first, since processImports may
    504504  //    implicitly call functions depending on it.
    505505  if(GetSectionHdrByName (win32file, &sh, ".rsrc")) {
    506506        //get offset in resource object of directory entry
    507         pResDir = (PIMAGE_RESOURCE_DIRECTORY)(sh.VirtualAddress + realBaseAddress);
     507        pResRootDir = (PIMAGE_RESOURCE_DIRECTORY)(sh.VirtualAddress + realBaseAddress);
    508508        ulRVAResourceSection = sh.VirtualAddress;
    509509  }
Note: See TracChangeset for help on using the changeset viewer.