Commit c282e9d4 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

include: Make fil_data.idl a common header.

parent 7d243d14
...@@ -9,7 +9,6 @@ C_SRCS = \ ...@@ -9,7 +9,6 @@ C_SRCS = \
parsedisplayname.c parsedisplayname.c
IDL_SRCS = \ IDL_SRCS = \
devenum_classes.idl \ devenum_classes.idl
fil_data.idl
RC_SRCS = devenum.rc RC_SRCS = devenum.rc
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include "mmddk.h" #include "mmddk.h"
#include "initguid.h" #include "initguid.h"
#include "fil_data.h" #include "wine/fil_data.h"
WINE_DEFAULT_DEBUG_CHANNEL(devenum); WINE_DEFAULT_DEBUG_CHANNEL(devenum);
......
...@@ -9,5 +9,4 @@ C_SRCS = \ ...@@ -9,5 +9,4 @@ C_SRCS = \
RC_SRCS = dxdiagn.rc RC_SRCS = dxdiagn.rc
IDL_SRCS = \ IDL_SRCS = \
dxdiagn.idl \ dxdiagn.idl
fil_data.idl
/*
* 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
*/
#pragma makedep header
import "objidl.idl";
import "strmif.idl";
import "unknwn.idl";
/*****************************************************************************
* IAMFilterData interface
*/
[
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);
}
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "d3d9.h" #include "d3d9.h"
#include "strmif.h" #include "strmif.h"
#include "initguid.h" #include "initguid.h"
#include "fil_data.h" #include "wine/fil_data.h"
#include "psapi.h" #include "psapi.h"
#include "wbemcli.h" #include "wbemcli.h"
......
...@@ -30,7 +30,6 @@ RC_SRCS = version.rc ...@@ -30,7 +30,6 @@ RC_SRCS = version.rc
IDL_SRCS = \ IDL_SRCS = \
control_tlb.idl \ control_tlb.idl \
fil_data.idl \
quartz_strmif.idl quartz_strmif.idl
dlldata_EXTRADEFS = -DENTRY_PREFIX=QUARTZ_ -DPROXY_DELEGATION -DWINE_REGISTER_DLL dlldata_EXTRADEFS = -DENTRY_PREFIX=QUARTZ_ -DPROXY_DELEGATION -DWINE_REGISTER_DLL
/*
* 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
*/
#pragma makedep header
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);
}
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include "wine/unicode.h" #include "wine/unicode.h"
#include "uuids.h" #include "uuids.h"
#include "initguid.h" #include "initguid.h"
#include "fil_data.h" #include "wine/fil_data.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -12,7 +12,6 @@ C_SRCS = \ ...@@ -12,7 +12,6 @@ C_SRCS = \
referenceclock.c \ referenceclock.c \
videorenderer.c videorenderer.c
IDL_SRCS = fil_data.idl
RC_SRCS = \ RC_SRCS = \
rsrc.rc rsrc.rc
/*
* 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
*/
#pragma makedep header
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);
}
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "dshow.h" #include "dshow.h"
#include "winternl.h" #include "winternl.h"
#include "fil_data.h" #include "wine/fil_data.h"
DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0); DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
......
...@@ -663,6 +663,7 @@ SOURCES = \ ...@@ -663,6 +663,7 @@ SOURCES = \
windowsx.h \ windowsx.h \
wine/debug.h \ wine/debug.h \
wine/exception.h \ wine/exception.h \
wine/fil_data.idl \
wine/itss.idl \ wine/itss.idl \
wine/library.h \ wine/library.h \
wine/svcctl.idl \ wine/svcctl.idl \
......
...@@ -18,14 +18,9 @@ ...@@ -18,14 +18,9 @@
#pragma makedep header #pragma makedep header
import "objidl.idl";
import "strmif.idl";
import "unknwn.idl"; import "unknwn.idl";
import "strmif.idl";
/*****************************************************************************
* IAMFilterData interface
*/
[ [
object, object,
uuid(97f7c4d4-547b-4a5f-8332-536430ad2e4d), uuid(97f7c4d4-547b-4a5f-8332-536430ad2e4d),
...@@ -33,15 +28,7 @@ import "unknwn.idl"; ...@@ -33,15 +28,7 @@ import "unknwn.idl";
] ]
interface IAMFilterData : IUnknown interface IAMFilterData : IUnknown
{ {
typedef [unique] IAMFilterData *LPIAMFILTERDATA; HRESULT ParseFilterData( [in] BYTE *data, [in] ULONG size, [out] BYTE **regfilter );
HRESULT ParseFilterData(
[in] BYTE * rgbFilterData,
[in] ULONG cb,
[out] BYTE ** prgbRegFilter2);
HRESULT CreateFilterData( HRESULT CreateFilterData( [in] REGFILTER2 *regfilter, [out] BYTE **data, [out] ULONG *size );
[in] REGFILTER2 * prf2,
[out] BYTE ** prgbFilterData,
[out] ULONG * pcb);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment