1 | cpp_quote("/**")
|
---|
2 | cpp_quote(" * This file is part of the mingw-w64 runtime package.")
|
---|
3 | cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
|
---|
4 | cpp_quote(" */")
|
---|
5 | cpp_quote("")
|
---|
6 | cpp_quote("#include <winapifamily.h>")
|
---|
7 |
|
---|
8 | import "oaidl.idl";
|
---|
9 | import "ocidl.idl";
|
---|
10 | import "objidl.idl";
|
---|
11 | import "propidl.idl";
|
---|
12 |
|
---|
13 | cpp_quote("")
|
---|
14 | typedef [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 |
|
---|
21 | cpp_quote("")
|
---|
22 | typedef [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 |
|
---|
40 | cpp_quote("")
|
---|
41 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
42 | [object, uuid (4fdef69c-DBC9-454e-9910-B34F3C64B510), pointer_default (unique),]
|
---|
43 | interface 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 |
|
---|
48 | cpp_quote("")
|
---|
49 | [object, uuid (0fc988d4-C935-4b97-A973-46282ea175c8), pointer_default (unique),]
|
---|
50 | interface 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 |
|
---|
62 | cpp_quote("")
|
---|
63 | [uuid (0db8851d-2e5b-47eb-9208-D28C325A01D7), object, pointer_default (unique),]
|
---|
64 | interface 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 | }
|
---|
69 | cpp_quote("#endif")
|
---|