Sebastian Lackner : mfplat: Implement stubs for MFStartup and MFShutdown.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Dec 16 15:06:06 CST 2014
Module: wine
Branch: master
Commit: 46d06eb431c21b64c8c7f2de3742c736efa1ead1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=46d06eb431c21b64c8c7f2de3742c736efa1ead1
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Fri Dec 12 00:56:54 2014 +0100
mfplat: Implement stubs for MFStartup and MFShutdown.
---
dlls/mfplat/main.c | 23 +++++++++++++++++++++++
dlls/mfplat/mfplat.spec | 4 ++--
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index a72f634..5608644 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -22,6 +22,11 @@
#include "windef.h"
#include "winbase.h"
+#include "mferror.h"
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mfplat);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{
@@ -36,3 +41,21 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return TRUE;
}
+
+/***********************************************************************
+ * MFStartup (mfplat.@)
+ */
+HRESULT WINAPI MFStartup(ULONG version, DWORD flags)
+{
+ FIXME("(%u, %u): stub\n", version, flags);
+ return MF_E_BAD_STARTUP_VERSION;
+}
+
+/***********************************************************************
+ * MFShutdown (mfplat.@)
+ */
+HRESULT WINAPI MFShutdown(void)
+{
+ FIXME("(): stub\n");
+ return S_OK;
+}
diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec
index 98a7147..7100dfd 100644
--- a/dlls/mfplat/mfplat.spec
+++ b/dlls/mfplat/mfplat.spec
@@ -131,8 +131,8 @@
@ stub MFSerializeMediaTypeToStream
@ stub MFSerializePresentationDescriptor
@ stub MFSetSockaddrAny
-@ stub MFShutdown
-@ stub MFStartup
+@ stdcall MFShutdown()
+@ stdcall MFStartup(long long)
@ stub MFStreamDescriptorProtectMediaType
@ stub MFTEnum
@ stub MFTEnumEx
More information about the wine-cvs
mailing list