Changeset 4018 for branches/GRACE/src/win32k/ldr/myldrOpenPath.cpp
- Timestamp:
- Aug 15, 2000, 9:03:27 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GRACE/src/win32k/ldr/myldrOpenPath.cpp
r4017 r4018 1 /* $Id: myldrOpenPath.cpp,v 1.1.2. 1 2000-08-15 06:16:04bird Exp $1 /* $Id: myldrOpenPath.cpp,v 1.1.2.2 2000-08-15 07:03:26 bird Exp $ 2 2 * 3 3 * myldrOpenPath - ldrOpenPath used to open executables we'll override … … 16 16 #define INCL_NOPMAPI 17 17 #define INCL_OS2KRNL_TCB 18 #define INCL_OS2KRNL_PTDA 18 19 19 20 /******************************************************************************* … … 134 135 else 135 136 { 136 struct InfoSegLDT *pInfoSeg; 137 pInfoSeg = (struct InfoSegLDT *)D32Hlp_GetDOSVar(DHGETDOSV_LOCINFOSEG, 0); 138 if (pInfoSeg != NULL) 137 PPTDA pPTDA = ptdaGetCur(); 138 if (pPTDA) 139 139 { 140 pExe = getModuleByhMTE(p InfoSeg->LIS_DI); /* LIS_DI is the same as hmod in LINFOSEG from bsedos16.h. */140 pExe = getModuleByhMTE(ptdaGet_ptda_module(pPTDA)); 141 141 #ifdef DEBUG /* While testing! */ 142 142 kprintf(("myldrOpenPath: getModuleByhMTE returned 0x%x08 for hmod=0x%04\n", 143 pExe, p InfoSeg->LIS_DI));143 pExe, ptdaGet_ptda_module(pPTDA))); 144 144 #endif 145 145 } 146 #ifdef DEBUG /* While testing! */147 else148 dprintf(("myldrOpenPath: D32Hlp_GetDOSVar(DHGETDOSV_LOCINFOSEG) failed.\n"));149 #endif150 146 } 151 147
Note:
See TracChangeset
for help on using the changeset viewer.