Changeset 3988 for branches/GRACE/src/win32k/pe2lx/pe2lx.cpp
- Timestamp:
- Aug 11, 2000, 4:26:59 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GRACE/src/win32k/pe2lx/pe2lx.cpp
r3834 r3988 1 /* $Id: pe2lx.cpp,v 1.18.4. 1 2000-07-16 22:43:41bird Exp $1 /* $Id: pe2lx.cpp,v 1.18.4.2 2000-08-11 02:26:59 bird Exp $ 2 2 * 3 3 * Pe2Lx class implementation. Ring 0 and Ring 3 … … 1283 1283 /** 1284 1284 * openPath - opens file eventually searching loader specific paths. 1285 * This method is only called for DLLs. DosLoadModule and Imports. 1286 * 1287 * This base implementation simply calls ldrOpenPath. 1285 * This method is only called for DLLs. (DosLoadModule and Imports.) 1286 * 1288 1287 * 1289 1288 * @returns OS2 return code. … … 1307 1306 ULONG Pe2Lx::openPath(PCHAR pachModname, USHORT cchModname, ldrlv_t *pLdrLv, PULONG pfl) /* (ldrOpenPath) */ 1308 1307 { 1309 #if def RING01308 #if 0 //def RING0 1310 1309 1311 1310 /* These defines sets the order the paths and pathlists are examined. */ … … 1322 1321 #define FINDDLL_LAST FINDDLL_ENDLIBPATH 1323 1322 1324 struct 1323 struct _LocalVars 1325 1324 { 1326 1325 char sz[CCHMAXPATH]; … … 1335 1334 pLdrLv->lv_sfn = 0xffff; 1336 1335 initOdin32Path(); 1337 pVar = rmalloc(sizeof(*pVars));1338 if (pVar == NULL)1336 pVars = (struct _LocalVars*)rmalloc(sizeof(struct _LocalVars)); 1337 if (pVars == NULL) 1339 1338 return ERROR_NOT_ENOUGH_MEMORY; 1340 1339 … … 1347 1346 * Loop thru the paths and pathlists searching them for the filename. 1348 1347 */ 1349 for (i Path = FINDDLL_FIRST; iPath <= FINDDLL_LAST; iPath++)1348 for (int iPath = FINDDLL_FIRST; iPath <= FINDDLL_LAST; iPath++) 1350 1349 { 1351 1350 APIRET rc; /* Returncode from OS/2 APIs. */
Note:
See TracChangeset
for help on using the changeset viewer.