Changeset 4076 for branches/GRACE/src/win32k/pe2lx/pe2lx.cpp
- Timestamp:
- Aug 24, 2000, 3:36:29 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GRACE/src/win32k/pe2lx/pe2lx.cpp
r4068 r4076 1 /* $Id: pe2lx.cpp,v 1.18.4. 6 2000-08-22 03:00:22bird Exp $1 /* $Id: pe2lx.cpp,v 1.18.4.7 2000-08-24 01:36:26 bird Exp $ 2 2 * 3 3 * Pe2Lx class implementation. Ring 0 and Ring 3 … … 1328 1328 #ifdef RING0 1329 1329 #if 1 1330 initOdin32Path(); 1330 1331 return ldrOpenPath(pachModname, cchModname, pLdrLv, pfl); 1331 1332 #else … … 4696 4697 BOOL Pe2Lx::initOdin32Path() 4697 4698 { 4698 #if 4699 #ifdef RING0 4699 4700 APIRET rc; 4700 4701 PMTE pMTE; … … 4708 4709 */ 4709 4710 pMTE = NULL; 4710 rc = ldrFindModule("KERNEL32", 8, CLASS_GLOBAL, &pMTE);4711 rc = ldrFindModule("KERNEL32", 8, CLASS_GLOBAL, (PPMTE)SSToDS(&pMTE)); 4711 4712 if (rc == NO_ERROR && pMTE != NULL && pMTE->mte_swapmte != NULL) 4712 4713 { … … 4744 4745 ul = options.fNoLoader; 4745 4746 options.fNoLoader = TRUE; 4746 rc = ldrOpenPath("KERNEL32", 8, &lv, &ful); 4747 lv.lv_class = CLASS_GLOBAL; 4748 rc = ldrOpenPath("KERNEL32", 8, (ldrlv_t*)SSToDS(&lv), (PULONG)SSToDS(&ful)); 4747 4749 options.fNoLoader = ul; 4748 4750 if (rc == NO_ERROR) … … 4754 4756 * We'll close the file handle first of course. 4755 4757 */ 4758 rc = setOdin32Path(ldrpFileNameBuf); 4756 4759 ldrClose(lv.lv_sfn); 4757 return setOdin32Path(ldrpFileNameBuf);4760 return rc; 4758 4761 } 4759 4762
Note:
See TracChangeset
for help on using the changeset viewer.