Changeset 6015 for trunk/src/kernel32/windllbase.cpp
- Timestamp:
- Jun 15, 2001, 11:42:49 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/windllbase.cpp
r5782 r6015 1 /* $Id: windllbase.cpp,v 1.2 5 2001-05-22 14:25:34 sandervlExp $ */1 /* $Id: windllbase.cpp,v 1.26 2001-06-15 09:42:47 bird Exp $ */ 2 2 3 3 /* … … 32 32 #include <pefile.h> 33 33 #include <windllbase.h> 34 #include <winimagepe2lx.h> 35 #include <windllpe2lx.h> 36 #include <winimagelx.h> 37 #include <windlllx.h> 34 38 #include <wprocess.h> 35 39 #include "exceptions.h" … … 824 828 //****************************************************************************** 825 829 //****************************************************************************** 830 Win32DllBase *Win32DllBase::findModuleByOS2Handle(HINSTANCE hinstance) 831 { 832 dlllistmutex.enter(); 833 834 for (Win32DllBase *pMod = Win32DllBase::getFirst(); pMod; pMod = pMod->getNext()) 835 { 836 if (pMod->isLxDll()) 837 { 838 if (((Win32LxDll *)pMod)->getHMOD() == hinstance) 839 { 840 dlllistmutex.leave(); 841 return(pMod); 842 } 843 } 844 else if (pMod->isPe2LxDll()) 845 { 846 if (((Win32Pe2LxDll *)pMod)->getHMOD() == hinstance) 847 { 848 dlllistmutex.leave(); 849 return(pMod); 850 } 851 } 852 } 853 854 dlllistmutex.leave(); 855 return(NULL); 856 } 857 //****************************************************************************** 858 //****************************************************************************** 826 859 BOOL Win32DllBase::isDll() 827 860 {
Note:
See TracChangeset
for help on using the changeset viewer.