Zebediah Figura : include: Add IWMReaderCallbackAdvanced.
Alexandre Julliard
julliard at winehq.org
Mon Oct 18 16:16:27 CDT 2021
Module: wine
Branch: master
Commit: a4e1e7f9008c189642b766b4ab4789215f7feccd
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a4e1e7f9008c189642b766b4ab4789215f7feccd
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Fri Oct 15 17:28:08 2021 -0500
include: Add IWMReaderCallbackAdvanced.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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),
More information about the wine-cvs
mailing list