Damjan Jovanovic : mmsystem: Win16 DllEntryPoint uses HINSTANCE16, not HINSTANCE.

Alexandre Julliard julliard at winehq.org
Mon Jun 7 15:02:07 CDT 2021


Module: wine
Branch: stable
Commit: 087637e861ad9468b43875a3a9c0df7c537b8a78
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=087637e861ad9468b43875a3a9c0df7c537b8a78

Author: Damjan Jovanovic <damjan.jov at gmail.com>
Date:   Tue Jan 12 17:42:50 2021 +0200

mmsystem: Win16 DllEntryPoint uses HINSTANCE16, not HINSTANCE.

Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 7464d1042a10e4b013f764e3bbb52bedb6817ede)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/mmsystem.dll16/mmsystem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mmsystem.dll16/mmsystem.c b/dlls/mmsystem.dll16/mmsystem.c
index 083ec2d6da6..445fc48d50e 100644
--- a/dlls/mmsystem.dll16/mmsystem.c
+++ b/dlls/mmsystem.dll16/mmsystem.c
@@ -66,7 +66,7 @@ CRITICAL_SECTION mmdrv_cs = { &mmdrv_critsect_debug, -1, 0, 0, 0, 0 };
  * MMSYSTEM DLL entry point
  *
  */
-BOOL WINAPI MMSYSTEM_LibMain(DWORD fdwReason, HINSTANCE hinstDLL, WORD ds,
+BOOL WINAPI MMSYSTEM_LibMain(DWORD fdwReason, HINSTANCE16 hinstDLL, WORD ds,
 			     WORD wHeapSize, DWORD dwReserved1, WORD wReserved2)
 {
     static int done;




More information about the wine-cvs mailing list