source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/structuredquerycondition.idl@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 2.9 KB
Line 
1cpp_quote("/**")
2cpp_quote(" * This file is part of the mingw-w64 runtime package.")
3cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
4cpp_quote(" */")
5cpp_quote("")
6cpp_quote("#include <winapifamily.h>")
7
8import "oaidl.idl";
9import "ocidl.idl";
10import "objidl.idl";
11import "propidl.idl";
12
13cpp_quote("")
14typedef [v1_enum] enum tagCONDITION_TYPE {
15 CT_AND_CONDITION,
16 CT_OR_CONDITION,
17 CT_NOT_CONDITION,
18 CT_LEAF_CONDITION
19} CONDITION_TYPE;
20
21cpp_quote("")
22typedef [v1_enum] enum tagCONDITION_OPERATION {
23 COP_IMPLICIT,
24 COP_EQUAL,
25 COP_NOTEQUAL,
26 COP_LESSTHAN,
27 COP_GREATERTHAN,
28 COP_LESSTHANOREQUAL,
29 COP_GREATERTHANOREQUAL,
30 COP_VALUE_STARTSWITH,
31 COP_VALUE_ENDSWITH,
32 COP_VALUE_CONTAINS,
33 COP_VALUE_NOTCONTAINS,
34 COP_DOSWILDCARDS,
35 COP_WORD_EQUAL,
36 COP_WORD_STARTSWITH,
37 COP_APPLICATION_SPECIFIC
38} CONDITION_OPERATION;
39
40cpp_quote("")
41cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
42[object, uuid (4fdef69c-DBC9-454e-9910-B34F3C64B510), pointer_default (unique),]
43interface IRichChunk : IUnknown {
44 [local] HRESULT GetData ([out, unique] ULONG *pFirstPos,[out, unique] ULONG *pLength,[out, unique] LPWSTR *ppsz,[out, unique] PROPVARIANT *pValue);
45 [call_as (GetData)] HRESULT RemoteGetData ([out] ULONG *pFirstPos,[out] ULONG *pLength,[out] LPWSTR *ppsz,[out] PROPVARIANT *pValue);
46}
47
48cpp_quote("")
49[object, uuid (0fc988d4-C935-4b97-A973-46282ea175c8), pointer_default (unique),]
50interface ICondition : IPersistStream {
51 HRESULT GetConditionType ([out, retval] CONDITION_TYPE *pNodeType);
52 HRESULT GetSubConditions ([in] REFIID riid,[out, retval, iid_is (riid)] void **ppv);
53 [local] HRESULT GetComparisonInfo ([out, unique] LPWSTR *ppszPropertyName,[out, unique] CONDITION_OPERATION *pcop,[out, unique] PROPVARIANT *ppropvar);
54 [call_as (GetComparisonInfo)] HRESULT RemoteGetComparisonInfo ([out] LPWSTR *ppszPropertyName,[out] CONDITION_OPERATION *pcop,[out] PROPVARIANT *ppropvar);
55 HRESULT GetValueType ([out, retval] LPWSTR *ppszValueTypeName);
56 HRESULT GetValueNormalization ([out, retval] LPWSTR *ppszNormalization);
57 [local] HRESULT GetInputTerms ([out, unique] IRichChunk **ppPropertyTerm,[out, unique] IRichChunk **ppOperationTerm,[out, unique] IRichChunk **ppValueTerm);
58 [call_as (GetInputTerms)] HRESULT RemoteGetInputTerms ([out] IRichChunk **ppPropertyTerm,[out] IRichChunk **ppOperationTerm,[out] IRichChunk **ppValueTerm);
59 HRESULT Clone ([out, retval] ICondition **ppc);
60};
61
62cpp_quote("")
63[uuid (0db8851d-2e5b-47eb-9208-D28C325A01D7), object, pointer_default (unique),]
64interface ICondition2 : ICondition {
65 HRESULT GetLocale ([out] LPWSTR *ppszLocaleName);
66 [local] HRESULT GetLeafConditionInfo ([out] PROPERTYKEY *ppropkey,[out] CONDITION_OPERATION *pcop,[out] PROPVARIANT *ppropvar);
67 [call_as (GetLeafConditionInfo)] HRESULT RemoteGetLeafConditionInfo ([out] PROPERTYKEY *ppropkey,[out] CONDITION_OPERATION *pcop,[out] PROPVARIANT *ppropvar);
68}
69cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.