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/winimagelx.cpp

    r956 r978  
    1 /* $Id: winimagelx.cpp,v 1.1 1999-09-15 23:39:07 sandervl Exp $ */
     1/* $Id: winimagelx.cpp,v 1.2 1999-09-18 17:47:10 sandervl Exp $ */
    22
    33/*
     
    4040//******************************************************************************
    4141//******************************************************************************
    42 Win32LxImage::Win32LxImage(HINSTANCE hInstance)
     42Win32LxImage::Win32LxImage(HINSTANCE hInstance, PVOID pResData)
    4343               : Win32ImageBase(hInstance)
    4444{
     
    5050  strcpy(szFileName, name);
    5151  strupr(szFileName);
     52
     53  //Pointer to PE resource tree generates by wrc (or NULL for system dlls)
     54  pResDir = (PIMAGE_RESOURCE_DIRECTORY)pResData;
     55
     56  //pResourceSectionStart contains the virtual address of the imagebase in the PE header
     57  //for the resource section (images loaded by the pe.exe)
     58  //For LX images, this is 0 as OffsetToData contains a relative offset
     59  pResourceSectionStart = 0;
    5260}
    5361//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.