From a4e1e7f9008c189642b766b4ab4789215f7feccd Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Fri, 15 Oct 2021 17:28:08 -0500 Subject: [PATCH] include: Add IWMReaderCallbackAdvanced. Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- include/wmsdkidl.idl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/wmsdkidl.idl b/include/wmsdkidl.idl index 78505ce3e5a..0adde5e2dd9 100644 --- a/include/wmsdkidl.idl +++ b/include/wmsdkidl.idl @@ -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),