* cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE.
This commit is contained in:
parent
71f98c4caa
commit
053d5eed93
@ -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
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user