summaryrefslogtreecommitdiffstats
path: root/loader/dshow/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'loader/dshow/graph.h')
-rw-r--r--loader/dshow/graph.h41
1 files changed, 20 insertions, 21 deletions
diff --git a/loader/dshow/graph.h b/loader/dshow/graph.h
index 62423960a0..45697d5e8b 100644
--- a/loader/dshow/graph.h
+++ b/loader/dshow/graph.h
@@ -6,31 +6,30 @@
typedef struct FilterGraph FilterGraph;
-struct FilterGraph
-{
+struct FilterGraph {
IFilterGraph_vt* vt;
DECLARE_IUNKNOWN();
GUID interfaces[2];
- HRESULT STDCALL ( *AddFilter )(FilterGraph* This,
- /* [in] */ IBaseFilter* pFilter,
- /* [string][in] */ unsigned short* pName);
- HRESULT STDCALL ( *RemoveFilter )(FilterGraph* This,
- /* [in] */ IBaseFilter* pFilter);
- HRESULT STDCALL ( *EnumFilters )(FilterGraph* This,
- /* [out] */ IEnumFilters** ppEnum);
- HRESULT STDCALL ( *FindFilterByName )(FilterGraph* This,
- /* [string][in] */ unsigned short* pName,
- /* [out] */ IBaseFilter** ppFilter);
- HRESULT STDCALL ( *ConnectDirect )(FilterGraph* This,
- /* [in] */ IPin* ppinOut,
- /* [in] */ IPin* ppinIn,
- /* [in] */ const AM_MEDIA_TYPE* pmt);
- HRESULT STDCALL ( *Reconnect )(FilterGraph* This,
- /* [in] */ IPin* ppin);
- HRESULT STDCALL ( *Disconnect )(FilterGraph* This,
- /* [in] */ IPin* ppin);
- HRESULT STDCALL ( *SetDefaultSyncSource )(FilterGraph* This);
+ HRESULT STDCALL (*AddFilter)(FilterGraph* This,
+ /* [in] */ IBaseFilter* pFilter,
+ /* [string][in] */ unsigned short* pName);
+ HRESULT STDCALL (*RemoveFilter)(FilterGraph* This,
+ /* [in] */ IBaseFilter* pFilter);
+ HRESULT STDCALL (*EnumFilters)(FilterGraph* This,
+ /* [out] */ IEnumFilters** ppEnum);
+ HRESULT STDCALL (*FindFilterByName)(FilterGraph* This,
+ /* [string][in] */ unsigned short* pName,
+ /* [out] */ IBaseFilter** ppFilter);
+ HRESULT STDCALL (*ConnectDirect)(FilterGraph* This,
+ /* [in] */ IPin* ppinOut,
+ /* [in] */ IPin* ppinIn,
+ /* [in] */ const AM_MEDIA_TYPE* pmt);
+ HRESULT STDCALL (*Reconnect)(FilterGraph* This,
+ /* [in] */ IPin* ppin);
+ HRESULT STDCALL (*Disconnect)(FilterGraph* This,
+ /* [in] */ IPin* ppin);
+ HRESULT STDCALL (*SetDefaultSyncSource)(FilterGraph* This);
};
FilterGraph* FilterGraphCreate(void);