From e10972fe82b97754ac4fcce78adb52e629b753f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sat, 26 Mar 2016 04:22:16 +0100
Subject: mf: Add stub for MFCreateMediaSession.

---
 dlls/mf/main.c  | 15 +++++++++++++++
 dlls/mf/mf.spec |  2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/dlls/mf/main.c b/dlls/mf/main.c
index 1b223ad..86f2774 100644
--- a/dlls/mf/main.c
+++ b/dlls/mf/main.c
@@ -21,6 +21,21 @@
 
 #include "windef.h"
 #include "winbase.h"
+#include "wine/debug.h"
+
+#include "mfidl.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mf);
+
+/***********************************************************************
+ *      MFCreateMediaSession (mf.@)
+ */
+HRESULT WINAPI MFCreateMediaSession(IMFAttributes *configuration, IMFMediaSession **ms)
+{
+    FIXME("(%p, %p): stub\n", configuration, ms);
+
+    return E_NOTIMPL;
+}
 
 BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
 {
diff --git a/dlls/mf/mf.spec b/dlls/mf/mf.spec
index 10b682a..546a697 100644
--- a/dlls/mf/mf.spec
+++ b/dlls/mf/mf.spec
@@ -39,7 +39,7 @@
 @ stub MFCreateMP3MediaSink
 @ stub MFCreateMPEG4MediaSink
 @ stub MFCreateMediaProcessor
-@ stub MFCreateMediaSession
+@ stdcall MFCreateMediaSession(ptr ptr)
 @ stub MFCreateNSCByteStreamPlugin
 @ stub MFCreateNetSchemePlugin
 @ stub MFCreatePMPHost
-- 
2.7.1

