source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/structuredquerycondition.h@ 1175

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

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

File size: 22.9 KB
RevLine 
[1166]1/*** Autogenerated by WIDL 6.4 from include/structuredquerycondition.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __structuredquerycondition_h__
17#define __structuredquerycondition_h__
18
19/* Forward declarations */
20
21#ifndef __IRichChunk_FWD_DEFINED__
22#define __IRichChunk_FWD_DEFINED__
23typedef interface IRichChunk IRichChunk;
24#ifdef __cplusplus
25interface IRichChunk;
26#endif /* __cplusplus */
27#endif
28
29#ifndef __ICondition_FWD_DEFINED__
30#define __ICondition_FWD_DEFINED__
31typedef interface ICondition ICondition;
32#ifdef __cplusplus
33interface ICondition;
34#endif /* __cplusplus */
35#endif
36
37#ifndef __ICondition2_FWD_DEFINED__
38#define __ICondition2_FWD_DEFINED__
39typedef interface ICondition2 ICondition2;
40#ifdef __cplusplus
41interface ICondition2;
42#endif /* __cplusplus */
43#endif
44
45/* Headers for imported files */
46
47#include <oaidl.h>
48#include <ocidl.h>
49#include <objidl.h>
50#include <propidl.h>
51
52#ifdef __cplusplus
53extern "C" {
54#endif
55
56/**
57 * This file is part of the mingw-w64 runtime package.
58 * No warranty is given; refer to the file DISCLAIMER within this package.
59 */
60
61#include <winapifamily.h>
62
63typedef enum tagCONDITION_TYPE {
64 CT_AND_CONDITION = 0,
65 CT_OR_CONDITION = 1,
66 CT_NOT_CONDITION = 2,
67 CT_LEAF_CONDITION = 3
68} CONDITION_TYPE;
69
70typedef enum tagCONDITION_OPERATION {
71 COP_IMPLICIT = 0,
72 COP_EQUAL = 1,
73 COP_NOTEQUAL = 2,
74 COP_LESSTHAN = 3,
75 COP_GREATERTHAN = 4,
76 COP_LESSTHANOREQUAL = 5,
77 COP_GREATERTHANOREQUAL = 6,
78 COP_VALUE_STARTSWITH = 7,
79 COP_VALUE_ENDSWITH = 8,
80 COP_VALUE_CONTAINS = 9,
81 COP_VALUE_NOTCONTAINS = 10,
82 COP_DOSWILDCARDS = 11,
83 COP_WORD_EQUAL = 12,
84 COP_WORD_STARTSWITH = 13,
85 COP_APPLICATION_SPECIFIC = 14
86} CONDITION_OPERATION;
87
88#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
89/*****************************************************************************
90 * IRichChunk interface
91 */
92#ifndef __IRichChunk_INTERFACE_DEFINED__
93#define __IRichChunk_INTERFACE_DEFINED__
94
95DEFINE_GUID(IID_IRichChunk, 0x4fdef69c, 0xdbc9, 0x454e, 0x99,0x10, 0xb3,0x4f,0x3c,0x64,0xb5,0x10);
96#if defined(__cplusplus) && !defined(CINTERFACE)
97MIDL_INTERFACE("4fdef69c-dbc9-454e-9910-b34f3c64b510")
98IRichChunk : public IUnknown
99{
100 virtual HRESULT STDMETHODCALLTYPE GetData(
101 ULONG *pFirstPos,
102 ULONG *pLength,
103 LPWSTR *ppsz,
104 PROPVARIANT *pValue) = 0;
105
106};
107#ifdef __CRT_UUID_DECL
108__CRT_UUID_DECL(IRichChunk, 0x4fdef69c, 0xdbc9, 0x454e, 0x99,0x10, 0xb3,0x4f,0x3c,0x64,0xb5,0x10)
109#endif
110#else
111typedef struct IRichChunkVtbl {
112 BEGIN_INTERFACE
113
114 /*** IUnknown methods ***/
115 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
116 IRichChunk *This,
117 REFIID riid,
118 void **ppvObject);
119
120 ULONG (STDMETHODCALLTYPE *AddRef)(
121 IRichChunk *This);
122
123 ULONG (STDMETHODCALLTYPE *Release)(
124 IRichChunk *This);
125
126 /*** IRichChunk methods ***/
127 HRESULT (STDMETHODCALLTYPE *GetData)(
128 IRichChunk *This,
129 ULONG *pFirstPos,
130 ULONG *pLength,
131 LPWSTR *ppsz,
132 PROPVARIANT *pValue);
133
134 END_INTERFACE
135} IRichChunkVtbl;
136
137interface IRichChunk {
138 CONST_VTBL IRichChunkVtbl* lpVtbl;
139};
140
141#ifdef COBJMACROS
142#ifndef WIDL_C_INLINE_WRAPPERS
143/*** IUnknown methods ***/
144#define IRichChunk_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
145#define IRichChunk_AddRef(This) (This)->lpVtbl->AddRef(This)
146#define IRichChunk_Release(This) (This)->lpVtbl->Release(This)
147/*** IRichChunk methods ***/
148#define IRichChunk_GetData(This,pFirstPos,pLength,ppsz,pValue) (This)->lpVtbl->GetData(This,pFirstPos,pLength,ppsz,pValue)
149#else
150/*** IUnknown methods ***/
151static FORCEINLINE HRESULT IRichChunk_QueryInterface(IRichChunk* This,REFIID riid,void **ppvObject) {
152 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
153}
154static FORCEINLINE ULONG IRichChunk_AddRef(IRichChunk* This) {
155 return This->lpVtbl->AddRef(This);
156}
157static FORCEINLINE ULONG IRichChunk_Release(IRichChunk* This) {
158 return This->lpVtbl->Release(This);
159}
160/*** IRichChunk methods ***/
161static FORCEINLINE HRESULT IRichChunk_GetData(IRichChunk* This,ULONG *pFirstPos,ULONG *pLength,LPWSTR *ppsz,PROPVARIANT *pValue) {
162 return This->lpVtbl->GetData(This,pFirstPos,pLength,ppsz,pValue);
163}
164#endif
165#endif
166
167#endif
168
169HRESULT STDMETHODCALLTYPE IRichChunk_RemoteGetData_Proxy(
170 IRichChunk* This,
171 ULONG *pFirstPos,
172 ULONG *pLength,
173 LPWSTR *ppsz,
174 PROPVARIANT *pValue);
175void __RPC_STUB IRichChunk_RemoteGetData_Stub(
176 IRpcStubBuffer* This,
177 IRpcChannelBuffer* pRpcChannelBuffer,
178 PRPC_MESSAGE pRpcMessage,
179 DWORD* pdwStubPhase);
180HRESULT CALLBACK IRichChunk_GetData_Proxy(
181 IRichChunk* This,
182 ULONG *pFirstPos,
183 ULONG *pLength,
184 LPWSTR *ppsz,
185 PROPVARIANT *pValue);
186HRESULT __RPC_STUB IRichChunk_GetData_Stub(
187 IRichChunk* This,
188 ULONG *pFirstPos,
189 ULONG *pLength,
190 LPWSTR *ppsz,
191 PROPVARIANT *pValue);
192
193#endif /* __IRichChunk_INTERFACE_DEFINED__ */
194
195
196/*****************************************************************************
197 * ICondition interface
198 */
199#ifndef __ICondition_INTERFACE_DEFINED__
200#define __ICondition_INTERFACE_DEFINED__
201
202DEFINE_GUID(IID_ICondition, 0x0fc988d4, 0xc935, 0x4b97, 0xa9,0x73, 0x46,0x28,0x2e,0xa1,0x75,0xc8);
203#if defined(__cplusplus) && !defined(CINTERFACE)
204MIDL_INTERFACE("0fc988d4-c935-4b97-a973-46282ea175c8")
205ICondition : public IPersistStream
206{
207 virtual HRESULT STDMETHODCALLTYPE GetConditionType(
208 CONDITION_TYPE *pNodeType) = 0;
209
210 virtual HRESULT STDMETHODCALLTYPE GetSubConditions(
211 REFIID riid,
212 void **ppv) = 0;
213
214 virtual HRESULT STDMETHODCALLTYPE GetComparisonInfo(
215 LPWSTR *ppszPropertyName,
216 CONDITION_OPERATION *pcop,
217 PROPVARIANT *ppropvar) = 0;
218
219 virtual HRESULT STDMETHODCALLTYPE GetValueType(
220 LPWSTR *ppszValueTypeName) = 0;
221
222 virtual HRESULT STDMETHODCALLTYPE GetValueNormalization(
223 LPWSTR *ppszNormalization) = 0;
224
225 virtual HRESULT STDMETHODCALLTYPE GetInputTerms(
226 IRichChunk **ppPropertyTerm,
227 IRichChunk **ppOperationTerm,
228 IRichChunk **ppValueTerm) = 0;
229
230 virtual HRESULT STDMETHODCALLTYPE Clone(
231 ICondition **ppc) = 0;
232
233};
234#ifdef __CRT_UUID_DECL
235__CRT_UUID_DECL(ICondition, 0x0fc988d4, 0xc935, 0x4b97, 0xa9,0x73, 0x46,0x28,0x2e,0xa1,0x75,0xc8)
236#endif
237#else
238typedef struct IConditionVtbl {
239 BEGIN_INTERFACE
240
241 /*** IUnknown methods ***/
242 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
243 ICondition *This,
244 REFIID riid,
245 void **ppvObject);
246
247 ULONG (STDMETHODCALLTYPE *AddRef)(
248 ICondition *This);
249
250 ULONG (STDMETHODCALLTYPE *Release)(
251 ICondition *This);
252
253 /*** IPersist methods ***/
254 HRESULT (STDMETHODCALLTYPE *GetClassID)(
255 ICondition *This,
256 CLSID *pClassID);
257
258 /*** IPersistStream methods ***/
259 HRESULT (STDMETHODCALLTYPE *IsDirty)(
260 ICondition *This);
261
262 HRESULT (STDMETHODCALLTYPE *Load)(
263 ICondition *This,
264 IStream *pStm);
265
266 HRESULT (STDMETHODCALLTYPE *Save)(
267 ICondition *This,
268 IStream *pStm,
269 WINBOOL fClearDirty);
270
271 HRESULT (STDMETHODCALLTYPE *GetSizeMax)(
272 ICondition *This,
273 ULARGE_INTEGER *pcbSize);
274
275 /*** ICondition methods ***/
276 HRESULT (STDMETHODCALLTYPE *GetConditionType)(
277 ICondition *This,
278 CONDITION_TYPE *pNodeType);
279
280 HRESULT (STDMETHODCALLTYPE *GetSubConditions)(
281 ICondition *This,
282 REFIID riid,
283 void **ppv);
284
285 HRESULT (STDMETHODCALLTYPE *GetComparisonInfo)(
286 ICondition *This,
287 LPWSTR *ppszPropertyName,
288 CONDITION_OPERATION *pcop,
289 PROPVARIANT *ppropvar);
290
291 HRESULT (STDMETHODCALLTYPE *GetValueType)(
292 ICondition *This,
293 LPWSTR *ppszValueTypeName);
294
295 HRESULT (STDMETHODCALLTYPE *GetValueNormalization)(
296 ICondition *This,
297 LPWSTR *ppszNormalization);
298
299 HRESULT (STDMETHODCALLTYPE *GetInputTerms)(
300 ICondition *This,
301 IRichChunk **ppPropertyTerm,
302 IRichChunk **ppOperationTerm,
303 IRichChunk **ppValueTerm);
304
305 HRESULT (STDMETHODCALLTYPE *Clone)(
306 ICondition *This,
307 ICondition **ppc);
308
309 END_INTERFACE
310} IConditionVtbl;
311
312interface ICondition {
313 CONST_VTBL IConditionVtbl* lpVtbl;
314};
315
316#ifdef COBJMACROS
317#ifndef WIDL_C_INLINE_WRAPPERS
318/*** IUnknown methods ***/
319#define ICondition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
320#define ICondition_AddRef(This) (This)->lpVtbl->AddRef(This)
321#define ICondition_Release(This) (This)->lpVtbl->Release(This)
322/*** IPersist methods ***/
323#define ICondition_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
324/*** IPersistStream methods ***/
325#define ICondition_IsDirty(This) (This)->lpVtbl->IsDirty(This)
326#define ICondition_Load(This,pStm) (This)->lpVtbl->Load(This,pStm)
327#define ICondition_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty)
328#define ICondition_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize)
329/*** ICondition methods ***/
330#define ICondition_GetConditionType(This,pNodeType) (This)->lpVtbl->GetConditionType(This,pNodeType)
331#define ICondition_GetSubConditions(This,riid,ppv) (This)->lpVtbl->GetSubConditions(This,riid,ppv)
332#define ICondition_GetComparisonInfo(This,ppszPropertyName,pcop,ppropvar) (This)->lpVtbl->GetComparisonInfo(This,ppszPropertyName,pcop,ppropvar)
333#define ICondition_GetValueType(This,ppszValueTypeName) (This)->lpVtbl->GetValueType(This,ppszValueTypeName)
334#define ICondition_GetValueNormalization(This,ppszNormalization) (This)->lpVtbl->GetValueNormalization(This,ppszNormalization)
335#define ICondition_GetInputTerms(This,ppPropertyTerm,ppOperationTerm,ppValueTerm) (This)->lpVtbl->GetInputTerms(This,ppPropertyTerm,ppOperationTerm,ppValueTerm)
336#define ICondition_Clone(This,ppc) (This)->lpVtbl->Clone(This,ppc)
337#else
338/*** IUnknown methods ***/
339static FORCEINLINE HRESULT ICondition_QueryInterface(ICondition* This,REFIID riid,void **ppvObject) {
340 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
341}
342static FORCEINLINE ULONG ICondition_AddRef(ICondition* This) {
343 return This->lpVtbl->AddRef(This);
344}
345static FORCEINLINE ULONG ICondition_Release(ICondition* This) {
346 return This->lpVtbl->Release(This);
347}
348/*** IPersist methods ***/
349static FORCEINLINE HRESULT ICondition_GetClassID(ICondition* This,CLSID *pClassID) {
350 return This->lpVtbl->GetClassID(This,pClassID);
351}
352/*** IPersistStream methods ***/
353static FORCEINLINE HRESULT ICondition_IsDirty(ICondition* This) {
354 return This->lpVtbl->IsDirty(This);
355}
356static FORCEINLINE HRESULT ICondition_Load(ICondition* This,IStream *pStm) {
357 return This->lpVtbl->Load(This,pStm);
358}
359static FORCEINLINE HRESULT ICondition_Save(ICondition* This,IStream *pStm,WINBOOL fClearDirty) {
360 return This->lpVtbl->Save(This,pStm,fClearDirty);
361}
362static FORCEINLINE HRESULT ICondition_GetSizeMax(ICondition* This,ULARGE_INTEGER *pcbSize) {
363 return This->lpVtbl->GetSizeMax(This,pcbSize);
364}
365/*** ICondition methods ***/
366static FORCEINLINE HRESULT ICondition_GetConditionType(ICondition* This,CONDITION_TYPE *pNodeType) {
367 return This->lpVtbl->GetConditionType(This,pNodeType);
368}
369static FORCEINLINE HRESULT ICondition_GetSubConditions(ICondition* This,REFIID riid,void **ppv) {
370 return This->lpVtbl->GetSubConditions(This,riid,ppv);
371}
372static FORCEINLINE HRESULT ICondition_GetComparisonInfo(ICondition* This,LPWSTR *ppszPropertyName,CONDITION_OPERATION *pcop,PROPVARIANT *ppropvar) {
373 return This->lpVtbl->GetComparisonInfo(This,ppszPropertyName,pcop,ppropvar);
374}
375static FORCEINLINE HRESULT ICondition_GetValueType(ICondition* This,LPWSTR *ppszValueTypeName) {
376 return This->lpVtbl->GetValueType(This,ppszValueTypeName);
377}
378static FORCEINLINE HRESULT ICondition_GetValueNormalization(ICondition* This,LPWSTR *ppszNormalization) {
379 return This->lpVtbl->GetValueNormalization(This,ppszNormalization);
380}
381static FORCEINLINE HRESULT ICondition_GetInputTerms(ICondition* This,IRichChunk **ppPropertyTerm,IRichChunk **ppOperationTerm,IRichChunk **ppValueTerm) {
382 return This->lpVtbl->GetInputTerms(This,ppPropertyTerm,ppOperationTerm,ppValueTerm);
383}
384static FORCEINLINE HRESULT ICondition_Clone(ICondition* This,ICondition **ppc) {
385 return This->lpVtbl->Clone(This,ppc);
386}
387#endif
388#endif
389
390#endif
391
392HRESULT STDMETHODCALLTYPE ICondition_RemoteGetComparisonInfo_Proxy(
393 ICondition* This,
394 LPWSTR *ppszPropertyName,
395 CONDITION_OPERATION *pcop,
396 PROPVARIANT *ppropvar);
397void __RPC_STUB ICondition_RemoteGetComparisonInfo_Stub(
398 IRpcStubBuffer* This,
399 IRpcChannelBuffer* pRpcChannelBuffer,
400 PRPC_MESSAGE pRpcMessage,
401 DWORD* pdwStubPhase);
402HRESULT STDMETHODCALLTYPE ICondition_RemoteGetInputTerms_Proxy(
403 ICondition* This,
404 IRichChunk **ppPropertyTerm,
405 IRichChunk **ppOperationTerm,
406 IRichChunk **ppValueTerm);
407void __RPC_STUB ICondition_RemoteGetInputTerms_Stub(
408 IRpcStubBuffer* This,
409 IRpcChannelBuffer* pRpcChannelBuffer,
410 PRPC_MESSAGE pRpcMessage,
411 DWORD* pdwStubPhase);
412HRESULT CALLBACK ICondition_GetComparisonInfo_Proxy(
413 ICondition* This,
414 LPWSTR *ppszPropertyName,
415 CONDITION_OPERATION *pcop,
416 PROPVARIANT *ppropvar);
417HRESULT __RPC_STUB ICondition_GetComparisonInfo_Stub(
418 ICondition* This,
419 LPWSTR *ppszPropertyName,
420 CONDITION_OPERATION *pcop,
421 PROPVARIANT *ppropvar);
422HRESULT CALLBACK ICondition_GetInputTerms_Proxy(
423 ICondition* This,
424 IRichChunk **ppPropertyTerm,
425 IRichChunk **ppOperationTerm,
426 IRichChunk **ppValueTerm);
427HRESULT __RPC_STUB ICondition_GetInputTerms_Stub(
428 ICondition* This,
429 IRichChunk **ppPropertyTerm,
430 IRichChunk **ppOperationTerm,
431 IRichChunk **ppValueTerm);
432
433#endif /* __ICondition_INTERFACE_DEFINED__ */
434
435
436/*****************************************************************************
437 * ICondition2 interface
438 */
439#ifndef __ICondition2_INTERFACE_DEFINED__
440#define __ICondition2_INTERFACE_DEFINED__
441
442DEFINE_GUID(IID_ICondition2, 0x0db8851d, 0x2e5b, 0x47eb, 0x92,0x08, 0xd2,0x8c,0x32,0x5a,0x01,0xd7);
443#if defined(__cplusplus) && !defined(CINTERFACE)
444MIDL_INTERFACE("0db8851d-2e5b-47eb-9208-d28c325a01d7")
445ICondition2 : public ICondition
446{
447 virtual HRESULT STDMETHODCALLTYPE GetLocale(
448 LPWSTR *ppszLocaleName) = 0;
449
450 virtual HRESULT STDMETHODCALLTYPE GetLeafConditionInfo(
451 PROPERTYKEY *ppropkey,
452 CONDITION_OPERATION *pcop,
453 PROPVARIANT *ppropvar) = 0;
454
455};
456#ifdef __CRT_UUID_DECL
457__CRT_UUID_DECL(ICondition2, 0x0db8851d, 0x2e5b, 0x47eb, 0x92,0x08, 0xd2,0x8c,0x32,0x5a,0x01,0xd7)
458#endif
459#else
460typedef struct ICondition2Vtbl {
461 BEGIN_INTERFACE
462
463 /*** IUnknown methods ***/
464 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
465 ICondition2 *This,
466 REFIID riid,
467 void **ppvObject);
468
469 ULONG (STDMETHODCALLTYPE *AddRef)(
470 ICondition2 *This);
471
472 ULONG (STDMETHODCALLTYPE *Release)(
473 ICondition2 *This);
474
475 /*** IPersist methods ***/
476 HRESULT (STDMETHODCALLTYPE *GetClassID)(
477 ICondition2 *This,
478 CLSID *pClassID);
479
480 /*** IPersistStream methods ***/
481 HRESULT (STDMETHODCALLTYPE *IsDirty)(
482 ICondition2 *This);
483
484 HRESULT (STDMETHODCALLTYPE *Load)(
485 ICondition2 *This,
486 IStream *pStm);
487
488 HRESULT (STDMETHODCALLTYPE *Save)(
489 ICondition2 *This,
490 IStream *pStm,
491 WINBOOL fClearDirty);
492
493 HRESULT (STDMETHODCALLTYPE *GetSizeMax)(
494 ICondition2 *This,
495 ULARGE_INTEGER *pcbSize);
496
497 /*** ICondition methods ***/
498 HRESULT (STDMETHODCALLTYPE *GetConditionType)(
499 ICondition2 *This,
500 CONDITION_TYPE *pNodeType);
501
502 HRESULT (STDMETHODCALLTYPE *GetSubConditions)(
503 ICondition2 *This,
504 REFIID riid,
505 void **ppv);
506
507 HRESULT (STDMETHODCALLTYPE *GetComparisonInfo)(
508 ICondition2 *This,
509 LPWSTR *ppszPropertyName,
510 CONDITION_OPERATION *pcop,
511 PROPVARIANT *ppropvar);
512
513 HRESULT (STDMETHODCALLTYPE *GetValueType)(
514 ICondition2 *This,
515 LPWSTR *ppszValueTypeName);
516
517 HRESULT (STDMETHODCALLTYPE *GetValueNormalization)(
518 ICondition2 *This,
519 LPWSTR *ppszNormalization);
520
521 HRESULT (STDMETHODCALLTYPE *GetInputTerms)(
522 ICondition2 *This,
523 IRichChunk **ppPropertyTerm,
524 IRichChunk **ppOperationTerm,
525 IRichChunk **ppValueTerm);
526
527 HRESULT (STDMETHODCALLTYPE *Clone)(
528 ICondition2 *This,
529 ICondition **ppc);
530
531 /*** ICondition2 methods ***/
532 HRESULT (STDMETHODCALLTYPE *GetLocale)(
533 ICondition2 *This,
534 LPWSTR *ppszLocaleName);
535
536 HRESULT (STDMETHODCALLTYPE *GetLeafConditionInfo)(
537 ICondition2 *This,
538 PROPERTYKEY *ppropkey,
539 CONDITION_OPERATION *pcop,
540 PROPVARIANT *ppropvar);
541
542 END_INTERFACE
543} ICondition2Vtbl;
544
545interface ICondition2 {
546 CONST_VTBL ICondition2Vtbl* lpVtbl;
547};
548
549#ifdef COBJMACROS
550#ifndef WIDL_C_INLINE_WRAPPERS
551/*** IUnknown methods ***/
552#define ICondition2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
553#define ICondition2_AddRef(This) (This)->lpVtbl->AddRef(This)
554#define ICondition2_Release(This) (This)->lpVtbl->Release(This)
555/*** IPersist methods ***/
556#define ICondition2_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
557/*** IPersistStream methods ***/
558#define ICondition2_IsDirty(This) (This)->lpVtbl->IsDirty(This)
559#define ICondition2_Load(This,pStm) (This)->lpVtbl->Load(This,pStm)
560#define ICondition2_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty)
561#define ICondition2_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize)
562/*** ICondition methods ***/
563#define ICondition2_GetConditionType(This,pNodeType) (This)->lpVtbl->GetConditionType(This,pNodeType)
564#define ICondition2_GetSubConditions(This,riid,ppv) (This)->lpVtbl->GetSubConditions(This,riid,ppv)
565#define ICondition2_GetComparisonInfo(This,ppszPropertyName,pcop,ppropvar) (This)->lpVtbl->GetComparisonInfo(This,ppszPropertyName,pcop,ppropvar)
566#define ICondition2_GetValueType(This,ppszValueTypeName) (This)->lpVtbl->GetValueType(This,ppszValueTypeName)
567#define ICondition2_GetValueNormalization(This,ppszNormalization) (This)->lpVtbl->GetValueNormalization(This,ppszNormalization)
568#define ICondition2_GetInputTerms(This,ppPropertyTerm,ppOperationTerm,ppValueTerm) (This)->lpVtbl->GetInputTerms(This,ppPropertyTerm,ppOperationTerm,ppValueTerm)
569#define ICondition2_Clone(This,ppc) (This)->lpVtbl->Clone(This,ppc)
570/*** ICondition2 methods ***/
571#define ICondition2_GetLocale(This,ppszLocaleName) (This)->lpVtbl->GetLocale(This,ppszLocaleName)
572#define ICondition2_GetLeafConditionInfo(This,ppropkey,pcop,ppropvar) (This)->lpVtbl->GetLeafConditionInfo(This,ppropkey,pcop,ppropvar)
573#else
574/*** IUnknown methods ***/
575static FORCEINLINE HRESULT ICondition2_QueryInterface(ICondition2* This,REFIID riid,void **ppvObject) {
576 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
577}
578static FORCEINLINE ULONG ICondition2_AddRef(ICondition2* This) {
579 return This->lpVtbl->AddRef(This);
580}
581static FORCEINLINE ULONG ICondition2_Release(ICondition2* This) {
582 return This->lpVtbl->Release(This);
583}
584/*** IPersist methods ***/
585static FORCEINLINE HRESULT ICondition2_GetClassID(ICondition2* This,CLSID *pClassID) {
586 return This->lpVtbl->GetClassID(This,pClassID);
587}
588/*** IPersistStream methods ***/
589static FORCEINLINE HRESULT ICondition2_IsDirty(ICondition2* This) {
590 return This->lpVtbl->IsDirty(This);
591}
592static FORCEINLINE HRESULT ICondition2_Load(ICondition2* This,IStream *pStm) {
593 return This->lpVtbl->Load(This,pStm);
594}
595static FORCEINLINE HRESULT ICondition2_Save(ICondition2* This,IStream *pStm,WINBOOL fClearDirty) {
596 return This->lpVtbl->Save(This,pStm,fClearDirty);
597}
598static FORCEINLINE HRESULT ICondition2_GetSizeMax(ICondition2* This,ULARGE_INTEGER *pcbSize) {
599 return This->lpVtbl->GetSizeMax(This,pcbSize);
600}
601/*** ICondition methods ***/
602static FORCEINLINE HRESULT ICondition2_GetConditionType(ICondition2* This,CONDITION_TYPE *pNodeType) {
603 return This->lpVtbl->GetConditionType(This,pNodeType);
604}
605static FORCEINLINE HRESULT ICondition2_GetSubConditions(ICondition2* This,REFIID riid,void **ppv) {
606 return This->lpVtbl->GetSubConditions(This,riid,ppv);
607}
608static FORCEINLINE HRESULT ICondition2_GetComparisonInfo(ICondition2* This,LPWSTR *ppszPropertyName,CONDITION_OPERATION *pcop,PROPVARIANT *ppropvar) {
609 return This->lpVtbl->GetComparisonInfo(This,ppszPropertyName,pcop,ppropvar);
610}
611static FORCEINLINE HRESULT ICondition2_GetValueType(ICondition2* This,LPWSTR *ppszValueTypeName) {
612 return This->lpVtbl->GetValueType(This,ppszValueTypeName);
613}
614static FORCEINLINE HRESULT ICondition2_GetValueNormalization(ICondition2* This,LPWSTR *ppszNormalization) {
615 return This->lpVtbl->GetValueNormalization(This,ppszNormalization);
616}
617static FORCEINLINE HRESULT ICondition2_GetInputTerms(ICondition2* This,IRichChunk **ppPropertyTerm,IRichChunk **ppOperationTerm,IRichChunk **ppValueTerm) {
618 return This->lpVtbl->GetInputTerms(This,ppPropertyTerm,ppOperationTerm,ppValueTerm);
619}
620static FORCEINLINE HRESULT ICondition2_Clone(ICondition2* This,ICondition **ppc) {
621 return This->lpVtbl->Clone(This,ppc);
622}
623/*** ICondition2 methods ***/
624static FORCEINLINE HRESULT ICondition2_GetLocale(ICondition2* This,LPWSTR *ppszLocaleName) {
625 return This->lpVtbl->GetLocale(This,ppszLocaleName);
626}
627static FORCEINLINE HRESULT ICondition2_GetLeafConditionInfo(ICondition2* This,PROPERTYKEY *ppropkey,CONDITION_OPERATION *pcop,PROPVARIANT *ppropvar) {
628 return This->lpVtbl->GetLeafConditionInfo(This,ppropkey,pcop,ppropvar);
629}
630#endif
631#endif
632
633#endif
634
635HRESULT STDMETHODCALLTYPE ICondition2_RemoteGetLeafConditionInfo_Proxy(
636 ICondition2* This,
637 PROPERTYKEY *ppropkey,
638 CONDITION_OPERATION *pcop,
639 PROPVARIANT *ppropvar);
640void __RPC_STUB ICondition2_RemoteGetLeafConditionInfo_Stub(
641 IRpcStubBuffer* This,
642 IRpcChannelBuffer* pRpcChannelBuffer,
643 PRPC_MESSAGE pRpcMessage,
644 DWORD* pdwStubPhase);
645HRESULT CALLBACK ICondition2_GetLeafConditionInfo_Proxy(
646 ICondition2* This,
647 PROPERTYKEY *ppropkey,
648 CONDITION_OPERATION *pcop,
649 PROPVARIANT *ppropvar);
650HRESULT __RPC_STUB ICondition2_GetLeafConditionInfo_Stub(
651 ICondition2* This,
652 PROPERTYKEY *ppropkey,
653 CONDITION_OPERATION *pcop,
654 PROPVARIANT *ppropvar);
655
656#endif /* __ICondition2_INTERFACE_DEFINED__ */
657
658#endif
659/* Begin additional prototypes for all interfaces */
660
661ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
662unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
663unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
664void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
665ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *);
666unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *);
667unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *);
668void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *);
669
670/* End additional prototypes */
671
672#ifdef __cplusplus
673}
674#endif
675
676#endif /* __structuredquerycondition_h__ */
Note: See TracBrowser for help on using the repository browser.