changeset 31485:b946a0c28e65

Add prototypes for exported FilterGraph_ functions. This fixes a bunch of missing prototype warnings.
author diego
date Thu, 24 Jun 2010 10:19:49 +0000
parents 9e75b642d677
children 9b74773043d4
files loader/dshow/graph.h
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dshow/graph.h	Thu Jun 24 09:38:02 2010 +0000
+++ b/loader/dshow/graph.h	Thu Jun 24 10:19:49 2010 +0000
@@ -52,6 +52,25 @@
     HRESULT STDCALL (*SetDefaultSyncSource)(FilterGraph* This);
 };
 
+
+HRESULT STDCALL FilterGraph_AddFilter(FilterGraph* This,
+                                      IBaseFilter* pFilter,
+                                      unsigned short* pName);
+HRESULT STDCALL FilterGraph_RemoveFilter(FilterGraph* This,
+                                         IBaseFilter* pFilter);
+HRESULT STDCALL FilterGraph_EnumFilters(FilterGraph* This,
+                                        IEnumFilters** ppEnum);
+HRESULT STDCALL FilterGraph_FindFilterByName(FilterGraph* This,
+                                             unsigned short* pName,
+                                             IBaseFilter** ppFilter);
+HRESULT STDCALL FilterGraph_ConnectDirect(FilterGraph* This,
+                                          IPin* ppinOut,
+                                          IPin* ppinIn,
+                                          const AM_MEDIA_TYPE* pmt);
+HRESULT STDCALL FilterGraph_Reconnect(FilterGraph* This, IPin* ppin);
+HRESULT STDCALL FilterGraph_Disconnect(FilterGraph* This, IPin* ppin);
+HRESULT STDCALL FilterGraph_SetDefaultSyncSource(FilterGraph* This);
+
 FilterGraph* FilterGraphCreate(void);
 
 #endif /* MPLAYER_GRAPH_H */