2002-03-10 00:29:33 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) Hidenori TAKESHIMA
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
2001-08-28 19:25:39 +02:00
|
|
|
#ifndef WINE_DSHOW_FMAP_H
|
|
|
|
#define WINE_DSHOW_FMAP_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
implements CLSID_FilterMapper.
|
|
|
|
|
|
|
|
- At least, the following interfaces should be implemented:
|
|
|
|
|
|
|
|
IUnknown
|
|
|
|
+ IFilterMapper
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "iunk.h"
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct FM_IFilterMapperImpl
|
|
|
|
{
|
|
|
|
ICOM_VFIELD(IFilterMapper);
|
|
|
|
} FM_IFilterMapperImpl;
|
|
|
|
|
|
|
|
typedef struct CFilterMapper
|
|
|
|
{
|
|
|
|
QUARTZ_IUnkImpl unk;
|
|
|
|
FM_IFilterMapperImpl fmap;
|
|
|
|
} CFilterMapper;
|
|
|
|
|
|
|
|
#define CFilterMapper_THIS(iface,member) CFilterMapper* This = ((CFilterMapper*)(((char*)iface)-offsetof(CFilterMapper,member)))
|
|
|
|
|
|
|
|
HRESULT QUARTZ_CreateFilterMapper(IUnknown* punkOuter,void** ppobj);
|
|
|
|
|
|
|
|
|
2001-09-07 21:46:49 +02:00
|
|
|
HRESULT CFilterMapper_InitIFilterMapper( CFilterMapper* pfm );
|
2001-08-28 19:25:39 +02:00
|
|
|
void CFilterMapper_UninitIFilterMapper( CFilterMapper* pfm );
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-10-14 18:13:14 +02:00
|
|
|
/*
|
|
|
|
implements CLSID_FilterMapper2.
|
|
|
|
|
|
|
|
- At least, the following interfaces should be implemented:
|
|
|
|
|
|
|
|
IUnknown
|
2002-03-22 20:19:23 +01:00
|
|
|
+ IFilterMapper2
|
2001-10-14 18:13:14 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2002-03-22 20:19:23 +01:00
|
|
|
typedef struct FM2_IFilterMapper2Impl
|
2001-10-14 18:13:14 +02:00
|
|
|
{
|
2002-03-22 20:19:23 +01:00
|
|
|
ICOM_VFIELD(IFilterMapper2);
|
|
|
|
} FM2_IFilterMapper2Impl;
|
2001-10-14 18:13:14 +02:00
|
|
|
|
|
|
|
typedef struct CFilterMapper2
|
|
|
|
{
|
|
|
|
QUARTZ_IUnkImpl unk;
|
2002-03-22 20:19:23 +01:00
|
|
|
FM2_IFilterMapper2Impl fmap2;
|
|
|
|
/* IFilterMapper2 fields */
|
2001-10-14 18:13:14 +02:00
|
|
|
} CFilterMapper2;
|
|
|
|
|
|
|
|
#define CFilterMapper2_THIS(iface,member) CFilterMapper2* This = ((CFilterMapper2*)(((char*)iface)-offsetof(CFilterMapper2,member)))
|
|
|
|
|
|
|
|
HRESULT QUARTZ_CreateFilterMapper2(IUnknown* punkOuter,void** ppobj);
|
|
|
|
|
|
|
|
|
2002-03-22 20:19:23 +01:00
|
|
|
HRESULT CFilterMapper2_InitIFilterMapper2( CFilterMapper2* psde );
|
|
|
|
void CFilterMapper2_UninitIFilterMapper2( CFilterMapper2* psde );
|
2001-10-14 18:13:14 +02:00
|
|
|
|
|
|
|
#endif /* WINE_DSHOW_FMAP_H */
|