- Timestamp:
- Aug 27, 2010, 12:32:58 AM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/custombuild/initterm.cpp
r7075 r21426 250 250 HMODULE hModule; 251 251 252 DosQueryModuleHandle ("WGSS50", &hModule);252 DosQueryModuleHandleStrict("WGSS50", &hModule); 253 253 return O32__DLL_InitTerm(hModule, 0); 254 254 } -
trunk/src/kernel32/console.cpp
r10471 r21426 73 73 #include <win32api.h> 74 74 #include <misc.h> 75 #include <odincrt.h> 75 76 76 77 #include "conwin.h" // Windows Header for console only … … 376 377 377 378 /* obtain module handle to our resources */ 378 rc = DosQueryModuleHandle ("KERNEL32",379 &ConsoleGlobals.hmodResource);379 rc = DosQueryModuleHandleStrict("KERNEL32", 380 &ConsoleGlobals.hmodResource); 380 381 if (rc != NO_ERROR) 381 382 dprintf(("KERNEL32/CONSOLE: Can't get handle to KERNEL32 (%u).\n", -
trunk/src/kernel32/initterm.cpp
r21323 r21426 159 159 loadNr = globLoadNr++; 160 160 } 161 DosQueryModuleHandle ("WGSS50", &hModule);161 DosQueryModuleHandleStrict("WGSS50", &hModule); 162 162 _O32__DLL_InitTerm(hModule, 0); 163 DosQueryModuleHandle ("KERNEL32", &hModule);163 DosQueryModuleHandleStrict("KERNEL32", &hModule); 164 164 return DLLENTRYPOINT_NAME(hModule, 0); 165 165 } -
trunk/src/kernel32/oslibdos.cpp
r21407 r21426 36 36 #include <win\winioctl.h> 37 37 #include <misc.h> 38 #include <odincrt.h> 38 39 #include "initterm.h" 39 40 #include "oslibdos.h" … … 126 127 HMODULE hDoscalls; 127 128 128 if(DosQueryModuleHandle ("DOSCALLS", &hDoscalls) != NO_ERROR) {129 if(DosQueryModuleHandleStrict("DOSCALLS", &hDoscalls) != NO_ERROR) { 129 130 return; 130 131 } … … 3262 3263 3263 3264 HMODULE hDoscalls; 3264 if(DosQueryModuleHandle ("DOSCALLS", &hDoscalls) == NO_ERROR) {3265 if(DosQueryModuleHandleStrict("DOSCALLS", &hDoscalls) == NO_ERROR) { 3265 3266 DosQueryProcAddr(hDoscalls, 564, NULL, (PFN *)&pfnDosSetThreadAffinity); 3266 3267 } … … 3306 3307 3307 3308 HMODULE hDoscalls; 3308 if(DosQueryModuleHandle ("DOSCALLS", &hDoscalls) == NO_ERROR) {3309 if(DosQueryModuleHandleStrict("DOSCALLS", &hDoscalls) == NO_ERROR) { 3309 3310 DosQueryProcAddr(hDoscalls, 563, NULL, (PFN *)&pfnDosQueryThreadAffinity); 3310 3311 } -
trunk/src/kernel32/oslibmisc.cpp
r21308 r21426 24 24 #include "oslibmisc.h" 25 25 #include <misc.h> 26 #include <odincrt.h> 26 27 27 28 #define DBG_LOCALLOG DBG_oslibmisc … … 104 105 else 105 106 { 106 rc = DosQueryModuleHandle (pszModule,/* query module handle */107 &hModule);107 rc = DosQueryModuleHandleStrict(pszModule, /* query module handle */ 108 &hModule); 108 109 109 110 if (rc != NO_ERROR) /* check for errors */ … … 122 123 APIRET rc; 123 124 124 rc = DosQueryModuleHandle (modname,/* query module handle */125 &hModule);125 rc = DosQueryModuleHandleStrict(modname, /* query module handle */ 126 &hModule); 126 127 if(rc) 127 128 return(-1); -
trunk/src/user32/pmwindow.cpp
r21367 r21426 329 329 330 330 DspInitSystemDriverName(szDisplay, sizeof(szDisplay)); 331 DosQueryModuleHandle (szDisplay, &hModDisplay);331 DosQueryModuleHandleStrict(szDisplay, &hModDisplay); 332 332 333 333 hbmFrameMenu[PMMENU_MINBUTTON] = GpiLoadBitmap(hdc, hModDisplay, SBMP_MINBUTTON, 0, 0);
Note:
See TracChangeset
for help on using the changeset viewer.