2 * Copyright (C) Hidenori TAKESHIMA
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.
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.
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
19 #ifndef WINE_DSHOW_FMAP_H
20 #define WINE_DSHOW_FMAP_H
23 implements CLSID_FilterMapper.
25 - At least, the following interfaces should be implemented:
34 typedef struct FM_IFilterMapperImpl
36 ICOM_VFIELD(IFilterMapper);
37 } FM_IFilterMapperImpl;
39 typedef struct CFilterMapper
42 FM_IFilterMapperImpl fmap;
45 #define CFilterMapper_THIS(iface,member) CFilterMapper* This = ((CFilterMapper*)(((char*)iface)-offsetof(CFilterMapper,member)))
47 HRESULT QUARTZ_CreateFilterMapper(IUnknown* punkOuter,void** ppobj);
50 HRESULT CFilterMapper_InitIFilterMapper( CFilterMapper* pfm );
51 void CFilterMapper_UninitIFilterMapper( CFilterMapper* pfm );
56 implements CLSID_FilterMapper2.
58 - At least, the following interfaces should be implemented:
61 + IFilterMapper2 - IFilterMapper3
67 typedef struct FM2_IFilterMapper3Impl
69 ICOM_VFIELD(IFilterMapper3);
70 } FM2_IFilterMapper3Impl;
72 typedef struct CFilterMapper2
75 FM2_IFilterMapper3Impl fmap3;
76 /* IFilterMapper3 fields */
79 #define CFilterMapper2_THIS(iface,member) CFilterMapper2* This = ((CFilterMapper2*)(((char*)iface)-offsetof(CFilterMapper2,member)))
81 HRESULT QUARTZ_CreateFilterMapper2(IUnknown* punkOuter,void** ppobj);
84 HRESULT CFilterMapper2_InitIFilterMapper3( CFilterMapper2* psde );
85 void CFilterMapper2_UninitIFilterMapper3( CFilterMapper2* psde );
87 #endif /* WINE_DSHOW_FMAP_H */