From 516aac77aa3af8a9b782e820372eb5bafd7e41ff Mon Sep 17 00:00:00 2001 From: Vitaliy Margolen Date: Mon, 29 Jun 2009 22:06:04 -0600 Subject: [PATCH] dxdiagn: Add fil_data.idl to describe IAMFilterData interface. --- .gitignore | 1 + dlls/dxdiagn/Makefile.in | 2 ++ dlls/dxdiagn/fil_data.idl | 45 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dlls/dxdiagn/fil_data.idl diff --git a/.gitignore b/.gitignore index a47a09636f..f096f4a6b4 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ dlls/advapi32/svcctl.h dlls/advapi32/svcctl_c.c dlls/atl/atliface.h dlls/commdlg.dll16 +dlls/dxdiagn/fil_data.h dlls/gdi.exe16 dlls/jscript/jsglobal.tlb dlls/jscript/parser.tab.c diff --git a/dlls/dxdiagn/Makefile.in b/dlls/dxdiagn/Makefile.in index 56ca6569a3..c69df4e2f7 100644 --- a/dlls/dxdiagn/Makefile.in +++ b/dlls/dxdiagn/Makefile.in @@ -13,6 +13,8 @@ C_SRCS = \ RC_SRCS = version.rc +IDL_H_SRCS = fil_data.idl + @MAKE_DLL_RULES@ @DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/dxdiagn/fil_data.idl b/dlls/dxdiagn/fil_data.idl new file mode 100644 index 0000000000..806c053429 --- /dev/null +++ b/dlls/dxdiagn/fil_data.idl @@ -0,0 +1,45 @@ +/* + * 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 + */ +[ + 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); +}