Commit 62862b35 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

include: Add IMFReadWriteClassFactory interface.

parent b0f5c3a1
......@@ -131,6 +131,20 @@ interface IMFSinkWriterEx : IMFSinkWriter
[out] IMFTransform **transform);
}
[
object,
uuid(e7fe2e12-661c-40da-92f9-4f002ab67627),
local
]
interface IMFReadWriteClassFactory : IUnknown
{
HRESULT CreateInstanceFromURL([in] REFCLSID clsid, [in] LPCWSTR url, [in] IMFAttributes *attributes,
[in] REFIID riid, [out, iid_is(riid)] void **object );
HRESULT CreateInstanceFromObject([in] REFCLSID clsid, [in] IUnknown *unk, [in] IMFAttributes *attributes,
[in] REFIID riid, [out, iid_is(riid)] void **object );
}
cpp_quote( "HRESULT WINAPI MFCreateSourceReaderFromByteStream(IMFByteStream *stream, IMFAttributes *attributes," )
cpp_quote( " IMFSourceReader **reader);" )
cpp_quote( "HRESULT WINAPI MFCreateSourceReaderFromMediaSource(IMFMediaSource *source, IMFAttributes *attributes," )
......
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