Jactry Zeng : mfplat: Add MFCreateMFByteStreamOnStreamEx() stub.

Alexandre Julliard julliard at winehq.org
Fri Mar 1 16:42:10 CST 2019


Module: wine
Branch: master
Commit: e09bc9a0b1c66e4912ca9abbe1bde276a7d3b104
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e09bc9a0b1c66e4912ca9abbe1bde276a7d3b104

Author: Jactry Zeng <jzeng at codeweavers.com>
Date:   Wed Feb 27 23:10:51 2019 +0800

mfplat: Add MFCreateMFByteStreamOnStreamEx() stub.

Signed-off-by: Jactry Zeng <jzeng at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mfplat/main.c      | 10 ++++++++++
 dlls/mfplat/mfplat.spec |  1 +
 include/mfidl.idl       |  1 +
 3 files changed, 12 insertions(+)

diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index a8963ca..0bf7cbf 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -4165,3 +4165,13 @@ void WINAPI MFHeapFree(void *p)
     TRACE("%p\n", p);
     HeapFree(GetProcessHeap(), 0, p);
 }
+
+/***********************************************************************
+ *      MFCreateMFByteStreamOnStreamEx (mfplat.@)
+ */
+HRESULT WINAPI MFCreateMFByteStreamOnStreamEx(IUnknown *stream, IMFByteStream **bytestream)
+{
+    FIXME("(%p, %p): stub\n", stream, bytestream);
+
+    return E_NOTIMPL;
+}
diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec
index c43746e..c6234b0 100644
--- a/dlls/mfplat/mfplat.spec
+++ b/dlls/mfplat/mfplat.spec
@@ -46,6 +46,7 @@
 @ stdcall MFCreateFile(long long long wstr ptr)
 @ stub MFCreateLegacyMediaBufferOnMFMediaBuffer
 @ stdcall MFCreateMFByteStreamOnStream(ptr ptr)
+@ stdcall MFCreateMFByteStreamOnStreamEx(ptr ptr)
 @ stub MFCreateMFVideoFormatFromMFMediaType
 @ stub MFCreateMediaBufferWrapper
 @ stdcall MFCreateMediaEvent(long ptr long ptr ptr)
diff --git a/include/mfidl.idl b/include/mfidl.idl
index c8f011b..01e86ef 100644
--- a/include/mfidl.idl
+++ b/include/mfidl.idl
@@ -318,6 +318,7 @@ interface IMFSequencerSource : IUnknown
 
 cpp_quote("HRESULT WINAPI MFCreateMediaSession(IMFAttributes *config, IMFMediaSession **session);")
 cpp_quote("HRESULT WINAPI MFCreateMFByteStreamOnStream(IStream *stream, IMFByteStream **bytestream);" )
+cpp_quote("HRESULT WINAPI MFCreateMFByteStreamOnStreamEx(IUnknown *stream, IMFByteStream **bytestream);")
 cpp_quote("HRESULT WINAPI MFCreateSequencerSource(IUnknown *reserved, IMFSequencerSource **seq_source);" )
 cpp_quote("HRESULT WINAPI MFCreateSourceResolver(IMFSourceResolver **resolver);")
 cpp_quote("HRESULT WINAPI MFCreateStreamDescriptor(DWORD identifier, DWORD cMediaTypes,")




More information about the wine-cvs mailing list