Ignore:
Timestamp:
Aug 6, 2001, 9:36:42 PM (24 years ago)
Author:
sandervl
Message:

SetCustomBuildName change for different ordinal base of custom build subdlls

File:
1 edited

Legend:

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

    r6412 r6471  
    1 /* $Id: winimagelx.cpp,v 1.11 2001-07-30 12:01:25 sandervl Exp $ */
     1/* $Id: winimagelx.cpp,v 1.12 2001-08-06 19:36:42 sandervl Exp $ */
    22
    33/*
     
    7373  if(lpszCustomDllName) {
    7474       name = lpszCustomDllName;
     75       this->dwOrdinalBase = ::dwOrdinalBase;
    7576  }
    76   else name = OSLibGetDllName(hinstance);
     77  else {
     78       name = OSLibGetDllName(hinstance);
     79       this->dwOrdinalBase = 0;
     80  }
    7781
    7882  strcpy(szFileName, name);
     
    119123 ULONG       apiaddr;
    120124
    121   rc = DosQueryProcAddr(hinstanceOS2, ordinal, NULL, (PFN *)&apiaddr);
     125  rc = DosQueryProcAddr(hinstanceOS2, dwOrdinalBase+ordinal, NULL, (PFN *)&apiaddr);
    122126  if(rc) {
    123127        dprintf(("Win32LxImage::getApi -> rc = %d", rc));
Note: See TracChangeset for help on using the changeset viewer.