Changeset 4496 for trunk/src/kernel32/wprocess.cpp
- Timestamp:
- Oct 18, 2000, 7:09:34 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wprocess.cpp
r4486 r4496 1 /* $Id: wprocess.cpp,v 1.10 4 2000-10-16 11:05:15sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.105 2000-10-18 17:09:34 sandervl Exp $ */ 2 2 3 3 /* … … 792 792 * Endif 793 793 */ 794 //only call Open32 if dwFlags == 0 and (LX binary or win32k process)795 if( dwFlags == 0 && (!fPeLoader || fPE != ERROR_SUCCESS))794 //only call Open32 if LX binary or win32k process 795 if(!fPeLoader || fPE != ERROR_SUCCESS) 796 796 { 797 797 hDll = O32_LoadLibrary(szModname); … … 806 806 ((Win32LxDll *)pModule)->setDllHandleOS2(hDll); 807 807 if(fPeLoader) 808 {808 { 809 809 if(pModule->AddRef() == -1) {//-1 -> load failed (attachProcess) 810 dprintf(("Dll %s refused to be loaded; aborting", szModname));811 delete pModule;812 return 0;813 }810 dprintf(("Dll %s refused to be loaded; aborting", szModname)); 811 delete pModule; 812 return 0; 813 } 814 814 } 815 815 } … … 924 924 SetLastError(ERROR_DLL_INIT_FAILED); 925 925 delete peldrDll; 926 return NULL;926 return NULL; 927 927 } 928 928 } … … 933 933 SetLastError(ERROR_INVALID_EXE_SIGNATURE); 934 934 delete peldrDll; 935 return NULL;935 return NULL; 936 936 } 937 937 } … … 941 941 lpszLibFile, hFile, dwFlags, szModname, fPE)); 942 942 SetLastError(fPE); 943 return NULL;943 return NULL; 944 944 } 945 945
Note:
See TracChangeset
for help on using the changeset viewer.