Changeset 4307 for trunk/src/win32k/pe2lx/pe2lx.cpp
- Timestamp:
- Sep 22, 2000, 11:22:43 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/pe2lx/pe2lx.cpp
r4302 r4307 1 /* $Id: pe2lx.cpp,v 1.2 0 2000-09-22 03:47:37bird Exp $1 /* $Id: pe2lx.cpp,v 1.21 2000-09-22 09:22:41 bird Exp $ 2 2 * 3 3 * Pe2Lx class implementation. Ring 0 and Ring 3 … … 1341 1341 * endif 1342 1342 */ 1343 ULONG Pe2Lx::openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful ) /* (ldrOpenPath) */1343 ULONG Pe2Lx::openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful, ULONG lLibPath) /* (ldrOpenPath) */ 1344 1344 { 1345 1345 #ifdef RING0 … … 1349 1349 * Initiate the Odin32 Path static variable and call worker. 1350 1350 */ 1351 return openPath2(pachFilename, cchFilename, pLdrLv, pful, initOdin32Path());1351 return openPath2(pachFilename, cchFilename, pLdrLv, pful, lLibPath, initOdin32Path()); 1352 1352 1353 1353 #else … … 1356 1356 NOREF(pLdrLv); 1357 1357 NOREF(pful); 1358 NOREF(lLibPath); 1358 1359 return ERROR_NOT_SUPPORTED; 1359 1360 #endif … … 1386 1387 * treat it as an ULONG.) 1387 1388 */ 1388 ULONG Pe2Lx::openPath2(PCHAR pachFilename, ULONG cchFilename, ldrlv_t *pLdrLv, PULONG pful, BOOL fOdin32PathValid)1389 ULONG Pe2Lx::openPath2(PCHAR pachFilename, ULONG cchFilename, ldrlv_t *pLdrLv, PULONG pful, ULONG lLibPath, BOOL fOdin32PathValid) 1389 1390 { 1390 1391 #ifdef RING0 … … 1594 1595 */ 1595 1596 rfree(pVars); 1596 return ldrOpenPath(pachFilename, (USHORT)cchFilename, pLdrLv, pful );1597 return ldrOpenPath(pachFilename, (USHORT)cchFilename, pLdrLv, pful, lLibPath); 1597 1598 1598 1599 #else … … 1601 1602 NOREF(pLdrLv); 1602 1603 NOREF(pful); 1604 NOREF(lLibPath); 1603 1605 NOREF(fOdin32PathValid); 1604 1606 return ERROR_NOT_SUPPORTED; … … 4785 4787 options.fNoLoader = TRUE; 4786 4788 lv.lv_class = CLASS_GLOBAL; 4787 rc = openPath2("KERNEL32", 8, (ldrlv_t*)SSToDS(&lv), (PULONG)SSToDS(&ful), FALSE);4789 rc = openPath2("KERNEL32", 8, (ldrlv_t*)SSToDS(&lv), (PULONG)SSToDS(&ful), 3, FALSE); 4788 4790 options.fNoLoader = ul; 4789 4791 if (rc == NO_ERROR)
Note:
See TracChangeset
for help on using the changeset viewer.