- Timestamp:
- Feb 27, 2012, 6:47:33 PM (13 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/initterm.cpp
r21916 r21976 65 65 66 66 if (!InitializeKernel32()) 67 return 0;67 return -1; 68 68 69 69 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 70 if(InitRegionSpace() == FALSE) 71 { 72 return 0UL; 73 } 70 if (InitRegionSpace() == FALSE) 71 return -1; 74 72 75 73 DIBSection::initDIBSection(); 76 if (CPUFeatures & CPUID_MMX)74 if (CPUFeatures & CPUID_MMX) 77 75 { 78 76 pRGB555to565 = RGB555to565MMX; … … 88 86 GDI32_MAJORIMAGE_VERSION, GDI32_MINORIMAGE_VERSION, 89 87 IMAGE_SUBSYSTEM_NATIVE); 90 if (dllHandle == 0)91 return 0UL;88 if (dllHandle == 0) 89 return -1; 92 90 93 91 dprintf(("gdi32 init %s %s (%x)", __DATE__, __TIME__, DLL_InitGdi32)); -
trunk/src/imm32/initterm.cpp
r21916 r21976 56 56 IMAGE_SUBSYSTEM_WINDOWS_GUI); 57 57 if (dllHandle == 0) 58 return 0UL;58 return -1; 59 59 60 60 dprintf(("imm32 init %s %s (%x)", __DATE__, __TIME__, DLL_InitImm32)); -
trunk/src/mscms/initterm.cpp
r21916 r21976 56 56 { 57 57 if (!InitializeKernel32()) 58 return 0;58 return -1; 59 59 60 60 //CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ -
trunk/src/oleacc/initterm.cpp
r21916 r21976 50 50 } 51 51 52 ULONG SYSTEM DLL_Init MSCms(ULONG hModule)52 ULONG SYSTEM DLL_InitOleAcc(ULONG hModule) 53 53 { 54 54 if (!InitializeKernel32()) 55 return 0;55 return -1; 56 56 57 57 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ … … 61 61 return -1; 62 62 63 dprintf(("oleacc init %s %s (%x)", __DATE__, __TIME__, DLL_Init MSCms));63 dprintf(("oleacc init %s %s (%x)", __DATE__, __TIME__, DLL_InitOleAcc)); 64 64 65 65 return 0; 66 66 } 67 67 68 void SYSTEM DLL_Term MSCms(ULONG hModule)68 void SYSTEM DLL_TermOleAcc(ULONG hModule) 69 69 { 70 70 if (dllHandle) … … 76 76 if (DLL_InitDefault(hModule) == -1) 77 77 return -1; 78 return DLL_Init MSCms(hModule);78 return DLL_InitOleAcc(hModule); 79 79 } 80 80 81 81 void SYSTEM DLL_Term(ULONG hModule) 82 82 { 83 DLL_Term MSCms(hModule);83 DLL_TermOleAcc(hModule); 84 84 DLL_TermDefault(hModule); 85 85 } -
trunk/src/rsaenh/initterm.cpp
r21916 r21976 56 56 { 57 57 if (!InitializeKernel32()) 58 return 0;58 return -1; 59 59 60 60 //CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ -
trunk/src/schannel/initterm.cpp
r21916 r21976 56 56 { 57 57 if (!InitializeKernel32()) 58 return 0;58 return -1; 59 59 60 60 //CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ -
trunk/src/secur32/initterm.cpp
r21916 r21976 56 56 { 57 57 if (!InitializeKernel32()) 58 return 0;58 return -1; 59 59 60 60 //CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ -
trunk/src/user32/initterm.cpp
r21916 r21976 142 142 143 143 if (!InitializeKernel32()) 144 return 0;144 return -1; 145 145 146 146 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ … … 149 149 USER32_MAJORIMAGE_VERSION, USER32_MINORIMAGE_VERSION, 150 150 IMAGE_SUBSYSTEM_WINDOWS_GUI); 151 if (hInstanceUser32 == 0)152 return 0UL;151 if (hInstanceUser32 == 0) 152 return -1; 153 153 154 154 dprintf(("user32 init %s %s (%x)", __DATE__, __TIME__, DLL_InitUser32)); … … 160 160 //PH: initializes HAB! 161 161 if (FALSE == InitPM()) 162 return 0UL;162 return -1; 163 163 164 164 InitializeWindowHandles();
Note:
See TracChangeset
for help on using the changeset viewer.