Commit 06464999 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Implement support for many MCIWndClass MCI_ and MCIWNDM_ messages.

Convert MCIWndClass implementation to unicode.
parent 51367055
......@@ -5,6 +5,7 @@ VPATH = @srcdir@
MODULE = msvfw32.dll
IMPORTS = winmm comctl32 version user32 gdi32 kernel32
ALTNAMES = msvideo.dll
EXTRALIBS = $(LIBUNICODE)
SPEC_SRCS16 = $(ALTNAMES:.dll=.spec)
......
......@@ -47,5 +47,5 @@
@ cdecl MCIWndCreate (long long long str) MCIWndCreateA
@ cdecl MCIWndCreateA (long long long str)
@ cdecl MCIWndCreateW (long long long wstr)
@ stdcall MCIWndRegisterClass (long)
@ cdecl MCIWndRegisterClass (long)
@ stub StretchDIB
......@@ -62,6 +62,22 @@ struct _reg_driver
static reg_driver* reg_driver_list = NULL;
HMODULE MSVFW32_hModule;
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
TRACE("%p,%lx,%p\n", hinst, reason, reserved);
switch(reason)
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinst);
MSVFW32_hModule = (HMODULE)hinst;
break;
}
return TRUE;
}
static int compare_fourcc(DWORD fcc1, DWORD fcc2)
{
char fcc_str1[5];
......
......@@ -1290,8 +1290,10 @@ BOOL WINAPI GetSaveFileNamePreviewW(LPOPENFILENAMEW lpofn);
#define AVIERR_USERABORT MAKE_AVIERR(198)
#define AVIERR_ERROR MAKE_AVIERR(199)
HWND VFWAPIV MCIWndCreateA(HWND hwndParent, HINSTANCE hInstance, DWORD dwStyle, LPCSTR szFile);
HWND VFWAPIV MCIWndCreateW(HWND hwndParent, HINSTANCE hInstance, DWORD dwStyle, LPCWSTR szFile);
BOOL VFWAPIV MCIWndRegisterClass(HINSTANCE);
HWND VFWAPIV MCIWndCreateA(HWND, HINSTANCE, DWORD, LPCSTR);
HWND VFWAPIV MCIWndCreateW(HWND, HINSTANCE, DWORD, LPCWSTR);
#define MCIWndCreate WINELIB_NAME_AW(MCIWndCreate)
#define MCIWNDOPENF_NEW 0x0001
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment