include: Add IWMReaderCallbackAdvanced.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-10-15 17:28:08 -05:00 committed by Alexandre Julliard
parent ac6ba5f395
commit a4e1e7f900
1 changed files with 15 additions and 0 deletions

View File

@ -260,6 +260,21 @@ interface IWMReaderCallback : IWMStatusCallback
[in] void *pvContext);
}
[
object,
local,
uuid(96406beb-2b2b-11d3-b36b-00c04f6108ff),
]
interface IWMReaderCallbackAdvanced : IUnknown
{
HRESULT OnStreamSample(WORD stream_number, QWORD pts, QWORD duration, DWORD flags, INSSBuffer *sample, void *context);
HRESULT OnTime(QWORD time, void *context);
HRESULT OnStreamSelection(WORD count, WORD *stream_numbers, WMT_STREAM_SELECTION *selections, void *context);
HRESULT OnOutputPropsChanged(DWORD output_number, WM_MEDIA_TYPE *mt, void *context);
HRESULT AllocateForStream(WORD stream_number, DWORD size, INSSBuffer **sample, void *context);
HRESULT AllocateForOutput(DWORD output_number, DWORD size, INSSBuffer **sample, void *context);
}
[
object,
uuid(96406Bdd-2b2b-11d3-b36b-00c04f6108ff),