Stefan Leichter : msvideo: Forward MCIWndCreate16 to MCIWndCreateA.

Alexandre Julliard julliard at winehq.org
Tue Aug 24 11:09:18 CDT 2010


Module: wine
Branch: master
Commit: 6894af6fc0232d9ed7b62fa5e83b4dc3e453076b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6894af6fc0232d9ed7b62fa5e83b4dc3e453076b

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Mon Aug 23 21:33:00 2010 +0200

msvideo: Forward MCIWndCreate16 to MCIWndCreateA.

---

 dlls/msvideo.dll16/msvideo.dll16.spec |    2 +-
 dlls/msvideo.dll16/msvideo16.c        |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/msvideo.dll16/msvideo.dll16.spec b/dlls/msvideo.dll16/msvideo.dll16.spec
index b44fcde..894fc9c 100644
--- a/dlls/msvideo.dll16/msvideo.dll16.spec
+++ b/dlls/msvideo.dll16/msvideo.dll16.spec
@@ -62,7 +62,7 @@
 244 stub ICSEQCOMPRESSFRAMESTART
 245 stub ICSEQCOMPRESSFRAMEEND
 246 stub ICSEQCOMPRESSFRAME
-250 stub _MCIWNDCREATE
+250 cdecl _MCIWndCreate(word word long str) MCIWndCreate16
 251 stub _MCIWNDREGISTERCLASS
 252 stub GETOPENFILENAMEPREVIEW
 253 stub GETSAVEFILENAMEPREVIEW
diff --git a/dlls/msvideo.dll16/msvideo16.c b/dlls/msvideo.dll16/msvideo16.c
index e157808..93724c9 100644
--- a/dlls/msvideo.dll16/msvideo16.c
+++ b/dlls/msvideo.dll16/msvideo16.c
@@ -30,6 +30,7 @@
 #include "winreg.h"
 #include "winuser.h"
 #include "wine/winbase16.h"
+#include "wownt32.h"
 #include "vfw16.h"
 #include "wine/debug.h"
 
@@ -973,3 +974,12 @@ BOOL WINAPI VIDEO_LibMain(DWORD fdwReason, HINSTANCE hinstDLL, WORD ds,
     }
     return TRUE;
 }
+
+/***********************************************************************
+ *                      MCIWndCreate(MSVIDEO.250)
+ */
+HWND16 CDECL MCIWndCreate16(HWND16 hwnd, HINSTANCE16 hinst16,
+                              DWORD style, LPSTR file)
+{
+    return HWND_16(MCIWndCreateA(HWND_32(hwnd), 0, style, file));
+}




More information about the wine-cvs mailing list