Added some stubs.
[wine] / dlls / quartz / fmap.h
1 /*
2  * Copyright (C) Hidenori TAKESHIMA
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #ifndef WINE_DSHOW_FMAP_H
20 #define WINE_DSHOW_FMAP_H
21
22 /*
23                 implements CLSID_FilterMapper.
24
25         - At least, the following interfaces should be implemented:
26
27         IUnknown
28                 + IFilterMapper
29  */
30
31 #include "iunk.h"
32
33
34 typedef struct FM_IFilterMapperImpl
35 {
36         ICOM_VFIELD(IFilterMapper);
37 } FM_IFilterMapperImpl;
38
39 typedef struct CFilterMapper
40 {
41         QUARTZ_IUnkImpl unk;
42         FM_IFilterMapperImpl    fmap;
43 } CFilterMapper;
44
45 #define CFilterMapper_THIS(iface,member)                CFilterMapper*  This = ((CFilterMapper*)(((char*)iface)-offsetof(CFilterMapper,member)))
46
47 HRESULT QUARTZ_CreateFilterMapper(IUnknown* punkOuter,void** ppobj);
48
49
50 HRESULT CFilterMapper_InitIFilterMapper( CFilterMapper* pfm );
51 void CFilterMapper_UninitIFilterMapper( CFilterMapper* pfm );
52
53
54
55 /*
56                 implements CLSID_FilterMapper2.
57
58         - At least, the following interfaces should be implemented:
59
60         IUnknown
61                 + IFilterMapper2 - IFilterMapper3
62  */
63
64 #include "iunk.h"
65
66
67 typedef struct FM2_IFilterMapper3Impl
68 {
69         ICOM_VFIELD(IFilterMapper3);
70 } FM2_IFilterMapper3Impl;
71
72 typedef struct CFilterMapper2
73 {
74         QUARTZ_IUnkImpl unk;
75         FM2_IFilterMapper3Impl  fmap3;
76         /* IFilterMapper3 fields */
77 } CFilterMapper2;
78
79 #define CFilterMapper2_THIS(iface,member)               CFilterMapper2* This = ((CFilterMapper2*)(((char*)iface)-offsetof(CFilterMapper2,member)))
80
81 HRESULT QUARTZ_CreateFilterMapper2(IUnknown* punkOuter,void** ppobj);
82
83
84 HRESULT CFilterMapper2_InitIFilterMapper3( CFilterMapper2* psde );
85 void CFilterMapper2_UninitIFilterMapper3( CFilterMapper2* psde );
86
87 #endif  /* WINE_DSHOW_FMAP_H */