Andrey Gusev : mf: Add MFGetSupportedMimeTypes stub.
Alexandre Julliard
julliard at winehq.org
Mon Nov 6 14:37:37 CST 2017
Module: wine
Branch: master
Commit: 1d7e48a522d668789574f1da5a1859acd9fe2f13
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d7e48a522d668789574f1da5a1859acd9fe2f13
Author: Andrey Gusev <andrey.goosev at gmail.com>
Date: Mon Nov 6 11:47:11 2017 +0200
mf: Add MFGetSupportedMimeTypes stub.
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mf/main.c | 16 ++++++++++++++++
dlls/mf/mf.spec | 2 +-
include/mfidl.idl | 1 +
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/dlls/mf/main.c b/dlls/mf/main.c
index 1b223ad..2ad2e5d 100644
--- a/dlls/mf/main.c
+++ b/dlls/mf/main.c
@@ -15,12 +15,18 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
+#include "mfidl.h"
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mfplat);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{
@@ -35,3 +41,13 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return TRUE;
}
+
+/***********************************************************************
+ * MFGetSupportedMimeTypes (mf.@)
+ */
+HRESULT WINAPI MFGetSupportedMimeTypes(PROPVARIANT *array)
+{
+ FIXME("(%p) stub\n", array);
+
+ return E_NOTIMPL;
+}
diff --git a/dlls/mf/mf.spec b/dlls/mf/mf.spec
index 3b02bd2..54fa1f3 100644
--- a/dlls/mf/mf.spec
+++ b/dlls/mf/mf.spec
@@ -73,7 +73,7 @@
@ stub MFEnumDeviceSources
@ stub MFGetMultipleServiceProviders
@ stub MFGetService
-@ stub MFGetSupportedMimeTypes
+@ stdcall MFGetSupportedMimeTypes(ptr)
@ stub MFGetSupportedSchemes
@ stub MFGetTopoNodeCurrentType
@ stub MFReadSequencerSegmentOffset
diff --git a/include/mfidl.idl b/include/mfidl.idl
index 80fa5ec..2792d38 100644
--- a/include/mfidl.idl
+++ b/include/mfidl.idl
@@ -255,3 +255,4 @@ cpp_quote("HRESULT WINAPI MFCreateSourceResolver(IMFSourceResolver **resolver);"
cpp_quote("HRESULT WINAPI MFCreateStreamDescriptor(DWORD identifier, DWORD cMediaTypes,")
cpp_quote(" IMFMediaType **types, IMFStreamDescriptor **descriptor);")
cpp_quote("HRESULT WINAPI MFCreateTopology(IMFTopology **topology);")
+cpp_quote("HRESULT WINAPI MFGetSupportedMimeTypes(PROPVARIANT *array);")
More information about the wine-cvs
mailing list