Ok for apply?
Regards,
Kai
From 104305fd5600a42cf8ab34b9399d0d580e17057e Mon Sep 17 00:00:00 2001
From: Kai Tietz <ktiet...@googlemail.com>
Date: Fri, 29 Aug 2014 14:36:09 +0200
Subject: Make filter.h autogenerated by filter.idl
---
mingw-w64-headers/Makefile.am | 1 +
mingw-w64-headers/include/filter.idl | 107 ++++++++++++++++++++++++++++++++++
2 files changed, 108 insertions(+), 0 deletions(-)
create mode 100644 mingw-w64-headers/include/filter.idl
diff --git a/mingw-w64-headers/Makefile.am b/mingw-w64-headers/Makefile.am
index 8e1615a..84525bf 100644
--- a/mingw-w64-headers/Makefile.am
+++ b/mingw-w64-headers/Makefile.am
@@ -77,6 +77,7 @@ IDL_SRCS = \
include/downloadmgr.idl \
include/dxva2api.idl \
include/endpointvolume.idl \
+ include/filter.idl \
include/fsrm.idl \
include/fsrmenums.idl \
include/fsrmquota.idl \
diff --git a/mingw-w64-headers/include/filter.idl
b/mingw-w64-headers/include/filter.idl
new file mode 100644
index 0000000..a3dedf1
--- /dev/null
+++ b/mingw-w64-headers/include/filter.idl
@@ -0,0 +1,107 @@
+/**
+ * This file is part of the mingw-w64 runtime package.
+ * No warranty is given; refer to the file DISCLAIMER within this package.
+ */
+
+import "unknwn.idl";
+import "objidl.idl";
+import "propidl.idl";
+
+interface IFilter;
+
+cpp_quote("#include <winapifamily.h>")
+cpp_quote("")
+cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
+cpp_quote("#ifndef _TAGFULLPROPSPEC_DEFINED_")
+cpp_quote("#define _TAGFULLPROPSPEC_DEFINED_")
+typedef struct tagFULLPROPSPEC {
+ GUID guidPropSet;
+ PROPSPEC psProperty;
+} FULLPROPSPEC;
+cpp_quote("#endif")
+
+cpp_quote("#ifndef _tagIFILTER_INIT_DEFINED")
+cpp_quote("#define _tagIFILTER_INIT_DEFINED")
+typedef enum tagIFILTER_INIT {
+ IFILTER_INIT_CANON_PARAGRAPHS = 1,
+ IFILTER_INIT_HARD_LINE_BREAKS = 2,
+ IFILTER_INIT_CANON_HYPHENS = 4,
+ IFILTER_INIT_CANON_SPACES = 8,
+ IFILTER_INIT_APPLY_INDEX_ATTRIBUTES = 16,
+ IFILTER_INIT_APPLY_OTHER_ATTRIBUTES = 32,
+ IFILTER_INIT_APPLY_CRAWL_ATTRIBUTES = 256,
+ IFILTER_INIT_INDEXING_ONLY = 64,
+ IFILTER_INIT_SEARCH_LINKS = 128,
+ IFILTER_INIT_FILTER_OWNED_VALUE_OK = 512,
+ IFILTER_INIT_FILTER_AGGRESSIVE_BREAK = 1024,
+ IFILTER_INIT_DISABLE_EMBEDDED = 2048,
+ IFILTER_INIT_EMIT_FORMATTING = 4096
+} IFILTER_INIT;
+cpp_quote("#define _IFILTER_INIT_DEFINED")
+cpp_quote("#endif")
+
+cpp_quote("#ifndef _tagIFILTER_FLAGS_DEFINED")
+cpp_quote("#define _tagIFILTER_FLAGS_DEFINED")
+typedef enum tagIFILTER_FLAGS {
+ IFILTER_FLAGS_OLE_PROPERTIES = 1
+} IFILTER_FLAGS;
+cpp_quote("#define _IFILTER_FLAGS_DEFINED")
+cpp_quote("#endif")
+
+cpp_quote("#ifndef _tagCHUNKSTATE_DEFINED")
+cpp_quote("#define _tagCHUNKSTATE_DEFINED")
+typedef enum tagCHUNKSTATE {
+ CHUNK_TEXT = 0x1,
+ CHUNK_VALUE = 0x2,
+ CHUNK_FILTER_OWNED_VALUE = 0x4
+} CHUNKSTATE;
+cpp_quote("#define _CHUNKSTATE_DEFINED")
+cpp_quote("#endif")
+
+cpp_quote("#ifndef _tagCHUNK_BREAKTYPE_DEFINED")
+cpp_quote("#define _tagCHUNK_BREAKTYPE_DEFINED")
+typedef enum tagCHUNK_BREAKTYPE {
+ CHUNK_NO_BREAK = 0,
+ CHUNK_EOW = 1,
+ CHUNK_EOS = 2,
+ CHUNK_EOP = 3,
+ CHUNK_EOC = 4
+} CHUNK_BREAKTYPE;
+cpp_quote("#define _CHUNK_BREAKTYPE_DEFINED")
+cpp_quote("#endif")
+
+cpp_quote("#ifndef _tagFILTERREGION_DEFINED")
+cpp_quote("#define _tagFILTERREGION_DEFINED")
+typedef struct tagFILTERREGION {
+ ULONG idChunk;
+ ULONG cwcStart;
+ ULONG cwcExtent;
+} FILTERREGION;
+cpp_quote("#define _FILTERREGION_DEFINED")
+cpp_quote("#endif")
+
+cpp_quote("#ifndef _tagSTAT_CHUNK_DEFINED")
+cpp_quote("#define _tagSTAT_CHUNK_DEFINED")
+typedef struct tagSTAT_CHUNK {
+ ULONG idChunk;
+ CHUNK_BREAKTYPE breakType;
+ CHUNKSTATE flags;
+ LCID locale;
+ FULLPROPSPEC attribute;
+ ULONG idChunkSource;
+ ULONG cwcStartSource;
+ ULONG cwcLenSource;
+} STAT_CHUNK;
+cpp_quote("#define _STAT_CHUNK_DEFINED")
+cpp_quote("#endif")
+
+[object, uuid (89bcb740-6119-101a-BCB7-00dd010655af), pointer_default (unique)]
+interface IFilter : IUnknown {
+ SCODE Init ([in] ULONG grfFlags,[in] ULONG cAttributes,[in, size_is
(cAttributes), unique] FULLPROPSPEC const *aAttributes,[out] ULONG *pFlags);
+ SCODE GetChunk ([out] STAT_CHUNK *pStat);
+ SCODE GetText ([in, out] ULONG *pcwcBuffer,[out, size_is (*pcwcBuffer)]
WCHAR *awcBuffer);
+ SCODE GetValue ([out] PROPVARIANT **ppPropValue);
+ [local] SCODE BindRegion ([in] FILTERREGION origPos,[in] REFIID riid,[out]
void **ppunk);
+}
+
+cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */")
--
1.7.9
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public