mfreadwrite: Add MFCreateSinkWriterFromURL() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4c3e531242
commit
b182ba882c
|
@ -1464,6 +1464,17 @@ HRESULT WINAPI MFCreateSinkWriterFromMediaSink(IMFMediaSink *sink, IMFAttributes
|
||||||
return create_sink_writer_from_sink(sink, attributes, &IID_IMFSinkWriter, (void **)writer);
|
return create_sink_writer_from_sink(sink, attributes, &IID_IMFSinkWriter, (void **)writer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* MFCreateSinkWriterFromURL (mfreadwrite.@)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI MFCreateSinkWriterFromURL(const WCHAR *url, IMFByteStream *bytestream, IMFAttributes *attributes,
|
||||||
|
IMFSinkWriter **writer)
|
||||||
|
{
|
||||||
|
FIXME("%s, %p, %p, %p.\n", debugstr_w(url), bytestream, attributes, writer);
|
||||||
|
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
||||||
static HRESULT create_source_reader_from_object(IUnknown *unk, IMFAttributes *attributes, REFIID riid, void **out)
|
static HRESULT create_source_reader_from_object(IUnknown *unk, IMFAttributes *attributes, REFIID riid, void **out)
|
||||||
{
|
{
|
||||||
IMFMediaSource *source = NULL;
|
IMFMediaSource *source = NULL;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
@ stdcall -private DllRegisterServer()
|
@ stdcall -private DllRegisterServer()
|
||||||
@ stdcall -private DllUnregisterServer()
|
@ stdcall -private DllUnregisterServer()
|
||||||
@ stdcall MFCreateSinkWriterFromMediaSink(ptr ptr ptr)
|
@ stdcall MFCreateSinkWriterFromMediaSink(ptr ptr ptr)
|
||||||
@ stub MFCreateSinkWriterFromURL
|
@ stdcall MFCreateSinkWriterFromURL(wstr ptr ptr ptr)
|
||||||
@ stdcall MFCreateSourceReaderFromByteStream(ptr ptr ptr)
|
@ stdcall MFCreateSourceReaderFromByteStream(ptr ptr ptr)
|
||||||
@ stdcall MFCreateSourceReaderFromMediaSource(ptr ptr ptr)
|
@ stdcall MFCreateSourceReaderFromMediaSource(ptr ptr ptr)
|
||||||
@ stdcall MFCreateSourceReaderFromURL(wstr ptr ptr)
|
@ stdcall MFCreateSourceReaderFromURL(wstr ptr ptr)
|
||||||
|
|
|
@ -185,6 +185,8 @@ interface IMFReadWriteClassFactory : IUnknown
|
||||||
|
|
||||||
cpp_quote( "HRESULT WINAPI MFCreateSinkWriterFromMediaSink(IMFMediaSink *sink, IMFAttributes *attributes," )
|
cpp_quote( "HRESULT WINAPI MFCreateSinkWriterFromMediaSink(IMFMediaSink *sink, IMFAttributes *attributes," )
|
||||||
cpp_quote( " IMFSinkWriter **writer);" )
|
cpp_quote( " IMFSinkWriter **writer);" )
|
||||||
|
cpp_quote( "HRESULT WINAPI MFCreateSinkWriterFromURL(const WCHAR *url, IMFByteStream *bytestream," )
|
||||||
|
cpp_quote( " IMFAttributes *attributes, IMFSinkWriter **writer);" )
|
||||||
cpp_quote( "HRESULT WINAPI MFCreateSourceReaderFromByteStream(IMFByteStream *stream, IMFAttributes *attributes," )
|
cpp_quote( "HRESULT WINAPI MFCreateSourceReaderFromByteStream(IMFByteStream *stream, IMFAttributes *attributes," )
|
||||||
cpp_quote( " IMFSourceReader **reader);" )
|
cpp_quote( " IMFSourceReader **reader);" )
|
||||||
cpp_quote( "HRESULT WINAPI MFCreateSourceReaderFromMediaSource(IMFMediaSource *source, IMFAttributes *attributes," )
|
cpp_quote( "HRESULT WINAPI MFCreateSourceReaderFromMediaSource(IMFMediaSource *source, IMFAttributes *attributes," )
|
||||||
|
|
Loading…
Reference in New Issue