define the IAMStreamConfig interface

Mike McCormack mike at codeweavers.com
Fri Mar 25 22:03:33 CST 2005


ChangeLog:
Vladdy Impaler <vladdy at utchat.com>
* define the IAMStreamConfig interface
-------------- next part --------------
Index: include/control.idl
===================================================================
RCS file: /home/wine/wine/include/control.idl,v
retrieving revision 1.1
diff -u -p -r1.1 control.idl
--- include/control.idl	5 Oct 2004 02:18:08 -0000	1.1
+++ include/control.idl	26 Mar 2005 04:00:07 -0000
@@ -26,6 +26,7 @@ interface IMediaControl;
 interface IBasicAudio;
 interface IBasicVideo;
 interface IVideoWindow;
+interface IAMStreamConfig;
 interface IMediaEvent;
 interface IMediaEventEx;
 
@@ -123,6 +124,22 @@ interface IVideoWindow : IDispatch
     HRESULT IsCursorHidden( [out] long *CursorHidden );
 }
 
+/*****************************************************************************
+ * IAMStreamConfig interface
+ */
+[
+    object,
+    uuid(c6e13340-30ac-11d0-a18c-00a0c9118956),
+    pointer_default(unique)
+]
+interface IAMStreamConfig : IUnknown
+{
+    HRESULT SetFormat( [in] AM_MEDIA_TYPE *pmt);
+    HRESULT GetFormat( [in] AM_MEDIA_TYPE **pmt);
+    HRESULT GetNumberOfCapabilities( [out] int *piCount, [out] int *piSize);
+    HRESULT GetStreamCaps( [in] int iIndex, [out] AM_MEDIA_TYPE **pmt,
+                          [out] BYTE *pSCC);
+}
 
 /*****************************************************************************
  * IBasicVideo interface


More information about the wine-patches mailing list