Changeset 4003 for trunk/src/kernel32/windlllx.cpp
- Timestamp:
- Aug 12, 2000, 6:58:40 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/windlllx.cpp
r3998 r4003 1 /* $Id: windlllx.cpp,v 1.1 3 2000-08-11 21:45:23sandervl Exp $ */1 /* $Id: windlllx.cpp,v 1.14 2000-08-12 16:58:39 sandervl Exp $ */ 2 2 3 3 /* … … 228 228 ULONG ret; 229 229 APIRET rc; 230 BOOL fNoUnload = fDisableUnload; //only set for kernel32.dll 230 231 231 232 hinst = hinstanceOS2; 232 233 ret = Win32DllBase::Release(); 233 if(ret == 0 && !f DisableUnload) {//only set for kernel32.dll (fDisableUnload)234 if(ret == 0 && !fNoUnload) {//only set for kernel32.dll (fDisableUnload) 234 235 //DosFreeModule sends a termination message to the dll. 235 236 //The LX dll informs us when it's removed (UnregisterDll call) … … 265 266 dlllistmutex.enter(); 266 267 267 Win32 LxDll *mod = (Win32LxDll*)Win32DllBase::head;268 Win32DllBase *mod = Win32DllBase::getFirst(); 268 269 while(mod != NULL) { 269 if(mod->isLxDll() && mod->hinstanceOS2 == hinstance) { 270 dlllistmutex.leave(); 271 return(mod); 270 if(mod->isLxDll()) { 271 Win32LxDll *lxdll = (Win32LxDll *)mod; 272 if(lxdll->hinstanceOS2 == hinstance) { 273 dlllistmutex.leave(); 274 return(lxdll); 275 } 272 276 } 273 mod = (Win32LxDll*)mod->next;277 mod = mod->getNext(); 274 278 } 275 279 dlllistmutex.leave();
Note:
See TracChangeset
for help on using the changeset viewer.