[vlc-commits] win32: thread: GetModuleHandle() returns a HMODULE or HINSTANCE
Steve Lhomme
git at videolan.org
Mon Feb 10 09:06:48 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Feb 7 07:48:03 2020 +0100| [fcabd527c412d1d783c263a509fc3bef10060528] | committer: Steve Lhomme
win32: thread: GetModuleHandle() returns a HMODULE or HINSTANCE
HANDLE is too generic.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fcabd527c412d1d783c263a509fc3bef10060528
---
src/win32/thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/win32/thread.c b/src/win32/thread.c
index 07423af530..36027cf7fe 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -943,7 +943,7 @@ BOOL WINAPI DllMain (HANDLE hinstDll, DWORD fdwReason, LPVOID lpvReserved)
case DLL_PROCESS_ATTACH:
{
#if (_WIN32_WINNT < _WIN32_WINNT_WIN8)
- HANDLE h = GetModuleHandle(TEXT("kernel32.dll"));
+ HMODULE h = GetModuleHandle(TEXT("kernel32.dll"));
if (unlikely(h == NULL))
return FALSE;
More information about the vlc-commits
mailing list