Ignore:
Timestamp:
Aug 15, 2000, 8:16:09 AM (25 years ago)
Author:
bird
Message:

Another night of coding/testing/debuging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GRACE/src/win32k/ldr/myldrOpenPath.cpp

    r3829 r4017  
    1 /* $Id: myldrOpenPath.cpp,v 1.1 2000-07-16 22:21:16 bird Exp $
     1/* $Id: myldrOpenPath.cpp,v 1.1.2.1 2000-08-15 06:16:04 bird Exp $
    22 *
    33 * myldrOpenPath - ldrOpenPath used to open executables we'll override
     
    135135        {
    136136            struct InfoSegLDT *pInfoSeg;
    137             pInfoSeg = (struct InfoSegLDT *)D32Hlp_GetDOSVar(DHGETDOSV_SYSINFOSEG, 0);
    138             if (pInfoSeg == NULL)
     137            pInfoSeg = (struct InfoSegLDT *)D32Hlp_GetDOSVar(DHGETDOSV_LOCINFOSEG, 0);
     138            if (pInfoSeg != NULL)
    139139            {
    140140                pExe = getModuleByhMTE(pInfoSeg->LIS_DI); /* LIS_DI is the same as hmod in LINFOSEG from bsedos16.h.  */
     
    146146            #ifdef DEBUG                /* While testing! */
    147147            else
    148                 dprintf(("myldrOpenPath: D32Hlp_GetDOSVar(DHGETDOSV_SYSINFOSEG) failed.\n"));
     148                dprintf(("myldrOpenPath: D32Hlp_GetDOSVar(DHGETDOSV_LOCINFOSEG) failed.\n"));
    149149            #endif
    150150        }
Note: See TracChangeset for help on using the changeset viewer.