include: Add Media Foundation handler interfaces definition.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2019-03-11 13:28:03 +03:00 committed by Alexandre Julliard
parent f78bd03a75
commit 68f576f106
1 changed files with 52 additions and 0 deletions

View File

@ -183,6 +183,58 @@ interface IMFMediaSession : IMFMediaEventGenerator
HRESULT GetFullTopology([in] DWORD flags, [in] TOPOID id, [out] IMFTopology **topology); HRESULT GetFullTopology([in] DWORD flags, [in] TOPOID id, [out] IMFTopology **topology);
} }
[
object,
uuid(bb420aa4-765b-4a1f-91fe-d6a8a143924c),
local
]
interface IMFByteStreamHandler : IUnknown
{
HRESULT BeginCreateObject(
[in] IMFByteStream *stream,
[in] const WCHAR *url,
[in] DWORD flags,
[in] IPropertyStore *props,
[out] IUnknown **cancel_cookie,
[in] IMFAsyncCallback *callback,
[in] IUnknown *state);
HRESULT EndCreateObject(
[in] IMFAsyncResult *result,
[out] MF_OBJECT_TYPE *obj_type,
[out] IUnknown **object);
HRESULT CancelObjectCreation(
[in] IUnknown *cancel_cookie);
HRESULT GetMaxNumberOfBytesRequiredForResolution(
[out] QWORD *bytes);
}
[
object,
uuid(6d4c7b74-52a0-4bb7-b0db-55f29f47a668),
local
]
interface IMFSchemeHandler : IUnknown
{
HRESULT BeginCreateObject(
[in] const WCHAR *url,
[in] DWORD flags,
[in] IPropertyStore *props,
[out] IUnknown **cancel_cookie,
[in] IMFAsyncCallback *callback,
[in] IUnknown *state);
HRESULT EndCreateObject(
[in] IMFAsyncResult *result,
[out] MF_OBJECT_TYPE *obj_type,
[out] IUnknown **object);
HRESULT CancelObjectCreation(
[in] IUnknown *cancel_cookie);
}
[ [
object, object,
uuid(fbe5a32d-a497-4b61-bb85-97b1a848a6e3) uuid(fbe5a32d-a497-4b61-bb85-97b1a848a6e3)