Changeset 6412 for trunk/src/kernel32
- Timestamp:
- Jul 30, 2001, 2:02:45 PM (24 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/initterm.cpp
r6411 r6412 147 147 HMODULE hModule; 148 148 149 DosQueryModuleHandle("WGSS50", &hModule);150 O32__DLL_InitTerm(hModule, 0);149 // DosQueryModuleHandle("WGSS50", &hModule); 150 // O32__DLL_InitTerm(hModule, 0); 151 151 DosQueryModuleHandle("KERNEL32", &hModule); 152 152 return inittermKernel32(hModule, 0); -
trunk/src/kernel32/os2heap.cpp
r6397 r6412 1 /* $Id: os2heap.cpp,v 1.2 2 2001-07-28 18:03:38sandervl Exp $ */1 /* $Id: os2heap.cpp,v 1.23 2001-07-30 12:01:24 sandervl Exp $ */ 2 2 3 3 /* … … 62 62 this->flOptions = flOptions; 63 63 64 dprintf(("KERNEL32: HeapCreate: initial size %d, max size %d (flags %X) returned %X\n", dwInitialSize, dwMaximumSize, flOptions, hPrimaryHeap));65 66 64 if(!(flOptions & HEAP_NO_SERIALIZE)) 67 65 { … … 99 97 } 100 98 hPrimaryHeap = (HANDLE)uheap; 99 dprintf(("KERNEL32: HeapCreate: initial size %d, max size %d (flags %X) returned %X\n", dwInitialSize, dwMaximumSize, flOptions, hPrimaryHeap)); 101 100 } 102 101 //****************************************************************************** -
trunk/src/kernel32/windlllx.h
r6015 r6412 1 /* $Id: windlllx.h,v 1. 4 2001-06-15 09:42:48 birdExp $ */1 /* $Id: windlllx.h,v 1.5 2001-07-30 12:01:25 sandervl Exp $ */ 2 2 3 3 /* … … 45 45 }; 46 46 47 extern char *lpszCustomDllName; 48 47 49 #endif //__WINDLLLX_H__ -
trunk/src/kernel32/winimagebase.cpp
r5959 r6412 1 /* $Id: winimagebase.cpp,v 1.3 2 2001-06-10 22:32:17sandervl Exp $ */1 /* $Id: winimagebase.cpp,v 1.33 2001-07-30 12:01:25 sandervl Exp $ */ 2 2 3 3 /* … … 30 30 #include <windllbase.h> 31 31 #include <winexebase.h> 32 #include <windlllx.h> 32 33 #include <pefile.h> 33 34 #include <unicode.h> … … 50 51 ulRVAResourceSection(0) 51 52 { 53 char *name; 54 52 55 magic = MAGIC_WINIMAGE; 53 56 … … 55 58 this->hinstance = hInstance; 56 59 57 char *name = OSLibGetDllName(hinstance); 60 if(lpszCustomDllName) { 61 name = lpszCustomDllName; 62 } 63 else name = OSLibGetDllName(hinstance); 64 58 65 strcpy(szFileName, name); 59 66 strupr(szFileName); 60 67 61 //rename dll (os/2 -> win32) if necessary (i.e. OLE32OS2 -> OLE32) 62 Win32DllBase::renameDll(szFileName, FALSE); 63 64 name = strrchr(szFileName, '\\')+1; 65 strcpy(szModule, name); 68 if(lpszCustomDllName) { 69 strcpy(szModule, name); 70 } 71 else { 72 //rename dll (os/2 -> win32) if necessary (i.e. OLE32OS2 -> OLE32) 73 Win32DllBase::renameDll(szFileName, FALSE); 74 name = strrchr(szFileName, '\\')+1; 75 strcpy(szModule, name); 76 } 66 77 } 67 78 else { -
trunk/src/kernel32/winimagelx.cpp
r6401 r6412 1 /* $Id: winimagelx.cpp,v 1.1 0 2001-07-29 19:00:32sandervl Exp $ */1 /* $Id: winimagelx.cpp,v 1.11 2001-07-30 12:01:25 sandervl Exp $ */ 2 2 3 3 /* … … 33 33 #include <winexebase.h> 34 34 #include <winexelx.h> 35 #include <windlllx.h> 35 36 #include <pefile.h> 36 37 #include <unicode.h> … … 41 42 #define DBG_LOCALLOG DBG_winimagelx 42 43 #include "dbglocal.h" 43 44 extern char *lpszCustomDllName; //windlllx.cpp45 44 46 45 static BYTE dosHeader[] = {
Note:
See TracChangeset
for help on using the changeset viewer.