Changeset 4164 for trunk/src/win32k/ldr/myldrOpenPath.cpp
- Timestamp:
- Sep 2, 2000, 11:08:23 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/ldr/myldrOpenPath.cpp
r3829 r4164 1 /* $Id: myldrOpenPath.cpp,v 1. 1 2000-07-16 22:21:16bird Exp $1 /* $Id: myldrOpenPath.cpp,v 1.2 2000-09-02 21:08:10 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 /******************************************************************************* … … 25 26 #include <stdlib.h> 26 27 28 #include "devSegDf.h" /* Win32k segment definitions. */ 27 29 #include "log.h" 28 30 #include "dev32.h" … … 134 136 else 135 137 { 136 struct InfoSegLDT *pInfoSeg; 137 pInfoSeg = (struct InfoSegLDT *)D32Hlp_GetDOSVar(DHGETDOSV_SYSINFOSEG, 0); 138 if (pInfoSeg == NULL) 138 PPTDA pPTDA = ptdaGetCur(); 139 if (pPTDA) 139 140 { 140 pExe = getModuleByhMTE(p InfoSeg->LIS_DI); /* LIS_DI is the same as hmod in LINFOSEG from bsedos16.h. */141 pExe = getModuleByhMTE(ptdaGet_ptda_module(pPTDA)); 141 142 #ifdef DEBUG /* While testing! */ 142 kprintf(("myldrOpenPath: getModuleByhMTE returned 0x% x08 for hmod=0x%04\n",143 pExe, p InfoSeg->LIS_DI));143 kprintf(("myldrOpenPath: getModuleByhMTE returned 0x%08x for hmod=0x%04x\n", 144 pExe, ptdaGet_ptda_module(pPTDA))); 144 145 #endif 145 146 } 146 #ifdef DEBUG /* While testing! */147 else148 dprintf(("myldrOpenPath: D32Hlp_GetDOSVar(DHGETDOSV_SYSINFOSEG) failed.\n"));149 #endif150 147 } 151 148
Note:
See TracChangeset
for help on using the changeset viewer.