Changeset 6397 for trunk/src/kernel32/initkernel32.cpp
- Timestamp:
- Jul 28, 2001, 8:04:35 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/initkernel32.cpp
r6375 r6397 89 89 APIRET rc; 90 90 ULONG ulSysinfo, version[2]; 91 static BOOL fInit = FALSE; 91 92 92 93 /*-------------------------------------------------------------------------*/ … … 96 97 /*-------------------------------------------------------------------------*/ 97 98 99 if(fInit == TRUE && ulFlag == 0) { 100 return 1; //already initialized 101 } 102 fInit = TRUE; 98 103 switch (ulFlag) 99 104 { … … 229 234 return ; 230 235 } 236 //****************************************************************************** 237 ULONG APIENTRY O32__DLL_InitTerm(ULONG handle, ULONG flag); 238 //****************************************************************************** 239 ULONG APIENTRY InitializeKernel32() 240 { 241 HMODULE hModule; 242 243 DosQueryModuleHandle("WGSS50", &hModule); 244 O32__DLL_InitTerm(hModule, 0); 245 DosQueryModuleHandle("KERNEL32", &hModule); 246 return inittermKernel32(hModule, 0); 247 } 248 //****************************************************************************** 249 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.