Piotr Caban : include: Add IAMStreamControl definition.

Alexandre Julliard julliard at winehq.org
Mon Nov 25 13:33:16 CST 2013


Module: wine
Branch: master
Commit: e9cc54268ce7d22b8db7e105dfa4e41bda71c114
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e9cc54268ce7d22b8db7e105dfa4e41bda71c114

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Mon Nov 25 16:25:32 2013 +0100

include: Add IAMStreamControl definition.

---

 include/axextend.idl |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/include/axextend.idl b/include/axextend.idl
index 8c7d8dc..207dbce 100644
--- a/include/axextend.idl
+++ b/include/axextend.idl
@@ -1106,6 +1106,44 @@ interface IResourceManager : IUnknown
 
 }
 
+typedef enum AM_STREAM_INFO_FLAGS
+{
+    AM_STREAM_INFO_START_DEFINED   = 0x01,
+    AM_STREAM_INFO_STOP_DEFINED    = 0x02,
+    AM_STREAM_INFO_DISCARDING      = 0x04,
+    AM_STREAM_INFO_STOP_SEND_EXTRA = 0x10
+} AM_STREAM_INFO_FLAGS;
+
+typedef struct AM_STREAM_INFO
+{
+    REFERENCE_TIME tStart;
+    REFERENCE_TIME tStop;
+    DWORD dwStartCookie;
+    DWORD dwStopCookie;
+    DWORD dwFlags;
+} AM_STREAM_INFO;
+
+[
+    local,
+    object,
+    uuid(36b73881-c2c8-11cf-8b46-00805f6cef60),
+    pointer_default(unique)
+]
+interface IAMStreamControl : IUnknown
+{
+    HRESULT StartAt(
+        [in] const REFERENCE_TIME *ptStart,
+        [in] DWORD dwCookie);
+
+    HRESULT StopAt(
+        [in] const REFERENCE_TIME *ptStop,
+        [in] BOOL bSendExtra,
+        [in] DWORD dwCookie);
+
+    HRESULT GetInfo(
+        [out] AM_STREAM_INFO *pInfo);
+}
+
 cpp_quote("#ifndef _IKsPropertySet_")
 cpp_quote("#define _IKsPropertySet_")
 cpp_quote("#define KSPROPERTY_SUPPORT_GET  1")




More information about the wine-cvs mailing list