Commit 0dc677c0 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

mfreadwrite: Add MFCreateSourceReaderFromMediaSource stub.

parent f45f088d
...@@ -22,6 +22,11 @@ ...@@ -22,6 +22,11 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "mfreadwrite.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(mfplat);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{ {
...@@ -36,3 +41,12 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) ...@@ -36,3 +41,12 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return TRUE; return TRUE;
} }
HRESULT WINAPI MFCreateSourceReaderFromMediaSource(IMFMediaSource *source, IMFAttributes *attributes,
IMFSourceReader **reader)
{
FIXME("%p %p %p stub.\n", source, attributes, reader);
return E_NOTIMPL;
}
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
@ stub MFCreateSinkWriterFromMediaSink @ stub MFCreateSinkWriterFromMediaSink
@ stub MFCreateSinkWriterFromURL @ stub MFCreateSinkWriterFromURL
@ stub MFCreateSourceReaderFromByteStream @ stub MFCreateSourceReaderFromByteStream
@ stub MFCreateSourceReaderFromMediaSource @ stdcall MFCreateSourceReaderFromMediaSource(ptr ptr ptr)
@ stub MFCreateSourceReaderFromURL @ stub MFCreateSourceReaderFromURL
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