Changeset 9540 for trunk/src/kernel32
- Timestamp:
- Dec 20, 2002, 1:40:44 PM (23 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/windllpe2lx.cpp
r9533 r9540 1 /* $Id: windllpe2lx.cpp,v 1.1 2 2002-12-20 10:38:57sandervl Exp $ */1 /* $Id: windllpe2lx.cpp,v 1.13 2002-12-20 12:40:43 sandervl Exp $ */ 2 2 3 3 /* … … 30 30 #include <winexepe2lx.h> 31 31 #include <wprocess.h> 32 #include <odinpe.h> 32 33 33 34 #include "oslibmisc.h" // OSLibGetDllName … … 100 101 return 0; 101 102 } 102 if ( !pWinMod->init())103 if (pWinMod->init() != LDRERROR_SUCCESS) 103 104 { 104 105 eprintf(("RegisterPe2LxDll: init-method failed.\n")); -
trunk/src/kernel32/winexepe2lx.cpp
r9533 r9540 1 /* $Id: winexepe2lx.cpp,v 1.1 2 2002-12-20 10:38:58sandervl Exp $ */1 /* $Id: winexepe2lx.cpp,v 1.13 2002-12-20 12:40:43 sandervl Exp $ */ 2 2 3 3 /* … … 31 31 #include <wprocess.h> 32 32 #include <win32api.h> 33 #include <odinpe.h> 33 34 34 35 #include "oslibmisc.h" // OSLibGetDllName … … 96 97 return; 97 98 } 98 if ( !pWinPe2LxExe->init())99 if (pWinPe2LxExe->init() != LDRERROR_SUCCESS) 99 100 { 100 101 eprintf(("RegisterPe2LxExe: init-method failed.\n")); … … 190 191 if (pExe) 191 192 { 192 if (pExe->init() )193 if (pExe->init() == LDRERROR_SUCCESS) 193 194 { 194 195 WinExe = pExe; -
trunk/src/kernel32/wprocess.cpp
r9533 r9540 1 /* $Id: wprocess.cpp,v 1.16 7 2002-12-20 10:38:58sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.168 2002-12-20 12:40:44 sandervl Exp $ */ 2 2 3 3 /* … … 31 31 #include <vmutex.h> 32 32 #include <handlemanager.h> 33 #include <odinpe.h> 33 34 34 35 #include "odin32validate.h" … … 1085 1086 * Endif. 1086 1087 */ 1087 if (peldrDll->init(0))1088 if(peldrDll->init(0) == LDRERROR_SUCCESS) 1088 1089 { 1089 1090 peldrDll->AddRef();
Note:
See TracChangeset
for help on using the changeset viewer.