* cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE.

This commit is contained in:
Corinna Vinschen 2006-01-13 15:36:29 +00:00
parent 71f98c4caa
commit 053d5eed93
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-01-13 Corinna Vinschen <corinna@vinschen.de>
* cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE.
2006-01-13 Corinna Vinschen <corinna@vinschen.de>
* cygcheck.cc (dump_sysinfo): Convert osname to const and remove casts

View File

@ -1137,7 +1137,7 @@ dump_sysinfo ()
osversion.dwPlatformId == VER_PLATFORM_WIN32_NT ?
osversion.szCSDVersion : "");
HINSTANCE k32 = LoadLibrary ("kernel32.dll");
HMODULE k32 = LoadLibrary ("kernel32.dll");
BOOL (WINAPI *wow64_func) (HANDLE, PBOOL) = (BOOL (WINAPI *) (HANDLE, PBOOL))
GetProcAddress (k32, "IsWow64Process");