mirror of
https://github.com/reactos/reactos.git
synced 2024-11-06 06:33:08 +00:00
51 lines
1.6 KiB
Text
51 lines
1.6 KiB
Text
|
/*
|
||
|
* Copyright (C) 2009 Vitaliy Margolen
|
||
|
*
|
||
|
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||
|
*/
|
||
|
|
||
|
import "objidl.idl";
|
||
|
import "strmif.idl";
|
||
|
import "unknwn.idl";
|
||
|
|
||
|
|
||
|
/*****************************************************************************
|
||
|
* IAMFilterData interface
|
||
|
*
|
||
|
* Notes:
|
||
|
* - This interface is deprecated and IFilterMapper2 should be used instead.
|
||
|
* - There is no full replacement for IAMFilterData::ParseFilterData short of manually
|
||
|
* parsing out the REGFILTER2 struct from the binary blob.
|
||
|
*/
|
||
|
[
|
||
|
object,
|
||
|
uuid(97f7c4d4-547b-4a5f-8332-536430ad2e4d),
|
||
|
pointer_default(unique)
|
||
|
]
|
||
|
interface IAMFilterData : IUnknown
|
||
|
{
|
||
|
typedef [unique] IAMFilterData *LPIAMFILTERDATA;
|
||
|
|
||
|
HRESULT ParseFilterData(
|
||
|
[in] BYTE * rgbFilterData,
|
||
|
[in] ULONG cb,
|
||
|
[out] BYTE ** prgbRegFilter2);
|
||
|
|
||
|
HRESULT CreateFilterData(
|
||
|
[in] REGFILTER2 * prf2,
|
||
|
[out] BYTE ** prgbFilterData,
|
||
|
[out] ULONG * pcb);
|
||
|
}
|