[PATCH] msacm32: Add the 16-bit DLL version on acmGetVersion

Bruno Jesus 00cpxxx at gmail.com
Wed Aug 24 18:12:14 CDT 2016


Remove the annoying message when Wine is configured as 3.11. The DLL version 2.1 number was tested on Windows 3.11.

Source for test:
http://alexa.pro.br/~bruno/wine/acm.c

Compiled 16-bit EXE:
http://alexa.pro.br/~bruno/wine/acm.exe

Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
---
 dlls/msacm32/msacm32_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/msacm32/msacm32_main.c b/dlls/msacm32/msacm32_main.c
index a47611c..efe58af 100644
--- a/dlls/msacm32/msacm32_main.c
+++ b/dlls/msacm32/msacm32_main.c
@@ -84,6 +84,8 @@ DWORD WINAPI acmGetVersion(void)
     switch (version.dwPlatformId) {
     case VER_PLATFORM_WIN32_NT:
 	return 0x04000565; /* 4.0.1381 */
+    case VER_PLATFORM_WIN32s:
+	return 0x02010000; /* 2.1 */
     default:
         FIXME("%x not supported\n", version.dwPlatformId);
         /* fall through */
-- 
2.9.3




More information about the wine-patches mailing list