source: trunk/src/quartz/fgraph.h@ 6575

Last change on this file since 6575 was 6563, checked in by sandervl, 24 years ago

created

File size: 989 bytes
Line 
1#ifndef WINE_DSHOW_FGRAPH_H
2#define WINE_DSHOW_FGRAPH_H
3
4/*
5 implements CLSID_FilterGraph.
6
7 - At least, the following interfaces should be implemented:
8
9 IUnknown
10 + IFilterGraph - IGraphBuilder - IFilterGraph2
11 + IDispatch - IMediaControl
12 + IDispatch - IMediaEvent - IMediaEventEx
13 + IMediaSeeking
14 + IDispatch - IBasicVideo (pass to a renderer)
15 + IDispatch - IBasicAudio (pass to a renderer)
16 + IDispatch - IVideoWindow (pass to a renderer)
17 */
18
19#include "iunk.h"
20
21typedef struct FG_IFilterGraph2Impl
22{
23 ICOM_VFIELD(IFilterGraph2);
24} FG_IFilterGraph2Impl;
25
26typedef struct CFilterGraph
27{
28 QUARTZ_IUnkImpl unk;
29 FG_IFilterGraph2Impl fgraph;
30
31 /* IFilterGraph2 fields. */
32} CFilterGraph;
33
34#define CFilterGraph_THIS(iface,member) CFilterGraph* This = ((CFilterGraph*)(((char*)iface)-offsetof(CFilterGraph,member)))
35
36HRESULT QUARTZ_CreateFilterGraph(IUnknown* punkOuter,void** ppobj);
37
38void CFilterGraph_InitIFilterGraph2( CFilterGraph* pfg );
39
40
41#endif /* WINE_DSHOW_FGRAPH_H */
Note: See TracBrowser for help on using the repository browser.