Changeset 21308 for trunk/src/kernel32/initkernel32.cpp
- Timestamp:
- Jun 18, 2009, 6:27:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/initkernel32.cpp
r21302 r21308 60 60 #include <stats.h> 61 61 #include <heapshared.h> 62 #include <heapstring.h> 62 63 #include <_ras.h> 63 64 … … 71 72 extern DWORD kernel32_PEResTab; 72 73 } 74 75 extern PFN pfnImSetMsgQueueProperty; 73 76 74 77 ULONG flAllocMem = 0; /* flag to optimize DosAllocMem to use all the memory on SMP machines */ … … 79 82 BOOL fInit = FALSE; 80 83 BOOL fWin32k = FALSE; 84 HMODULE imHandle = 0; 85 char szModName[ 256 ] = ""; 81 86 82 87 /****************************************************************************/ … … 224 229 CODEPAGE_Init(); 225 230 231 if( IsDBCSEnv() && DosLoadModule( szModName, sizeof( szModName ), "OS2IM.DLL", &imHandle ) == 0 ) 232 DosQueryProcAddr( imHandle, 140, NULL, &pfnImSetMsgQueueProperty ); 233 226 234 InitSystemInfo(ulSysinfo); 227 235 //Set up environment as found in NT … … 272 280 dprintf(("kernel32 exit %d\n", ulReason)); 273 281 282 if( IsDBCSEnv() && imHandle ) 283 DosFreeModule( imHandle ); 284 274 285 //Flush and delete all open memory mapped files 275 286 Win32MemMap::deleteAll();
Note:
See TracChangeset
for help on using the changeset viewer.