# HG changeset patch # User diego # Date 1277374789 0 # Node ID b946a0c28e655cd630cf5fce5227be27163c0a2a # Parent 9e75b642d6779dcaeca26a8f83b8c55a8dbf45b7 Add prototypes for exported FilterGraph_ functions. This fixes a bunch of missing prototype warnings. diff -r 9e75b642d677 -r b946a0c28e65 loader/dshow/graph.h --- 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 */