VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/objidl.h@ 19982

Last change on this file since 19982 was 16410, checked in by vboxsync, 16 years ago

export the Wine stuff to OSE

  • Property svn:eol-style set to native
File size: 314.6 KB
Line 
1/*** Autogenerated by WIDL 1.1.10 from ../../../dlls/wined3d/../../include/objidl.idl - Do not edit ***/
2#include <rpc.h>
3#include <rpcndr.h>
4
5#ifndef __WIDL_OBJIDL_H
6#define __WIDL_OBJIDL_H
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11#include <unknwn.h>
12#ifndef __IStream_FWD_DEFINED__
13#define __IStream_FWD_DEFINED__
14typedef interface IStream IStream;
15#endif
16
17#ifndef __IEnumString_FWD_DEFINED__
18#define __IEnumString_FWD_DEFINED__
19typedef interface IEnumString IEnumString;
20#endif
21
22#ifndef __IRunningObjectTable_FWD_DEFINED__
23#define __IRunningObjectTable_FWD_DEFINED__
24typedef interface IRunningObjectTable IRunningObjectTable;
25#endif
26
27#ifndef __IMoniker_FWD_DEFINED__
28#define __IMoniker_FWD_DEFINED__
29typedef interface IMoniker IMoniker;
30#endif
31
32#ifndef __IAdviseSink_FWD_DEFINED__
33#define __IAdviseSink_FWD_DEFINED__
34typedef interface IAdviseSink IAdviseSink;
35#endif
36
37#ifndef __IAsyncManager_FWD_DEFINED__
38#define __IAsyncManager_FWD_DEFINED__
39typedef interface IAsyncManager IAsyncManager;
40#endif
41
42#ifndef __ISynchronize_FWD_DEFINED__
43#define __ISynchronize_FWD_DEFINED__
44typedef interface ISynchronize ISynchronize;
45#endif
46
47typedef struct _COSERVERINFO {
48 DWORD dwReserved1;
49 LPWSTR pwszName;
50 COAUTHINFO *pAuthInfo;
51 DWORD dwReserved2;
52} COSERVERINFO;
53#ifndef __IMarshal_FWD_DEFINED__
54#define __IMarshal_FWD_DEFINED__
55typedef interface IMarshal IMarshal;
56#endif
57
58typedef IMarshal *LPMARSHAL;
59/*****************************************************************************
60 * IMarshal interface
61 */
62#ifndef __IMarshal_INTERFACE_DEFINED__
63#define __IMarshal_INTERFACE_DEFINED__
64
65DEFINE_GUID(IID_IMarshal, 0x00000003, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
66#if defined(__cplusplus) && !defined(CINTERFACE)
67interface IMarshal : public IUnknown
68{
69 virtual HRESULT STDMETHODCALLTYPE GetUnmarshalClass(
70 REFIID riid,
71 void *pv,
72 DWORD dwDestContext,
73 void *pvDestContext,
74 DWORD mshlflags,
75 CLSID *pCid) = 0;
76
77 virtual HRESULT STDMETHODCALLTYPE GetMarshalSizeMax(
78 REFIID riid,
79 void *pv,
80 DWORD dwDestContext,
81 void *pvDestContext,
82 DWORD mshlflags,
83 DWORD *pSize) = 0;
84
85 virtual HRESULT STDMETHODCALLTYPE MarshalInterface(
86 IStream *pStm,
87 REFIID riid,
88 void *pv,
89 DWORD dwDestContext,
90 void *pvDestContext,
91 DWORD mshlflags) = 0;
92
93 virtual HRESULT STDMETHODCALLTYPE UnmarshalInterface(
94 IStream *pStm,
95 REFIID riid,
96 void **ppv) = 0;
97
98 virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalData(
99 IStream *pStm) = 0;
100
101 virtual HRESULT STDMETHODCALLTYPE DisconnectObject(
102 DWORD dwReserved) = 0;
103
104};
105#else
106typedef struct IMarshalVtbl {
107 BEGIN_INTERFACE
108
109 /*** IUnknown methods ***/
110 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
111 IMarshal* This,
112 REFIID riid,
113 void **ppvObject);
114
115 ULONG (STDMETHODCALLTYPE *AddRef)(
116 IMarshal* This);
117
118 ULONG (STDMETHODCALLTYPE *Release)(
119 IMarshal* This);
120
121 /*** IMarshal methods ***/
122 HRESULT (STDMETHODCALLTYPE *GetUnmarshalClass)(
123 IMarshal* This,
124 REFIID riid,
125 void *pv,
126 DWORD dwDestContext,
127 void *pvDestContext,
128 DWORD mshlflags,
129 CLSID *pCid);
130
131 HRESULT (STDMETHODCALLTYPE *GetMarshalSizeMax)(
132 IMarshal* This,
133 REFIID riid,
134 void *pv,
135 DWORD dwDestContext,
136 void *pvDestContext,
137 DWORD mshlflags,
138 DWORD *pSize);
139
140 HRESULT (STDMETHODCALLTYPE *MarshalInterface)(
141 IMarshal* This,
142 IStream *pStm,
143 REFIID riid,
144 void *pv,
145 DWORD dwDestContext,
146 void *pvDestContext,
147 DWORD mshlflags);
148
149 HRESULT (STDMETHODCALLTYPE *UnmarshalInterface)(
150 IMarshal* This,
151 IStream *pStm,
152 REFIID riid,
153 void **ppv);
154
155 HRESULT (STDMETHODCALLTYPE *ReleaseMarshalData)(
156 IMarshal* This,
157 IStream *pStm);
158
159 HRESULT (STDMETHODCALLTYPE *DisconnectObject)(
160 IMarshal* This,
161 DWORD dwReserved);
162
163 END_INTERFACE
164} IMarshalVtbl;
165interface IMarshal {
166 CONST_VTBL IMarshalVtbl* lpVtbl;
167};
168
169#ifdef COBJMACROS
170/*** IUnknown methods ***/
171#define IMarshal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
172#define IMarshal_AddRef(This) (This)->lpVtbl->AddRef(This)
173#define IMarshal_Release(This) (This)->lpVtbl->Release(This)
174/*** IMarshal methods ***/
175#define IMarshal_GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) (This)->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid)
176#define IMarshal_GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) (This)->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize)
177#define IMarshal_MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) (This)->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags)
178#define IMarshal_UnmarshalInterface(This,pStm,riid,ppv) (This)->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv)
179#define IMarshal_ReleaseMarshalData(This,pStm) (This)->lpVtbl->ReleaseMarshalData(This,pStm)
180#define IMarshal_DisconnectObject(This,dwReserved) (This)->lpVtbl->DisconnectObject(This,dwReserved)
181#endif
182
183#endif
184
185HRESULT STDMETHODCALLTYPE IMarshal_GetUnmarshalClass_Proxy(
186 IMarshal* This,
187 REFIID riid,
188 void *pv,
189 DWORD dwDestContext,
190 void *pvDestContext,
191 DWORD mshlflags,
192 CLSID *pCid);
193void __RPC_STUB IMarshal_GetUnmarshalClass_Stub(
194 IRpcStubBuffer* This,
195 IRpcChannelBuffer* pRpcChannelBuffer,
196 PRPC_MESSAGE pRpcMessage,
197 DWORD* pdwStubPhase);
198HRESULT STDMETHODCALLTYPE IMarshal_GetMarshalSizeMax_Proxy(
199 IMarshal* This,
200 REFIID riid,
201 void *pv,
202 DWORD dwDestContext,
203 void *pvDestContext,
204 DWORD mshlflags,
205 DWORD *pSize);
206void __RPC_STUB IMarshal_GetMarshalSizeMax_Stub(
207 IRpcStubBuffer* This,
208 IRpcChannelBuffer* pRpcChannelBuffer,
209 PRPC_MESSAGE pRpcMessage,
210 DWORD* pdwStubPhase);
211HRESULT STDMETHODCALLTYPE IMarshal_MarshalInterface_Proxy(
212 IMarshal* This,
213 IStream *pStm,
214 REFIID riid,
215 void *pv,
216 DWORD dwDestContext,
217 void *pvDestContext,
218 DWORD mshlflags);
219void __RPC_STUB IMarshal_MarshalInterface_Stub(
220 IRpcStubBuffer* This,
221 IRpcChannelBuffer* pRpcChannelBuffer,
222 PRPC_MESSAGE pRpcMessage,
223 DWORD* pdwStubPhase);
224HRESULT STDMETHODCALLTYPE IMarshal_UnmarshalInterface_Proxy(
225 IMarshal* This,
226 IStream *pStm,
227 REFIID riid,
228 void **ppv);
229void __RPC_STUB IMarshal_UnmarshalInterface_Stub(
230 IRpcStubBuffer* This,
231 IRpcChannelBuffer* pRpcChannelBuffer,
232 PRPC_MESSAGE pRpcMessage,
233 DWORD* pdwStubPhase);
234HRESULT STDMETHODCALLTYPE IMarshal_ReleaseMarshalData_Proxy(
235 IMarshal* This,
236 IStream *pStm);
237void __RPC_STUB IMarshal_ReleaseMarshalData_Stub(
238 IRpcStubBuffer* This,
239 IRpcChannelBuffer* pRpcChannelBuffer,
240 PRPC_MESSAGE pRpcMessage,
241 DWORD* pdwStubPhase);
242HRESULT STDMETHODCALLTYPE IMarshal_DisconnectObject_Proxy(
243 IMarshal* This,
244 DWORD dwReserved);
245void __RPC_STUB IMarshal_DisconnectObject_Stub(
246 IRpcStubBuffer* This,
247 IRpcChannelBuffer* pRpcChannelBuffer,
248 PRPC_MESSAGE pRpcMessage,
249 DWORD* pdwStubPhase);
250
251#endif /* __IMarshal_INTERFACE_DEFINED__ */
252
253#ifndef __IMarshal2_FWD_DEFINED__
254#define __IMarshal2_FWD_DEFINED__
255typedef interface IMarshal2 IMarshal2;
256#endif
257
258typedef IMarshal2 *LPMARSHAL2;
259/*****************************************************************************
260 * IMarshal2 interface
261 */
262#ifndef __IMarshal2_INTERFACE_DEFINED__
263#define __IMarshal2_INTERFACE_DEFINED__
264
265DEFINE_GUID(IID_IMarshal2, 0x000001cf, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
266#if defined(__cplusplus) && !defined(CINTERFACE)
267interface IMarshal2 : public IMarshal
268{
269};
270#else
271typedef struct IMarshal2Vtbl {
272 BEGIN_INTERFACE
273
274 /*** IUnknown methods ***/
275 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
276 IMarshal2* This,
277 REFIID riid,
278 void **ppvObject);
279
280 ULONG (STDMETHODCALLTYPE *AddRef)(
281 IMarshal2* This);
282
283 ULONG (STDMETHODCALLTYPE *Release)(
284 IMarshal2* This);
285
286 /*** IMarshal methods ***/
287 HRESULT (STDMETHODCALLTYPE *GetUnmarshalClass)(
288 IMarshal2* This,
289 REFIID riid,
290 void *pv,
291 DWORD dwDestContext,
292 void *pvDestContext,
293 DWORD mshlflags,
294 CLSID *pCid);
295
296 HRESULT (STDMETHODCALLTYPE *GetMarshalSizeMax)(
297 IMarshal2* This,
298 REFIID riid,
299 void *pv,
300 DWORD dwDestContext,
301 void *pvDestContext,
302 DWORD mshlflags,
303 DWORD *pSize);
304
305 HRESULT (STDMETHODCALLTYPE *MarshalInterface)(
306 IMarshal2* This,
307 IStream *pStm,
308 REFIID riid,
309 void *pv,
310 DWORD dwDestContext,
311 void *pvDestContext,
312 DWORD mshlflags);
313
314 HRESULT (STDMETHODCALLTYPE *UnmarshalInterface)(
315 IMarshal2* This,
316 IStream *pStm,
317 REFIID riid,
318 void **ppv);
319
320 HRESULT (STDMETHODCALLTYPE *ReleaseMarshalData)(
321 IMarshal2* This,
322 IStream *pStm);
323
324 HRESULT (STDMETHODCALLTYPE *DisconnectObject)(
325 IMarshal2* This,
326 DWORD dwReserved);
327
328 END_INTERFACE
329} IMarshal2Vtbl;
330interface IMarshal2 {
331 CONST_VTBL IMarshal2Vtbl* lpVtbl;
332};
333
334#ifdef COBJMACROS
335/*** IUnknown methods ***/
336#define IMarshal2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
337#define IMarshal2_AddRef(This) (This)->lpVtbl->AddRef(This)
338#define IMarshal2_Release(This) (This)->lpVtbl->Release(This)
339/*** IMarshal methods ***/
340#define IMarshal2_GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) (This)->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid)
341#define IMarshal2_GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) (This)->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize)
342#define IMarshal2_MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) (This)->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags)
343#define IMarshal2_UnmarshalInterface(This,pStm,riid,ppv) (This)->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv)
344#define IMarshal2_ReleaseMarshalData(This,pStm) (This)->lpVtbl->ReleaseMarshalData(This,pStm)
345#define IMarshal2_DisconnectObject(This,dwReserved) (This)->lpVtbl->DisconnectObject(This,dwReserved)
346#endif
347
348#endif
349
350
351#endif /* __IMarshal2_INTERFACE_DEFINED__ */
352
353#ifndef __IStdMarshalInfo_FWD_DEFINED__
354#define __IStdMarshalInfo_FWD_DEFINED__
355typedef interface IStdMarshalInfo IStdMarshalInfo;
356#endif
357
358typedef IStdMarshalInfo *LPSTDMARSHALINFO;
359/*****************************************************************************
360 * IStdMarshalInfo interface
361 */
362#ifndef __IStdMarshalInfo_INTERFACE_DEFINED__
363#define __IStdMarshalInfo_INTERFACE_DEFINED__
364
365DEFINE_GUID(IID_IStdMarshalInfo, 0x00000018, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
366#if defined(__cplusplus) && !defined(CINTERFACE)
367interface IStdMarshalInfo : public IUnknown
368{
369 virtual HRESULT STDMETHODCALLTYPE GetClassForHandler(
370 DWORD dwDestContext,
371 void *pvDestContext,
372 CLSID *pClsid) = 0;
373
374};
375#else
376typedef struct IStdMarshalInfoVtbl {
377 BEGIN_INTERFACE
378
379 /*** IUnknown methods ***/
380 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
381 IStdMarshalInfo* This,
382 REFIID riid,
383 void **ppvObject);
384
385 ULONG (STDMETHODCALLTYPE *AddRef)(
386 IStdMarshalInfo* This);
387
388 ULONG (STDMETHODCALLTYPE *Release)(
389 IStdMarshalInfo* This);
390
391 /*** IStdMarshalInfo methods ***/
392 HRESULT (STDMETHODCALLTYPE *GetClassForHandler)(
393 IStdMarshalInfo* This,
394 DWORD dwDestContext,
395 void *pvDestContext,
396 CLSID *pClsid);
397
398 END_INTERFACE
399} IStdMarshalInfoVtbl;
400interface IStdMarshalInfo {
401 CONST_VTBL IStdMarshalInfoVtbl* lpVtbl;
402};
403
404#ifdef COBJMACROS
405/*** IUnknown methods ***/
406#define IStdMarshalInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
407#define IStdMarshalInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
408#define IStdMarshalInfo_Release(This) (This)->lpVtbl->Release(This)
409/*** IStdMarshalInfo methods ***/
410#define IStdMarshalInfo_GetClassForHandler(This,dwDestContext,pvDestContext,pClsid) (This)->lpVtbl->GetClassForHandler(This,dwDestContext,pvDestContext,pClsid)
411#endif
412
413#endif
414
415HRESULT STDMETHODCALLTYPE IStdMarshalInfo_GetClassForHandler_Proxy(
416 IStdMarshalInfo* This,
417 DWORD dwDestContext,
418 void *pvDestContext,
419 CLSID *pClsid);
420void __RPC_STUB IStdMarshalInfo_GetClassForHandler_Stub(
421 IRpcStubBuffer* This,
422 IRpcChannelBuffer* pRpcChannelBuffer,
423 PRPC_MESSAGE pRpcMessage,
424 DWORD* pdwStubPhase);
425
426#endif /* __IStdMarshalInfo_INTERFACE_DEFINED__ */
427
428#ifndef __IExternalConnection_FWD_DEFINED__
429#define __IExternalConnection_FWD_DEFINED__
430typedef interface IExternalConnection IExternalConnection;
431#endif
432
433typedef IExternalConnection *LPEXTERNALCONNECTION;
434typedef enum tagEXTCONN {
435 EXTCONN_STRONG = 0x1,
436 EXTCONN_WEAK = 0x2,
437 EXTCONN_CALLABLE = 0x4
438} EXTCONN;
439/*****************************************************************************
440 * IExternalConnection interface
441 */
442#ifndef __IExternalConnection_INTERFACE_DEFINED__
443#define __IExternalConnection_INTERFACE_DEFINED__
444
445DEFINE_GUID(IID_IExternalConnection, 0x00000019, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
446#if defined(__cplusplus) && !defined(CINTERFACE)
447interface IExternalConnection : public IUnknown
448{
449 virtual DWORD STDMETHODCALLTYPE AddConnection(
450 DWORD extconn,
451 DWORD reserved) = 0;
452
453 virtual DWORD STDMETHODCALLTYPE ReleaseConnection(
454 DWORD extconn,
455 DWORD reserved,
456 BOOL fLastReleaseCloses) = 0;
457
458};
459#else
460typedef struct IExternalConnectionVtbl {
461 BEGIN_INTERFACE
462
463 /*** IUnknown methods ***/
464 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
465 IExternalConnection* This,
466 REFIID riid,
467 void **ppvObject);
468
469 ULONG (STDMETHODCALLTYPE *AddRef)(
470 IExternalConnection* This);
471
472 ULONG (STDMETHODCALLTYPE *Release)(
473 IExternalConnection* This);
474
475 /*** IExternalConnection methods ***/
476 DWORD (STDMETHODCALLTYPE *AddConnection)(
477 IExternalConnection* This,
478 DWORD extconn,
479 DWORD reserved);
480
481 DWORD (STDMETHODCALLTYPE *ReleaseConnection)(
482 IExternalConnection* This,
483 DWORD extconn,
484 DWORD reserved,
485 BOOL fLastReleaseCloses);
486
487 END_INTERFACE
488} IExternalConnectionVtbl;
489interface IExternalConnection {
490 CONST_VTBL IExternalConnectionVtbl* lpVtbl;
491};
492
493#ifdef COBJMACROS
494/*** IUnknown methods ***/
495#define IExternalConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
496#define IExternalConnection_AddRef(This) (This)->lpVtbl->AddRef(This)
497#define IExternalConnection_Release(This) (This)->lpVtbl->Release(This)
498/*** IExternalConnection methods ***/
499#define IExternalConnection_AddConnection(This,extconn,reserved) (This)->lpVtbl->AddConnection(This,extconn,reserved)
500#define IExternalConnection_ReleaseConnection(This,extconn,reserved,fLastReleaseCloses) (This)->lpVtbl->ReleaseConnection(This,extconn,reserved,fLastReleaseCloses)
501#endif
502
503#endif
504
505DWORD STDMETHODCALLTYPE IExternalConnection_AddConnection_Proxy(
506 IExternalConnection* This,
507 DWORD extconn,
508 DWORD reserved);
509void __RPC_STUB IExternalConnection_AddConnection_Stub(
510 IRpcStubBuffer* This,
511 IRpcChannelBuffer* pRpcChannelBuffer,
512 PRPC_MESSAGE pRpcMessage,
513 DWORD* pdwStubPhase);
514DWORD STDMETHODCALLTYPE IExternalConnection_ReleaseConnection_Proxy(
515 IExternalConnection* This,
516 DWORD extconn,
517 DWORD reserved,
518 BOOL fLastReleaseCloses);
519void __RPC_STUB IExternalConnection_ReleaseConnection_Stub(
520 IRpcStubBuffer* This,
521 IRpcChannelBuffer* pRpcChannelBuffer,
522 PRPC_MESSAGE pRpcMessage,
523 DWORD* pdwStubPhase);
524
525#endif /* __IExternalConnection_INTERFACE_DEFINED__ */
526
527#ifndef __IMultiQI_FWD_DEFINED__
528#define __IMultiQI_FWD_DEFINED__
529typedef interface IMultiQI IMultiQI;
530#endif
531
532typedef IMultiQI *LPMULTIQI;
533typedef struct tagMULTI_QI {
534 const IID *pIID;
535 IUnknown *pItf;
536 HRESULT hr;
537} MULTI_QI;
538/*****************************************************************************
539 * IMultiQI interface
540 */
541#ifndef __IMultiQI_INTERFACE_DEFINED__
542#define __IMultiQI_INTERFACE_DEFINED__
543
544DEFINE_GUID(IID_IMultiQI, 0x00000020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
545#if defined(__cplusplus) && !defined(CINTERFACE)
546interface IMultiQI : public IUnknown
547{
548 virtual HRESULT STDMETHODCALLTYPE QueryMultipleInterfaces(
549 ULONG cMQIs,
550 MULTI_QI *pMQIs) = 0;
551
552};
553#else
554typedef struct IMultiQIVtbl {
555 BEGIN_INTERFACE
556
557 /*** IUnknown methods ***/
558 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
559 IMultiQI* This,
560 REFIID riid,
561 void **ppvObject);
562
563 ULONG (STDMETHODCALLTYPE *AddRef)(
564 IMultiQI* This);
565
566 ULONG (STDMETHODCALLTYPE *Release)(
567 IMultiQI* This);
568
569 /*** IMultiQI methods ***/
570 HRESULT (STDMETHODCALLTYPE *QueryMultipleInterfaces)(
571 IMultiQI* This,
572 ULONG cMQIs,
573 MULTI_QI *pMQIs);
574
575 END_INTERFACE
576} IMultiQIVtbl;
577interface IMultiQI {
578 CONST_VTBL IMultiQIVtbl* lpVtbl;
579};
580
581#ifdef COBJMACROS
582/*** IUnknown methods ***/
583#define IMultiQI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
584#define IMultiQI_AddRef(This) (This)->lpVtbl->AddRef(This)
585#define IMultiQI_Release(This) (This)->lpVtbl->Release(This)
586/*** IMultiQI methods ***/
587#define IMultiQI_QueryMultipleInterfaces(This,cMQIs,pMQIs) (This)->lpVtbl->QueryMultipleInterfaces(This,cMQIs,pMQIs)
588#endif
589
590#endif
591
592HRESULT STDMETHODCALLTYPE IMultiQI_QueryMultipleInterfaces_Proxy(
593 IMultiQI* This,
594 ULONG cMQIs,
595 MULTI_QI *pMQIs);
596void __RPC_STUB IMultiQI_QueryMultipleInterfaces_Stub(
597 IRpcStubBuffer* This,
598 IRpcChannelBuffer* pRpcChannelBuffer,
599 PRPC_MESSAGE pRpcMessage,
600 DWORD* pdwStubPhase);
601
602#endif /* __IMultiQI_INTERFACE_DEFINED__ */
603
604#ifndef __IMalloc_FWD_DEFINED__
605#define __IMalloc_FWD_DEFINED__
606typedef interface IMalloc IMalloc;
607#endif
608
609typedef IMalloc *LPMALLOC;
610/*****************************************************************************
611 * IMalloc interface
612 */
613#ifndef __IMalloc_INTERFACE_DEFINED__
614#define __IMalloc_INTERFACE_DEFINED__
615
616DEFINE_GUID(IID_IMalloc, 0x00000002, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
617#if defined(__cplusplus) && !defined(CINTERFACE)
618interface IMalloc : public IUnknown
619{
620 virtual LPVOID STDMETHODCALLTYPE Alloc(
621 ULONG cb) = 0;
622
623 virtual LPVOID STDMETHODCALLTYPE Realloc(
624 LPVOID pv,
625 ULONG cb) = 0;
626
627 virtual void STDMETHODCALLTYPE Free(
628 LPVOID pv) = 0;
629
630 virtual ULONG STDMETHODCALLTYPE GetSize(
631 LPVOID pv) = 0;
632
633 virtual int STDMETHODCALLTYPE DidAlloc(
634 LPVOID pv) = 0;
635
636 virtual void STDMETHODCALLTYPE HeapMinimize(
637 ) = 0;
638
639};
640#else
641typedef struct IMallocVtbl {
642 BEGIN_INTERFACE
643
644 /*** IUnknown methods ***/
645 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
646 IMalloc* This,
647 REFIID riid,
648 void **ppvObject);
649
650 ULONG (STDMETHODCALLTYPE *AddRef)(
651 IMalloc* This);
652
653 ULONG (STDMETHODCALLTYPE *Release)(
654 IMalloc* This);
655
656 /*** IMalloc methods ***/
657 LPVOID (STDMETHODCALLTYPE *Alloc)(
658 IMalloc* This,
659 ULONG cb);
660
661 LPVOID (STDMETHODCALLTYPE *Realloc)(
662 IMalloc* This,
663 LPVOID pv,
664 ULONG cb);
665
666 void (STDMETHODCALLTYPE *Free)(
667 IMalloc* This,
668 LPVOID pv);
669
670 ULONG (STDMETHODCALLTYPE *GetSize)(
671 IMalloc* This,
672 LPVOID pv);
673
674 int (STDMETHODCALLTYPE *DidAlloc)(
675 IMalloc* This,
676 LPVOID pv);
677
678 void (STDMETHODCALLTYPE *HeapMinimize)(
679 IMalloc* This);
680
681 END_INTERFACE
682} IMallocVtbl;
683interface IMalloc {
684 CONST_VTBL IMallocVtbl* lpVtbl;
685};
686
687#ifdef COBJMACROS
688/*** IUnknown methods ***/
689#define IMalloc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
690#define IMalloc_AddRef(This) (This)->lpVtbl->AddRef(This)
691#define IMalloc_Release(This) (This)->lpVtbl->Release(This)
692/*** IMalloc methods ***/
693#define IMalloc_Alloc(This,cb) (This)->lpVtbl->Alloc(This,cb)
694#define IMalloc_Realloc(This,pv,cb) (This)->lpVtbl->Realloc(This,pv,cb)
695#define IMalloc_Free(This,pv) (This)->lpVtbl->Free(This,pv)
696#define IMalloc_GetSize(This,pv) (This)->lpVtbl->GetSize(This,pv)
697#define IMalloc_DidAlloc(This,pv) (This)->lpVtbl->DidAlloc(This,pv)
698#define IMalloc_HeapMinimize(This) (This)->lpVtbl->HeapMinimize(This)
699#endif
700
701#endif
702
703LPVOID STDMETHODCALLTYPE IMalloc_Alloc_Proxy(
704 IMalloc* This,
705 ULONG cb);
706void __RPC_STUB IMalloc_Alloc_Stub(
707 IRpcStubBuffer* This,
708 IRpcChannelBuffer* pRpcChannelBuffer,
709 PRPC_MESSAGE pRpcMessage,
710 DWORD* pdwStubPhase);
711LPVOID STDMETHODCALLTYPE IMalloc_Realloc_Proxy(
712 IMalloc* This,
713 LPVOID pv,
714 ULONG cb);
715void __RPC_STUB IMalloc_Realloc_Stub(
716 IRpcStubBuffer* This,
717 IRpcChannelBuffer* pRpcChannelBuffer,
718 PRPC_MESSAGE pRpcMessage,
719 DWORD* pdwStubPhase);
720void STDMETHODCALLTYPE IMalloc_Free_Proxy(
721 IMalloc* This,
722 LPVOID pv);
723void __RPC_STUB IMalloc_Free_Stub(
724 IRpcStubBuffer* This,
725 IRpcChannelBuffer* pRpcChannelBuffer,
726 PRPC_MESSAGE pRpcMessage,
727 DWORD* pdwStubPhase);
728ULONG STDMETHODCALLTYPE IMalloc_GetSize_Proxy(
729 IMalloc* This,
730 LPVOID pv);
731void __RPC_STUB IMalloc_GetSize_Stub(
732 IRpcStubBuffer* This,
733 IRpcChannelBuffer* pRpcChannelBuffer,
734 PRPC_MESSAGE pRpcMessage,
735 DWORD* pdwStubPhase);
736int STDMETHODCALLTYPE IMalloc_DidAlloc_Proxy(
737 IMalloc* This,
738 LPVOID pv);
739void __RPC_STUB IMalloc_DidAlloc_Stub(
740 IRpcStubBuffer* This,
741 IRpcChannelBuffer* pRpcChannelBuffer,
742 PRPC_MESSAGE pRpcMessage,
743 DWORD* pdwStubPhase);
744void STDMETHODCALLTYPE IMalloc_HeapMinimize_Proxy(
745 IMalloc* This);
746void __RPC_STUB IMalloc_HeapMinimize_Stub(
747 IRpcStubBuffer* This,
748 IRpcChannelBuffer* pRpcChannelBuffer,
749 PRPC_MESSAGE pRpcMessage,
750 DWORD* pdwStubPhase);
751
752#endif /* __IMalloc_INTERFACE_DEFINED__ */
753
754#ifndef __IMallocSpy_FWD_DEFINED__
755#define __IMallocSpy_FWD_DEFINED__
756typedef interface IMallocSpy IMallocSpy;
757#endif
758
759typedef IMallocSpy *LPMALLOCSPY;
760/*****************************************************************************
761 * IMallocSpy interface
762 */
763#ifndef __IMallocSpy_INTERFACE_DEFINED__
764#define __IMallocSpy_INTERFACE_DEFINED__
765
766DEFINE_GUID(IID_IMallocSpy, 0x0000001d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
767#if defined(__cplusplus) && !defined(CINTERFACE)
768interface IMallocSpy : public IUnknown
769{
770 virtual ULONG STDMETHODCALLTYPE PreAlloc(
771 ULONG cbRequest) = 0;
772
773 virtual LPVOID STDMETHODCALLTYPE PostAlloc(
774 LPVOID pActual) = 0;
775
776 virtual LPVOID STDMETHODCALLTYPE PreFree(
777 LPVOID pRequest,
778 BOOL fSpyed) = 0;
779
780 virtual void STDMETHODCALLTYPE PostFree(
781 BOOL fSpyed) = 0;
782
783 virtual ULONG STDMETHODCALLTYPE PreRealloc(
784 LPVOID pRequest,
785 ULONG cbRequest,
786 LPVOID *ppNewRequest,
787 BOOL fSpyed) = 0;
788
789 virtual LPVOID STDMETHODCALLTYPE PostRealloc(
790 LPVOID pActual,
791 BOOL fSpyed) = 0;
792
793 virtual LPVOID STDMETHODCALLTYPE PreGetSize(
794 LPVOID pRequest,
795 BOOL fSpyed) = 0;
796
797 virtual ULONG STDMETHODCALLTYPE PostGetSize(
798 ULONG cbActual,
799 BOOL fSpyed) = 0;
800
801 virtual LPVOID STDMETHODCALLTYPE PreDidAlloc(
802 LPVOID pRequest,
803 BOOL fSpyed) = 0;
804
805 virtual int STDMETHODCALLTYPE PostDidAlloc(
806 LPVOID pRequest,
807 BOOL fSpyed,
808 int fActual) = 0;
809
810 virtual void STDMETHODCALLTYPE PreHeapMinimize(
811 ) = 0;
812
813 virtual void STDMETHODCALLTYPE PostHeapMinimize(
814 ) = 0;
815
816};
817#else
818typedef struct IMallocSpyVtbl {
819 BEGIN_INTERFACE
820
821 /*** IUnknown methods ***/
822 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
823 IMallocSpy* This,
824 REFIID riid,
825 void **ppvObject);
826
827 ULONG (STDMETHODCALLTYPE *AddRef)(
828 IMallocSpy* This);
829
830 ULONG (STDMETHODCALLTYPE *Release)(
831 IMallocSpy* This);
832
833 /*** IMallocSpy methods ***/
834 ULONG (STDMETHODCALLTYPE *PreAlloc)(
835 IMallocSpy* This,
836 ULONG cbRequest);
837
838 LPVOID (STDMETHODCALLTYPE *PostAlloc)(
839 IMallocSpy* This,
840 LPVOID pActual);
841
842 LPVOID (STDMETHODCALLTYPE *PreFree)(
843 IMallocSpy* This,
844 LPVOID pRequest,
845 BOOL fSpyed);
846
847 void (STDMETHODCALLTYPE *PostFree)(
848 IMallocSpy* This,
849 BOOL fSpyed);
850
851 ULONG (STDMETHODCALLTYPE *PreRealloc)(
852 IMallocSpy* This,
853 LPVOID pRequest,
854 ULONG cbRequest,
855 LPVOID *ppNewRequest,
856 BOOL fSpyed);
857
858 LPVOID (STDMETHODCALLTYPE *PostRealloc)(
859 IMallocSpy* This,
860 LPVOID pActual,
861 BOOL fSpyed);
862
863 LPVOID (STDMETHODCALLTYPE *PreGetSize)(
864 IMallocSpy* This,
865 LPVOID pRequest,
866 BOOL fSpyed);
867
868 ULONG (STDMETHODCALLTYPE *PostGetSize)(
869 IMallocSpy* This,
870 ULONG cbActual,
871 BOOL fSpyed);
872
873 LPVOID (STDMETHODCALLTYPE *PreDidAlloc)(
874 IMallocSpy* This,
875 LPVOID pRequest,
876 BOOL fSpyed);
877
878 int (STDMETHODCALLTYPE *PostDidAlloc)(
879 IMallocSpy* This,
880 LPVOID pRequest,
881 BOOL fSpyed,
882 int fActual);
883
884 void (STDMETHODCALLTYPE *PreHeapMinimize)(
885 IMallocSpy* This);
886
887 void (STDMETHODCALLTYPE *PostHeapMinimize)(
888 IMallocSpy* This);
889
890 END_INTERFACE
891} IMallocSpyVtbl;
892interface IMallocSpy {
893 CONST_VTBL IMallocSpyVtbl* lpVtbl;
894};
895
896#ifdef COBJMACROS
897/*** IUnknown methods ***/
898#define IMallocSpy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
899#define IMallocSpy_AddRef(This) (This)->lpVtbl->AddRef(This)
900#define IMallocSpy_Release(This) (This)->lpVtbl->Release(This)
901/*** IMallocSpy methods ***/
902#define IMallocSpy_PreAlloc(This,cbRequest) (This)->lpVtbl->PreAlloc(This,cbRequest)
903#define IMallocSpy_PostAlloc(This,pActual) (This)->lpVtbl->PostAlloc(This,pActual)
904#define IMallocSpy_PreFree(This,pRequest,fSpyed) (This)->lpVtbl->PreFree(This,pRequest,fSpyed)
905#define IMallocSpy_PostFree(This,fSpyed) (This)->lpVtbl->PostFree(This,fSpyed)
906#define IMallocSpy_PreRealloc(This,pRequest,cbRequest,ppNewRequest,fSpyed) (This)->lpVtbl->PreRealloc(This,pRequest,cbRequest,ppNewRequest,fSpyed)
907#define IMallocSpy_PostRealloc(This,pActual,fSpyed) (This)->lpVtbl->PostRealloc(This,pActual,fSpyed)
908#define IMallocSpy_PreGetSize(This,pRequest,fSpyed) (This)->lpVtbl->PreGetSize(This,pRequest,fSpyed)
909#define IMallocSpy_PostGetSize(This,cbActual,fSpyed) (This)->lpVtbl->PostGetSize(This,cbActual,fSpyed)
910#define IMallocSpy_PreDidAlloc(This,pRequest,fSpyed) (This)->lpVtbl->PreDidAlloc(This,pRequest,fSpyed)
911#define IMallocSpy_PostDidAlloc(This,pRequest,fSpyed,fActual) (This)->lpVtbl->PostDidAlloc(This,pRequest,fSpyed,fActual)
912#define IMallocSpy_PreHeapMinimize(This) (This)->lpVtbl->PreHeapMinimize(This)
913#define IMallocSpy_PostHeapMinimize(This) (This)->lpVtbl->PostHeapMinimize(This)
914#endif
915
916#endif
917
918ULONG STDMETHODCALLTYPE IMallocSpy_PreAlloc_Proxy(
919 IMallocSpy* This,
920 ULONG cbRequest);
921void __RPC_STUB IMallocSpy_PreAlloc_Stub(
922 IRpcStubBuffer* This,
923 IRpcChannelBuffer* pRpcChannelBuffer,
924 PRPC_MESSAGE pRpcMessage,
925 DWORD* pdwStubPhase);
926LPVOID STDMETHODCALLTYPE IMallocSpy_PostAlloc_Proxy(
927 IMallocSpy* This,
928 LPVOID pActual);
929void __RPC_STUB IMallocSpy_PostAlloc_Stub(
930 IRpcStubBuffer* This,
931 IRpcChannelBuffer* pRpcChannelBuffer,
932 PRPC_MESSAGE pRpcMessage,
933 DWORD* pdwStubPhase);
934LPVOID STDMETHODCALLTYPE IMallocSpy_PreFree_Proxy(
935 IMallocSpy* This,
936 LPVOID pRequest,
937 BOOL fSpyed);
938void __RPC_STUB IMallocSpy_PreFree_Stub(
939 IRpcStubBuffer* This,
940 IRpcChannelBuffer* pRpcChannelBuffer,
941 PRPC_MESSAGE pRpcMessage,
942 DWORD* pdwStubPhase);
943void STDMETHODCALLTYPE IMallocSpy_PostFree_Proxy(
944 IMallocSpy* This,
945 BOOL fSpyed);
946void __RPC_STUB IMallocSpy_PostFree_Stub(
947 IRpcStubBuffer* This,
948 IRpcChannelBuffer* pRpcChannelBuffer,
949 PRPC_MESSAGE pRpcMessage,
950 DWORD* pdwStubPhase);
951ULONG STDMETHODCALLTYPE IMallocSpy_PreRealloc_Proxy(
952 IMallocSpy* This,
953 LPVOID pRequest,
954 ULONG cbRequest,
955 LPVOID *ppNewRequest,
956 BOOL fSpyed);
957void __RPC_STUB IMallocSpy_PreRealloc_Stub(
958 IRpcStubBuffer* This,
959 IRpcChannelBuffer* pRpcChannelBuffer,
960 PRPC_MESSAGE pRpcMessage,
961 DWORD* pdwStubPhase);
962LPVOID STDMETHODCALLTYPE IMallocSpy_PostRealloc_Proxy(
963 IMallocSpy* This,
964 LPVOID pActual,
965 BOOL fSpyed);
966void __RPC_STUB IMallocSpy_PostRealloc_Stub(
967 IRpcStubBuffer* This,
968 IRpcChannelBuffer* pRpcChannelBuffer,
969 PRPC_MESSAGE pRpcMessage,
970 DWORD* pdwStubPhase);
971LPVOID STDMETHODCALLTYPE IMallocSpy_PreGetSize_Proxy(
972 IMallocSpy* This,
973 LPVOID pRequest,
974 BOOL fSpyed);
975void __RPC_STUB IMallocSpy_PreGetSize_Stub(
976 IRpcStubBuffer* This,
977 IRpcChannelBuffer* pRpcChannelBuffer,
978 PRPC_MESSAGE pRpcMessage,
979 DWORD* pdwStubPhase);
980ULONG STDMETHODCALLTYPE IMallocSpy_PostGetSize_Proxy(
981 IMallocSpy* This,
982 ULONG cbActual,
983 BOOL fSpyed);
984void __RPC_STUB IMallocSpy_PostGetSize_Stub(
985 IRpcStubBuffer* This,
986 IRpcChannelBuffer* pRpcChannelBuffer,
987 PRPC_MESSAGE pRpcMessage,
988 DWORD* pdwStubPhase);
989LPVOID STDMETHODCALLTYPE IMallocSpy_PreDidAlloc_Proxy(
990 IMallocSpy* This,
991 LPVOID pRequest,
992 BOOL fSpyed);
993void __RPC_STUB IMallocSpy_PreDidAlloc_Stub(
994 IRpcStubBuffer* This,
995 IRpcChannelBuffer* pRpcChannelBuffer,
996 PRPC_MESSAGE pRpcMessage,
997 DWORD* pdwStubPhase);
998int STDMETHODCALLTYPE IMallocSpy_PostDidAlloc_Proxy(
999 IMallocSpy* This,
1000 LPVOID pRequest,
1001 BOOL fSpyed,
1002 int fActual);
1003void __RPC_STUB IMallocSpy_PostDidAlloc_Stub(
1004 IRpcStubBuffer* This,
1005 IRpcChannelBuffer* pRpcChannelBuffer,
1006 PRPC_MESSAGE pRpcMessage,
1007 DWORD* pdwStubPhase);
1008void STDMETHODCALLTYPE IMallocSpy_PreHeapMinimize_Proxy(
1009 IMallocSpy* This);
1010void __RPC_STUB IMallocSpy_PreHeapMinimize_Stub(
1011 IRpcStubBuffer* This,
1012 IRpcChannelBuffer* pRpcChannelBuffer,
1013 PRPC_MESSAGE pRpcMessage,
1014 DWORD* pdwStubPhase);
1015void STDMETHODCALLTYPE IMallocSpy_PostHeapMinimize_Proxy(
1016 IMallocSpy* This);
1017void __RPC_STUB IMallocSpy_PostHeapMinimize_Stub(
1018 IRpcStubBuffer* This,
1019 IRpcChannelBuffer* pRpcChannelBuffer,
1020 PRPC_MESSAGE pRpcMessage,
1021 DWORD* pdwStubPhase);
1022
1023#endif /* __IMallocSpy_INTERFACE_DEFINED__ */
1024
1025#ifndef __IInternalUnknown_FWD_DEFINED__
1026#define __IInternalUnknown_FWD_DEFINED__
1027typedef interface IInternalUnknown IInternalUnknown;
1028#endif
1029
1030/*****************************************************************************
1031 * IInternalUnknown interface
1032 */
1033#ifndef __IInternalUnknown_INTERFACE_DEFINED__
1034#define __IInternalUnknown_INTERFACE_DEFINED__
1035
1036DEFINE_GUID(IID_IInternalUnknown, 0x00000021, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1037#if defined(__cplusplus) && !defined(CINTERFACE)
1038interface IInternalUnknown : public IUnknown
1039{
1040 virtual HRESULT STDMETHODCALLTYPE QueryInternalInterface(
1041 REFIID riid,
1042 void **ppv) = 0;
1043
1044};
1045#else
1046typedef struct IInternalUnknownVtbl {
1047 BEGIN_INTERFACE
1048
1049 /*** IUnknown methods ***/
1050 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1051 IInternalUnknown* This,
1052 REFIID riid,
1053 void **ppvObject);
1054
1055 ULONG (STDMETHODCALLTYPE *AddRef)(
1056 IInternalUnknown* This);
1057
1058 ULONG (STDMETHODCALLTYPE *Release)(
1059 IInternalUnknown* This);
1060
1061 /*** IInternalUnknown methods ***/
1062 HRESULT (STDMETHODCALLTYPE *QueryInternalInterface)(
1063 IInternalUnknown* This,
1064 REFIID riid,
1065 void **ppv);
1066
1067 END_INTERFACE
1068} IInternalUnknownVtbl;
1069interface IInternalUnknown {
1070 CONST_VTBL IInternalUnknownVtbl* lpVtbl;
1071};
1072
1073#ifdef COBJMACROS
1074/*** IUnknown methods ***/
1075#define IInternalUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1076#define IInternalUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
1077#define IInternalUnknown_Release(This) (This)->lpVtbl->Release(This)
1078/*** IInternalUnknown methods ***/
1079#define IInternalUnknown_QueryInternalInterface(This,riid,ppv) (This)->lpVtbl->QueryInternalInterface(This,riid,ppv)
1080#endif
1081
1082#endif
1083
1084HRESULT STDMETHODCALLTYPE IInternalUnknown_QueryInternalInterface_Proxy(
1085 IInternalUnknown* This,
1086 REFIID riid,
1087 void **ppv);
1088void __RPC_STUB IInternalUnknown_QueryInternalInterface_Stub(
1089 IRpcStubBuffer* This,
1090 IRpcChannelBuffer* pRpcChannelBuffer,
1091 PRPC_MESSAGE pRpcMessage,
1092 DWORD* pdwStubPhase);
1093
1094#endif /* __IInternalUnknown_INTERFACE_DEFINED__ */
1095
1096#ifndef __IEnumUnknown_FWD_DEFINED__
1097#define __IEnumUnknown_FWD_DEFINED__
1098typedef interface IEnumUnknown IEnumUnknown;
1099#endif
1100
1101typedef IEnumUnknown *LPENUMUNKNOWN;
1102/*****************************************************************************
1103 * IEnumUnknown interface
1104 */
1105#ifndef __IEnumUnknown_INTERFACE_DEFINED__
1106#define __IEnumUnknown_INTERFACE_DEFINED__
1107
1108DEFINE_GUID(IID_IEnumUnknown, 0x00000100, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1109#if defined(__cplusplus) && !defined(CINTERFACE)
1110interface IEnumUnknown : public IUnknown
1111{
1112 virtual HRESULT STDMETHODCALLTYPE Next(
1113 ULONG celt,
1114 IUnknown **rgelt,
1115 ULONG *pceltFetched) = 0;
1116
1117 virtual HRESULT STDMETHODCALLTYPE Skip(
1118 ULONG celt) = 0;
1119
1120 virtual HRESULT STDMETHODCALLTYPE Reset(
1121 ) = 0;
1122
1123 virtual HRESULT STDMETHODCALLTYPE Clone(
1124 IEnumUnknown **ppenum) = 0;
1125
1126};
1127#else
1128typedef struct IEnumUnknownVtbl {
1129 BEGIN_INTERFACE
1130
1131 /*** IUnknown methods ***/
1132 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1133 IEnumUnknown* This,
1134 REFIID riid,
1135 void **ppvObject);
1136
1137 ULONG (STDMETHODCALLTYPE *AddRef)(
1138 IEnumUnknown* This);
1139
1140 ULONG (STDMETHODCALLTYPE *Release)(
1141 IEnumUnknown* This);
1142
1143 /*** IEnumUnknown methods ***/
1144 HRESULT (STDMETHODCALLTYPE *Next)(
1145 IEnumUnknown* This,
1146 ULONG celt,
1147 IUnknown **rgelt,
1148 ULONG *pceltFetched);
1149
1150 HRESULT (STDMETHODCALLTYPE *Skip)(
1151 IEnumUnknown* This,
1152 ULONG celt);
1153
1154 HRESULT (STDMETHODCALLTYPE *Reset)(
1155 IEnumUnknown* This);
1156
1157 HRESULT (STDMETHODCALLTYPE *Clone)(
1158 IEnumUnknown* This,
1159 IEnumUnknown **ppenum);
1160
1161 END_INTERFACE
1162} IEnumUnknownVtbl;
1163interface IEnumUnknown {
1164 CONST_VTBL IEnumUnknownVtbl* lpVtbl;
1165};
1166
1167#ifdef COBJMACROS
1168/*** IUnknown methods ***/
1169#define IEnumUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1170#define IEnumUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
1171#define IEnumUnknown_Release(This) (This)->lpVtbl->Release(This)
1172/*** IEnumUnknown methods ***/
1173#define IEnumUnknown_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
1174#define IEnumUnknown_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
1175#define IEnumUnknown_Reset(This) (This)->lpVtbl->Reset(This)
1176#define IEnumUnknown_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
1177#endif
1178
1179#endif
1180
1181HRESULT STDMETHODCALLTYPE IEnumUnknown_RemoteNext_Proxy(
1182 IEnumUnknown* This,
1183 ULONG celt,
1184 IUnknown **rgelt,
1185 ULONG *pceltFetched);
1186void __RPC_STUB IEnumUnknown_RemoteNext_Stub(
1187 IRpcStubBuffer* This,
1188 IRpcChannelBuffer* pRpcChannelBuffer,
1189 PRPC_MESSAGE pRpcMessage,
1190 DWORD* pdwStubPhase);
1191HRESULT STDMETHODCALLTYPE IEnumUnknown_Skip_Proxy(
1192 IEnumUnknown* This,
1193 ULONG celt);
1194void __RPC_STUB IEnumUnknown_Skip_Stub(
1195 IRpcStubBuffer* This,
1196 IRpcChannelBuffer* pRpcChannelBuffer,
1197 PRPC_MESSAGE pRpcMessage,
1198 DWORD* pdwStubPhase);
1199HRESULT STDMETHODCALLTYPE IEnumUnknown_Reset_Proxy(
1200 IEnumUnknown* This);
1201void __RPC_STUB IEnumUnknown_Reset_Stub(
1202 IRpcStubBuffer* This,
1203 IRpcChannelBuffer* pRpcChannelBuffer,
1204 PRPC_MESSAGE pRpcMessage,
1205 DWORD* pdwStubPhase);
1206HRESULT STDMETHODCALLTYPE IEnumUnknown_Clone_Proxy(
1207 IEnumUnknown* This,
1208 IEnumUnknown **ppenum);
1209void __RPC_STUB IEnumUnknown_Clone_Stub(
1210 IRpcStubBuffer* This,
1211 IRpcChannelBuffer* pRpcChannelBuffer,
1212 PRPC_MESSAGE pRpcMessage,
1213 DWORD* pdwStubPhase);
1214HRESULT CALLBACK IEnumUnknown_Next_Proxy(
1215 IEnumUnknown* This,
1216 ULONG celt,
1217 IUnknown **rgelt,
1218 ULONG *pceltFetched);
1219HRESULT __RPC_STUB IEnumUnknown_Next_Stub(
1220 IEnumUnknown* This,
1221 ULONG celt,
1222 IUnknown **rgelt,
1223 ULONG *pceltFetched);
1224
1225#endif /* __IEnumUnknown_INTERFACE_DEFINED__ */
1226
1227#ifndef __ISurrogate_FWD_DEFINED__
1228#define __ISurrogate_FWD_DEFINED__
1229typedef interface ISurrogate ISurrogate;
1230#endif
1231
1232typedef ISurrogate *LPSURROGATE;
1233/*****************************************************************************
1234 * ISurrogate interface
1235 */
1236#ifndef __ISurrogate_INTERFACE_DEFINED__
1237#define __ISurrogate_INTERFACE_DEFINED__
1238
1239DEFINE_GUID(IID_ISurrogate, 0x00000022, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1240#if defined(__cplusplus) && !defined(CINTERFACE)
1241interface ISurrogate : public IUnknown
1242{
1243 virtual HRESULT STDMETHODCALLTYPE LoadDllServer(
1244 REFCLSID Clsid) = 0;
1245
1246 virtual HRESULT STDMETHODCALLTYPE FreeSurrogate(
1247 ) = 0;
1248
1249};
1250#else
1251typedef struct ISurrogateVtbl {
1252 BEGIN_INTERFACE
1253
1254 /*** IUnknown methods ***/
1255 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1256 ISurrogate* This,
1257 REFIID riid,
1258 void **ppvObject);
1259
1260 ULONG (STDMETHODCALLTYPE *AddRef)(
1261 ISurrogate* This);
1262
1263 ULONG (STDMETHODCALLTYPE *Release)(
1264 ISurrogate* This);
1265
1266 /*** ISurrogate methods ***/
1267 HRESULT (STDMETHODCALLTYPE *LoadDllServer)(
1268 ISurrogate* This,
1269 REFCLSID Clsid);
1270
1271 HRESULT (STDMETHODCALLTYPE *FreeSurrogate)(
1272 ISurrogate* This);
1273
1274 END_INTERFACE
1275} ISurrogateVtbl;
1276interface ISurrogate {
1277 CONST_VTBL ISurrogateVtbl* lpVtbl;
1278};
1279
1280#ifdef COBJMACROS
1281/*** IUnknown methods ***/
1282#define ISurrogate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1283#define ISurrogate_AddRef(This) (This)->lpVtbl->AddRef(This)
1284#define ISurrogate_Release(This) (This)->lpVtbl->Release(This)
1285/*** ISurrogate methods ***/
1286#define ISurrogate_LoadDllServer(This,Clsid) (This)->lpVtbl->LoadDllServer(This,Clsid)
1287#define ISurrogate_FreeSurrogate(This) (This)->lpVtbl->FreeSurrogate(This)
1288#endif
1289
1290#endif
1291
1292HRESULT STDMETHODCALLTYPE ISurrogate_LoadDllServer_Proxy(
1293 ISurrogate* This,
1294 REFCLSID Clsid);
1295void __RPC_STUB ISurrogate_LoadDllServer_Stub(
1296 IRpcStubBuffer* This,
1297 IRpcChannelBuffer* pRpcChannelBuffer,
1298 PRPC_MESSAGE pRpcMessage,
1299 DWORD* pdwStubPhase);
1300HRESULT STDMETHODCALLTYPE ISurrogate_FreeSurrogate_Proxy(
1301 ISurrogate* This);
1302void __RPC_STUB ISurrogate_FreeSurrogate_Stub(
1303 IRpcStubBuffer* This,
1304 IRpcChannelBuffer* pRpcChannelBuffer,
1305 PRPC_MESSAGE pRpcMessage,
1306 DWORD* pdwStubPhase);
1307
1308#endif /* __ISurrogate_INTERFACE_DEFINED__ */
1309
1310#ifndef __IGlobalInterfaceTable_FWD_DEFINED__
1311#define __IGlobalInterfaceTable_FWD_DEFINED__
1312typedef interface IGlobalInterfaceTable IGlobalInterfaceTable;
1313#endif
1314
1315typedef IGlobalInterfaceTable *LPGLOBALINTERFACETABLE;
1316/*****************************************************************************
1317 * IGlobalInterfaceTable interface
1318 */
1319#ifndef __IGlobalInterfaceTable_INTERFACE_DEFINED__
1320#define __IGlobalInterfaceTable_INTERFACE_DEFINED__
1321
1322DEFINE_GUID(IID_IGlobalInterfaceTable, 0x00000146, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1323#if defined(__cplusplus) && !defined(CINTERFACE)
1324interface IGlobalInterfaceTable : public IUnknown
1325{
1326 virtual HRESULT STDMETHODCALLTYPE RegisterInterfaceInGlobal(
1327 IUnknown *pUnk,
1328 REFIID riid,
1329 DWORD *pdwCookie) = 0;
1330
1331 virtual HRESULT STDMETHODCALLTYPE RevokeInterfaceFromGlobal(
1332 DWORD dwCookie) = 0;
1333
1334 virtual HRESULT STDMETHODCALLTYPE GetInterfaceFromGlobal(
1335 DWORD dwCookie,
1336 REFIID riid,
1337 void **ppv) = 0;
1338
1339};
1340#else
1341typedef struct IGlobalInterfaceTableVtbl {
1342 BEGIN_INTERFACE
1343
1344 /*** IUnknown methods ***/
1345 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1346 IGlobalInterfaceTable* This,
1347 REFIID riid,
1348 void **ppvObject);
1349
1350 ULONG (STDMETHODCALLTYPE *AddRef)(
1351 IGlobalInterfaceTable* This);
1352
1353 ULONG (STDMETHODCALLTYPE *Release)(
1354 IGlobalInterfaceTable* This);
1355
1356 /*** IGlobalInterfaceTable methods ***/
1357 HRESULT (STDMETHODCALLTYPE *RegisterInterfaceInGlobal)(
1358 IGlobalInterfaceTable* This,
1359 IUnknown *pUnk,
1360 REFIID riid,
1361 DWORD *pdwCookie);
1362
1363 HRESULT (STDMETHODCALLTYPE *RevokeInterfaceFromGlobal)(
1364 IGlobalInterfaceTable* This,
1365 DWORD dwCookie);
1366
1367 HRESULT (STDMETHODCALLTYPE *GetInterfaceFromGlobal)(
1368 IGlobalInterfaceTable* This,
1369 DWORD dwCookie,
1370 REFIID riid,
1371 void **ppv);
1372
1373 END_INTERFACE
1374} IGlobalInterfaceTableVtbl;
1375interface IGlobalInterfaceTable {
1376 CONST_VTBL IGlobalInterfaceTableVtbl* lpVtbl;
1377};
1378
1379#ifdef COBJMACROS
1380/*** IUnknown methods ***/
1381#define IGlobalInterfaceTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1382#define IGlobalInterfaceTable_AddRef(This) (This)->lpVtbl->AddRef(This)
1383#define IGlobalInterfaceTable_Release(This) (This)->lpVtbl->Release(This)
1384/*** IGlobalInterfaceTable methods ***/
1385#define IGlobalInterfaceTable_RegisterInterfaceInGlobal(This,pUnk,riid,pdwCookie) (This)->lpVtbl->RegisterInterfaceInGlobal(This,pUnk,riid,pdwCookie)
1386#define IGlobalInterfaceTable_RevokeInterfaceFromGlobal(This,dwCookie) (This)->lpVtbl->RevokeInterfaceFromGlobal(This,dwCookie)
1387#define IGlobalInterfaceTable_GetInterfaceFromGlobal(This,dwCookie,riid,ppv) (This)->lpVtbl->GetInterfaceFromGlobal(This,dwCookie,riid,ppv)
1388#endif
1389
1390#endif
1391
1392HRESULT STDMETHODCALLTYPE IGlobalInterfaceTable_RegisterInterfaceInGlobal_Proxy(
1393 IGlobalInterfaceTable* This,
1394 IUnknown *pUnk,
1395 REFIID riid,
1396 DWORD *pdwCookie);
1397void __RPC_STUB IGlobalInterfaceTable_RegisterInterfaceInGlobal_Stub(
1398 IRpcStubBuffer* This,
1399 IRpcChannelBuffer* pRpcChannelBuffer,
1400 PRPC_MESSAGE pRpcMessage,
1401 DWORD* pdwStubPhase);
1402HRESULT STDMETHODCALLTYPE IGlobalInterfaceTable_RevokeInterfaceFromGlobal_Proxy(
1403 IGlobalInterfaceTable* This,
1404 DWORD dwCookie);
1405void __RPC_STUB IGlobalInterfaceTable_RevokeInterfaceFromGlobal_Stub(
1406 IRpcStubBuffer* This,
1407 IRpcChannelBuffer* pRpcChannelBuffer,
1408 PRPC_MESSAGE pRpcMessage,
1409 DWORD* pdwStubPhase);
1410HRESULT STDMETHODCALLTYPE IGlobalInterfaceTable_GetInterfaceFromGlobal_Proxy(
1411 IGlobalInterfaceTable* This,
1412 DWORD dwCookie,
1413 REFIID riid,
1414 void **ppv);
1415void __RPC_STUB IGlobalInterfaceTable_GetInterfaceFromGlobal_Stub(
1416 IRpcStubBuffer* This,
1417 IRpcChannelBuffer* pRpcChannelBuffer,
1418 PRPC_MESSAGE pRpcMessage,
1419 DWORD* pdwStubPhase);
1420
1421#endif /* __IGlobalInterfaceTable_INTERFACE_DEFINED__ */
1422
1423#ifndef __IBindCtx_FWD_DEFINED__
1424#define __IBindCtx_FWD_DEFINED__
1425typedef interface IBindCtx IBindCtx;
1426#endif
1427
1428typedef IBindCtx *LPBINDCTX;
1429typedef IBindCtx *LPBC;
1430typedef struct tagBIND_OPTS {
1431 DWORD cbStruct;
1432 DWORD grfFlags;
1433 DWORD grfMode;
1434 DWORD dwTickCountDeadline;
1435} BIND_OPTS;
1436typedef struct tagBIND_OPTS *LPBIND_OPTS;
1437typedef struct tagBIND_OPTS2 {
1438 DWORD cbStruct;
1439 DWORD grfFlags;
1440 DWORD grfMode;
1441 DWORD dwTickCountDeadline;
1442 DWORD dwTrackFlags;
1443 DWORD dwClassContext;
1444 LCID locale;
1445 COSERVERINFO *pServerInfo;
1446} BIND_OPTS2;
1447typedef struct tagBIND_OPTS2 *LPBIND_OPTS2;
1448typedef enum tagBIND_FLAGS {
1449 BIND_MAYBOTHERUSER = 1,
1450 BIND_JUSTTESTEXISTENCE = 2
1451} BIND_FLAGS;
1452/*****************************************************************************
1453 * IBindCtx interface
1454 */
1455#ifndef __IBindCtx_INTERFACE_DEFINED__
1456#define __IBindCtx_INTERFACE_DEFINED__
1457
1458DEFINE_GUID(IID_IBindCtx, 0x0000000e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1459#if defined(__cplusplus) && !defined(CINTERFACE)
1460interface IBindCtx : public IUnknown
1461{
1462 virtual HRESULT STDMETHODCALLTYPE RegisterObjectBound(
1463 IUnknown *punk) = 0;
1464
1465 virtual HRESULT STDMETHODCALLTYPE RevokeObjectBound(
1466 IUnknown *punk) = 0;
1467
1468 virtual HRESULT STDMETHODCALLTYPE ReleaseBoundObjects(
1469 ) = 0;
1470
1471 virtual HRESULT STDMETHODCALLTYPE SetBindOptions(
1472 BIND_OPTS *pbindopts) = 0;
1473
1474 virtual HRESULT STDMETHODCALLTYPE GetBindOptions(
1475 BIND_OPTS *pbindopts) = 0;
1476
1477 virtual HRESULT STDMETHODCALLTYPE GetRunningObjectTable(
1478 IRunningObjectTable **pprot) = 0;
1479
1480 virtual HRESULT STDMETHODCALLTYPE RegisterObjectParam(
1481 LPOLESTR pszKey,
1482 IUnknown *punk) = 0;
1483
1484 virtual HRESULT STDMETHODCALLTYPE GetObjectParam(
1485 LPOLESTR pszKey,
1486 IUnknown **ppunk) = 0;
1487
1488 virtual HRESULT STDMETHODCALLTYPE EnumObjectParam(
1489 IEnumString **ppenum) = 0;
1490
1491 virtual HRESULT STDMETHODCALLTYPE RevokeObjectParam(
1492 LPOLESTR pszKey) = 0;
1493
1494};
1495#else
1496typedef struct IBindCtxVtbl {
1497 BEGIN_INTERFACE
1498
1499 /*** IUnknown methods ***/
1500 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1501 IBindCtx* This,
1502 REFIID riid,
1503 void **ppvObject);
1504
1505 ULONG (STDMETHODCALLTYPE *AddRef)(
1506 IBindCtx* This);
1507
1508 ULONG (STDMETHODCALLTYPE *Release)(
1509 IBindCtx* This);
1510
1511 /*** IBindCtx methods ***/
1512 HRESULT (STDMETHODCALLTYPE *RegisterObjectBound)(
1513 IBindCtx* This,
1514 IUnknown *punk);
1515
1516 HRESULT (STDMETHODCALLTYPE *RevokeObjectBound)(
1517 IBindCtx* This,
1518 IUnknown *punk);
1519
1520 HRESULT (STDMETHODCALLTYPE *ReleaseBoundObjects)(
1521 IBindCtx* This);
1522
1523 HRESULT (STDMETHODCALLTYPE *SetBindOptions)(
1524 IBindCtx* This,
1525 BIND_OPTS *pbindopts);
1526
1527 HRESULT (STDMETHODCALLTYPE *GetBindOptions)(
1528 IBindCtx* This,
1529 BIND_OPTS *pbindopts);
1530
1531 HRESULT (STDMETHODCALLTYPE *GetRunningObjectTable)(
1532 IBindCtx* This,
1533 IRunningObjectTable **pprot);
1534
1535 HRESULT (STDMETHODCALLTYPE *RegisterObjectParam)(
1536 IBindCtx* This,
1537 LPOLESTR pszKey,
1538 IUnknown *punk);
1539
1540 HRESULT (STDMETHODCALLTYPE *GetObjectParam)(
1541 IBindCtx* This,
1542 LPOLESTR pszKey,
1543 IUnknown **ppunk);
1544
1545 HRESULT (STDMETHODCALLTYPE *EnumObjectParam)(
1546 IBindCtx* This,
1547 IEnumString **ppenum);
1548
1549 HRESULT (STDMETHODCALLTYPE *RevokeObjectParam)(
1550 IBindCtx* This,
1551 LPOLESTR pszKey);
1552
1553 END_INTERFACE
1554} IBindCtxVtbl;
1555interface IBindCtx {
1556 CONST_VTBL IBindCtxVtbl* lpVtbl;
1557};
1558
1559#ifdef COBJMACROS
1560/*** IUnknown methods ***/
1561#define IBindCtx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1562#define IBindCtx_AddRef(This) (This)->lpVtbl->AddRef(This)
1563#define IBindCtx_Release(This) (This)->lpVtbl->Release(This)
1564/*** IBindCtx methods ***/
1565#define IBindCtx_RegisterObjectBound(This,punk) (This)->lpVtbl->RegisterObjectBound(This,punk)
1566#define IBindCtx_RevokeObjectBound(This,punk) (This)->lpVtbl->RevokeObjectBound(This,punk)
1567#define IBindCtx_ReleaseBoundObjects(This) (This)->lpVtbl->ReleaseBoundObjects(This)
1568#define IBindCtx_SetBindOptions(This,pbindopts) (This)->lpVtbl->SetBindOptions(This,pbindopts)
1569#define IBindCtx_GetBindOptions(This,pbindopts) (This)->lpVtbl->GetBindOptions(This,pbindopts)
1570#define IBindCtx_GetRunningObjectTable(This,pprot) (This)->lpVtbl->GetRunningObjectTable(This,pprot)
1571#define IBindCtx_RegisterObjectParam(This,pszKey,punk) (This)->lpVtbl->RegisterObjectParam(This,pszKey,punk)
1572#define IBindCtx_GetObjectParam(This,pszKey,ppunk) (This)->lpVtbl->GetObjectParam(This,pszKey,ppunk)
1573#define IBindCtx_EnumObjectParam(This,ppenum) (This)->lpVtbl->EnumObjectParam(This,ppenum)
1574#define IBindCtx_RevokeObjectParam(This,pszKey) (This)->lpVtbl->RevokeObjectParam(This,pszKey)
1575#endif
1576
1577#endif
1578
1579HRESULT STDMETHODCALLTYPE IBindCtx_RegisterObjectBound_Proxy(
1580 IBindCtx* This,
1581 IUnknown *punk);
1582void __RPC_STUB IBindCtx_RegisterObjectBound_Stub(
1583 IRpcStubBuffer* This,
1584 IRpcChannelBuffer* pRpcChannelBuffer,
1585 PRPC_MESSAGE pRpcMessage,
1586 DWORD* pdwStubPhase);
1587HRESULT STDMETHODCALLTYPE IBindCtx_RevokeObjectBound_Proxy(
1588 IBindCtx* This,
1589 IUnknown *punk);
1590void __RPC_STUB IBindCtx_RevokeObjectBound_Stub(
1591 IRpcStubBuffer* This,
1592 IRpcChannelBuffer* pRpcChannelBuffer,
1593 PRPC_MESSAGE pRpcMessage,
1594 DWORD* pdwStubPhase);
1595HRESULT STDMETHODCALLTYPE IBindCtx_ReleaseBoundObjects_Proxy(
1596 IBindCtx* This);
1597void __RPC_STUB IBindCtx_ReleaseBoundObjects_Stub(
1598 IRpcStubBuffer* This,
1599 IRpcChannelBuffer* pRpcChannelBuffer,
1600 PRPC_MESSAGE pRpcMessage,
1601 DWORD* pdwStubPhase);
1602HRESULT STDMETHODCALLTYPE IBindCtx_RemoteSetBindOptions_Proxy(
1603 IBindCtx* This,
1604 BIND_OPTS2 *pbindopts);
1605void __RPC_STUB IBindCtx_RemoteSetBindOptions_Stub(
1606 IRpcStubBuffer* This,
1607 IRpcChannelBuffer* pRpcChannelBuffer,
1608 PRPC_MESSAGE pRpcMessage,
1609 DWORD* pdwStubPhase);
1610HRESULT STDMETHODCALLTYPE IBindCtx_RemoteGetBindOptions_Proxy(
1611 IBindCtx* This,
1612 BIND_OPTS2 *pbindopts);
1613void __RPC_STUB IBindCtx_RemoteGetBindOptions_Stub(
1614 IRpcStubBuffer* This,
1615 IRpcChannelBuffer* pRpcChannelBuffer,
1616 PRPC_MESSAGE pRpcMessage,
1617 DWORD* pdwStubPhase);
1618HRESULT STDMETHODCALLTYPE IBindCtx_GetRunningObjectTable_Proxy(
1619 IBindCtx* This,
1620 IRunningObjectTable **pprot);
1621void __RPC_STUB IBindCtx_GetRunningObjectTable_Stub(
1622 IRpcStubBuffer* This,
1623 IRpcChannelBuffer* pRpcChannelBuffer,
1624 PRPC_MESSAGE pRpcMessage,
1625 DWORD* pdwStubPhase);
1626HRESULT STDMETHODCALLTYPE IBindCtx_RegisterObjectParam_Proxy(
1627 IBindCtx* This,
1628 LPOLESTR pszKey,
1629 IUnknown *punk);
1630void __RPC_STUB IBindCtx_RegisterObjectParam_Stub(
1631 IRpcStubBuffer* This,
1632 IRpcChannelBuffer* pRpcChannelBuffer,
1633 PRPC_MESSAGE pRpcMessage,
1634 DWORD* pdwStubPhase);
1635HRESULT STDMETHODCALLTYPE IBindCtx_GetObjectParam_Proxy(
1636 IBindCtx* This,
1637 LPOLESTR pszKey,
1638 IUnknown **ppunk);
1639void __RPC_STUB IBindCtx_GetObjectParam_Stub(
1640 IRpcStubBuffer* This,
1641 IRpcChannelBuffer* pRpcChannelBuffer,
1642 PRPC_MESSAGE pRpcMessage,
1643 DWORD* pdwStubPhase);
1644HRESULT STDMETHODCALLTYPE IBindCtx_EnumObjectParam_Proxy(
1645 IBindCtx* This,
1646 IEnumString **ppenum);
1647void __RPC_STUB IBindCtx_EnumObjectParam_Stub(
1648 IRpcStubBuffer* This,
1649 IRpcChannelBuffer* pRpcChannelBuffer,
1650 PRPC_MESSAGE pRpcMessage,
1651 DWORD* pdwStubPhase);
1652HRESULT STDMETHODCALLTYPE IBindCtx_RevokeObjectParam_Proxy(
1653 IBindCtx* This,
1654 LPOLESTR pszKey);
1655void __RPC_STUB IBindCtx_RevokeObjectParam_Stub(
1656 IRpcStubBuffer* This,
1657 IRpcChannelBuffer* pRpcChannelBuffer,
1658 PRPC_MESSAGE pRpcMessage,
1659 DWORD* pdwStubPhase);
1660HRESULT CALLBACK IBindCtx_SetBindOptions_Proxy(
1661 IBindCtx* This,
1662 BIND_OPTS *pbindopts);
1663HRESULT __RPC_STUB IBindCtx_SetBindOptions_Stub(
1664 IBindCtx* This,
1665 BIND_OPTS2 *pbindopts);
1666HRESULT CALLBACK IBindCtx_GetBindOptions_Proxy(
1667 IBindCtx* This,
1668 BIND_OPTS *pbindopts);
1669HRESULT __RPC_STUB IBindCtx_GetBindOptions_Stub(
1670 IBindCtx* This,
1671 BIND_OPTS2 *pbindopts);
1672
1673#endif /* __IBindCtx_INTERFACE_DEFINED__ */
1674
1675#ifndef __IEnumMoniker_FWD_DEFINED__
1676#define __IEnumMoniker_FWD_DEFINED__
1677typedef interface IEnumMoniker IEnumMoniker;
1678#endif
1679
1680typedef IEnumMoniker *LPENUMMONIKER;
1681/*****************************************************************************
1682 * IEnumMoniker interface
1683 */
1684#ifndef __IEnumMoniker_INTERFACE_DEFINED__
1685#define __IEnumMoniker_INTERFACE_DEFINED__
1686
1687DEFINE_GUID(IID_IEnumMoniker, 0x00000102, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1688#if defined(__cplusplus) && !defined(CINTERFACE)
1689interface IEnumMoniker : public IUnknown
1690{
1691 virtual HRESULT STDMETHODCALLTYPE Next(
1692 ULONG celt,
1693 IMoniker **rgelt,
1694 ULONG *pceltFetched) = 0;
1695
1696 virtual HRESULT STDMETHODCALLTYPE Skip(
1697 ULONG celt) = 0;
1698
1699 virtual HRESULT STDMETHODCALLTYPE Reset(
1700 ) = 0;
1701
1702 virtual HRESULT STDMETHODCALLTYPE Clone(
1703 IEnumMoniker **ppenum) = 0;
1704
1705};
1706#else
1707typedef struct IEnumMonikerVtbl {
1708 BEGIN_INTERFACE
1709
1710 /*** IUnknown methods ***/
1711 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1712 IEnumMoniker* This,
1713 REFIID riid,
1714 void **ppvObject);
1715
1716 ULONG (STDMETHODCALLTYPE *AddRef)(
1717 IEnumMoniker* This);
1718
1719 ULONG (STDMETHODCALLTYPE *Release)(
1720 IEnumMoniker* This);
1721
1722 /*** IEnumMoniker methods ***/
1723 HRESULT (STDMETHODCALLTYPE *Next)(
1724 IEnumMoniker* This,
1725 ULONG celt,
1726 IMoniker **rgelt,
1727 ULONG *pceltFetched);
1728
1729 HRESULT (STDMETHODCALLTYPE *Skip)(
1730 IEnumMoniker* This,
1731 ULONG celt);
1732
1733 HRESULT (STDMETHODCALLTYPE *Reset)(
1734 IEnumMoniker* This);
1735
1736 HRESULT (STDMETHODCALLTYPE *Clone)(
1737 IEnumMoniker* This,
1738 IEnumMoniker **ppenum);
1739
1740 END_INTERFACE
1741} IEnumMonikerVtbl;
1742interface IEnumMoniker {
1743 CONST_VTBL IEnumMonikerVtbl* lpVtbl;
1744};
1745
1746#ifdef COBJMACROS
1747/*** IUnknown methods ***/
1748#define IEnumMoniker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1749#define IEnumMoniker_AddRef(This) (This)->lpVtbl->AddRef(This)
1750#define IEnumMoniker_Release(This) (This)->lpVtbl->Release(This)
1751/*** IEnumMoniker methods ***/
1752#define IEnumMoniker_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
1753#define IEnumMoniker_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
1754#define IEnumMoniker_Reset(This) (This)->lpVtbl->Reset(This)
1755#define IEnumMoniker_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
1756#endif
1757
1758#endif
1759
1760HRESULT STDMETHODCALLTYPE IEnumMoniker_RemoteNext_Proxy(
1761 IEnumMoniker* This,
1762 ULONG celt,
1763 IMoniker **rgelt,
1764 ULONG *pceltFetched);
1765void __RPC_STUB IEnumMoniker_RemoteNext_Stub(
1766 IRpcStubBuffer* This,
1767 IRpcChannelBuffer* pRpcChannelBuffer,
1768 PRPC_MESSAGE pRpcMessage,
1769 DWORD* pdwStubPhase);
1770HRESULT STDMETHODCALLTYPE IEnumMoniker_Skip_Proxy(
1771 IEnumMoniker* This,
1772 ULONG celt);
1773void __RPC_STUB IEnumMoniker_Skip_Stub(
1774 IRpcStubBuffer* This,
1775 IRpcChannelBuffer* pRpcChannelBuffer,
1776 PRPC_MESSAGE pRpcMessage,
1777 DWORD* pdwStubPhase);
1778HRESULT STDMETHODCALLTYPE IEnumMoniker_Reset_Proxy(
1779 IEnumMoniker* This);
1780void __RPC_STUB IEnumMoniker_Reset_Stub(
1781 IRpcStubBuffer* This,
1782 IRpcChannelBuffer* pRpcChannelBuffer,
1783 PRPC_MESSAGE pRpcMessage,
1784 DWORD* pdwStubPhase);
1785HRESULT STDMETHODCALLTYPE IEnumMoniker_Clone_Proxy(
1786 IEnumMoniker* This,
1787 IEnumMoniker **ppenum);
1788void __RPC_STUB IEnumMoniker_Clone_Stub(
1789 IRpcStubBuffer* This,
1790 IRpcChannelBuffer* pRpcChannelBuffer,
1791 PRPC_MESSAGE pRpcMessage,
1792 DWORD* pdwStubPhase);
1793HRESULT CALLBACK IEnumMoniker_Next_Proxy(
1794 IEnumMoniker* This,
1795 ULONG celt,
1796 IMoniker **rgelt,
1797 ULONG *pceltFetched);
1798HRESULT __RPC_STUB IEnumMoniker_Next_Stub(
1799 IEnumMoniker* This,
1800 ULONG celt,
1801 IMoniker **rgelt,
1802 ULONG *pceltFetched);
1803
1804#endif /* __IEnumMoniker_INTERFACE_DEFINED__ */
1805
1806#ifndef __IRunnableObject_FWD_DEFINED__
1807#define __IRunnableObject_FWD_DEFINED__
1808typedef interface IRunnableObject IRunnableObject;
1809#endif
1810
1811typedef IRunnableObject *LPRUNNABLEOBJECT;
1812/*****************************************************************************
1813 * IRunnableObject interface
1814 */
1815#ifndef __IRunnableObject_INTERFACE_DEFINED__
1816#define __IRunnableObject_INTERFACE_DEFINED__
1817
1818DEFINE_GUID(IID_IRunnableObject, 0x00000126, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1819#if defined(__cplusplus) && !defined(CINTERFACE)
1820interface IRunnableObject : public IUnknown
1821{
1822 virtual HRESULT STDMETHODCALLTYPE GetRunningClass(
1823 LPCLSID lpClsid) = 0;
1824
1825 virtual HRESULT STDMETHODCALLTYPE Run(
1826 LPBINDCTX pbc) = 0;
1827
1828 virtual BOOL STDMETHODCALLTYPE IsRunning(
1829 ) = 0;
1830
1831 virtual HRESULT STDMETHODCALLTYPE LockRunning(
1832 BOOL fLock,
1833 BOOL fLastUnlockCloses) = 0;
1834
1835 virtual HRESULT STDMETHODCALLTYPE SetContainedObject(
1836 BOOL fContained) = 0;
1837
1838};
1839#else
1840typedef struct IRunnableObjectVtbl {
1841 BEGIN_INTERFACE
1842
1843 /*** IUnknown methods ***/
1844 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1845 IRunnableObject* This,
1846 REFIID riid,
1847 void **ppvObject);
1848
1849 ULONG (STDMETHODCALLTYPE *AddRef)(
1850 IRunnableObject* This);
1851
1852 ULONG (STDMETHODCALLTYPE *Release)(
1853 IRunnableObject* This);
1854
1855 /*** IRunnableObject methods ***/
1856 HRESULT (STDMETHODCALLTYPE *GetRunningClass)(
1857 IRunnableObject* This,
1858 LPCLSID lpClsid);
1859
1860 HRESULT (STDMETHODCALLTYPE *Run)(
1861 IRunnableObject* This,
1862 LPBINDCTX pbc);
1863
1864 BOOL (STDMETHODCALLTYPE *IsRunning)(
1865 IRunnableObject* This);
1866
1867 HRESULT (STDMETHODCALLTYPE *LockRunning)(
1868 IRunnableObject* This,
1869 BOOL fLock,
1870 BOOL fLastUnlockCloses);
1871
1872 HRESULT (STDMETHODCALLTYPE *SetContainedObject)(
1873 IRunnableObject* This,
1874 BOOL fContained);
1875
1876 END_INTERFACE
1877} IRunnableObjectVtbl;
1878interface IRunnableObject {
1879 CONST_VTBL IRunnableObjectVtbl* lpVtbl;
1880};
1881
1882#ifdef COBJMACROS
1883/*** IUnknown methods ***/
1884#define IRunnableObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1885#define IRunnableObject_AddRef(This) (This)->lpVtbl->AddRef(This)
1886#define IRunnableObject_Release(This) (This)->lpVtbl->Release(This)
1887/*** IRunnableObject methods ***/
1888#define IRunnableObject_GetRunningClass(This,lpClsid) (This)->lpVtbl->GetRunningClass(This,lpClsid)
1889#define IRunnableObject_Run(This,pbc) (This)->lpVtbl->Run(This,pbc)
1890#define IRunnableObject_IsRunning(This) (This)->lpVtbl->IsRunning(This)
1891#define IRunnableObject_LockRunning(This,fLock,fLastUnlockCloses) (This)->lpVtbl->LockRunning(This,fLock,fLastUnlockCloses)
1892#define IRunnableObject_SetContainedObject(This,fContained) (This)->lpVtbl->SetContainedObject(This,fContained)
1893#endif
1894
1895#endif
1896
1897HRESULT STDMETHODCALLTYPE IRunnableObject_GetRunningClass_Proxy(
1898 IRunnableObject* This,
1899 LPCLSID lpClsid);
1900void __RPC_STUB IRunnableObject_GetRunningClass_Stub(
1901 IRpcStubBuffer* This,
1902 IRpcChannelBuffer* pRpcChannelBuffer,
1903 PRPC_MESSAGE pRpcMessage,
1904 DWORD* pdwStubPhase);
1905HRESULT STDMETHODCALLTYPE IRunnableObject_Run_Proxy(
1906 IRunnableObject* This,
1907 LPBINDCTX pbc);
1908void __RPC_STUB IRunnableObject_Run_Stub(
1909 IRpcStubBuffer* This,
1910 IRpcChannelBuffer* pRpcChannelBuffer,
1911 PRPC_MESSAGE pRpcMessage,
1912 DWORD* pdwStubPhase);
1913HRESULT STDMETHODCALLTYPE IRunnableObject_RemoteIsRunning_Proxy(
1914 IRunnableObject* This);
1915void __RPC_STUB IRunnableObject_RemoteIsRunning_Stub(
1916 IRpcStubBuffer* This,
1917 IRpcChannelBuffer* pRpcChannelBuffer,
1918 PRPC_MESSAGE pRpcMessage,
1919 DWORD* pdwStubPhase);
1920HRESULT STDMETHODCALLTYPE IRunnableObject_LockRunning_Proxy(
1921 IRunnableObject* This,
1922 BOOL fLock,
1923 BOOL fLastUnlockCloses);
1924void __RPC_STUB IRunnableObject_LockRunning_Stub(
1925 IRpcStubBuffer* This,
1926 IRpcChannelBuffer* pRpcChannelBuffer,
1927 PRPC_MESSAGE pRpcMessage,
1928 DWORD* pdwStubPhase);
1929HRESULT STDMETHODCALLTYPE IRunnableObject_SetContainedObject_Proxy(
1930 IRunnableObject* This,
1931 BOOL fContained);
1932void __RPC_STUB IRunnableObject_SetContainedObject_Stub(
1933 IRpcStubBuffer* This,
1934 IRpcChannelBuffer* pRpcChannelBuffer,
1935 PRPC_MESSAGE pRpcMessage,
1936 DWORD* pdwStubPhase);
1937BOOL CALLBACK IRunnableObject_IsRunning_Proxy(
1938 IRunnableObject* This);
1939HRESULT __RPC_STUB IRunnableObject_IsRunning_Stub(
1940 IRunnableObject* This);
1941
1942#endif /* __IRunnableObject_INTERFACE_DEFINED__ */
1943
1944#ifdef WINE_NO_UNICODE_MACROS
1945#undef GetObject
1946#endif
1947typedef IRunningObjectTable *LPRUNNINGOBJECTTABLE;
1948/*****************************************************************************
1949 * IRunningObjectTable interface
1950 */
1951#ifndef __IRunningObjectTable_INTERFACE_DEFINED__
1952#define __IRunningObjectTable_INTERFACE_DEFINED__
1953
1954DEFINE_GUID(IID_IRunningObjectTable, 0x00000010, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
1955#if defined(__cplusplus) && !defined(CINTERFACE)
1956interface IRunningObjectTable : public IUnknown
1957{
1958 virtual HRESULT STDMETHODCALLTYPE Register(
1959 DWORD grfFlags,
1960 IUnknown *punkObject,
1961 IMoniker *pmkObjectName,
1962 DWORD *pdwRegister) = 0;
1963
1964 virtual HRESULT STDMETHODCALLTYPE Revoke(
1965 DWORD dwRegister) = 0;
1966
1967 virtual HRESULT STDMETHODCALLTYPE IsRunning(
1968 IMoniker *pmkObjectName) = 0;
1969
1970 virtual HRESULT STDMETHODCALLTYPE GetObject(
1971 IMoniker *pmkObjectName,
1972 IUnknown **ppunkObject) = 0;
1973
1974 virtual HRESULT STDMETHODCALLTYPE NoteChangeTime(
1975 DWORD dwRegister,
1976 FILETIME *pfiletime) = 0;
1977
1978 virtual HRESULT STDMETHODCALLTYPE GetTimeOfLastChange(
1979 IMoniker *pmkObjectName,
1980 FILETIME *pfiletime) = 0;
1981
1982 virtual HRESULT STDMETHODCALLTYPE EnumRunning(
1983 IEnumMoniker **ppenumMoniker) = 0;
1984
1985};
1986#else
1987typedef struct IRunningObjectTableVtbl {
1988 BEGIN_INTERFACE
1989
1990 /*** IUnknown methods ***/
1991 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1992 IRunningObjectTable* This,
1993 REFIID riid,
1994 void **ppvObject);
1995
1996 ULONG (STDMETHODCALLTYPE *AddRef)(
1997 IRunningObjectTable* This);
1998
1999 ULONG (STDMETHODCALLTYPE *Release)(
2000 IRunningObjectTable* This);
2001
2002 /*** IRunningObjectTable methods ***/
2003 HRESULT (STDMETHODCALLTYPE *Register)(
2004 IRunningObjectTable* This,
2005 DWORD grfFlags,
2006 IUnknown *punkObject,
2007 IMoniker *pmkObjectName,
2008 DWORD *pdwRegister);
2009
2010 HRESULT (STDMETHODCALLTYPE *Revoke)(
2011 IRunningObjectTable* This,
2012 DWORD dwRegister);
2013
2014 HRESULT (STDMETHODCALLTYPE *IsRunning)(
2015 IRunningObjectTable* This,
2016 IMoniker *pmkObjectName);
2017
2018 HRESULT (STDMETHODCALLTYPE *GetObject)(
2019 IRunningObjectTable* This,
2020 IMoniker *pmkObjectName,
2021 IUnknown **ppunkObject);
2022
2023 HRESULT (STDMETHODCALLTYPE *NoteChangeTime)(
2024 IRunningObjectTable* This,
2025 DWORD dwRegister,
2026 FILETIME *pfiletime);
2027
2028 HRESULT (STDMETHODCALLTYPE *GetTimeOfLastChange)(
2029 IRunningObjectTable* This,
2030 IMoniker *pmkObjectName,
2031 FILETIME *pfiletime);
2032
2033 HRESULT (STDMETHODCALLTYPE *EnumRunning)(
2034 IRunningObjectTable* This,
2035 IEnumMoniker **ppenumMoniker);
2036
2037 END_INTERFACE
2038} IRunningObjectTableVtbl;
2039interface IRunningObjectTable {
2040 CONST_VTBL IRunningObjectTableVtbl* lpVtbl;
2041};
2042
2043#ifdef COBJMACROS
2044/*** IUnknown methods ***/
2045#define IRunningObjectTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2046#define IRunningObjectTable_AddRef(This) (This)->lpVtbl->AddRef(This)
2047#define IRunningObjectTable_Release(This) (This)->lpVtbl->Release(This)
2048/*** IRunningObjectTable methods ***/
2049#define IRunningObjectTable_Register(This,grfFlags,punkObject,pmkObjectName,pdwRegister) (This)->lpVtbl->Register(This,grfFlags,punkObject,pmkObjectName,pdwRegister)
2050#define IRunningObjectTable_Revoke(This,dwRegister) (This)->lpVtbl->Revoke(This,dwRegister)
2051#define IRunningObjectTable_IsRunning(This,pmkObjectName) (This)->lpVtbl->IsRunning(This,pmkObjectName)
2052#define IRunningObjectTable_GetObject(This,pmkObjectName,ppunkObject) (This)->lpVtbl->GetObject(This,pmkObjectName,ppunkObject)
2053#define IRunningObjectTable_NoteChangeTime(This,dwRegister,pfiletime) (This)->lpVtbl->NoteChangeTime(This,dwRegister,pfiletime)
2054#define IRunningObjectTable_GetTimeOfLastChange(This,pmkObjectName,pfiletime) (This)->lpVtbl->GetTimeOfLastChange(This,pmkObjectName,pfiletime)
2055#define IRunningObjectTable_EnumRunning(This,ppenumMoniker) (This)->lpVtbl->EnumRunning(This,ppenumMoniker)
2056#endif
2057
2058#endif
2059
2060HRESULT STDMETHODCALLTYPE IRunningObjectTable_Register_Proxy(
2061 IRunningObjectTable* This,
2062 DWORD grfFlags,
2063 IUnknown *punkObject,
2064 IMoniker *pmkObjectName,
2065 DWORD *pdwRegister);
2066void __RPC_STUB IRunningObjectTable_Register_Stub(
2067 IRpcStubBuffer* This,
2068 IRpcChannelBuffer* pRpcChannelBuffer,
2069 PRPC_MESSAGE pRpcMessage,
2070 DWORD* pdwStubPhase);
2071HRESULT STDMETHODCALLTYPE IRunningObjectTable_Revoke_Proxy(
2072 IRunningObjectTable* This,
2073 DWORD dwRegister);
2074void __RPC_STUB IRunningObjectTable_Revoke_Stub(
2075 IRpcStubBuffer* This,
2076 IRpcChannelBuffer* pRpcChannelBuffer,
2077 PRPC_MESSAGE pRpcMessage,
2078 DWORD* pdwStubPhase);
2079HRESULT STDMETHODCALLTYPE IRunningObjectTable_IsRunning_Proxy(
2080 IRunningObjectTable* This,
2081 IMoniker *pmkObjectName);
2082void __RPC_STUB IRunningObjectTable_IsRunning_Stub(
2083 IRpcStubBuffer* This,
2084 IRpcChannelBuffer* pRpcChannelBuffer,
2085 PRPC_MESSAGE pRpcMessage,
2086 DWORD* pdwStubPhase);
2087HRESULT STDMETHODCALLTYPE IRunningObjectTable_GetObject_Proxy(
2088 IRunningObjectTable* This,
2089 IMoniker *pmkObjectName,
2090 IUnknown **ppunkObject);
2091void __RPC_STUB IRunningObjectTable_GetObject_Stub(
2092 IRpcStubBuffer* This,
2093 IRpcChannelBuffer* pRpcChannelBuffer,
2094 PRPC_MESSAGE pRpcMessage,
2095 DWORD* pdwStubPhase);
2096HRESULT STDMETHODCALLTYPE IRunningObjectTable_NoteChangeTime_Proxy(
2097 IRunningObjectTable* This,
2098 DWORD dwRegister,
2099 FILETIME *pfiletime);
2100void __RPC_STUB IRunningObjectTable_NoteChangeTime_Stub(
2101 IRpcStubBuffer* This,
2102 IRpcChannelBuffer* pRpcChannelBuffer,
2103 PRPC_MESSAGE pRpcMessage,
2104 DWORD* pdwStubPhase);
2105HRESULT STDMETHODCALLTYPE IRunningObjectTable_GetTimeOfLastChange_Proxy(
2106 IRunningObjectTable* This,
2107 IMoniker *pmkObjectName,
2108 FILETIME *pfiletime);
2109void __RPC_STUB IRunningObjectTable_GetTimeOfLastChange_Stub(
2110 IRpcStubBuffer* This,
2111 IRpcChannelBuffer* pRpcChannelBuffer,
2112 PRPC_MESSAGE pRpcMessage,
2113 DWORD* pdwStubPhase);
2114HRESULT STDMETHODCALLTYPE IRunningObjectTable_EnumRunning_Proxy(
2115 IRunningObjectTable* This,
2116 IEnumMoniker **ppenumMoniker);
2117void __RPC_STUB IRunningObjectTable_EnumRunning_Stub(
2118 IRpcStubBuffer* This,
2119 IRpcChannelBuffer* pRpcChannelBuffer,
2120 PRPC_MESSAGE pRpcMessage,
2121 DWORD* pdwStubPhase);
2122
2123#endif /* __IRunningObjectTable_INTERFACE_DEFINED__ */
2124
2125#ifndef __IPersist_FWD_DEFINED__
2126#define __IPersist_FWD_DEFINED__
2127typedef interface IPersist IPersist;
2128#endif
2129
2130typedef IPersist *LPPERSIST;
2131/*****************************************************************************
2132 * IPersist interface
2133 */
2134#ifndef __IPersist_INTERFACE_DEFINED__
2135#define __IPersist_INTERFACE_DEFINED__
2136
2137DEFINE_GUID(IID_IPersist, 0x0000010c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
2138#if defined(__cplusplus) && !defined(CINTERFACE)
2139interface IPersist : public IUnknown
2140{
2141 virtual HRESULT STDMETHODCALLTYPE GetClassID(
2142 CLSID *pClassID) = 0;
2143
2144};
2145#else
2146typedef struct IPersistVtbl {
2147 BEGIN_INTERFACE
2148
2149 /*** IUnknown methods ***/
2150 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2151 IPersist* This,
2152 REFIID riid,
2153 void **ppvObject);
2154
2155 ULONG (STDMETHODCALLTYPE *AddRef)(
2156 IPersist* This);
2157
2158 ULONG (STDMETHODCALLTYPE *Release)(
2159 IPersist* This);
2160
2161 /*** IPersist methods ***/
2162 HRESULT (STDMETHODCALLTYPE *GetClassID)(
2163 IPersist* This,
2164 CLSID *pClassID);
2165
2166 END_INTERFACE
2167} IPersistVtbl;
2168interface IPersist {
2169 CONST_VTBL IPersistVtbl* lpVtbl;
2170};
2171
2172#ifdef COBJMACROS
2173/*** IUnknown methods ***/
2174#define IPersist_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2175#define IPersist_AddRef(This) (This)->lpVtbl->AddRef(This)
2176#define IPersist_Release(This) (This)->lpVtbl->Release(This)
2177/*** IPersist methods ***/
2178#define IPersist_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
2179#endif
2180
2181#endif
2182
2183HRESULT STDMETHODCALLTYPE IPersist_GetClassID_Proxy(
2184 IPersist* This,
2185 CLSID *pClassID);
2186void __RPC_STUB IPersist_GetClassID_Stub(
2187 IRpcStubBuffer* This,
2188 IRpcChannelBuffer* pRpcChannelBuffer,
2189 PRPC_MESSAGE pRpcMessage,
2190 DWORD* pdwStubPhase);
2191
2192#endif /* __IPersist_INTERFACE_DEFINED__ */
2193
2194#ifndef __IPersistStream_FWD_DEFINED__
2195#define __IPersistStream_FWD_DEFINED__
2196typedef interface IPersistStream IPersistStream;
2197#endif
2198
2199typedef IPersistStream *LPPERSISTSTREAM;
2200/*****************************************************************************
2201 * IPersistStream interface
2202 */
2203#ifndef __IPersistStream_INTERFACE_DEFINED__
2204#define __IPersistStream_INTERFACE_DEFINED__
2205
2206DEFINE_GUID(IID_IPersistStream, 0x00000109, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
2207#if defined(__cplusplus) && !defined(CINTERFACE)
2208interface IPersistStream : public IPersist
2209{
2210 virtual HRESULT STDMETHODCALLTYPE IsDirty(
2211 ) = 0;
2212
2213 virtual HRESULT STDMETHODCALLTYPE Load(
2214 IStream *pStm) = 0;
2215
2216 virtual HRESULT STDMETHODCALLTYPE Save(
2217 IStream *pStm,
2218 BOOL fClearDirty) = 0;
2219
2220 virtual HRESULT STDMETHODCALLTYPE GetSizeMax(
2221 ULARGE_INTEGER *pcbSize) = 0;
2222
2223};
2224#else
2225typedef struct IPersistStreamVtbl {
2226 BEGIN_INTERFACE
2227
2228 /*** IUnknown methods ***/
2229 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2230 IPersistStream* This,
2231 REFIID riid,
2232 void **ppvObject);
2233
2234 ULONG (STDMETHODCALLTYPE *AddRef)(
2235 IPersistStream* This);
2236
2237 ULONG (STDMETHODCALLTYPE *Release)(
2238 IPersistStream* This);
2239
2240 /*** IPersist methods ***/
2241 HRESULT (STDMETHODCALLTYPE *GetClassID)(
2242 IPersistStream* This,
2243 CLSID *pClassID);
2244
2245 /*** IPersistStream methods ***/
2246 HRESULT (STDMETHODCALLTYPE *IsDirty)(
2247 IPersistStream* This);
2248
2249 HRESULT (STDMETHODCALLTYPE *Load)(
2250 IPersistStream* This,
2251 IStream *pStm);
2252
2253 HRESULT (STDMETHODCALLTYPE *Save)(
2254 IPersistStream* This,
2255 IStream *pStm,
2256 BOOL fClearDirty);
2257
2258 HRESULT (STDMETHODCALLTYPE *GetSizeMax)(
2259 IPersistStream* This,
2260 ULARGE_INTEGER *pcbSize);
2261
2262 END_INTERFACE
2263} IPersistStreamVtbl;
2264interface IPersistStream {
2265 CONST_VTBL IPersistStreamVtbl* lpVtbl;
2266};
2267
2268#ifdef COBJMACROS
2269/*** IUnknown methods ***/
2270#define IPersistStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2271#define IPersistStream_AddRef(This) (This)->lpVtbl->AddRef(This)
2272#define IPersistStream_Release(This) (This)->lpVtbl->Release(This)
2273/*** IPersist methods ***/
2274#define IPersistStream_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
2275/*** IPersistStream methods ***/
2276#define IPersistStream_IsDirty(This) (This)->lpVtbl->IsDirty(This)
2277#define IPersistStream_Load(This,pStm) (This)->lpVtbl->Load(This,pStm)
2278#define IPersistStream_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty)
2279#define IPersistStream_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize)
2280#endif
2281
2282#endif
2283
2284HRESULT STDMETHODCALLTYPE IPersistStream_IsDirty_Proxy(
2285 IPersistStream* This);
2286void __RPC_STUB IPersistStream_IsDirty_Stub(
2287 IRpcStubBuffer* This,
2288 IRpcChannelBuffer* pRpcChannelBuffer,
2289 PRPC_MESSAGE pRpcMessage,
2290 DWORD* pdwStubPhase);
2291HRESULT STDMETHODCALLTYPE IPersistStream_Load_Proxy(
2292 IPersistStream* This,
2293 IStream *pStm);
2294void __RPC_STUB IPersistStream_Load_Stub(
2295 IRpcStubBuffer* This,
2296 IRpcChannelBuffer* pRpcChannelBuffer,
2297 PRPC_MESSAGE pRpcMessage,
2298 DWORD* pdwStubPhase);
2299HRESULT STDMETHODCALLTYPE IPersistStream_Save_Proxy(
2300 IPersistStream* This,
2301 IStream *pStm,
2302 BOOL fClearDirty);
2303void __RPC_STUB IPersistStream_Save_Stub(
2304 IRpcStubBuffer* This,
2305 IRpcChannelBuffer* pRpcChannelBuffer,
2306 PRPC_MESSAGE pRpcMessage,
2307 DWORD* pdwStubPhase);
2308HRESULT STDMETHODCALLTYPE IPersistStream_GetSizeMax_Proxy(
2309 IPersistStream* This,
2310 ULARGE_INTEGER *pcbSize);
2311void __RPC_STUB IPersistStream_GetSizeMax_Stub(
2312 IRpcStubBuffer* This,
2313 IRpcChannelBuffer* pRpcChannelBuffer,
2314 PRPC_MESSAGE pRpcMessage,
2315 DWORD* pdwStubPhase);
2316
2317#endif /* __IPersistStream_INTERFACE_DEFINED__ */
2318
2319typedef IMoniker *LPMONIKER;
2320typedef enum tagMKSYS {
2321 MKSYS_NONE = 0,
2322 MKSYS_GENERICCOMPOSITE = 1,
2323 MKSYS_FILEMONIKER = 2,
2324 MKSYS_ANTIMONIKER = 3,
2325 MKSYS_ITEMMONIKER = 4,
2326 MKSYS_POINTERMONIKER = 5,
2327 MKSYS_CLASSMONIKER = 7
2328} MKSYS;
2329typedef enum tagMKREDUCE {
2330 MKRREDUCE_ONE = 3 << 16,
2331 MKRREDUCE_TOUSER = 2 << 16,
2332 MKRREDUCE_THROUGHUSER = 1 << 16,
2333 MKRREDUCE_ALL = 0
2334} MKRREDUCE;
2335/*****************************************************************************
2336 * IMoniker interface
2337 */
2338#ifndef __IMoniker_INTERFACE_DEFINED__
2339#define __IMoniker_INTERFACE_DEFINED__
2340
2341DEFINE_GUID(IID_IMoniker, 0x0000000f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
2342#if defined(__cplusplus) && !defined(CINTERFACE)
2343interface IMoniker : public IPersistStream
2344{
2345 virtual HRESULT STDMETHODCALLTYPE BindToObject(
2346 IBindCtx *pbc,
2347 IMoniker *pmkToLeft,
2348 REFIID riidResult,
2349 void **ppvResult) = 0;
2350
2351 virtual HRESULT STDMETHODCALLTYPE BindToStorage(
2352 IBindCtx *pbc,
2353 IMoniker *pmkToLeft,
2354 REFIID riid,
2355 void **ppvObj) = 0;
2356
2357 virtual HRESULT STDMETHODCALLTYPE Reduce(
2358 IBindCtx *pbc,
2359 DWORD dwReduceHowFar,
2360 IMoniker **ppmkToLeft,
2361 IMoniker **ppmkReduced) = 0;
2362
2363 virtual HRESULT STDMETHODCALLTYPE ComposeWith(
2364 IMoniker *pmkRight,
2365 BOOL fOnlyIfNotGeneric,
2366 IMoniker **ppmkComposite) = 0;
2367
2368 virtual HRESULT STDMETHODCALLTYPE Enum(
2369 BOOL fForward,
2370 IEnumMoniker **ppenumMoniker) = 0;
2371
2372 virtual HRESULT STDMETHODCALLTYPE IsEqual(
2373 IMoniker *pmkOtherMoniker) = 0;
2374
2375 virtual HRESULT STDMETHODCALLTYPE Hash(
2376 DWORD *pdwHash) = 0;
2377
2378 virtual HRESULT STDMETHODCALLTYPE IsRunning(
2379 IBindCtx *pbc,
2380 IMoniker *pmkToLeft,
2381 IMoniker *pmkNewlyRunning) = 0;
2382
2383 virtual HRESULT STDMETHODCALLTYPE GetTimeOfLastChange(
2384 IBindCtx *pbc,
2385 IMoniker *pmkToLeft,
2386 FILETIME *pFileTime) = 0;
2387
2388 virtual HRESULT STDMETHODCALLTYPE Inverse(
2389 IMoniker **ppmk) = 0;
2390
2391 virtual HRESULT STDMETHODCALLTYPE CommonPrefixWith(
2392 IMoniker *pmkOther,
2393 IMoniker **ppmkPrefix) = 0;
2394
2395 virtual HRESULT STDMETHODCALLTYPE RelativePathTo(
2396 IMoniker *pmkOther,
2397 IMoniker **ppmkRelPath) = 0;
2398
2399 virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
2400 IBindCtx *pbc,
2401 IMoniker *pmkToLeft,
2402 LPOLESTR *ppszDisplayName) = 0;
2403
2404 virtual HRESULT STDMETHODCALLTYPE ParseDisplayName(
2405 IBindCtx *pbc,
2406 IMoniker *pmkToLeft,
2407 LPOLESTR pszDisplayName,
2408 ULONG *pchEaten,
2409 IMoniker **ppmkOut) = 0;
2410
2411 virtual HRESULT STDMETHODCALLTYPE IsSystemMoniker(
2412 DWORD *pdwMksys) = 0;
2413
2414};
2415#else
2416typedef struct IMonikerVtbl {
2417 BEGIN_INTERFACE
2418
2419 /*** IUnknown methods ***/
2420 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2421 IMoniker* This,
2422 REFIID riid,
2423 void **ppvObject);
2424
2425 ULONG (STDMETHODCALLTYPE *AddRef)(
2426 IMoniker* This);
2427
2428 ULONG (STDMETHODCALLTYPE *Release)(
2429 IMoniker* This);
2430
2431 /*** IPersist methods ***/
2432 HRESULT (STDMETHODCALLTYPE *GetClassID)(
2433 IMoniker* This,
2434 CLSID *pClassID);
2435
2436 /*** IPersistStream methods ***/
2437 HRESULT (STDMETHODCALLTYPE *IsDirty)(
2438 IMoniker* This);
2439
2440 HRESULT (STDMETHODCALLTYPE *Load)(
2441 IMoniker* This,
2442 IStream *pStm);
2443
2444 HRESULT (STDMETHODCALLTYPE *Save)(
2445 IMoniker* This,
2446 IStream *pStm,
2447 BOOL fClearDirty);
2448
2449 HRESULT (STDMETHODCALLTYPE *GetSizeMax)(
2450 IMoniker* This,
2451 ULARGE_INTEGER *pcbSize);
2452
2453 /*** IMoniker methods ***/
2454 HRESULT (STDMETHODCALLTYPE *BindToObject)(
2455 IMoniker* This,
2456 IBindCtx *pbc,
2457 IMoniker *pmkToLeft,
2458 REFIID riidResult,
2459 void **ppvResult);
2460
2461 HRESULT (STDMETHODCALLTYPE *BindToStorage)(
2462 IMoniker* This,
2463 IBindCtx *pbc,
2464 IMoniker *pmkToLeft,
2465 REFIID riid,
2466 void **ppvObj);
2467
2468 HRESULT (STDMETHODCALLTYPE *Reduce)(
2469 IMoniker* This,
2470 IBindCtx *pbc,
2471 DWORD dwReduceHowFar,
2472 IMoniker **ppmkToLeft,
2473 IMoniker **ppmkReduced);
2474
2475 HRESULT (STDMETHODCALLTYPE *ComposeWith)(
2476 IMoniker* This,
2477 IMoniker *pmkRight,
2478 BOOL fOnlyIfNotGeneric,
2479 IMoniker **ppmkComposite);
2480
2481 HRESULT (STDMETHODCALLTYPE *Enum)(
2482 IMoniker* This,
2483 BOOL fForward,
2484 IEnumMoniker **ppenumMoniker);
2485
2486 HRESULT (STDMETHODCALLTYPE *IsEqual)(
2487 IMoniker* This,
2488 IMoniker *pmkOtherMoniker);
2489
2490 HRESULT (STDMETHODCALLTYPE *Hash)(
2491 IMoniker* This,
2492 DWORD *pdwHash);
2493
2494 HRESULT (STDMETHODCALLTYPE *IsRunning)(
2495 IMoniker* This,
2496 IBindCtx *pbc,
2497 IMoniker *pmkToLeft,
2498 IMoniker *pmkNewlyRunning);
2499
2500 HRESULT (STDMETHODCALLTYPE *GetTimeOfLastChange)(
2501 IMoniker* This,
2502 IBindCtx *pbc,
2503 IMoniker *pmkToLeft,
2504 FILETIME *pFileTime);
2505
2506 HRESULT (STDMETHODCALLTYPE *Inverse)(
2507 IMoniker* This,
2508 IMoniker **ppmk);
2509
2510 HRESULT (STDMETHODCALLTYPE *CommonPrefixWith)(
2511 IMoniker* This,
2512 IMoniker *pmkOther,
2513 IMoniker **ppmkPrefix);
2514
2515 HRESULT (STDMETHODCALLTYPE *RelativePathTo)(
2516 IMoniker* This,
2517 IMoniker *pmkOther,
2518 IMoniker **ppmkRelPath);
2519
2520 HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
2521 IMoniker* This,
2522 IBindCtx *pbc,
2523 IMoniker *pmkToLeft,
2524 LPOLESTR *ppszDisplayName);
2525
2526 HRESULT (STDMETHODCALLTYPE *ParseDisplayName)(
2527 IMoniker* This,
2528 IBindCtx *pbc,
2529 IMoniker *pmkToLeft,
2530 LPOLESTR pszDisplayName,
2531 ULONG *pchEaten,
2532 IMoniker **ppmkOut);
2533
2534 HRESULT (STDMETHODCALLTYPE *IsSystemMoniker)(
2535 IMoniker* This,
2536 DWORD *pdwMksys);
2537
2538 END_INTERFACE
2539} IMonikerVtbl;
2540interface IMoniker {
2541 CONST_VTBL IMonikerVtbl* lpVtbl;
2542};
2543
2544#ifdef COBJMACROS
2545/*** IUnknown methods ***/
2546#define IMoniker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2547#define IMoniker_AddRef(This) (This)->lpVtbl->AddRef(This)
2548#define IMoniker_Release(This) (This)->lpVtbl->Release(This)
2549/*** IPersist methods ***/
2550#define IMoniker_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
2551/*** IPersistStream methods ***/
2552#define IMoniker_IsDirty(This) (This)->lpVtbl->IsDirty(This)
2553#define IMoniker_Load(This,pStm) (This)->lpVtbl->Load(This,pStm)
2554#define IMoniker_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty)
2555#define IMoniker_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize)
2556/*** IMoniker methods ***/
2557#define IMoniker_BindToObject(This,pbc,pmkToLeft,riidResult,ppvResult) (This)->lpVtbl->BindToObject(This,pbc,pmkToLeft,riidResult,ppvResult)
2558#define IMoniker_BindToStorage(This,pbc,pmkToLeft,riid,ppvObj) (This)->lpVtbl->BindToStorage(This,pbc,pmkToLeft,riid,ppvObj)
2559#define IMoniker_Reduce(This,pbc,dwReduceHowFar,ppmkToLeft,ppmkReduced) (This)->lpVtbl->Reduce(This,pbc,dwReduceHowFar,ppmkToLeft,ppmkReduced)
2560#define IMoniker_ComposeWith(This,pmkRight,fOnlyIfNotGeneric,ppmkComposite) (This)->lpVtbl->ComposeWith(This,pmkRight,fOnlyIfNotGeneric,ppmkComposite)
2561#define IMoniker_Enum(This,fForward,ppenumMoniker) (This)->lpVtbl->Enum(This,fForward,ppenumMoniker)
2562#define IMoniker_IsEqual(This,pmkOtherMoniker) (This)->lpVtbl->IsEqual(This,pmkOtherMoniker)
2563#define IMoniker_Hash(This,pdwHash) (This)->lpVtbl->Hash(This,pdwHash)
2564#define IMoniker_IsRunning(This,pbc,pmkToLeft,pmkNewlyRunning) (This)->lpVtbl->IsRunning(This,pbc,pmkToLeft,pmkNewlyRunning)
2565#define IMoniker_GetTimeOfLastChange(This,pbc,pmkToLeft,pFileTime) (This)->lpVtbl->GetTimeOfLastChange(This,pbc,pmkToLeft,pFileTime)
2566#define IMoniker_Inverse(This,ppmk) (This)->lpVtbl->Inverse(This,ppmk)
2567#define IMoniker_CommonPrefixWith(This,pmkOther,ppmkPrefix) (This)->lpVtbl->CommonPrefixWith(This,pmkOther,ppmkPrefix)
2568#define IMoniker_RelativePathTo(This,pmkOther,ppmkRelPath) (This)->lpVtbl->RelativePathTo(This,pmkOther,ppmkRelPath)
2569#define IMoniker_GetDisplayName(This,pbc,pmkToLeft,ppszDisplayName) (This)->lpVtbl->GetDisplayName(This,pbc,pmkToLeft,ppszDisplayName)
2570#define IMoniker_ParseDisplayName(This,pbc,pmkToLeft,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pmkToLeft,pszDisplayName,pchEaten,ppmkOut)
2571#define IMoniker_IsSystemMoniker(This,pdwMksys) (This)->lpVtbl->IsSystemMoniker(This,pdwMksys)
2572#endif
2573
2574#endif
2575
2576HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToObject_Proxy(
2577 IMoniker* This,
2578 IBindCtx *pbc,
2579 IMoniker *pmkToLeft,
2580 REFIID riidResult,
2581 IUnknown **ppvResult);
2582void __RPC_STUB IMoniker_RemoteBindToObject_Stub(
2583 IRpcStubBuffer* This,
2584 IRpcChannelBuffer* pRpcChannelBuffer,
2585 PRPC_MESSAGE pRpcMessage,
2586 DWORD* pdwStubPhase);
2587HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToStorage_Proxy(
2588 IMoniker* This,
2589 IBindCtx *pbc,
2590 IMoniker *pmkToLeft,
2591 REFIID riid,
2592 IUnknown **ppvObj);
2593void __RPC_STUB IMoniker_RemoteBindToStorage_Stub(
2594 IRpcStubBuffer* This,
2595 IRpcChannelBuffer* pRpcChannelBuffer,
2596 PRPC_MESSAGE pRpcMessage,
2597 DWORD* pdwStubPhase);
2598HRESULT STDMETHODCALLTYPE IMoniker_Reduce_Proxy(
2599 IMoniker* This,
2600 IBindCtx *pbc,
2601 DWORD dwReduceHowFar,
2602 IMoniker **ppmkToLeft,
2603 IMoniker **ppmkReduced);
2604void __RPC_STUB IMoniker_Reduce_Stub(
2605 IRpcStubBuffer* This,
2606 IRpcChannelBuffer* pRpcChannelBuffer,
2607 PRPC_MESSAGE pRpcMessage,
2608 DWORD* pdwStubPhase);
2609HRESULT STDMETHODCALLTYPE IMoniker_ComposeWith_Proxy(
2610 IMoniker* This,
2611 IMoniker *pmkRight,
2612 BOOL fOnlyIfNotGeneric,
2613 IMoniker **ppmkComposite);
2614void __RPC_STUB IMoniker_ComposeWith_Stub(
2615 IRpcStubBuffer* This,
2616 IRpcChannelBuffer* pRpcChannelBuffer,
2617 PRPC_MESSAGE pRpcMessage,
2618 DWORD* pdwStubPhase);
2619HRESULT STDMETHODCALLTYPE IMoniker_Enum_Proxy(
2620 IMoniker* This,
2621 BOOL fForward,
2622 IEnumMoniker **ppenumMoniker);
2623void __RPC_STUB IMoniker_Enum_Stub(
2624 IRpcStubBuffer* This,
2625 IRpcChannelBuffer* pRpcChannelBuffer,
2626 PRPC_MESSAGE pRpcMessage,
2627 DWORD* pdwStubPhase);
2628HRESULT STDMETHODCALLTYPE IMoniker_IsEqual_Proxy(
2629 IMoniker* This,
2630 IMoniker *pmkOtherMoniker);
2631void __RPC_STUB IMoniker_IsEqual_Stub(
2632 IRpcStubBuffer* This,
2633 IRpcChannelBuffer* pRpcChannelBuffer,
2634 PRPC_MESSAGE pRpcMessage,
2635 DWORD* pdwStubPhase);
2636HRESULT STDMETHODCALLTYPE IMoniker_Hash_Proxy(
2637 IMoniker* This,
2638 DWORD *pdwHash);
2639void __RPC_STUB IMoniker_Hash_Stub(
2640 IRpcStubBuffer* This,
2641 IRpcChannelBuffer* pRpcChannelBuffer,
2642 PRPC_MESSAGE pRpcMessage,
2643 DWORD* pdwStubPhase);
2644HRESULT STDMETHODCALLTYPE IMoniker_IsRunning_Proxy(
2645 IMoniker* This,
2646 IBindCtx *pbc,
2647 IMoniker *pmkToLeft,
2648 IMoniker *pmkNewlyRunning);
2649void __RPC_STUB IMoniker_IsRunning_Stub(
2650 IRpcStubBuffer* This,
2651 IRpcChannelBuffer* pRpcChannelBuffer,
2652 PRPC_MESSAGE pRpcMessage,
2653 DWORD* pdwStubPhase);
2654HRESULT STDMETHODCALLTYPE IMoniker_GetTimeOfLastChange_Proxy(
2655 IMoniker* This,
2656 IBindCtx *pbc,
2657 IMoniker *pmkToLeft,
2658 FILETIME *pFileTime);
2659void __RPC_STUB IMoniker_GetTimeOfLastChange_Stub(
2660 IRpcStubBuffer* This,
2661 IRpcChannelBuffer* pRpcChannelBuffer,
2662 PRPC_MESSAGE pRpcMessage,
2663 DWORD* pdwStubPhase);
2664HRESULT STDMETHODCALLTYPE IMoniker_Inverse_Proxy(
2665 IMoniker* This,
2666 IMoniker **ppmk);
2667void __RPC_STUB IMoniker_Inverse_Stub(
2668 IRpcStubBuffer* This,
2669 IRpcChannelBuffer* pRpcChannelBuffer,
2670 PRPC_MESSAGE pRpcMessage,
2671 DWORD* pdwStubPhase);
2672HRESULT STDMETHODCALLTYPE IMoniker_CommonPrefixWith_Proxy(
2673 IMoniker* This,
2674 IMoniker *pmkOther,
2675 IMoniker **ppmkPrefix);
2676void __RPC_STUB IMoniker_CommonPrefixWith_Stub(
2677 IRpcStubBuffer* This,
2678 IRpcChannelBuffer* pRpcChannelBuffer,
2679 PRPC_MESSAGE pRpcMessage,
2680 DWORD* pdwStubPhase);
2681HRESULT STDMETHODCALLTYPE IMoniker_RelativePathTo_Proxy(
2682 IMoniker* This,
2683 IMoniker *pmkOther,
2684 IMoniker **ppmkRelPath);
2685void __RPC_STUB IMoniker_RelativePathTo_Stub(
2686 IRpcStubBuffer* This,
2687 IRpcChannelBuffer* pRpcChannelBuffer,
2688 PRPC_MESSAGE pRpcMessage,
2689 DWORD* pdwStubPhase);
2690HRESULT STDMETHODCALLTYPE IMoniker_GetDisplayName_Proxy(
2691 IMoniker* This,
2692 IBindCtx *pbc,
2693 IMoniker *pmkToLeft,
2694 LPOLESTR *ppszDisplayName);
2695void __RPC_STUB IMoniker_GetDisplayName_Stub(
2696 IRpcStubBuffer* This,
2697 IRpcChannelBuffer* pRpcChannelBuffer,
2698 PRPC_MESSAGE pRpcMessage,
2699 DWORD* pdwStubPhase);
2700HRESULT STDMETHODCALLTYPE IMoniker_ParseDisplayName_Proxy(
2701 IMoniker* This,
2702 IBindCtx *pbc,
2703 IMoniker *pmkToLeft,
2704 LPOLESTR pszDisplayName,
2705 ULONG *pchEaten,
2706 IMoniker **ppmkOut);
2707void __RPC_STUB IMoniker_ParseDisplayName_Stub(
2708 IRpcStubBuffer* This,
2709 IRpcChannelBuffer* pRpcChannelBuffer,
2710 PRPC_MESSAGE pRpcMessage,
2711 DWORD* pdwStubPhase);
2712HRESULT STDMETHODCALLTYPE IMoniker_IsSystemMoniker_Proxy(
2713 IMoniker* This,
2714 DWORD *pdwMksys);
2715void __RPC_STUB IMoniker_IsSystemMoniker_Stub(
2716 IRpcStubBuffer* This,
2717 IRpcChannelBuffer* pRpcChannelBuffer,
2718 PRPC_MESSAGE pRpcMessage,
2719 DWORD* pdwStubPhase);
2720HRESULT CALLBACK IMoniker_BindToObject_Proxy(
2721 IMoniker* This,
2722 IBindCtx *pbc,
2723 IMoniker *pmkToLeft,
2724 REFIID riidResult,
2725 void **ppvResult);
2726HRESULT __RPC_STUB IMoniker_BindToObject_Stub(
2727 IMoniker* This,
2728 IBindCtx *pbc,
2729 IMoniker *pmkToLeft,
2730 REFIID riidResult,
2731 IUnknown **ppvResult);
2732HRESULT CALLBACK IMoniker_BindToStorage_Proxy(
2733 IMoniker* This,
2734 IBindCtx *pbc,
2735 IMoniker *pmkToLeft,
2736 REFIID riid,
2737 void **ppvObj);
2738HRESULT __RPC_STUB IMoniker_BindToStorage_Stub(
2739 IMoniker* This,
2740 IBindCtx *pbc,
2741 IMoniker *pmkToLeft,
2742 REFIID riid,
2743 IUnknown **ppvObj);
2744
2745#endif /* __IMoniker_INTERFACE_DEFINED__ */
2746
2747#ifndef __IROTData_FWD_DEFINED__
2748#define __IROTData_FWD_DEFINED__
2749typedef interface IROTData IROTData;
2750#endif
2751
2752/*****************************************************************************
2753 * IROTData interface
2754 */
2755#ifndef __IROTData_INTERFACE_DEFINED__
2756#define __IROTData_INTERFACE_DEFINED__
2757
2758DEFINE_GUID(IID_IROTData, 0xf29f6bc0, 0x5021, 0x11ce, 0xaa,0x15, 0x00,0x00,0x69,0x01,0x29,0x3f);
2759#if defined(__cplusplus) && !defined(CINTERFACE)
2760interface IROTData : public IUnknown
2761{
2762 virtual HRESULT STDMETHODCALLTYPE GetComparisonData(
2763 byte *pbData,
2764 ULONG cbMax,
2765 ULONG *pcbData) = 0;
2766
2767};
2768#else
2769typedef struct IROTDataVtbl {
2770 BEGIN_INTERFACE
2771
2772 /*** IUnknown methods ***/
2773 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2774 IROTData* This,
2775 REFIID riid,
2776 void **ppvObject);
2777
2778 ULONG (STDMETHODCALLTYPE *AddRef)(
2779 IROTData* This);
2780
2781 ULONG (STDMETHODCALLTYPE *Release)(
2782 IROTData* This);
2783
2784 /*** IROTData methods ***/
2785 HRESULT (STDMETHODCALLTYPE *GetComparisonData)(
2786 IROTData* This,
2787 byte *pbData,
2788 ULONG cbMax,
2789 ULONG *pcbData);
2790
2791 END_INTERFACE
2792} IROTDataVtbl;
2793interface IROTData {
2794 CONST_VTBL IROTDataVtbl* lpVtbl;
2795};
2796
2797#ifdef COBJMACROS
2798/*** IUnknown methods ***/
2799#define IROTData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2800#define IROTData_AddRef(This) (This)->lpVtbl->AddRef(This)
2801#define IROTData_Release(This) (This)->lpVtbl->Release(This)
2802/*** IROTData methods ***/
2803#define IROTData_GetComparisonData(This,pbData,cbMax,pcbData) (This)->lpVtbl->GetComparisonData(This,pbData,cbMax,pcbData)
2804#endif
2805
2806#endif
2807
2808HRESULT STDMETHODCALLTYPE IROTData_GetComparisonData_Proxy(
2809 IROTData* This,
2810 byte *pbData,
2811 ULONG cbMax,
2812 ULONG *pcbData);
2813void __RPC_STUB IROTData_GetComparisonData_Stub(
2814 IRpcStubBuffer* This,
2815 IRpcChannelBuffer* pRpcChannelBuffer,
2816 PRPC_MESSAGE pRpcMessage,
2817 DWORD* pdwStubPhase);
2818
2819#endif /* __IROTData_INTERFACE_DEFINED__ */
2820
2821typedef IEnumString *LPENUMSTRING;
2822/*****************************************************************************
2823 * IEnumString interface
2824 */
2825#ifndef __IEnumString_INTERFACE_DEFINED__
2826#define __IEnumString_INTERFACE_DEFINED__
2827
2828DEFINE_GUID(IID_IEnumString, 0x00000101, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
2829#if defined(__cplusplus) && !defined(CINTERFACE)
2830interface IEnumString : public IUnknown
2831{
2832 virtual HRESULT STDMETHODCALLTYPE Next(
2833 ULONG celt,
2834 LPOLESTR *rgelt,
2835 ULONG *pceltFetched) = 0;
2836
2837 virtual HRESULT STDMETHODCALLTYPE Skip(
2838 ULONG celt) = 0;
2839
2840 virtual HRESULT STDMETHODCALLTYPE Reset(
2841 ) = 0;
2842
2843 virtual HRESULT STDMETHODCALLTYPE Clone(
2844 IEnumString **ppenum) = 0;
2845
2846};
2847#else
2848typedef struct IEnumStringVtbl {
2849 BEGIN_INTERFACE
2850
2851 /*** IUnknown methods ***/
2852 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2853 IEnumString* This,
2854 REFIID riid,
2855 void **ppvObject);
2856
2857 ULONG (STDMETHODCALLTYPE *AddRef)(
2858 IEnumString* This);
2859
2860 ULONG (STDMETHODCALLTYPE *Release)(
2861 IEnumString* This);
2862
2863 /*** IEnumString methods ***/
2864 HRESULT (STDMETHODCALLTYPE *Next)(
2865 IEnumString* This,
2866 ULONG celt,
2867 LPOLESTR *rgelt,
2868 ULONG *pceltFetched);
2869
2870 HRESULT (STDMETHODCALLTYPE *Skip)(
2871 IEnumString* This,
2872 ULONG celt);
2873
2874 HRESULT (STDMETHODCALLTYPE *Reset)(
2875 IEnumString* This);
2876
2877 HRESULT (STDMETHODCALLTYPE *Clone)(
2878 IEnumString* This,
2879 IEnumString **ppenum);
2880
2881 END_INTERFACE
2882} IEnumStringVtbl;
2883interface IEnumString {
2884 CONST_VTBL IEnumStringVtbl* lpVtbl;
2885};
2886
2887#ifdef COBJMACROS
2888/*** IUnknown methods ***/
2889#define IEnumString_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2890#define IEnumString_AddRef(This) (This)->lpVtbl->AddRef(This)
2891#define IEnumString_Release(This) (This)->lpVtbl->Release(This)
2892/*** IEnumString methods ***/
2893#define IEnumString_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
2894#define IEnumString_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
2895#define IEnumString_Reset(This) (This)->lpVtbl->Reset(This)
2896#define IEnumString_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
2897#endif
2898
2899#endif
2900
2901HRESULT STDMETHODCALLTYPE IEnumString_RemoteNext_Proxy(
2902 IEnumString* This,
2903 ULONG celt,
2904 LPOLESTR *rgelt,
2905 ULONG *pceltFetched);
2906void __RPC_STUB IEnumString_RemoteNext_Stub(
2907 IRpcStubBuffer* This,
2908 IRpcChannelBuffer* pRpcChannelBuffer,
2909 PRPC_MESSAGE pRpcMessage,
2910 DWORD* pdwStubPhase);
2911HRESULT STDMETHODCALLTYPE IEnumString_Skip_Proxy(
2912 IEnumString* This,
2913 ULONG celt);
2914void __RPC_STUB IEnumString_Skip_Stub(
2915 IRpcStubBuffer* This,
2916 IRpcChannelBuffer* pRpcChannelBuffer,
2917 PRPC_MESSAGE pRpcMessage,
2918 DWORD* pdwStubPhase);
2919HRESULT STDMETHODCALLTYPE IEnumString_Reset_Proxy(
2920 IEnumString* This);
2921void __RPC_STUB IEnumString_Reset_Stub(
2922 IRpcStubBuffer* This,
2923 IRpcChannelBuffer* pRpcChannelBuffer,
2924 PRPC_MESSAGE pRpcMessage,
2925 DWORD* pdwStubPhase);
2926HRESULT STDMETHODCALLTYPE IEnumString_Clone_Proxy(
2927 IEnumString* This,
2928 IEnumString **ppenum);
2929void __RPC_STUB IEnumString_Clone_Stub(
2930 IRpcStubBuffer* This,
2931 IRpcChannelBuffer* pRpcChannelBuffer,
2932 PRPC_MESSAGE pRpcMessage,
2933 DWORD* pdwStubPhase);
2934HRESULT CALLBACK IEnumString_Next_Proxy(
2935 IEnumString* This,
2936 ULONG celt,
2937 LPOLESTR *rgelt,
2938 ULONG *pceltFetched);
2939HRESULT __RPC_STUB IEnumString_Next_Stub(
2940 IEnumString* This,
2941 ULONG celt,
2942 LPOLESTR *rgelt,
2943 ULONG *pceltFetched);
2944
2945#endif /* __IEnumString_INTERFACE_DEFINED__ */
2946
2947#ifndef __IClassActivator_FWD_DEFINED__
2948#define __IClassActivator_FWD_DEFINED__
2949typedef interface IClassActivator IClassActivator;
2950#endif
2951
2952/*****************************************************************************
2953 * IClassActivator interface
2954 */
2955#ifndef __IClassActivator_INTERFACE_DEFINED__
2956#define __IClassActivator_INTERFACE_DEFINED__
2957
2958DEFINE_GUID(IID_IClassActivator, 0x00000140, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
2959#if defined(__cplusplus) && !defined(CINTERFACE)
2960interface IClassActivator : public IUnknown
2961{
2962 virtual HRESULT STDMETHODCALLTYPE GetClassObject(
2963 REFCLSID rclsid,
2964 DWORD dwClassContext,
2965 LCID locale,
2966 REFIID riid,
2967 void **ppv) = 0;
2968
2969};
2970#else
2971typedef struct IClassActivatorVtbl {
2972 BEGIN_INTERFACE
2973
2974 /*** IUnknown methods ***/
2975 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2976 IClassActivator* This,
2977 REFIID riid,
2978 void **ppvObject);
2979
2980 ULONG (STDMETHODCALLTYPE *AddRef)(
2981 IClassActivator* This);
2982
2983 ULONG (STDMETHODCALLTYPE *Release)(
2984 IClassActivator* This);
2985
2986 /*** IClassActivator methods ***/
2987 HRESULT (STDMETHODCALLTYPE *GetClassObject)(
2988 IClassActivator* This,
2989 REFCLSID rclsid,
2990 DWORD dwClassContext,
2991 LCID locale,
2992 REFIID riid,
2993 void **ppv);
2994
2995 END_INTERFACE
2996} IClassActivatorVtbl;
2997interface IClassActivator {
2998 CONST_VTBL IClassActivatorVtbl* lpVtbl;
2999};
3000
3001#ifdef COBJMACROS
3002/*** IUnknown methods ***/
3003#define IClassActivator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3004#define IClassActivator_AddRef(This) (This)->lpVtbl->AddRef(This)
3005#define IClassActivator_Release(This) (This)->lpVtbl->Release(This)
3006/*** IClassActivator methods ***/
3007#define IClassActivator_GetClassObject(This,rclsid,dwClassContext,locale,riid,ppv) (This)->lpVtbl->GetClassObject(This,rclsid,dwClassContext,locale,riid,ppv)
3008#endif
3009
3010#endif
3011
3012HRESULT STDMETHODCALLTYPE IClassActivator_GetClassObject_Proxy(
3013 IClassActivator* This,
3014 REFCLSID rclsid,
3015 DWORD dwClassContext,
3016 LCID locale,
3017 REFIID riid,
3018 void **ppv);
3019void __RPC_STUB IClassActivator_GetClassObject_Stub(
3020 IRpcStubBuffer* This,
3021 IRpcChannelBuffer* pRpcChannelBuffer,
3022 PRPC_MESSAGE pRpcMessage,
3023 DWORD* pdwStubPhase);
3024
3025#endif /* __IClassActivator_INTERFACE_DEFINED__ */
3026
3027#ifndef __ISequentialStream_FWD_DEFINED__
3028#define __ISequentialStream_FWD_DEFINED__
3029typedef interface ISequentialStream ISequentialStream;
3030#endif
3031
3032/*****************************************************************************
3033 * ISequentialStream interface
3034 */
3035#ifndef __ISequentialStream_INTERFACE_DEFINED__
3036#define __ISequentialStream_INTERFACE_DEFINED__
3037
3038DEFINE_GUID(IID_ISequentialStream, 0x0c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
3039#if defined(__cplusplus) && !defined(CINTERFACE)
3040interface ISequentialStream : public IUnknown
3041{
3042 virtual HRESULT STDMETHODCALLTYPE Read(
3043 void *pv,
3044 ULONG cb,
3045 ULONG *pcbRead) = 0;
3046
3047 virtual HRESULT STDMETHODCALLTYPE Write(
3048 const void *pv,
3049 ULONG cb,
3050 ULONG *pcbWritten) = 0;
3051
3052};
3053#else
3054typedef struct ISequentialStreamVtbl {
3055 BEGIN_INTERFACE
3056
3057 /*** IUnknown methods ***/
3058 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3059 ISequentialStream* This,
3060 REFIID riid,
3061 void **ppvObject);
3062
3063 ULONG (STDMETHODCALLTYPE *AddRef)(
3064 ISequentialStream* This);
3065
3066 ULONG (STDMETHODCALLTYPE *Release)(
3067 ISequentialStream* This);
3068
3069 /*** ISequentialStream methods ***/
3070 HRESULT (STDMETHODCALLTYPE *Read)(
3071 ISequentialStream* This,
3072 void *pv,
3073 ULONG cb,
3074 ULONG *pcbRead);
3075
3076 HRESULT (STDMETHODCALLTYPE *Write)(
3077 ISequentialStream* This,
3078 const void *pv,
3079 ULONG cb,
3080 ULONG *pcbWritten);
3081
3082 END_INTERFACE
3083} ISequentialStreamVtbl;
3084interface ISequentialStream {
3085 CONST_VTBL ISequentialStreamVtbl* lpVtbl;
3086};
3087
3088#ifdef COBJMACROS
3089/*** IUnknown methods ***/
3090#define ISequentialStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3091#define ISequentialStream_AddRef(This) (This)->lpVtbl->AddRef(This)
3092#define ISequentialStream_Release(This) (This)->lpVtbl->Release(This)
3093/*** ISequentialStream methods ***/
3094#define ISequentialStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead)
3095#define ISequentialStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten)
3096#endif
3097
3098#endif
3099
3100HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteRead_Proxy(
3101 ISequentialStream* This,
3102 byte *pv,
3103 ULONG cb,
3104 ULONG *pcbRead);
3105void __RPC_STUB ISequentialStream_RemoteRead_Stub(
3106 IRpcStubBuffer* This,
3107 IRpcChannelBuffer* pRpcChannelBuffer,
3108 PRPC_MESSAGE pRpcMessage,
3109 DWORD* pdwStubPhase);
3110HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteWrite_Proxy(
3111 ISequentialStream* This,
3112 const byte *pv,
3113 ULONG cb,
3114 ULONG *pcbWritten);
3115void __RPC_STUB ISequentialStream_RemoteWrite_Stub(
3116 IRpcStubBuffer* This,
3117 IRpcChannelBuffer* pRpcChannelBuffer,
3118 PRPC_MESSAGE pRpcMessage,
3119 DWORD* pdwStubPhase);
3120HRESULT CALLBACK ISequentialStream_Read_Proxy(
3121 ISequentialStream* This,
3122 void *pv,
3123 ULONG cb,
3124 ULONG *pcbRead);
3125HRESULT __RPC_STUB ISequentialStream_Read_Stub(
3126 ISequentialStream* This,
3127 byte *pv,
3128 ULONG cb,
3129 ULONG *pcbRead);
3130HRESULT CALLBACK ISequentialStream_Write_Proxy(
3131 ISequentialStream* This,
3132 const void *pv,
3133 ULONG cb,
3134 ULONG *pcbWritten);
3135HRESULT __RPC_STUB ISequentialStream_Write_Stub(
3136 ISequentialStream* This,
3137 const byte *pv,
3138 ULONG cb,
3139 ULONG *pcbWritten);
3140
3141#endif /* __ISequentialStream_INTERFACE_DEFINED__ */
3142
3143typedef IStream *LPSTREAM;
3144typedef struct tagSTATSTG {
3145 LPOLESTR pwcsName;
3146 DWORD type;
3147 ULARGE_INTEGER cbSize;
3148 FILETIME mtime;
3149 FILETIME ctime;
3150 FILETIME atime;
3151 DWORD grfMode;
3152 DWORD grfLocksSupported;
3153 CLSID clsid;
3154 DWORD grfStateBits;
3155 DWORD reserved;
3156} STATSTG;
3157typedef enum tagSTGTY {
3158 STGTY_STORAGE = 1,
3159 STGTY_STREAM = 2,
3160 STGTY_LOCKBYTES = 3,
3161 STGTY_PROPERTY = 4
3162} STGTY;
3163typedef enum tagSTREAM_SEEK {
3164 STREAM_SEEK_SET = 0,
3165 STREAM_SEEK_CUR = 1,
3166 STREAM_SEEK_END = 2
3167} STREAM_SEEK;
3168#undef LOCK_MAND
3169#undef LOCK_READ
3170#undef LOCK_WRITE
3171#undef LOCK_RW
3172typedef enum tagLOCKTYPE {
3173 LOCK_WRITE = 1,
3174 LOCK_EXCLUSIVE = 2,
3175 LOCK_ONLYONCE = 4
3176} LOCKTYPE;
3177/*****************************************************************************
3178 * IStream interface
3179 */
3180#ifndef __IStream_INTERFACE_DEFINED__
3181#define __IStream_INTERFACE_DEFINED__
3182
3183DEFINE_GUID(IID_IStream, 0x0000000c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
3184#if defined(__cplusplus) && !defined(CINTERFACE)
3185interface IStream : public ISequentialStream
3186{
3187 virtual HRESULT STDMETHODCALLTYPE Seek(
3188 LARGE_INTEGER dlibMove,
3189 DWORD dwOrigin,
3190 ULARGE_INTEGER *plibNewPosition) = 0;
3191
3192 virtual HRESULT STDMETHODCALLTYPE SetSize(
3193 ULARGE_INTEGER libNewSize) = 0;
3194
3195 virtual HRESULT STDMETHODCALLTYPE CopyTo(
3196 IStream *pstm,
3197 ULARGE_INTEGER cb,
3198 ULARGE_INTEGER *pcbRead,
3199 ULARGE_INTEGER *pcbWritten) = 0;
3200
3201 virtual HRESULT STDMETHODCALLTYPE Commit(
3202 DWORD grfCommitFlags) = 0;
3203
3204 virtual HRESULT STDMETHODCALLTYPE Revert(
3205 ) = 0;
3206
3207 virtual HRESULT STDMETHODCALLTYPE LockRegion(
3208 ULARGE_INTEGER libOffset,
3209 ULARGE_INTEGER cb,
3210 DWORD dwLockType) = 0;
3211
3212 virtual HRESULT STDMETHODCALLTYPE UnlockRegion(
3213 ULARGE_INTEGER libOffset,
3214 ULARGE_INTEGER cb,
3215 DWORD dwLockType) = 0;
3216
3217 virtual HRESULT STDMETHODCALLTYPE Stat(
3218 STATSTG *pstatstg,
3219 DWORD grfStatFlag) = 0;
3220
3221 virtual HRESULT STDMETHODCALLTYPE Clone(
3222 IStream **ppstm) = 0;
3223
3224};
3225#else
3226typedef struct IStreamVtbl {
3227 BEGIN_INTERFACE
3228
3229 /*** IUnknown methods ***/
3230 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3231 IStream* This,
3232 REFIID riid,
3233 void **ppvObject);
3234
3235 ULONG (STDMETHODCALLTYPE *AddRef)(
3236 IStream* This);
3237
3238 ULONG (STDMETHODCALLTYPE *Release)(
3239 IStream* This);
3240
3241 /*** ISequentialStream methods ***/
3242 HRESULT (STDMETHODCALLTYPE *Read)(
3243 IStream* This,
3244 void *pv,
3245 ULONG cb,
3246 ULONG *pcbRead);
3247
3248 HRESULT (STDMETHODCALLTYPE *Write)(
3249 IStream* This,
3250 const void *pv,
3251 ULONG cb,
3252 ULONG *pcbWritten);
3253
3254 /*** IStream methods ***/
3255 HRESULT (STDMETHODCALLTYPE *Seek)(
3256 IStream* This,
3257 LARGE_INTEGER dlibMove,
3258 DWORD dwOrigin,
3259 ULARGE_INTEGER *plibNewPosition);
3260
3261 HRESULT (STDMETHODCALLTYPE *SetSize)(
3262 IStream* This,
3263 ULARGE_INTEGER libNewSize);
3264
3265 HRESULT (STDMETHODCALLTYPE *CopyTo)(
3266 IStream* This,
3267 IStream *pstm,
3268 ULARGE_INTEGER cb,
3269 ULARGE_INTEGER *pcbRead,
3270 ULARGE_INTEGER *pcbWritten);
3271
3272 HRESULT (STDMETHODCALLTYPE *Commit)(
3273 IStream* This,
3274 DWORD grfCommitFlags);
3275
3276 HRESULT (STDMETHODCALLTYPE *Revert)(
3277 IStream* This);
3278
3279 HRESULT (STDMETHODCALLTYPE *LockRegion)(
3280 IStream* This,
3281 ULARGE_INTEGER libOffset,
3282 ULARGE_INTEGER cb,
3283 DWORD dwLockType);
3284
3285 HRESULT (STDMETHODCALLTYPE *UnlockRegion)(
3286 IStream* This,
3287 ULARGE_INTEGER libOffset,
3288 ULARGE_INTEGER cb,
3289 DWORD dwLockType);
3290
3291 HRESULT (STDMETHODCALLTYPE *Stat)(
3292 IStream* This,
3293 STATSTG *pstatstg,
3294 DWORD grfStatFlag);
3295
3296 HRESULT (STDMETHODCALLTYPE *Clone)(
3297 IStream* This,
3298 IStream **ppstm);
3299
3300 END_INTERFACE
3301} IStreamVtbl;
3302interface IStream {
3303 CONST_VTBL IStreamVtbl* lpVtbl;
3304};
3305
3306#ifdef COBJMACROS
3307/*** IUnknown methods ***/
3308#define IStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3309#define IStream_AddRef(This) (This)->lpVtbl->AddRef(This)
3310#define IStream_Release(This) (This)->lpVtbl->Release(This)
3311/*** ISequentialStream methods ***/
3312#define IStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead)
3313#define IStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten)
3314/*** IStream methods ***/
3315#define IStream_Seek(This,dlibMove,dwOrigin,plibNewPosition) (This)->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition)
3316#define IStream_SetSize(This,libNewSize) (This)->lpVtbl->SetSize(This,libNewSize)
3317#define IStream_CopyTo(This,pstm,cb,pcbRead,pcbWritten) (This)->lpVtbl->CopyTo(This,pstm,cb,pcbRead,pcbWritten)
3318#define IStream_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags)
3319#define IStream_Revert(This) (This)->lpVtbl->Revert(This)
3320#define IStream_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType)
3321#define IStream_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType)
3322#define IStream_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag)
3323#define IStream_Clone(This,ppstm) (This)->lpVtbl->Clone(This,ppstm)
3324#endif
3325
3326#endif
3327
3328HRESULT STDMETHODCALLTYPE IStream_RemoteSeek_Proxy(
3329 IStream* This,
3330 LARGE_INTEGER dlibMove,
3331 DWORD dwOrigin,
3332 ULARGE_INTEGER *plibNewPosition);
3333void __RPC_STUB IStream_RemoteSeek_Stub(
3334 IRpcStubBuffer* This,
3335 IRpcChannelBuffer* pRpcChannelBuffer,
3336 PRPC_MESSAGE pRpcMessage,
3337 DWORD* pdwStubPhase);
3338HRESULT STDMETHODCALLTYPE IStream_SetSize_Proxy(
3339 IStream* This,
3340 ULARGE_INTEGER libNewSize);
3341void __RPC_STUB IStream_SetSize_Stub(
3342 IRpcStubBuffer* This,
3343 IRpcChannelBuffer* pRpcChannelBuffer,
3344 PRPC_MESSAGE pRpcMessage,
3345 DWORD* pdwStubPhase);
3346HRESULT STDMETHODCALLTYPE IStream_RemoteCopyTo_Proxy(
3347 IStream* This,
3348 IStream *pstm,
3349 ULARGE_INTEGER cb,
3350 ULARGE_INTEGER *pcbRead,
3351 ULARGE_INTEGER *pcbWritten);
3352void __RPC_STUB IStream_RemoteCopyTo_Stub(
3353 IRpcStubBuffer* This,
3354 IRpcChannelBuffer* pRpcChannelBuffer,
3355 PRPC_MESSAGE pRpcMessage,
3356 DWORD* pdwStubPhase);
3357HRESULT STDMETHODCALLTYPE IStream_Commit_Proxy(
3358 IStream* This,
3359 DWORD grfCommitFlags);
3360void __RPC_STUB IStream_Commit_Stub(
3361 IRpcStubBuffer* This,
3362 IRpcChannelBuffer* pRpcChannelBuffer,
3363 PRPC_MESSAGE pRpcMessage,
3364 DWORD* pdwStubPhase);
3365HRESULT STDMETHODCALLTYPE IStream_Revert_Proxy(
3366 IStream* This);
3367void __RPC_STUB IStream_Revert_Stub(
3368 IRpcStubBuffer* This,
3369 IRpcChannelBuffer* pRpcChannelBuffer,
3370 PRPC_MESSAGE pRpcMessage,
3371 DWORD* pdwStubPhase);
3372HRESULT STDMETHODCALLTYPE IStream_LockRegion_Proxy(
3373 IStream* This,
3374 ULARGE_INTEGER libOffset,
3375 ULARGE_INTEGER cb,
3376 DWORD dwLockType);
3377void __RPC_STUB IStream_LockRegion_Stub(
3378 IRpcStubBuffer* This,
3379 IRpcChannelBuffer* pRpcChannelBuffer,
3380 PRPC_MESSAGE pRpcMessage,
3381 DWORD* pdwStubPhase);
3382HRESULT STDMETHODCALLTYPE IStream_UnlockRegion_Proxy(
3383 IStream* This,
3384 ULARGE_INTEGER libOffset,
3385 ULARGE_INTEGER cb,
3386 DWORD dwLockType);
3387void __RPC_STUB IStream_UnlockRegion_Stub(
3388 IRpcStubBuffer* This,
3389 IRpcChannelBuffer* pRpcChannelBuffer,
3390 PRPC_MESSAGE pRpcMessage,
3391 DWORD* pdwStubPhase);
3392HRESULT STDMETHODCALLTYPE IStream_Stat_Proxy(
3393 IStream* This,
3394 STATSTG *pstatstg,
3395 DWORD grfStatFlag);
3396void __RPC_STUB IStream_Stat_Stub(
3397 IRpcStubBuffer* This,
3398 IRpcChannelBuffer* pRpcChannelBuffer,
3399 PRPC_MESSAGE pRpcMessage,
3400 DWORD* pdwStubPhase);
3401HRESULT STDMETHODCALLTYPE IStream_Clone_Proxy(
3402 IStream* This,
3403 IStream **ppstm);
3404void __RPC_STUB IStream_Clone_Stub(
3405 IRpcStubBuffer* This,
3406 IRpcChannelBuffer* pRpcChannelBuffer,
3407 PRPC_MESSAGE pRpcMessage,
3408 DWORD* pdwStubPhase);
3409HRESULT CALLBACK IStream_Seek_Proxy(
3410 IStream* This,
3411 LARGE_INTEGER dlibMove,
3412 DWORD dwOrigin,
3413 ULARGE_INTEGER *plibNewPosition);
3414HRESULT __RPC_STUB IStream_Seek_Stub(
3415 IStream* This,
3416 LARGE_INTEGER dlibMove,
3417 DWORD dwOrigin,
3418 ULARGE_INTEGER *plibNewPosition);
3419HRESULT CALLBACK IStream_CopyTo_Proxy(
3420 IStream* This,
3421 IStream *pstm,
3422 ULARGE_INTEGER cb,
3423 ULARGE_INTEGER *pcbRead,
3424 ULARGE_INTEGER *pcbWritten);
3425HRESULT __RPC_STUB IStream_CopyTo_Stub(
3426 IStream* This,
3427 IStream *pstm,
3428 ULARGE_INTEGER cb,
3429 ULARGE_INTEGER *pcbRead,
3430 ULARGE_INTEGER *pcbWritten);
3431
3432#endif /* __IStream_INTERFACE_DEFINED__ */
3433
3434#ifndef __IEnumSTATSTG_FWD_DEFINED__
3435#define __IEnumSTATSTG_FWD_DEFINED__
3436typedef interface IEnumSTATSTG IEnumSTATSTG;
3437#endif
3438
3439typedef IEnumSTATSTG *LPENUMSTATSTG;
3440/*****************************************************************************
3441 * IEnumSTATSTG interface
3442 */
3443#ifndef __IEnumSTATSTG_INTERFACE_DEFINED__
3444#define __IEnumSTATSTG_INTERFACE_DEFINED__
3445
3446DEFINE_GUID(IID_IEnumSTATSTG, 0x0000000d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
3447#if defined(__cplusplus) && !defined(CINTERFACE)
3448interface IEnumSTATSTG : public IUnknown
3449{
3450 virtual HRESULT STDMETHODCALLTYPE Next(
3451 ULONG celt,
3452 STATSTG *rgelt,
3453 ULONG *pceltFetched) = 0;
3454
3455 virtual HRESULT STDMETHODCALLTYPE Skip(
3456 ULONG celt) = 0;
3457
3458 virtual HRESULT STDMETHODCALLTYPE Reset(
3459 ) = 0;
3460
3461 virtual HRESULT STDMETHODCALLTYPE Clone(
3462 IEnumSTATSTG **ppenum) = 0;
3463
3464};
3465#else
3466typedef struct IEnumSTATSTGVtbl {
3467 BEGIN_INTERFACE
3468
3469 /*** IUnknown methods ***/
3470 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3471 IEnumSTATSTG* This,
3472 REFIID riid,
3473 void **ppvObject);
3474
3475 ULONG (STDMETHODCALLTYPE *AddRef)(
3476 IEnumSTATSTG* This);
3477
3478 ULONG (STDMETHODCALLTYPE *Release)(
3479 IEnumSTATSTG* This);
3480
3481 /*** IEnumSTATSTG methods ***/
3482 HRESULT (STDMETHODCALLTYPE *Next)(
3483 IEnumSTATSTG* This,
3484 ULONG celt,
3485 STATSTG *rgelt,
3486 ULONG *pceltFetched);
3487
3488 HRESULT (STDMETHODCALLTYPE *Skip)(
3489 IEnumSTATSTG* This,
3490 ULONG celt);
3491
3492 HRESULT (STDMETHODCALLTYPE *Reset)(
3493 IEnumSTATSTG* This);
3494
3495 HRESULT (STDMETHODCALLTYPE *Clone)(
3496 IEnumSTATSTG* This,
3497 IEnumSTATSTG **ppenum);
3498
3499 END_INTERFACE
3500} IEnumSTATSTGVtbl;
3501interface IEnumSTATSTG {
3502 CONST_VTBL IEnumSTATSTGVtbl* lpVtbl;
3503};
3504
3505#ifdef COBJMACROS
3506/*** IUnknown methods ***/
3507#define IEnumSTATSTG_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3508#define IEnumSTATSTG_AddRef(This) (This)->lpVtbl->AddRef(This)
3509#define IEnumSTATSTG_Release(This) (This)->lpVtbl->Release(This)
3510/*** IEnumSTATSTG methods ***/
3511#define IEnumSTATSTG_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
3512#define IEnumSTATSTG_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
3513#define IEnumSTATSTG_Reset(This) (This)->lpVtbl->Reset(This)
3514#define IEnumSTATSTG_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
3515#endif
3516
3517#endif
3518
3519HRESULT STDMETHODCALLTYPE IEnumSTATSTG_RemoteNext_Proxy(
3520 IEnumSTATSTG* This,
3521 ULONG celt,
3522 STATSTG *rgelt,
3523 ULONG *pceltFetched);
3524void __RPC_STUB IEnumSTATSTG_RemoteNext_Stub(
3525 IRpcStubBuffer* This,
3526 IRpcChannelBuffer* pRpcChannelBuffer,
3527 PRPC_MESSAGE pRpcMessage,
3528 DWORD* pdwStubPhase);
3529HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Skip_Proxy(
3530 IEnumSTATSTG* This,
3531 ULONG celt);
3532void __RPC_STUB IEnumSTATSTG_Skip_Stub(
3533 IRpcStubBuffer* This,
3534 IRpcChannelBuffer* pRpcChannelBuffer,
3535 PRPC_MESSAGE pRpcMessage,
3536 DWORD* pdwStubPhase);
3537HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Reset_Proxy(
3538 IEnumSTATSTG* This);
3539void __RPC_STUB IEnumSTATSTG_Reset_Stub(
3540 IRpcStubBuffer* This,
3541 IRpcChannelBuffer* pRpcChannelBuffer,
3542 PRPC_MESSAGE pRpcMessage,
3543 DWORD* pdwStubPhase);
3544HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Clone_Proxy(
3545 IEnumSTATSTG* This,
3546 IEnumSTATSTG **ppenum);
3547void __RPC_STUB IEnumSTATSTG_Clone_Stub(
3548 IRpcStubBuffer* This,
3549 IRpcChannelBuffer* pRpcChannelBuffer,
3550 PRPC_MESSAGE pRpcMessage,
3551 DWORD* pdwStubPhase);
3552HRESULT CALLBACK IEnumSTATSTG_Next_Proxy(
3553 IEnumSTATSTG* This,
3554 ULONG celt,
3555 STATSTG *rgelt,
3556 ULONG *pceltFetched);
3557HRESULT __RPC_STUB IEnumSTATSTG_Next_Stub(
3558 IEnumSTATSTG* This,
3559 ULONG celt,
3560 STATSTG *rgelt,
3561 ULONG *pceltFetched);
3562
3563#endif /* __IEnumSTATSTG_INTERFACE_DEFINED__ */
3564
3565#ifndef __IStorage_FWD_DEFINED__
3566#define __IStorage_FWD_DEFINED__
3567typedef interface IStorage IStorage;
3568#endif
3569
3570typedef IStorage *LPSTORAGE;
3571typedef struct tagRemSNB {
3572 unsigned long ulCntStr;
3573 unsigned long ulCntChar;
3574 OLECHAR rgString[1];
3575} RemSNB;
3576typedef RemSNB *wireSNB;
3577typedef OLECHAR **SNB;
3578/*****************************************************************************
3579 * IStorage interface
3580 */
3581#ifndef __IStorage_INTERFACE_DEFINED__
3582#define __IStorage_INTERFACE_DEFINED__
3583
3584DEFINE_GUID(IID_IStorage, 0x0000000b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
3585#if defined(__cplusplus) && !defined(CINTERFACE)
3586interface IStorage : public IUnknown
3587{
3588 virtual HRESULT STDMETHODCALLTYPE CreateStream(
3589 LPCOLESTR pwcsName,
3590 DWORD grfMode,
3591 DWORD reserved1,
3592 DWORD reserved2,
3593 IStream **ppstm) = 0;
3594
3595 virtual HRESULT STDMETHODCALLTYPE OpenStream(
3596 LPCOLESTR pwcsName,
3597 void *reserved1,
3598 DWORD grfMode,
3599 DWORD reserved2,
3600 IStream **ppstm) = 0;
3601
3602 virtual HRESULT STDMETHODCALLTYPE CreateStorage(
3603 LPCOLESTR pwcsName,
3604 DWORD grfMode,
3605 DWORD dwStgFmt,
3606 DWORD reserved2,
3607 IStorage **ppstg) = 0;
3608
3609 virtual HRESULT STDMETHODCALLTYPE OpenStorage(
3610 LPCOLESTR pwcsName,
3611 IStorage *pstgPriority,
3612 DWORD grfMode,
3613 SNB snbExclude,
3614 DWORD reserved,
3615 IStorage **ppstg) = 0;
3616
3617 virtual HRESULT STDMETHODCALLTYPE CopyTo(
3618 DWORD ciidExclude,
3619 const IID *rgiidExclude,
3620 SNB snbExclude,
3621 IStorage *pstgDest) = 0;
3622
3623 virtual HRESULT STDMETHODCALLTYPE MoveElementTo(
3624 LPCOLESTR pwcsName,
3625 IStorage *pstgDest,
3626 LPCOLESTR pwcsNewName,
3627 DWORD grfFlags) = 0;
3628
3629 virtual HRESULT STDMETHODCALLTYPE Commit(
3630 DWORD grfCommitFlags) = 0;
3631
3632 virtual HRESULT STDMETHODCALLTYPE Revert(
3633 ) = 0;
3634
3635 virtual HRESULT STDMETHODCALLTYPE EnumElements(
3636 DWORD reserved1,
3637 void *reserved2,
3638 DWORD reserved3,
3639 IEnumSTATSTG **ppenum) = 0;
3640
3641 virtual HRESULT STDMETHODCALLTYPE DestroyElement(
3642 LPCOLESTR pwcsName) = 0;
3643
3644 virtual HRESULT STDMETHODCALLTYPE RenameElement(
3645 LPCOLESTR pwcsOldName,
3646 LPCOLESTR pwcsNewName) = 0;
3647
3648 virtual HRESULT STDMETHODCALLTYPE SetElementTimes(
3649 LPCOLESTR pwcsName,
3650 const FILETIME *pctime,
3651 const FILETIME *patime,
3652 const FILETIME *pmtime) = 0;
3653
3654 virtual HRESULT STDMETHODCALLTYPE SetClass(
3655 REFCLSID clsid) = 0;
3656
3657 virtual HRESULT STDMETHODCALLTYPE SetStateBits(
3658 DWORD grfStateBits,
3659 DWORD grfMask) = 0;
3660
3661 virtual HRESULT STDMETHODCALLTYPE Stat(
3662 STATSTG *pstatstg,
3663 DWORD grfStatFlag) = 0;
3664
3665};
3666#else
3667typedef struct IStorageVtbl {
3668 BEGIN_INTERFACE
3669
3670 /*** IUnknown methods ***/
3671 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3672 IStorage* This,
3673 REFIID riid,
3674 void **ppvObject);
3675
3676 ULONG (STDMETHODCALLTYPE *AddRef)(
3677 IStorage* This);
3678
3679 ULONG (STDMETHODCALLTYPE *Release)(
3680 IStorage* This);
3681
3682 /*** IStorage methods ***/
3683 HRESULT (STDMETHODCALLTYPE *CreateStream)(
3684 IStorage* This,
3685 LPCOLESTR pwcsName,
3686 DWORD grfMode,
3687 DWORD reserved1,
3688 DWORD reserved2,
3689 IStream **ppstm);
3690
3691 HRESULT (STDMETHODCALLTYPE *OpenStream)(
3692 IStorage* This,
3693 LPCOLESTR pwcsName,
3694 void *reserved1,
3695 DWORD grfMode,
3696 DWORD reserved2,
3697 IStream **ppstm);
3698
3699 HRESULT (STDMETHODCALLTYPE *CreateStorage)(
3700 IStorage* This,
3701 LPCOLESTR pwcsName,
3702 DWORD grfMode,
3703 DWORD dwStgFmt,
3704 DWORD reserved2,
3705 IStorage **ppstg);
3706
3707 HRESULT (STDMETHODCALLTYPE *OpenStorage)(
3708 IStorage* This,
3709 LPCOLESTR pwcsName,
3710 IStorage *pstgPriority,
3711 DWORD grfMode,
3712 SNB snbExclude,
3713 DWORD reserved,
3714 IStorage **ppstg);
3715
3716 HRESULT (STDMETHODCALLTYPE *CopyTo)(
3717 IStorage* This,
3718 DWORD ciidExclude,
3719 const IID *rgiidExclude,
3720 SNB snbExclude,
3721 IStorage *pstgDest);
3722
3723 HRESULT (STDMETHODCALLTYPE *MoveElementTo)(
3724 IStorage* This,
3725 LPCOLESTR pwcsName,
3726 IStorage *pstgDest,
3727 LPCOLESTR pwcsNewName,
3728 DWORD grfFlags);
3729
3730 HRESULT (STDMETHODCALLTYPE *Commit)(
3731 IStorage* This,
3732 DWORD grfCommitFlags);
3733
3734 HRESULT (STDMETHODCALLTYPE *Revert)(
3735 IStorage* This);
3736
3737 HRESULT (STDMETHODCALLTYPE *EnumElements)(
3738 IStorage* This,
3739 DWORD reserved1,
3740 void *reserved2,
3741 DWORD reserved3,
3742 IEnumSTATSTG **ppenum);
3743
3744 HRESULT (STDMETHODCALLTYPE *DestroyElement)(
3745 IStorage* This,
3746 LPCOLESTR pwcsName);
3747
3748 HRESULT (STDMETHODCALLTYPE *RenameElement)(
3749 IStorage* This,
3750 LPCOLESTR pwcsOldName,
3751 LPCOLESTR pwcsNewName);
3752
3753 HRESULT (STDMETHODCALLTYPE *SetElementTimes)(
3754 IStorage* This,
3755 LPCOLESTR pwcsName,
3756 const FILETIME *pctime,
3757 const FILETIME *patime,
3758 const FILETIME *pmtime);
3759
3760 HRESULT (STDMETHODCALLTYPE *SetClass)(
3761 IStorage* This,
3762 REFCLSID clsid);
3763
3764 HRESULT (STDMETHODCALLTYPE *SetStateBits)(
3765 IStorage* This,
3766 DWORD grfStateBits,
3767 DWORD grfMask);
3768
3769 HRESULT (STDMETHODCALLTYPE *Stat)(
3770 IStorage* This,
3771 STATSTG *pstatstg,
3772 DWORD grfStatFlag);
3773
3774 END_INTERFACE
3775} IStorageVtbl;
3776interface IStorage {
3777 CONST_VTBL IStorageVtbl* lpVtbl;
3778};
3779
3780#ifdef COBJMACROS
3781/*** IUnknown methods ***/
3782#define IStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3783#define IStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
3784#define IStorage_Release(This) (This)->lpVtbl->Release(This)
3785/*** IStorage methods ***/
3786#define IStorage_CreateStream(This,pwcsName,grfMode,reserved1,reserved2,ppstm) (This)->lpVtbl->CreateStream(This,pwcsName,grfMode,reserved1,reserved2,ppstm)
3787#define IStorage_OpenStream(This,pwcsName,reserved1,grfMode,reserved2,ppstm) (This)->lpVtbl->OpenStream(This,pwcsName,reserved1,grfMode,reserved2,ppstm)
3788#define IStorage_CreateStorage(This,pwcsName,grfMode,dwStgFmt,reserved2,ppstg) (This)->lpVtbl->CreateStorage(This,pwcsName,grfMode,dwStgFmt,reserved2,ppstg)
3789#define IStorage_OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg) (This)->lpVtbl->OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg)
3790#define IStorage_CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest) (This)->lpVtbl->CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest)
3791#define IStorage_MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags) (This)->lpVtbl->MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags)
3792#define IStorage_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags)
3793#define IStorage_Revert(This) (This)->lpVtbl->Revert(This)
3794#define IStorage_EnumElements(This,reserved1,reserved2,reserved3,ppenum) (This)->lpVtbl->EnumElements(This,reserved1,reserved2,reserved3,ppenum)
3795#define IStorage_DestroyElement(This,pwcsName) (This)->lpVtbl->DestroyElement(This,pwcsName)
3796#define IStorage_RenameElement(This,pwcsOldName,pwcsNewName) (This)->lpVtbl->RenameElement(This,pwcsOldName,pwcsNewName)
3797#define IStorage_SetElementTimes(This,pwcsName,pctime,patime,pmtime) (This)->lpVtbl->SetElementTimes(This,pwcsName,pctime,patime,pmtime)
3798#define IStorage_SetClass(This,clsid) (This)->lpVtbl->SetClass(This,clsid)
3799#define IStorage_SetStateBits(This,grfStateBits,grfMask) (This)->lpVtbl->SetStateBits(This,grfStateBits,grfMask)
3800#define IStorage_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag)
3801#endif
3802
3803#endif
3804
3805HRESULT STDMETHODCALLTYPE IStorage_CreateStream_Proxy(
3806 IStorage* This,
3807 LPCOLESTR pwcsName,
3808 DWORD grfMode,
3809 DWORD reserved1,
3810 DWORD reserved2,
3811 IStream **ppstm);
3812void __RPC_STUB IStorage_CreateStream_Stub(
3813 IRpcStubBuffer* This,
3814 IRpcChannelBuffer* pRpcChannelBuffer,
3815 PRPC_MESSAGE pRpcMessage,
3816 DWORD* pdwStubPhase);
3817HRESULT STDMETHODCALLTYPE IStorage_RemoteOpenStream_Proxy(
3818 IStorage* This,
3819 LPCOLESTR pwcsName,
3820 unsigned long cbReserved1,
3821 byte *reserved1,
3822 DWORD grfMode,
3823 DWORD reserved2,
3824 IStream **ppstm);
3825void __RPC_STUB IStorage_RemoteOpenStream_Stub(
3826 IRpcStubBuffer* This,
3827 IRpcChannelBuffer* pRpcChannelBuffer,
3828 PRPC_MESSAGE pRpcMessage,
3829 DWORD* pdwStubPhase);
3830HRESULT STDMETHODCALLTYPE IStorage_CreateStorage_Proxy(
3831 IStorage* This,
3832 LPCOLESTR pwcsName,
3833 DWORD grfMode,
3834 DWORD dwStgFmt,
3835 DWORD reserved2,
3836 IStorage **ppstg);
3837void __RPC_STUB IStorage_CreateStorage_Stub(
3838 IRpcStubBuffer* This,
3839 IRpcChannelBuffer* pRpcChannelBuffer,
3840 PRPC_MESSAGE pRpcMessage,
3841 DWORD* pdwStubPhase);
3842HRESULT STDMETHODCALLTYPE IStorage_OpenStorage_Proxy(
3843 IStorage* This,
3844 LPCOLESTR pwcsName,
3845 IStorage *pstgPriority,
3846 DWORD grfMode,
3847 SNB snbExclude,
3848 DWORD reserved,
3849 IStorage **ppstg);
3850void __RPC_STUB IStorage_OpenStorage_Stub(
3851 IRpcStubBuffer* This,
3852 IRpcChannelBuffer* pRpcChannelBuffer,
3853 PRPC_MESSAGE pRpcMessage,
3854 DWORD* pdwStubPhase);
3855HRESULT STDMETHODCALLTYPE IStorage_CopyTo_Proxy(
3856 IStorage* This,
3857 DWORD ciidExclude,
3858 const IID *rgiidExclude,
3859 SNB snbExclude,
3860 IStorage *pstgDest);
3861void __RPC_STUB IStorage_CopyTo_Stub(
3862 IRpcStubBuffer* This,
3863 IRpcChannelBuffer* pRpcChannelBuffer,
3864 PRPC_MESSAGE pRpcMessage,
3865 DWORD* pdwStubPhase);
3866HRESULT STDMETHODCALLTYPE IStorage_MoveElementTo_Proxy(
3867 IStorage* This,
3868 LPCOLESTR pwcsName,
3869 IStorage *pstgDest,
3870 LPCOLESTR pwcsNewName,
3871 DWORD grfFlags);
3872void __RPC_STUB IStorage_MoveElementTo_Stub(
3873 IRpcStubBuffer* This,
3874 IRpcChannelBuffer* pRpcChannelBuffer,
3875 PRPC_MESSAGE pRpcMessage,
3876 DWORD* pdwStubPhase);
3877HRESULT STDMETHODCALLTYPE IStorage_Commit_Proxy(
3878 IStorage* This,
3879 DWORD grfCommitFlags);
3880void __RPC_STUB IStorage_Commit_Stub(
3881 IRpcStubBuffer* This,
3882 IRpcChannelBuffer* pRpcChannelBuffer,
3883 PRPC_MESSAGE pRpcMessage,
3884 DWORD* pdwStubPhase);
3885HRESULT STDMETHODCALLTYPE IStorage_Revert_Proxy(
3886 IStorage* This);
3887void __RPC_STUB IStorage_Revert_Stub(
3888 IRpcStubBuffer* This,
3889 IRpcChannelBuffer* pRpcChannelBuffer,
3890 PRPC_MESSAGE pRpcMessage,
3891 DWORD* pdwStubPhase);
3892HRESULT STDMETHODCALLTYPE IStorage_RemoteEnumElements_Proxy(
3893 IStorage* This,
3894 DWORD reserved1,
3895 unsigned long cbReserved2,
3896 byte *reserved2,
3897 DWORD reserved3,
3898 IEnumSTATSTG **ppenum);
3899void __RPC_STUB IStorage_RemoteEnumElements_Stub(
3900 IRpcStubBuffer* This,
3901 IRpcChannelBuffer* pRpcChannelBuffer,
3902 PRPC_MESSAGE pRpcMessage,
3903 DWORD* pdwStubPhase);
3904HRESULT STDMETHODCALLTYPE IStorage_DestroyElement_Proxy(
3905 IStorage* This,
3906 LPCOLESTR pwcsName);
3907void __RPC_STUB IStorage_DestroyElement_Stub(
3908 IRpcStubBuffer* This,
3909 IRpcChannelBuffer* pRpcChannelBuffer,
3910 PRPC_MESSAGE pRpcMessage,
3911 DWORD* pdwStubPhase);
3912HRESULT STDMETHODCALLTYPE IStorage_RenameElement_Proxy(
3913 IStorage* This,
3914 LPCOLESTR pwcsOldName,
3915 LPCOLESTR pwcsNewName);
3916void __RPC_STUB IStorage_RenameElement_Stub(
3917 IRpcStubBuffer* This,
3918 IRpcChannelBuffer* pRpcChannelBuffer,
3919 PRPC_MESSAGE pRpcMessage,
3920 DWORD* pdwStubPhase);
3921HRESULT STDMETHODCALLTYPE IStorage_SetElementTimes_Proxy(
3922 IStorage* This,
3923 LPCOLESTR pwcsName,
3924 const FILETIME *pctime,
3925 const FILETIME *patime,
3926 const FILETIME *pmtime);
3927void __RPC_STUB IStorage_SetElementTimes_Stub(
3928 IRpcStubBuffer* This,
3929 IRpcChannelBuffer* pRpcChannelBuffer,
3930 PRPC_MESSAGE pRpcMessage,
3931 DWORD* pdwStubPhase);
3932HRESULT STDMETHODCALLTYPE IStorage_SetClass_Proxy(
3933 IStorage* This,
3934 REFCLSID clsid);
3935void __RPC_STUB IStorage_SetClass_Stub(
3936 IRpcStubBuffer* This,
3937 IRpcChannelBuffer* pRpcChannelBuffer,
3938 PRPC_MESSAGE pRpcMessage,
3939 DWORD* pdwStubPhase);
3940HRESULT STDMETHODCALLTYPE IStorage_SetStateBits_Proxy(
3941 IStorage* This,
3942 DWORD grfStateBits,
3943 DWORD grfMask);
3944void __RPC_STUB IStorage_SetStateBits_Stub(
3945 IRpcStubBuffer* This,
3946 IRpcChannelBuffer* pRpcChannelBuffer,
3947 PRPC_MESSAGE pRpcMessage,
3948 DWORD* pdwStubPhase);
3949HRESULT STDMETHODCALLTYPE IStorage_Stat_Proxy(
3950 IStorage* This,
3951 STATSTG *pstatstg,
3952 DWORD grfStatFlag);
3953void __RPC_STUB IStorage_Stat_Stub(
3954 IRpcStubBuffer* This,
3955 IRpcChannelBuffer* pRpcChannelBuffer,
3956 PRPC_MESSAGE pRpcMessage,
3957 DWORD* pdwStubPhase);
3958HRESULT CALLBACK IStorage_OpenStream_Proxy(
3959 IStorage* This,
3960 LPCOLESTR pwcsName,
3961 void *reserved1,
3962 DWORD grfMode,
3963 DWORD reserved2,
3964 IStream **ppstm);
3965HRESULT __RPC_STUB IStorage_OpenStream_Stub(
3966 IStorage* This,
3967 LPCOLESTR pwcsName,
3968 unsigned long cbReserved1,
3969 byte *reserved1,
3970 DWORD grfMode,
3971 DWORD reserved2,
3972 IStream **ppstm);
3973HRESULT CALLBACK IStorage_EnumElements_Proxy(
3974 IStorage* This,
3975 DWORD reserved1,
3976 void *reserved2,
3977 DWORD reserved3,
3978 IEnumSTATSTG **ppenum);
3979HRESULT __RPC_STUB IStorage_EnumElements_Stub(
3980 IStorage* This,
3981 DWORD reserved1,
3982 unsigned long cbReserved2,
3983 byte *reserved2,
3984 DWORD reserved3,
3985 IEnumSTATSTG **ppenum);
3986
3987#endif /* __IStorage_INTERFACE_DEFINED__ */
3988
3989#ifndef __IPersistFile_FWD_DEFINED__
3990#define __IPersistFile_FWD_DEFINED__
3991typedef interface IPersistFile IPersistFile;
3992#endif
3993
3994typedef IPersistFile *LPPERSISTFILE;
3995/*****************************************************************************
3996 * IPersistFile interface
3997 */
3998#ifndef __IPersistFile_INTERFACE_DEFINED__
3999#define __IPersistFile_INTERFACE_DEFINED__
4000
4001DEFINE_GUID(IID_IPersistFile, 0x0000010b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
4002#if defined(__cplusplus) && !defined(CINTERFACE)
4003interface IPersistFile : public IPersist
4004{
4005 virtual HRESULT STDMETHODCALLTYPE IsDirty(
4006 ) = 0;
4007
4008 virtual HRESULT STDMETHODCALLTYPE Load(
4009 LPCOLESTR pszFileName,
4010 DWORD dwMode) = 0;
4011
4012 virtual HRESULT STDMETHODCALLTYPE Save(
4013 LPCOLESTR pszFileName,
4014 BOOL fRemember) = 0;
4015
4016 virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
4017 LPCOLESTR pszFileName) = 0;
4018
4019 virtual HRESULT STDMETHODCALLTYPE GetCurFile(
4020 LPOLESTR *ppszFileName) = 0;
4021
4022};
4023#else
4024typedef struct IPersistFileVtbl {
4025 BEGIN_INTERFACE
4026
4027 /*** IUnknown methods ***/
4028 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4029 IPersistFile* This,
4030 REFIID riid,
4031 void **ppvObject);
4032
4033 ULONG (STDMETHODCALLTYPE *AddRef)(
4034 IPersistFile* This);
4035
4036 ULONG (STDMETHODCALLTYPE *Release)(
4037 IPersistFile* This);
4038
4039 /*** IPersist methods ***/
4040 HRESULT (STDMETHODCALLTYPE *GetClassID)(
4041 IPersistFile* This,
4042 CLSID *pClassID);
4043
4044 /*** IPersistFile methods ***/
4045 HRESULT (STDMETHODCALLTYPE *IsDirty)(
4046 IPersistFile* This);
4047
4048 HRESULT (STDMETHODCALLTYPE *Load)(
4049 IPersistFile* This,
4050 LPCOLESTR pszFileName,
4051 DWORD dwMode);
4052
4053 HRESULT (STDMETHODCALLTYPE *Save)(
4054 IPersistFile* This,
4055 LPCOLESTR pszFileName,
4056 BOOL fRemember);
4057
4058 HRESULT (STDMETHODCALLTYPE *SaveCompleted)(
4059 IPersistFile* This,
4060 LPCOLESTR pszFileName);
4061
4062 HRESULT (STDMETHODCALLTYPE *GetCurFile)(
4063 IPersistFile* This,
4064 LPOLESTR *ppszFileName);
4065
4066 END_INTERFACE
4067} IPersistFileVtbl;
4068interface IPersistFile {
4069 CONST_VTBL IPersistFileVtbl* lpVtbl;
4070};
4071
4072#ifdef COBJMACROS
4073/*** IUnknown methods ***/
4074#define IPersistFile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4075#define IPersistFile_AddRef(This) (This)->lpVtbl->AddRef(This)
4076#define IPersistFile_Release(This) (This)->lpVtbl->Release(This)
4077/*** IPersist methods ***/
4078#define IPersistFile_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
4079/*** IPersistFile methods ***/
4080#define IPersistFile_IsDirty(This) (This)->lpVtbl->IsDirty(This)
4081#define IPersistFile_Load(This,pszFileName,dwMode) (This)->lpVtbl->Load(This,pszFileName,dwMode)
4082#define IPersistFile_Save(This,pszFileName,fRemember) (This)->lpVtbl->Save(This,pszFileName,fRemember)
4083#define IPersistFile_SaveCompleted(This,pszFileName) (This)->lpVtbl->SaveCompleted(This,pszFileName)
4084#define IPersistFile_GetCurFile(This,ppszFileName) (This)->lpVtbl->GetCurFile(This,ppszFileName)
4085#endif
4086
4087#endif
4088
4089HRESULT STDMETHODCALLTYPE IPersistFile_IsDirty_Proxy(
4090 IPersistFile* This);
4091void __RPC_STUB IPersistFile_IsDirty_Stub(
4092 IRpcStubBuffer* This,
4093 IRpcChannelBuffer* pRpcChannelBuffer,
4094 PRPC_MESSAGE pRpcMessage,
4095 DWORD* pdwStubPhase);
4096HRESULT STDMETHODCALLTYPE IPersistFile_Load_Proxy(
4097 IPersistFile* This,
4098 LPCOLESTR pszFileName,
4099 DWORD dwMode);
4100void __RPC_STUB IPersistFile_Load_Stub(
4101 IRpcStubBuffer* This,
4102 IRpcChannelBuffer* pRpcChannelBuffer,
4103 PRPC_MESSAGE pRpcMessage,
4104 DWORD* pdwStubPhase);
4105HRESULT STDMETHODCALLTYPE IPersistFile_Save_Proxy(
4106 IPersistFile* This,
4107 LPCOLESTR pszFileName,
4108 BOOL fRemember);
4109void __RPC_STUB IPersistFile_Save_Stub(
4110 IRpcStubBuffer* This,
4111 IRpcChannelBuffer* pRpcChannelBuffer,
4112 PRPC_MESSAGE pRpcMessage,
4113 DWORD* pdwStubPhase);
4114HRESULT STDMETHODCALLTYPE IPersistFile_SaveCompleted_Proxy(
4115 IPersistFile* This,
4116 LPCOLESTR pszFileName);
4117void __RPC_STUB IPersistFile_SaveCompleted_Stub(
4118 IRpcStubBuffer* This,
4119 IRpcChannelBuffer* pRpcChannelBuffer,
4120 PRPC_MESSAGE pRpcMessage,
4121 DWORD* pdwStubPhase);
4122HRESULT STDMETHODCALLTYPE IPersistFile_GetCurFile_Proxy(
4123 IPersistFile* This,
4124 LPOLESTR *ppszFileName);
4125void __RPC_STUB IPersistFile_GetCurFile_Stub(
4126 IRpcStubBuffer* This,
4127 IRpcChannelBuffer* pRpcChannelBuffer,
4128 PRPC_MESSAGE pRpcMessage,
4129 DWORD* pdwStubPhase);
4130
4131#endif /* __IPersistFile_INTERFACE_DEFINED__ */
4132
4133#ifndef __IPersistStorage_FWD_DEFINED__
4134#define __IPersistStorage_FWD_DEFINED__
4135typedef interface IPersistStorage IPersistStorage;
4136#endif
4137
4138typedef IPersistStorage *LPPERSISTSTORAGE;
4139/*****************************************************************************
4140 * IPersistStorage interface
4141 */
4142#ifndef __IPersistStorage_INTERFACE_DEFINED__
4143#define __IPersistStorage_INTERFACE_DEFINED__
4144
4145DEFINE_GUID(IID_IPersistStorage, 0x0000010a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
4146#if defined(__cplusplus) && !defined(CINTERFACE)
4147interface IPersistStorage : public IPersist
4148{
4149 virtual HRESULT STDMETHODCALLTYPE IsDirty(
4150 ) = 0;
4151
4152 virtual HRESULT STDMETHODCALLTYPE InitNew(
4153 IStorage *pStg) = 0;
4154
4155 virtual HRESULT STDMETHODCALLTYPE Load(
4156 IStorage *pStg) = 0;
4157
4158 virtual HRESULT STDMETHODCALLTYPE Save(
4159 IStorage *pStgSave,
4160 BOOL fSameAsLoad) = 0;
4161
4162 virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
4163 IStorage *pStgNew) = 0;
4164
4165 virtual HRESULT STDMETHODCALLTYPE HandsOffStorage(
4166 ) = 0;
4167
4168};
4169#else
4170typedef struct IPersistStorageVtbl {
4171 BEGIN_INTERFACE
4172
4173 /*** IUnknown methods ***/
4174 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4175 IPersistStorage* This,
4176 REFIID riid,
4177 void **ppvObject);
4178
4179 ULONG (STDMETHODCALLTYPE *AddRef)(
4180 IPersistStorage* This);
4181
4182 ULONG (STDMETHODCALLTYPE *Release)(
4183 IPersistStorage* This);
4184
4185 /*** IPersist methods ***/
4186 HRESULT (STDMETHODCALLTYPE *GetClassID)(
4187 IPersistStorage* This,
4188 CLSID *pClassID);
4189
4190 /*** IPersistStorage methods ***/
4191 HRESULT (STDMETHODCALLTYPE *IsDirty)(
4192 IPersistStorage* This);
4193
4194 HRESULT (STDMETHODCALLTYPE *InitNew)(
4195 IPersistStorage* This,
4196 IStorage *pStg);
4197
4198 HRESULT (STDMETHODCALLTYPE *Load)(
4199 IPersistStorage* This,
4200 IStorage *pStg);
4201
4202 HRESULT (STDMETHODCALLTYPE *Save)(
4203 IPersistStorage* This,
4204 IStorage *pStgSave,
4205 BOOL fSameAsLoad);
4206
4207 HRESULT (STDMETHODCALLTYPE *SaveCompleted)(
4208 IPersistStorage* This,
4209 IStorage *pStgNew);
4210
4211 HRESULT (STDMETHODCALLTYPE *HandsOffStorage)(
4212 IPersistStorage* This);
4213
4214 END_INTERFACE
4215} IPersistStorageVtbl;
4216interface IPersistStorage {
4217 CONST_VTBL IPersistStorageVtbl* lpVtbl;
4218};
4219
4220#ifdef COBJMACROS
4221/*** IUnknown methods ***/
4222#define IPersistStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4223#define IPersistStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
4224#define IPersistStorage_Release(This) (This)->lpVtbl->Release(This)
4225/*** IPersist methods ***/
4226#define IPersistStorage_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
4227/*** IPersistStorage methods ***/
4228#define IPersistStorage_IsDirty(This) (This)->lpVtbl->IsDirty(This)
4229#define IPersistStorage_InitNew(This,pStg) (This)->lpVtbl->InitNew(This,pStg)
4230#define IPersistStorage_Load(This,pStg) (This)->lpVtbl->Load(This,pStg)
4231#define IPersistStorage_Save(This,pStgSave,fSameAsLoad) (This)->lpVtbl->Save(This,pStgSave,fSameAsLoad)
4232#define IPersistStorage_SaveCompleted(This,pStgNew) (This)->lpVtbl->SaveCompleted(This,pStgNew)
4233#define IPersistStorage_HandsOffStorage(This) (This)->lpVtbl->HandsOffStorage(This)
4234#endif
4235
4236#endif
4237
4238HRESULT STDMETHODCALLTYPE IPersistStorage_IsDirty_Proxy(
4239 IPersistStorage* This);
4240void __RPC_STUB IPersistStorage_IsDirty_Stub(
4241 IRpcStubBuffer* This,
4242 IRpcChannelBuffer* pRpcChannelBuffer,
4243 PRPC_MESSAGE pRpcMessage,
4244 DWORD* pdwStubPhase);
4245HRESULT STDMETHODCALLTYPE IPersistStorage_InitNew_Proxy(
4246 IPersistStorage* This,
4247 IStorage *pStg);
4248void __RPC_STUB IPersistStorage_InitNew_Stub(
4249 IRpcStubBuffer* This,
4250 IRpcChannelBuffer* pRpcChannelBuffer,
4251 PRPC_MESSAGE pRpcMessage,
4252 DWORD* pdwStubPhase);
4253HRESULT STDMETHODCALLTYPE IPersistStorage_Load_Proxy(
4254 IPersistStorage* This,
4255 IStorage *pStg);
4256void __RPC_STUB IPersistStorage_Load_Stub(
4257 IRpcStubBuffer* This,
4258 IRpcChannelBuffer* pRpcChannelBuffer,
4259 PRPC_MESSAGE pRpcMessage,
4260 DWORD* pdwStubPhase);
4261HRESULT STDMETHODCALLTYPE IPersistStorage_Save_Proxy(
4262 IPersistStorage* This,
4263 IStorage *pStgSave,
4264 BOOL fSameAsLoad);
4265void __RPC_STUB IPersistStorage_Save_Stub(
4266 IRpcStubBuffer* This,
4267 IRpcChannelBuffer* pRpcChannelBuffer,
4268 PRPC_MESSAGE pRpcMessage,
4269 DWORD* pdwStubPhase);
4270HRESULT STDMETHODCALLTYPE IPersistStorage_SaveCompleted_Proxy(
4271 IPersistStorage* This,
4272 IStorage *pStgNew);
4273void __RPC_STUB IPersistStorage_SaveCompleted_Stub(
4274 IRpcStubBuffer* This,
4275 IRpcChannelBuffer* pRpcChannelBuffer,
4276 PRPC_MESSAGE pRpcMessage,
4277 DWORD* pdwStubPhase);
4278HRESULT STDMETHODCALLTYPE IPersistStorage_HandsOffStorage_Proxy(
4279 IPersistStorage* This);
4280void __RPC_STUB IPersistStorage_HandsOffStorage_Stub(
4281 IRpcStubBuffer* This,
4282 IRpcChannelBuffer* pRpcChannelBuffer,
4283 PRPC_MESSAGE pRpcMessage,
4284 DWORD* pdwStubPhase);
4285
4286#endif /* __IPersistStorage_INTERFACE_DEFINED__ */
4287
4288#ifndef __IRootStorage_FWD_DEFINED__
4289#define __IRootStorage_FWD_DEFINED__
4290typedef interface IRootStorage IRootStorage;
4291#endif
4292
4293typedef IRootStorage *LPROOTSTORAGE;
4294/*****************************************************************************
4295 * IRootStorage interface
4296 */
4297#ifndef __IRootStorage_INTERFACE_DEFINED__
4298#define __IRootStorage_INTERFACE_DEFINED__
4299
4300DEFINE_GUID(IID_IRootStorage, 0x00000012, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
4301#if defined(__cplusplus) && !defined(CINTERFACE)
4302interface IRootStorage : public IUnknown
4303{
4304 virtual HRESULT STDMETHODCALLTYPE SwitchToFile(
4305 LPOLESTR pszFile) = 0;
4306
4307};
4308#else
4309typedef struct IRootStorageVtbl {
4310 BEGIN_INTERFACE
4311
4312 /*** IUnknown methods ***/
4313 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4314 IRootStorage* This,
4315 REFIID riid,
4316 void **ppvObject);
4317
4318 ULONG (STDMETHODCALLTYPE *AddRef)(
4319 IRootStorage* This);
4320
4321 ULONG (STDMETHODCALLTYPE *Release)(
4322 IRootStorage* This);
4323
4324 /*** IRootStorage methods ***/
4325 HRESULT (STDMETHODCALLTYPE *SwitchToFile)(
4326 IRootStorage* This,
4327 LPOLESTR pszFile);
4328
4329 END_INTERFACE
4330} IRootStorageVtbl;
4331interface IRootStorage {
4332 CONST_VTBL IRootStorageVtbl* lpVtbl;
4333};
4334
4335#ifdef COBJMACROS
4336/*** IUnknown methods ***/
4337#define IRootStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4338#define IRootStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
4339#define IRootStorage_Release(This) (This)->lpVtbl->Release(This)
4340/*** IRootStorage methods ***/
4341#define IRootStorage_SwitchToFile(This,pszFile) (This)->lpVtbl->SwitchToFile(This,pszFile)
4342#endif
4343
4344#endif
4345
4346HRESULT STDMETHODCALLTYPE IRootStorage_SwitchToFile_Proxy(
4347 IRootStorage* This,
4348 LPOLESTR pszFile);
4349void __RPC_STUB IRootStorage_SwitchToFile_Stub(
4350 IRpcStubBuffer* This,
4351 IRpcChannelBuffer* pRpcChannelBuffer,
4352 PRPC_MESSAGE pRpcMessage,
4353 DWORD* pdwStubPhase);
4354
4355#endif /* __IRootStorage_INTERFACE_DEFINED__ */
4356
4357#ifndef __ILockBytes_FWD_DEFINED__
4358#define __ILockBytes_FWD_DEFINED__
4359typedef interface ILockBytes ILockBytes;
4360#endif
4361
4362typedef ILockBytes *LPLOCKBYTES;
4363/*****************************************************************************
4364 * ILockBytes interface
4365 */
4366#ifndef __ILockBytes_INTERFACE_DEFINED__
4367#define __ILockBytes_INTERFACE_DEFINED__
4368
4369DEFINE_GUID(IID_ILockBytes, 0x0000000a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
4370#if defined(__cplusplus) && !defined(CINTERFACE)
4371interface ILockBytes : public IUnknown
4372{
4373 virtual HRESULT STDMETHODCALLTYPE ReadAt(
4374 ULARGE_INTEGER ulOffset,
4375 void *pv,
4376 ULONG cb,
4377 ULONG *pcbRead) = 0;
4378
4379 virtual HRESULT STDMETHODCALLTYPE WriteAt(
4380 ULARGE_INTEGER ulOffset,
4381 const void *pv,
4382 ULONG cb,
4383 ULONG *pcbWritten) = 0;
4384
4385 virtual HRESULT STDMETHODCALLTYPE Flush(
4386 ) = 0;
4387
4388 virtual HRESULT STDMETHODCALLTYPE SetSize(
4389 ULARGE_INTEGER cb) = 0;
4390
4391 virtual HRESULT STDMETHODCALLTYPE LockRegion(
4392 ULARGE_INTEGER libOffset,
4393 ULARGE_INTEGER cb,
4394 DWORD dwLockType) = 0;
4395
4396 virtual HRESULT STDMETHODCALLTYPE UnlockRegion(
4397 ULARGE_INTEGER libOffset,
4398 ULARGE_INTEGER cb,
4399 DWORD dwLockType) = 0;
4400
4401 virtual HRESULT STDMETHODCALLTYPE Stat(
4402 STATSTG *pstatstg,
4403 DWORD grfStatFlag) = 0;
4404
4405};
4406#else
4407typedef struct ILockBytesVtbl {
4408 BEGIN_INTERFACE
4409
4410 /*** IUnknown methods ***/
4411 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4412 ILockBytes* This,
4413 REFIID riid,
4414 void **ppvObject);
4415
4416 ULONG (STDMETHODCALLTYPE *AddRef)(
4417 ILockBytes* This);
4418
4419 ULONG (STDMETHODCALLTYPE *Release)(
4420 ILockBytes* This);
4421
4422 /*** ILockBytes methods ***/
4423 HRESULT (STDMETHODCALLTYPE *ReadAt)(
4424 ILockBytes* This,
4425 ULARGE_INTEGER ulOffset,
4426 void *pv,
4427 ULONG cb,
4428 ULONG *pcbRead);
4429
4430 HRESULT (STDMETHODCALLTYPE *WriteAt)(
4431 ILockBytes* This,
4432 ULARGE_INTEGER ulOffset,
4433 const void *pv,
4434 ULONG cb,
4435 ULONG *pcbWritten);
4436
4437 HRESULT (STDMETHODCALLTYPE *Flush)(
4438 ILockBytes* This);
4439
4440 HRESULT (STDMETHODCALLTYPE *SetSize)(
4441 ILockBytes* This,
4442 ULARGE_INTEGER cb);
4443
4444 HRESULT (STDMETHODCALLTYPE *LockRegion)(
4445 ILockBytes* This,
4446 ULARGE_INTEGER libOffset,
4447 ULARGE_INTEGER cb,
4448 DWORD dwLockType);
4449
4450 HRESULT (STDMETHODCALLTYPE *UnlockRegion)(
4451 ILockBytes* This,
4452 ULARGE_INTEGER libOffset,
4453 ULARGE_INTEGER cb,
4454 DWORD dwLockType);
4455
4456 HRESULT (STDMETHODCALLTYPE *Stat)(
4457 ILockBytes* This,
4458 STATSTG *pstatstg,
4459 DWORD grfStatFlag);
4460
4461 END_INTERFACE
4462} ILockBytesVtbl;
4463interface ILockBytes {
4464 CONST_VTBL ILockBytesVtbl* lpVtbl;
4465};
4466
4467#ifdef COBJMACROS
4468/*** IUnknown methods ***/
4469#define ILockBytes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4470#define ILockBytes_AddRef(This) (This)->lpVtbl->AddRef(This)
4471#define ILockBytes_Release(This) (This)->lpVtbl->Release(This)
4472/*** ILockBytes methods ***/
4473#define ILockBytes_ReadAt(This,ulOffset,pv,cb,pcbRead) (This)->lpVtbl->ReadAt(This,ulOffset,pv,cb,pcbRead)
4474#define ILockBytes_WriteAt(This,ulOffset,pv,cb,pcbWritten) (This)->lpVtbl->WriteAt(This,ulOffset,pv,cb,pcbWritten)
4475#define ILockBytes_Flush(This) (This)->lpVtbl->Flush(This)
4476#define ILockBytes_SetSize(This,cb) (This)->lpVtbl->SetSize(This,cb)
4477#define ILockBytes_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType)
4478#define ILockBytes_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType)
4479#define ILockBytes_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag)
4480#endif
4481
4482#endif
4483
4484HRESULT STDMETHODCALLTYPE ILockBytes_RemoteReadAt_Proxy(
4485 ILockBytes* This,
4486 ULARGE_INTEGER ulOffset,
4487 byte *pv,
4488 ULONG cb,
4489 ULONG *pcbRead);
4490void __RPC_STUB ILockBytes_RemoteReadAt_Stub(
4491 IRpcStubBuffer* This,
4492 IRpcChannelBuffer* pRpcChannelBuffer,
4493 PRPC_MESSAGE pRpcMessage,
4494 DWORD* pdwStubPhase);
4495HRESULT STDMETHODCALLTYPE ILockBytes_RemoteWriteAt_Proxy(
4496 ILockBytes* This,
4497 ULARGE_INTEGER ulOffset,
4498 const byte *pv,
4499 ULONG cb,
4500 ULONG *pcbWritten);
4501void __RPC_STUB ILockBytes_RemoteWriteAt_Stub(
4502 IRpcStubBuffer* This,
4503 IRpcChannelBuffer* pRpcChannelBuffer,
4504 PRPC_MESSAGE pRpcMessage,
4505 DWORD* pdwStubPhase);
4506HRESULT STDMETHODCALLTYPE ILockBytes_Flush_Proxy(
4507 ILockBytes* This);
4508void __RPC_STUB ILockBytes_Flush_Stub(
4509 IRpcStubBuffer* This,
4510 IRpcChannelBuffer* pRpcChannelBuffer,
4511 PRPC_MESSAGE pRpcMessage,
4512 DWORD* pdwStubPhase);
4513HRESULT STDMETHODCALLTYPE ILockBytes_SetSize_Proxy(
4514 ILockBytes* This,
4515 ULARGE_INTEGER cb);
4516void __RPC_STUB ILockBytes_SetSize_Stub(
4517 IRpcStubBuffer* This,
4518 IRpcChannelBuffer* pRpcChannelBuffer,
4519 PRPC_MESSAGE pRpcMessage,
4520 DWORD* pdwStubPhase);
4521HRESULT STDMETHODCALLTYPE ILockBytes_LockRegion_Proxy(
4522 ILockBytes* This,
4523 ULARGE_INTEGER libOffset,
4524 ULARGE_INTEGER cb,
4525 DWORD dwLockType);
4526void __RPC_STUB ILockBytes_LockRegion_Stub(
4527 IRpcStubBuffer* This,
4528 IRpcChannelBuffer* pRpcChannelBuffer,
4529 PRPC_MESSAGE pRpcMessage,
4530 DWORD* pdwStubPhase);
4531HRESULT STDMETHODCALLTYPE ILockBytes_UnlockRegion_Proxy(
4532 ILockBytes* This,
4533 ULARGE_INTEGER libOffset,
4534 ULARGE_INTEGER cb,
4535 DWORD dwLockType);
4536void __RPC_STUB ILockBytes_UnlockRegion_Stub(
4537 IRpcStubBuffer* This,
4538 IRpcChannelBuffer* pRpcChannelBuffer,
4539 PRPC_MESSAGE pRpcMessage,
4540 DWORD* pdwStubPhase);
4541HRESULT STDMETHODCALLTYPE ILockBytes_Stat_Proxy(
4542 ILockBytes* This,
4543 STATSTG *pstatstg,
4544 DWORD grfStatFlag);
4545void __RPC_STUB ILockBytes_Stat_Stub(
4546 IRpcStubBuffer* This,
4547 IRpcChannelBuffer* pRpcChannelBuffer,
4548 PRPC_MESSAGE pRpcMessage,
4549 DWORD* pdwStubPhase);
4550HRESULT CALLBACK ILockBytes_ReadAt_Proxy(
4551 ILockBytes* This,
4552 ULARGE_INTEGER ulOffset,
4553 void *pv,
4554 ULONG cb,
4555 ULONG *pcbRead);
4556HRESULT __RPC_STUB ILockBytes_ReadAt_Stub(
4557 ILockBytes* This,
4558 ULARGE_INTEGER ulOffset,
4559 byte *pv,
4560 ULONG cb,
4561 ULONG *pcbRead);
4562HRESULT CALLBACK ILockBytes_WriteAt_Proxy(
4563 ILockBytes* This,
4564 ULARGE_INTEGER ulOffset,
4565 const void *pv,
4566 ULONG cb,
4567 ULONG *pcbWritten);
4568HRESULT __RPC_STUB ILockBytes_WriteAt_Stub(
4569 ILockBytes* This,
4570 ULARGE_INTEGER ulOffset,
4571 const byte *pv,
4572 ULONG cb,
4573 ULONG *pcbWritten);
4574
4575#endif /* __ILockBytes_INTERFACE_DEFINED__ */
4576
4577#ifndef __IFillLockBytes_FWD_DEFINED__
4578#define __IFillLockBytes_FWD_DEFINED__
4579typedef interface IFillLockBytes IFillLockBytes;
4580#endif
4581
4582/*****************************************************************************
4583 * IFillLockBytes interface
4584 */
4585#ifndef __IFillLockBytes_INTERFACE_DEFINED__
4586#define __IFillLockBytes_INTERFACE_DEFINED__
4587
4588DEFINE_GUID(IID_IFillLockBytes, 0x99caf010, 0x415e, 0x11cf, 0x88,0x14, 0x00,0xaa,0x00,0xb5,0x69,0xf5);
4589#if defined(__cplusplus) && !defined(CINTERFACE)
4590interface IFillLockBytes : public IUnknown
4591{
4592 virtual HRESULT STDMETHODCALLTYPE FillAppend(
4593 const void *pv,
4594 ULONG cb,
4595 ULONG *pcbWritten) = 0;
4596
4597 virtual HRESULT STDMETHODCALLTYPE FillAt(
4598 ULARGE_INTEGER ulOffset,
4599 const void *pv,
4600 ULONG cb,
4601 ULONG *pcbWritten) = 0;
4602
4603 virtual HRESULT STDMETHODCALLTYPE SetFillSize(
4604 ULARGE_INTEGER ulSize) = 0;
4605
4606 virtual HRESULT STDMETHODCALLTYPE Terminate(
4607 BOOL bCanceled) = 0;
4608
4609};
4610#else
4611typedef struct IFillLockBytesVtbl {
4612 BEGIN_INTERFACE
4613
4614 /*** IUnknown methods ***/
4615 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4616 IFillLockBytes* This,
4617 REFIID riid,
4618 void **ppvObject);
4619
4620 ULONG (STDMETHODCALLTYPE *AddRef)(
4621 IFillLockBytes* This);
4622
4623 ULONG (STDMETHODCALLTYPE *Release)(
4624 IFillLockBytes* This);
4625
4626 /*** IFillLockBytes methods ***/
4627 HRESULT (STDMETHODCALLTYPE *FillAppend)(
4628 IFillLockBytes* This,
4629 const void *pv,
4630 ULONG cb,
4631 ULONG *pcbWritten);
4632
4633 HRESULT (STDMETHODCALLTYPE *FillAt)(
4634 IFillLockBytes* This,
4635 ULARGE_INTEGER ulOffset,
4636 const void *pv,
4637 ULONG cb,
4638 ULONG *pcbWritten);
4639
4640 HRESULT (STDMETHODCALLTYPE *SetFillSize)(
4641 IFillLockBytes* This,
4642 ULARGE_INTEGER ulSize);
4643
4644 HRESULT (STDMETHODCALLTYPE *Terminate)(
4645 IFillLockBytes* This,
4646 BOOL bCanceled);
4647
4648 END_INTERFACE
4649} IFillLockBytesVtbl;
4650interface IFillLockBytes {
4651 CONST_VTBL IFillLockBytesVtbl* lpVtbl;
4652};
4653
4654#ifdef COBJMACROS
4655/*** IUnknown methods ***/
4656#define IFillLockBytes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4657#define IFillLockBytes_AddRef(This) (This)->lpVtbl->AddRef(This)
4658#define IFillLockBytes_Release(This) (This)->lpVtbl->Release(This)
4659/*** IFillLockBytes methods ***/
4660#define IFillLockBytes_FillAppend(This,pv,cb,pcbWritten) (This)->lpVtbl->FillAppend(This,pv,cb,pcbWritten)
4661#define IFillLockBytes_FillAt(This,ulOffset,pv,cb,pcbWritten) (This)->lpVtbl->FillAt(This,ulOffset,pv,cb,pcbWritten)
4662#define IFillLockBytes_SetFillSize(This,ulSize) (This)->lpVtbl->SetFillSize(This,ulSize)
4663#define IFillLockBytes_Terminate(This,bCanceled) (This)->lpVtbl->Terminate(This,bCanceled)
4664#endif
4665
4666#endif
4667
4668HRESULT STDMETHODCALLTYPE IFillLockBytes_RemoteFillAppend_Proxy(
4669 IFillLockBytes* This,
4670 const byte *pv,
4671 ULONG cb,
4672 ULONG *pcbWritten);
4673void __RPC_STUB IFillLockBytes_RemoteFillAppend_Stub(
4674 IRpcStubBuffer* This,
4675 IRpcChannelBuffer* pRpcChannelBuffer,
4676 PRPC_MESSAGE pRpcMessage,
4677 DWORD* pdwStubPhase);
4678HRESULT STDMETHODCALLTYPE IFillLockBytes_RemoteFillAt_Proxy(
4679 IFillLockBytes* This,
4680 ULARGE_INTEGER ulOffset,
4681 const byte *pv,
4682 ULONG cb,
4683 ULONG *pcbWritten);
4684void __RPC_STUB IFillLockBytes_RemoteFillAt_Stub(
4685 IRpcStubBuffer* This,
4686 IRpcChannelBuffer* pRpcChannelBuffer,
4687 PRPC_MESSAGE pRpcMessage,
4688 DWORD* pdwStubPhase);
4689HRESULT STDMETHODCALLTYPE IFillLockBytes_SetFillSize_Proxy(
4690 IFillLockBytes* This,
4691 ULARGE_INTEGER ulSize);
4692void __RPC_STUB IFillLockBytes_SetFillSize_Stub(
4693 IRpcStubBuffer* This,
4694 IRpcChannelBuffer* pRpcChannelBuffer,
4695 PRPC_MESSAGE pRpcMessage,
4696 DWORD* pdwStubPhase);
4697HRESULT STDMETHODCALLTYPE IFillLockBytes_Terminate_Proxy(
4698 IFillLockBytes* This,
4699 BOOL bCanceled);
4700void __RPC_STUB IFillLockBytes_Terminate_Stub(
4701 IRpcStubBuffer* This,
4702 IRpcChannelBuffer* pRpcChannelBuffer,
4703 PRPC_MESSAGE pRpcMessage,
4704 DWORD* pdwStubPhase);
4705HRESULT CALLBACK IFillLockBytes_FillAppend_Proxy(
4706 IFillLockBytes* This,
4707 const void *pv,
4708 ULONG cb,
4709 ULONG *pcbWritten);
4710HRESULT __RPC_STUB IFillLockBytes_FillAppend_Stub(
4711 IFillLockBytes* This,
4712 const byte *pv,
4713 ULONG cb,
4714 ULONG *pcbWritten);
4715HRESULT CALLBACK IFillLockBytes_FillAt_Proxy(
4716 IFillLockBytes* This,
4717 ULARGE_INTEGER ulOffset,
4718 const void *pv,
4719 ULONG cb,
4720 ULONG *pcbWritten);
4721HRESULT __RPC_STUB IFillLockBytes_FillAt_Stub(
4722 IFillLockBytes* This,
4723 ULARGE_INTEGER ulOffset,
4724 const byte *pv,
4725 ULONG cb,
4726 ULONG *pcbWritten);
4727
4728#endif /* __IFillLockBytes_INTERFACE_DEFINED__ */
4729
4730#ifndef __IProgressNotify_FWD_DEFINED__
4731#define __IProgressNotify_FWD_DEFINED__
4732typedef interface IProgressNotify IProgressNotify;
4733#endif
4734
4735/*****************************************************************************
4736 * IProgressNotify interface
4737 */
4738#ifndef __IProgressNotify_INTERFACE_DEFINED__
4739#define __IProgressNotify_INTERFACE_DEFINED__
4740
4741DEFINE_GUID(IID_IProgressNotify, 0xa9d758a0, 0x4617, 0x11cf, 0x95,0xfc, 0x00,0xaa,0x00,0x68,0x0d,0xb4);
4742#if defined(__cplusplus) && !defined(CINTERFACE)
4743interface IProgressNotify : public IUnknown
4744{
4745 virtual HRESULT STDMETHODCALLTYPE OnProgress(
4746 DWORD dwProgressCurrent,
4747 DWORD dwProgressMaximum,
4748 BOOL fAccurate,
4749 BOOL fOwner) = 0;
4750
4751};
4752#else
4753typedef struct IProgressNotifyVtbl {
4754 BEGIN_INTERFACE
4755
4756 /*** IUnknown methods ***/
4757 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4758 IProgressNotify* This,
4759 REFIID riid,
4760 void **ppvObject);
4761
4762 ULONG (STDMETHODCALLTYPE *AddRef)(
4763 IProgressNotify* This);
4764
4765 ULONG (STDMETHODCALLTYPE *Release)(
4766 IProgressNotify* This);
4767
4768 /*** IProgressNotify methods ***/
4769 HRESULT (STDMETHODCALLTYPE *OnProgress)(
4770 IProgressNotify* This,
4771 DWORD dwProgressCurrent,
4772 DWORD dwProgressMaximum,
4773 BOOL fAccurate,
4774 BOOL fOwner);
4775
4776 END_INTERFACE
4777} IProgressNotifyVtbl;
4778interface IProgressNotify {
4779 CONST_VTBL IProgressNotifyVtbl* lpVtbl;
4780};
4781
4782#ifdef COBJMACROS
4783/*** IUnknown methods ***/
4784#define IProgressNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4785#define IProgressNotify_AddRef(This) (This)->lpVtbl->AddRef(This)
4786#define IProgressNotify_Release(This) (This)->lpVtbl->Release(This)
4787/*** IProgressNotify methods ***/
4788#define IProgressNotify_OnProgress(This,dwProgressCurrent,dwProgressMaximum,fAccurate,fOwner) (This)->lpVtbl->OnProgress(This,dwProgressCurrent,dwProgressMaximum,fAccurate,fOwner)
4789#endif
4790
4791#endif
4792
4793HRESULT STDMETHODCALLTYPE IProgressNotify_OnProgress_Proxy(
4794 IProgressNotify* This,
4795 DWORD dwProgressCurrent,
4796 DWORD dwProgressMaximum,
4797 BOOL fAccurate,
4798 BOOL fOwner);
4799void __RPC_STUB IProgressNotify_OnProgress_Stub(
4800 IRpcStubBuffer* This,
4801 IRpcChannelBuffer* pRpcChannelBuffer,
4802 PRPC_MESSAGE pRpcMessage,
4803 DWORD* pdwStubPhase);
4804
4805#endif /* __IProgressNotify_INTERFACE_DEFINED__ */
4806
4807#ifndef __ILayoutStorage_FWD_DEFINED__
4808#define __ILayoutStorage_FWD_DEFINED__
4809typedef interface ILayoutStorage ILayoutStorage;
4810#endif
4811
4812typedef struct tagStorageLayout {
4813 DWORD LayoutType;
4814 OLECHAR *pwcsElementName;
4815 LARGE_INTEGER cOffset;
4816 LARGE_INTEGER cBytes;
4817} StorageLayout;
4818/*****************************************************************************
4819 * ILayoutStorage interface
4820 */
4821#ifndef __ILayoutStorage_INTERFACE_DEFINED__
4822#define __ILayoutStorage_INTERFACE_DEFINED__
4823
4824DEFINE_GUID(IID_ILayoutStorage, 0x0e6d4d90, 0x6738, 0x11cf, 0x96,0x08, 0x00,0xaa,0x00,0x68,0x0d,0xb4);
4825#if defined(__cplusplus) && !defined(CINTERFACE)
4826interface ILayoutStorage : public IUnknown
4827{
4828 virtual HRESULT STDMETHODCALLTYPE LayoutScript(
4829 StorageLayout *pStorageLayout,
4830 DWORD nEntries,
4831 DWORD glfInterleavedFlag) = 0;
4832
4833 virtual HRESULT STDMETHODCALLTYPE BeginMonitor(
4834 ) = 0;
4835
4836 virtual HRESULT STDMETHODCALLTYPE EndMonitor(
4837 ) = 0;
4838
4839 virtual HRESULT STDMETHODCALLTYPE ReLayoutDocfile(
4840 OLECHAR *pwcsNewDfName) = 0;
4841
4842 virtual HRESULT STDMETHODCALLTYPE ReLayoutDocfileOnILockBytes(
4843 ILockBytes *pILockBytes) = 0;
4844
4845};
4846#else
4847typedef struct ILayoutStorageVtbl {
4848 BEGIN_INTERFACE
4849
4850 /*** IUnknown methods ***/
4851 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4852 ILayoutStorage* This,
4853 REFIID riid,
4854 void **ppvObject);
4855
4856 ULONG (STDMETHODCALLTYPE *AddRef)(
4857 ILayoutStorage* This);
4858
4859 ULONG (STDMETHODCALLTYPE *Release)(
4860 ILayoutStorage* This);
4861
4862 /*** ILayoutStorage methods ***/
4863 HRESULT (STDMETHODCALLTYPE *LayoutScript)(
4864 ILayoutStorage* This,
4865 StorageLayout *pStorageLayout,
4866 DWORD nEntries,
4867 DWORD glfInterleavedFlag);
4868
4869 HRESULT (STDMETHODCALLTYPE *BeginMonitor)(
4870 ILayoutStorage* This);
4871
4872 HRESULT (STDMETHODCALLTYPE *EndMonitor)(
4873 ILayoutStorage* This);
4874
4875 HRESULT (STDMETHODCALLTYPE *ReLayoutDocfile)(
4876 ILayoutStorage* This,
4877 OLECHAR *pwcsNewDfName);
4878
4879 HRESULT (STDMETHODCALLTYPE *ReLayoutDocfileOnILockBytes)(
4880 ILayoutStorage* This,
4881 ILockBytes *pILockBytes);
4882
4883 END_INTERFACE
4884} ILayoutStorageVtbl;
4885interface ILayoutStorage {
4886 CONST_VTBL ILayoutStorageVtbl* lpVtbl;
4887};
4888
4889#ifdef COBJMACROS
4890/*** IUnknown methods ***/
4891#define ILayoutStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4892#define ILayoutStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
4893#define ILayoutStorage_Release(This) (This)->lpVtbl->Release(This)
4894/*** ILayoutStorage methods ***/
4895#define ILayoutStorage_LayoutScript(This,pStorageLayout,nEntries,glfInterleavedFlag) (This)->lpVtbl->LayoutScript(This,pStorageLayout,nEntries,glfInterleavedFlag)
4896#define ILayoutStorage_BeginMonitor(This) (This)->lpVtbl->BeginMonitor(This)
4897#define ILayoutStorage_EndMonitor(This) (This)->lpVtbl->EndMonitor(This)
4898#define ILayoutStorage_ReLayoutDocfile(This,pwcsNewDfName) (This)->lpVtbl->ReLayoutDocfile(This,pwcsNewDfName)
4899#define ILayoutStorage_ReLayoutDocfileOnILockBytes(This,pILockBytes) (This)->lpVtbl->ReLayoutDocfileOnILockBytes(This,pILockBytes)
4900#endif
4901
4902#endif
4903
4904HRESULT STDMETHODCALLTYPE ILayoutStorage_LayoutScript_Proxy(
4905 ILayoutStorage* This,
4906 StorageLayout *pStorageLayout,
4907 DWORD nEntries,
4908 DWORD glfInterleavedFlag);
4909void __RPC_STUB ILayoutStorage_LayoutScript_Stub(
4910 IRpcStubBuffer* This,
4911 IRpcChannelBuffer* pRpcChannelBuffer,
4912 PRPC_MESSAGE pRpcMessage,
4913 DWORD* pdwStubPhase);
4914HRESULT STDMETHODCALLTYPE ILayoutStorage_BeginMonitor_Proxy(
4915 ILayoutStorage* This);
4916void __RPC_STUB ILayoutStorage_BeginMonitor_Stub(
4917 IRpcStubBuffer* This,
4918 IRpcChannelBuffer* pRpcChannelBuffer,
4919 PRPC_MESSAGE pRpcMessage,
4920 DWORD* pdwStubPhase);
4921HRESULT STDMETHODCALLTYPE ILayoutStorage_EndMonitor_Proxy(
4922 ILayoutStorage* This);
4923void __RPC_STUB ILayoutStorage_EndMonitor_Stub(
4924 IRpcStubBuffer* This,
4925 IRpcChannelBuffer* pRpcChannelBuffer,
4926 PRPC_MESSAGE pRpcMessage,
4927 DWORD* pdwStubPhase);
4928HRESULT STDMETHODCALLTYPE ILayoutStorage_ReLayoutDocfile_Proxy(
4929 ILayoutStorage* This,
4930 OLECHAR *pwcsNewDfName);
4931void __RPC_STUB ILayoutStorage_ReLayoutDocfile_Stub(
4932 IRpcStubBuffer* This,
4933 IRpcChannelBuffer* pRpcChannelBuffer,
4934 PRPC_MESSAGE pRpcMessage,
4935 DWORD* pdwStubPhase);
4936HRESULT STDMETHODCALLTYPE ILayoutStorage_ReLayoutDocfileOnILockBytes_Proxy(
4937 ILayoutStorage* This,
4938 ILockBytes *pILockBytes);
4939void __RPC_STUB ILayoutStorage_ReLayoutDocfileOnILockBytes_Stub(
4940 IRpcStubBuffer* This,
4941 IRpcChannelBuffer* pRpcChannelBuffer,
4942 PRPC_MESSAGE pRpcMessage,
4943 DWORD* pdwStubPhase);
4944
4945#endif /* __ILayoutStorage_INTERFACE_DEFINED__ */
4946
4947#ifndef __IBlockingLock_FWD_DEFINED__
4948#define __IBlockingLock_FWD_DEFINED__
4949typedef interface IBlockingLock IBlockingLock;
4950#endif
4951
4952/*****************************************************************************
4953 * IBlockingLock interface
4954 */
4955#ifndef __IBlockingLock_INTERFACE_DEFINED__
4956#define __IBlockingLock_INTERFACE_DEFINED__
4957
4958DEFINE_GUID(IID_IBlockingLock, 0x30f3d47a, 0x6447, 0x11d1, 0x8e,0x3c, 0x00,0xc0,0x4f,0xb9,0x38,0x6d);
4959#if defined(__cplusplus) && !defined(CINTERFACE)
4960interface IBlockingLock : public IUnknown
4961{
4962 virtual HRESULT STDMETHODCALLTYPE Lock(
4963 DWORD dwTimeout) = 0;
4964
4965 virtual HRESULT STDMETHODCALLTYPE Unlock(
4966 ) = 0;
4967
4968};
4969#else
4970typedef struct IBlockingLockVtbl {
4971 BEGIN_INTERFACE
4972
4973 /*** IUnknown methods ***/
4974 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4975 IBlockingLock* This,
4976 REFIID riid,
4977 void **ppvObject);
4978
4979 ULONG (STDMETHODCALLTYPE *AddRef)(
4980 IBlockingLock* This);
4981
4982 ULONG (STDMETHODCALLTYPE *Release)(
4983 IBlockingLock* This);
4984
4985 /*** IBlockingLock methods ***/
4986 HRESULT (STDMETHODCALLTYPE *Lock)(
4987 IBlockingLock* This,
4988 DWORD dwTimeout);
4989
4990 HRESULT (STDMETHODCALLTYPE *Unlock)(
4991 IBlockingLock* This);
4992
4993 END_INTERFACE
4994} IBlockingLockVtbl;
4995interface IBlockingLock {
4996 CONST_VTBL IBlockingLockVtbl* lpVtbl;
4997};
4998
4999#ifdef COBJMACROS
5000/*** IUnknown methods ***/
5001#define IBlockingLock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5002#define IBlockingLock_AddRef(This) (This)->lpVtbl->AddRef(This)
5003#define IBlockingLock_Release(This) (This)->lpVtbl->Release(This)
5004/*** IBlockingLock methods ***/
5005#define IBlockingLock_Lock(This,dwTimeout) (This)->lpVtbl->Lock(This,dwTimeout)
5006#define IBlockingLock_Unlock(This) (This)->lpVtbl->Unlock(This)
5007#endif
5008
5009#endif
5010
5011HRESULT STDMETHODCALLTYPE IBlockingLock_Lock_Proxy(
5012 IBlockingLock* This,
5013 DWORD dwTimeout);
5014void __RPC_STUB IBlockingLock_Lock_Stub(
5015 IRpcStubBuffer* This,
5016 IRpcChannelBuffer* pRpcChannelBuffer,
5017 PRPC_MESSAGE pRpcMessage,
5018 DWORD* pdwStubPhase);
5019HRESULT STDMETHODCALLTYPE IBlockingLock_Unlock_Proxy(
5020 IBlockingLock* This);
5021void __RPC_STUB IBlockingLock_Unlock_Stub(
5022 IRpcStubBuffer* This,
5023 IRpcChannelBuffer* pRpcChannelBuffer,
5024 PRPC_MESSAGE pRpcMessage,
5025 DWORD* pdwStubPhase);
5026
5027#endif /* __IBlockingLock_INTERFACE_DEFINED__ */
5028
5029#ifndef __ITimeAndNoticeControl_FWD_DEFINED__
5030#define __ITimeAndNoticeControl_FWD_DEFINED__
5031typedef interface ITimeAndNoticeControl ITimeAndNoticeControl;
5032#endif
5033
5034/*****************************************************************************
5035 * ITimeAndNoticeControl interface
5036 */
5037#ifndef __ITimeAndNoticeControl_INTERFACE_DEFINED__
5038#define __ITimeAndNoticeControl_INTERFACE_DEFINED__
5039
5040DEFINE_GUID(IID_ITimeAndNoticeControl, 0xbc0bf6ae, 0x8878, 0x11d1, 0x83,0xe9, 0x00,0xc0,0x4f,0xc2,0xc6,0xd4);
5041#if defined(__cplusplus) && !defined(CINTERFACE)
5042interface ITimeAndNoticeControl : public IUnknown
5043{
5044 virtual HRESULT STDMETHODCALLTYPE SuppressChanges(
5045 DWORD res1,
5046 DWORD res2) = 0;
5047
5048};
5049#else
5050typedef struct ITimeAndNoticeControlVtbl {
5051 BEGIN_INTERFACE
5052
5053 /*** IUnknown methods ***/
5054 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5055 ITimeAndNoticeControl* This,
5056 REFIID riid,
5057 void **ppvObject);
5058
5059 ULONG (STDMETHODCALLTYPE *AddRef)(
5060 ITimeAndNoticeControl* This);
5061
5062 ULONG (STDMETHODCALLTYPE *Release)(
5063 ITimeAndNoticeControl* This);
5064
5065 /*** ITimeAndNoticeControl methods ***/
5066 HRESULT (STDMETHODCALLTYPE *SuppressChanges)(
5067 ITimeAndNoticeControl* This,
5068 DWORD res1,
5069 DWORD res2);
5070
5071 END_INTERFACE
5072} ITimeAndNoticeControlVtbl;
5073interface ITimeAndNoticeControl {
5074 CONST_VTBL ITimeAndNoticeControlVtbl* lpVtbl;
5075};
5076
5077#ifdef COBJMACROS
5078/*** IUnknown methods ***/
5079#define ITimeAndNoticeControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5080#define ITimeAndNoticeControl_AddRef(This) (This)->lpVtbl->AddRef(This)
5081#define ITimeAndNoticeControl_Release(This) (This)->lpVtbl->Release(This)
5082/*** ITimeAndNoticeControl methods ***/
5083#define ITimeAndNoticeControl_SuppressChanges(This,res1,res2) (This)->lpVtbl->SuppressChanges(This,res1,res2)
5084#endif
5085
5086#endif
5087
5088HRESULT STDMETHODCALLTYPE ITimeAndNoticeControl_SuppressChanges_Proxy(
5089 ITimeAndNoticeControl* This,
5090 DWORD res1,
5091 DWORD res2);
5092void __RPC_STUB ITimeAndNoticeControl_SuppressChanges_Stub(
5093 IRpcStubBuffer* This,
5094 IRpcChannelBuffer* pRpcChannelBuffer,
5095 PRPC_MESSAGE pRpcMessage,
5096 DWORD* pdwStubPhase);
5097
5098#endif /* __ITimeAndNoticeControl_INTERFACE_DEFINED__ */
5099
5100#ifndef __IOplockStorage_FWD_DEFINED__
5101#define __IOplockStorage_FWD_DEFINED__
5102typedef interface IOplockStorage IOplockStorage;
5103#endif
5104
5105/*****************************************************************************
5106 * IOplockStorage interface
5107 */
5108#ifndef __IOplockStorage_INTERFACE_DEFINED__
5109#define __IOplockStorage_INTERFACE_DEFINED__
5110
5111DEFINE_GUID(IID_IOplockStorage, 0x8d19c834, 0x8879, 0x11d1, 0x83,0xe9, 0x00,0xc0,0x4f,0xc2,0xc6,0xd4);
5112#if defined(__cplusplus) && !defined(CINTERFACE)
5113interface IOplockStorage : public IUnknown
5114{
5115 virtual HRESULT STDMETHODCALLTYPE CreateStorageEx(
5116 LPCWSTR pwcsName,
5117 DWORD grfMode,
5118 DWORD stgfmt,
5119 DWORD grfAttrs,
5120 REFIID riid,
5121 void **ppstgOpen) = 0;
5122
5123 virtual HRESULT STDMETHODCALLTYPE OpenStorageEx(
5124 LPCWSTR pwcsName,
5125 DWORD grfMode,
5126 DWORD stgfmt,
5127 DWORD grfAttrs,
5128 REFIID riid,
5129 void **ppstgOpen) = 0;
5130
5131};
5132#else
5133typedef struct IOplockStorageVtbl {
5134 BEGIN_INTERFACE
5135
5136 /*** IUnknown methods ***/
5137 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5138 IOplockStorage* This,
5139 REFIID riid,
5140 void **ppvObject);
5141
5142 ULONG (STDMETHODCALLTYPE *AddRef)(
5143 IOplockStorage* This);
5144
5145 ULONG (STDMETHODCALLTYPE *Release)(
5146 IOplockStorage* This);
5147
5148 /*** IOplockStorage methods ***/
5149 HRESULT (STDMETHODCALLTYPE *CreateStorageEx)(
5150 IOplockStorage* This,
5151 LPCWSTR pwcsName,
5152 DWORD grfMode,
5153 DWORD stgfmt,
5154 DWORD grfAttrs,
5155 REFIID riid,
5156 void **ppstgOpen);
5157
5158 HRESULT (STDMETHODCALLTYPE *OpenStorageEx)(
5159 IOplockStorage* This,
5160 LPCWSTR pwcsName,
5161 DWORD grfMode,
5162 DWORD stgfmt,
5163 DWORD grfAttrs,
5164 REFIID riid,
5165 void **ppstgOpen);
5166
5167 END_INTERFACE
5168} IOplockStorageVtbl;
5169interface IOplockStorage {
5170 CONST_VTBL IOplockStorageVtbl* lpVtbl;
5171};
5172
5173#ifdef COBJMACROS
5174/*** IUnknown methods ***/
5175#define IOplockStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5176#define IOplockStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
5177#define IOplockStorage_Release(This) (This)->lpVtbl->Release(This)
5178/*** IOplockStorage methods ***/
5179#define IOplockStorage_CreateStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen) (This)->lpVtbl->CreateStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen)
5180#define IOplockStorage_OpenStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen) (This)->lpVtbl->OpenStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen)
5181#endif
5182
5183#endif
5184
5185HRESULT STDMETHODCALLTYPE IOplockStorage_CreateStorageEx_Proxy(
5186 IOplockStorage* This,
5187 LPCWSTR pwcsName,
5188 DWORD grfMode,
5189 DWORD stgfmt,
5190 DWORD grfAttrs,
5191 REFIID riid,
5192 void **ppstgOpen);
5193void __RPC_STUB IOplockStorage_CreateStorageEx_Stub(
5194 IRpcStubBuffer* This,
5195 IRpcChannelBuffer* pRpcChannelBuffer,
5196 PRPC_MESSAGE pRpcMessage,
5197 DWORD* pdwStubPhase);
5198HRESULT STDMETHODCALLTYPE IOplockStorage_OpenStorageEx_Proxy(
5199 IOplockStorage* This,
5200 LPCWSTR pwcsName,
5201 DWORD grfMode,
5202 DWORD stgfmt,
5203 DWORD grfAttrs,
5204 REFIID riid,
5205 void **ppstgOpen);
5206void __RPC_STUB IOplockStorage_OpenStorageEx_Stub(
5207 IRpcStubBuffer* This,
5208 IRpcChannelBuffer* pRpcChannelBuffer,
5209 PRPC_MESSAGE pRpcMessage,
5210 DWORD* pdwStubPhase);
5211
5212#endif /* __IOplockStorage_INTERFACE_DEFINED__ */
5213
5214#ifndef __IEnumFORMATETC_FWD_DEFINED__
5215#define __IEnumFORMATETC_FWD_DEFINED__
5216typedef interface IEnumFORMATETC IEnumFORMATETC;
5217#endif
5218
5219typedef IEnumFORMATETC *LPENUMFORMATETC;
5220typedef struct tagDVTARGETDEVICE {
5221 DWORD tdSize;
5222 WORD tdDriverNameOffset;
5223 WORD tdDeviceNameOffset;
5224 WORD tdPortNameOffset;
5225 WORD tdExtDevmodeOffset;
5226 BYTE tdData[1];
5227} DVTARGETDEVICE;
5228typedef CLIPFORMAT *LPCLIPFORMAT;
5229typedef struct tagFORMATETC {
5230 CLIPFORMAT cfFormat;
5231 DVTARGETDEVICE *ptd;
5232 DWORD dwAspect;
5233 LONG lindex;
5234 DWORD tymed;
5235} FORMATETC;
5236typedef struct tagFORMATETC *LPFORMATETC;
5237/*****************************************************************************
5238 * IEnumFORMATETC interface
5239 */
5240#ifndef __IEnumFORMATETC_INTERFACE_DEFINED__
5241#define __IEnumFORMATETC_INTERFACE_DEFINED__
5242
5243DEFINE_GUID(IID_IEnumFORMATETC, 0x00000103, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
5244#if defined(__cplusplus) && !defined(CINTERFACE)
5245interface IEnumFORMATETC : public IUnknown
5246{
5247 virtual HRESULT STDMETHODCALLTYPE Next(
5248 ULONG celt,
5249 FORMATETC *rgelt,
5250 ULONG *pceltFetched) = 0;
5251
5252 virtual HRESULT STDMETHODCALLTYPE Skip(
5253 ULONG celt) = 0;
5254
5255 virtual HRESULT STDMETHODCALLTYPE Reset(
5256 ) = 0;
5257
5258 virtual HRESULT STDMETHODCALLTYPE Clone(
5259 IEnumFORMATETC **ppenum) = 0;
5260
5261};
5262#else
5263typedef struct IEnumFORMATETCVtbl {
5264 BEGIN_INTERFACE
5265
5266 /*** IUnknown methods ***/
5267 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5268 IEnumFORMATETC* This,
5269 REFIID riid,
5270 void **ppvObject);
5271
5272 ULONG (STDMETHODCALLTYPE *AddRef)(
5273 IEnumFORMATETC* This);
5274
5275 ULONG (STDMETHODCALLTYPE *Release)(
5276 IEnumFORMATETC* This);
5277
5278 /*** IEnumFORMATETC methods ***/
5279 HRESULT (STDMETHODCALLTYPE *Next)(
5280 IEnumFORMATETC* This,
5281 ULONG celt,
5282 FORMATETC *rgelt,
5283 ULONG *pceltFetched);
5284
5285 HRESULT (STDMETHODCALLTYPE *Skip)(
5286 IEnumFORMATETC* This,
5287 ULONG celt);
5288
5289 HRESULT (STDMETHODCALLTYPE *Reset)(
5290 IEnumFORMATETC* This);
5291
5292 HRESULT (STDMETHODCALLTYPE *Clone)(
5293 IEnumFORMATETC* This,
5294 IEnumFORMATETC **ppenum);
5295
5296 END_INTERFACE
5297} IEnumFORMATETCVtbl;
5298interface IEnumFORMATETC {
5299 CONST_VTBL IEnumFORMATETCVtbl* lpVtbl;
5300};
5301
5302#ifdef COBJMACROS
5303/*** IUnknown methods ***/
5304#define IEnumFORMATETC_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5305#define IEnumFORMATETC_AddRef(This) (This)->lpVtbl->AddRef(This)
5306#define IEnumFORMATETC_Release(This) (This)->lpVtbl->Release(This)
5307/*** IEnumFORMATETC methods ***/
5308#define IEnumFORMATETC_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
5309#define IEnumFORMATETC_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
5310#define IEnumFORMATETC_Reset(This) (This)->lpVtbl->Reset(This)
5311#define IEnumFORMATETC_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
5312#endif
5313
5314#endif
5315
5316HRESULT STDMETHODCALLTYPE IEnumFORMATETC_RemoteNext_Proxy(
5317 IEnumFORMATETC* This,
5318 ULONG celt,
5319 FORMATETC *rgelt,
5320 ULONG *pceltFetched);
5321void __RPC_STUB IEnumFORMATETC_RemoteNext_Stub(
5322 IRpcStubBuffer* This,
5323 IRpcChannelBuffer* pRpcChannelBuffer,
5324 PRPC_MESSAGE pRpcMessage,
5325 DWORD* pdwStubPhase);
5326HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Skip_Proxy(
5327 IEnumFORMATETC* This,
5328 ULONG celt);
5329void __RPC_STUB IEnumFORMATETC_Skip_Stub(
5330 IRpcStubBuffer* This,
5331 IRpcChannelBuffer* pRpcChannelBuffer,
5332 PRPC_MESSAGE pRpcMessage,
5333 DWORD* pdwStubPhase);
5334HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Reset_Proxy(
5335 IEnumFORMATETC* This);
5336void __RPC_STUB IEnumFORMATETC_Reset_Stub(
5337 IRpcStubBuffer* This,
5338 IRpcChannelBuffer* pRpcChannelBuffer,
5339 PRPC_MESSAGE pRpcMessage,
5340 DWORD* pdwStubPhase);
5341HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Clone_Proxy(
5342 IEnumFORMATETC* This,
5343 IEnumFORMATETC **ppenum);
5344void __RPC_STUB IEnumFORMATETC_Clone_Stub(
5345 IRpcStubBuffer* This,
5346 IRpcChannelBuffer* pRpcChannelBuffer,
5347 PRPC_MESSAGE pRpcMessage,
5348 DWORD* pdwStubPhase);
5349HRESULT CALLBACK IEnumFORMATETC_Next_Proxy(
5350 IEnumFORMATETC* This,
5351 ULONG celt,
5352 FORMATETC *rgelt,
5353 ULONG *pceltFetched);
5354HRESULT __RPC_STUB IEnumFORMATETC_Next_Stub(
5355 IEnumFORMATETC* This,
5356 ULONG celt,
5357 FORMATETC *rgelt,
5358 ULONG *pceltFetched);
5359
5360#endif /* __IEnumFORMATETC_INTERFACE_DEFINED__ */
5361
5362#ifndef __IEnumSTATDATA_FWD_DEFINED__
5363#define __IEnumSTATDATA_FWD_DEFINED__
5364typedef interface IEnumSTATDATA IEnumSTATDATA;
5365#endif
5366
5367typedef IEnumSTATDATA *LPENUMSTATDATA;
5368typedef enum tagADVF {
5369 ADVF_NODATA = 1,
5370 ADVF_PRIMEFIRST = 2,
5371 ADVF_ONLYONCE = 4,
5372 ADVF_DATAONSTOP = 64,
5373 ADVFCACHE_NOHANDLER = 8,
5374 ADVFCACHE_FORCEBUILTIN = 16,
5375 ADVFCACHE_ONSAVE = 32
5376} ADVF;
5377typedef struct tagSTATDATA {
5378 FORMATETC formatetc;
5379 DWORD advf;
5380 IAdviseSink *pAdvSink;
5381 DWORD dwConnection;
5382} STATDATA;
5383typedef struct tagSTATDATA *LPSTATDATA;
5384/*****************************************************************************
5385 * IEnumSTATDATA interface
5386 */
5387#ifndef __IEnumSTATDATA_INTERFACE_DEFINED__
5388#define __IEnumSTATDATA_INTERFACE_DEFINED__
5389
5390DEFINE_GUID(IID_IEnumSTATDATA, 0x00000105, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
5391#if defined(__cplusplus) && !defined(CINTERFACE)
5392interface IEnumSTATDATA : public IUnknown
5393{
5394 virtual HRESULT STDMETHODCALLTYPE Next(
5395 ULONG celt,
5396 STATDATA *rgelt,
5397 ULONG *pceltFetched) = 0;
5398
5399 virtual HRESULT STDMETHODCALLTYPE Skip(
5400 ULONG celt) = 0;
5401
5402 virtual HRESULT STDMETHODCALLTYPE Reset(
5403 ) = 0;
5404
5405 virtual HRESULT STDMETHODCALLTYPE Clone(
5406 IEnumSTATDATA **ppenum) = 0;
5407
5408};
5409#else
5410typedef struct IEnumSTATDATAVtbl {
5411 BEGIN_INTERFACE
5412
5413 /*** IUnknown methods ***/
5414 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5415 IEnumSTATDATA* This,
5416 REFIID riid,
5417 void **ppvObject);
5418
5419 ULONG (STDMETHODCALLTYPE *AddRef)(
5420 IEnumSTATDATA* This);
5421
5422 ULONG (STDMETHODCALLTYPE *Release)(
5423 IEnumSTATDATA* This);
5424
5425 /*** IEnumSTATDATA methods ***/
5426 HRESULT (STDMETHODCALLTYPE *Next)(
5427 IEnumSTATDATA* This,
5428 ULONG celt,
5429 STATDATA *rgelt,
5430 ULONG *pceltFetched);
5431
5432 HRESULT (STDMETHODCALLTYPE *Skip)(
5433 IEnumSTATDATA* This,
5434 ULONG celt);
5435
5436 HRESULT (STDMETHODCALLTYPE *Reset)(
5437 IEnumSTATDATA* This);
5438
5439 HRESULT (STDMETHODCALLTYPE *Clone)(
5440 IEnumSTATDATA* This,
5441 IEnumSTATDATA **ppenum);
5442
5443 END_INTERFACE
5444} IEnumSTATDATAVtbl;
5445interface IEnumSTATDATA {
5446 CONST_VTBL IEnumSTATDATAVtbl* lpVtbl;
5447};
5448
5449#ifdef COBJMACROS
5450/*** IUnknown methods ***/
5451#define IEnumSTATDATA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5452#define IEnumSTATDATA_AddRef(This) (This)->lpVtbl->AddRef(This)
5453#define IEnumSTATDATA_Release(This) (This)->lpVtbl->Release(This)
5454/*** IEnumSTATDATA methods ***/
5455#define IEnumSTATDATA_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
5456#define IEnumSTATDATA_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
5457#define IEnumSTATDATA_Reset(This) (This)->lpVtbl->Reset(This)
5458#define IEnumSTATDATA_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
5459#endif
5460
5461#endif
5462
5463HRESULT STDMETHODCALLTYPE IEnumSTATDATA_RemoteNext_Proxy(
5464 IEnumSTATDATA* This,
5465 ULONG celt,
5466 STATDATA *rgelt,
5467 ULONG *pceltFetched);
5468void __RPC_STUB IEnumSTATDATA_RemoteNext_Stub(
5469 IRpcStubBuffer* This,
5470 IRpcChannelBuffer* pRpcChannelBuffer,
5471 PRPC_MESSAGE pRpcMessage,
5472 DWORD* pdwStubPhase);
5473HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Skip_Proxy(
5474 IEnumSTATDATA* This,
5475 ULONG celt);
5476void __RPC_STUB IEnumSTATDATA_Skip_Stub(
5477 IRpcStubBuffer* This,
5478 IRpcChannelBuffer* pRpcChannelBuffer,
5479 PRPC_MESSAGE pRpcMessage,
5480 DWORD* pdwStubPhase);
5481HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Reset_Proxy(
5482 IEnumSTATDATA* This);
5483void __RPC_STUB IEnumSTATDATA_Reset_Stub(
5484 IRpcStubBuffer* This,
5485 IRpcChannelBuffer* pRpcChannelBuffer,
5486 PRPC_MESSAGE pRpcMessage,
5487 DWORD* pdwStubPhase);
5488HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Clone_Proxy(
5489 IEnumSTATDATA* This,
5490 IEnumSTATDATA **ppenum);
5491void __RPC_STUB IEnumSTATDATA_Clone_Stub(
5492 IRpcStubBuffer* This,
5493 IRpcChannelBuffer* pRpcChannelBuffer,
5494 PRPC_MESSAGE pRpcMessage,
5495 DWORD* pdwStubPhase);
5496HRESULT CALLBACK IEnumSTATDATA_Next_Proxy(
5497 IEnumSTATDATA* This,
5498 ULONG celt,
5499 STATDATA *rgelt,
5500 ULONG *pceltFetched);
5501HRESULT __RPC_STUB IEnumSTATDATA_Next_Stub(
5502 IEnumSTATDATA* This,
5503 ULONG celt,
5504 STATDATA *rgelt,
5505 ULONG *pceltFetched);
5506
5507#endif /* __IEnumSTATDATA_INTERFACE_DEFINED__ */
5508
5509typedef IAdviseSink *LPADVISESINK;
5510typedef enum tagTYMED {
5511 TYMED_HGLOBAL = 1,
5512 TYMED_FILE = 2,
5513 TYMED_ISTREAM = 4,
5514 TYMED_ISTORAGE = 8,
5515 TYMED_GDI = 16,
5516 TYMED_MFPICT = 32,
5517 TYMED_ENHMF = 64,
5518 TYMED_NULL = 0
5519} TYMED;
5520typedef struct tagRemSTGMEDIUM {
5521 DWORD tymed;
5522 DWORD dwHandleType;
5523 unsigned long pData;
5524 unsigned long pUnkForRelease;
5525 unsigned long cbData;
5526 byte data[1];
5527} RemSTGMEDIUM;
5528typedef struct tagSTGMEDIUM {
5529 DWORD tymed;
5530 union {
5531 HBITMAP hBitmap;
5532 HMETAFILEPICT hMetaFilePict;
5533 HENHMETAFILE hEnhMetaFile;
5534 HGLOBAL hGlobal;
5535 LPOLESTR lpszFileName;
5536 IStream *pstm;
5537 IStorage *pstg;
5538 } DUMMYUNIONNAME;
5539 IUnknown *pUnkForRelease;
5540} uSTGMEDIUM;
5541typedef struct _GDI_OBJECT {
5542 DWORD ObjectType;
5543 union {
5544 wireHBITMAP hBitmap;
5545 wireHPALETTE hPalette;
5546 wireHGLOBAL hGeneric;
5547 } u;
5548} GDI_OBJECT;
5549typedef struct _userSTGMEDIUM {
5550 struct {
5551 DWORD tymed;
5552 union {
5553 wireHMETAFILEPICT hMetaFilePict;
5554 wireHENHMETAFILE hHEnhMetaFile;
5555 GDI_OBJECT *hGdiHandle;
5556 wireHGLOBAL hGlobal;
5557 LPOLESTR lpszFileName;
5558 BYTE_BLOB *pstm;
5559 BYTE_BLOB *pstg;
5560 } u;
5561 } DUMMYUNIONNAME;
5562 IUnknown *pUnkForRelease;
5563} userSTGMEDIUM;
5564typedef userSTGMEDIUM *wireSTGMEDIUM;
5565typedef uSTGMEDIUM STGMEDIUM;
5566typedef userSTGMEDIUM *wireASYNC_STGMEDIUM;
5567typedef STGMEDIUM ASYNC_STGMEDIUM;
5568typedef STGMEDIUM *LPSTGMEDIUM;
5569typedef struct _userFLAG_STGMEDIUM {
5570 long ContextFlags;
5571 long fPassOwnership;
5572 userSTGMEDIUM Stgmed;
5573} userFLAG_STGMEDIUM;
5574typedef userFLAG_STGMEDIUM *wireFLAG_STGMEDIUM;
5575typedef struct _FLAG_STGMEDIUM {
5576 long ContextFlags;
5577 long fPassOwnership;
5578 STGMEDIUM Stgmed;
5579} FLAG_STGMEDIUM;
5580/*****************************************************************************
5581 * IAdviseSink interface
5582 */
5583#ifndef __IAdviseSink_INTERFACE_DEFINED__
5584#define __IAdviseSink_INTERFACE_DEFINED__
5585
5586DEFINE_GUID(IID_IAdviseSink, 0x0000010f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
5587#if defined(__cplusplus) && !defined(CINTERFACE)
5588interface IAdviseSink : public IUnknown
5589{
5590 virtual void STDMETHODCALLTYPE OnDataChange(
5591 FORMATETC *pFormatetc,
5592 STGMEDIUM *pStgmed) = 0;
5593
5594 virtual void STDMETHODCALLTYPE OnViewChange(
5595 DWORD dwAspect,
5596 LONG lindex) = 0;
5597
5598 virtual void STDMETHODCALLTYPE OnRename(
5599 IMoniker *pmk) = 0;
5600
5601 virtual void STDMETHODCALLTYPE OnSave(
5602 ) = 0;
5603
5604 virtual void STDMETHODCALLTYPE OnClose(
5605 ) = 0;
5606
5607};
5608#else
5609typedef struct IAdviseSinkVtbl {
5610 BEGIN_INTERFACE
5611
5612 /*** IUnknown methods ***/
5613 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5614 IAdviseSink* This,
5615 REFIID riid,
5616 void **ppvObject);
5617
5618 ULONG (STDMETHODCALLTYPE *AddRef)(
5619 IAdviseSink* This);
5620
5621 ULONG (STDMETHODCALLTYPE *Release)(
5622 IAdviseSink* This);
5623
5624 /*** IAdviseSink methods ***/
5625 void (STDMETHODCALLTYPE *OnDataChange)(
5626 IAdviseSink* This,
5627 FORMATETC *pFormatetc,
5628 STGMEDIUM *pStgmed);
5629
5630 void (STDMETHODCALLTYPE *OnViewChange)(
5631 IAdviseSink* This,
5632 DWORD dwAspect,
5633 LONG lindex);
5634
5635 void (STDMETHODCALLTYPE *OnRename)(
5636 IAdviseSink* This,
5637 IMoniker *pmk);
5638
5639 void (STDMETHODCALLTYPE *OnSave)(
5640 IAdviseSink* This);
5641
5642 void (STDMETHODCALLTYPE *OnClose)(
5643 IAdviseSink* This);
5644
5645 END_INTERFACE
5646} IAdviseSinkVtbl;
5647interface IAdviseSink {
5648 CONST_VTBL IAdviseSinkVtbl* lpVtbl;
5649};
5650
5651#ifdef COBJMACROS
5652/*** IUnknown methods ***/
5653#define IAdviseSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5654#define IAdviseSink_AddRef(This) (This)->lpVtbl->AddRef(This)
5655#define IAdviseSink_Release(This) (This)->lpVtbl->Release(This)
5656/*** IAdviseSink methods ***/
5657#define IAdviseSink_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed)
5658#define IAdviseSink_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex)
5659#define IAdviseSink_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk)
5660#define IAdviseSink_OnSave(This) (This)->lpVtbl->OnSave(This)
5661#define IAdviseSink_OnClose(This) (This)->lpVtbl->OnClose(This)
5662#endif
5663
5664#endif
5665
5666HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnDataChange_Proxy(
5667 IAdviseSink* This,
5668 FORMATETC *pFormatetc,
5669 ASYNC_STGMEDIUM *pStgmed);
5670void __RPC_STUB IAdviseSink_RemoteOnDataChange_Stub(
5671 IRpcStubBuffer* This,
5672 IRpcChannelBuffer* pRpcChannelBuffer,
5673 PRPC_MESSAGE pRpcMessage,
5674 DWORD* pdwStubPhase);
5675HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnViewChange_Proxy(
5676 IAdviseSink* This,
5677 DWORD dwAspect,
5678 LONG lindex);
5679void __RPC_STUB IAdviseSink_RemoteOnViewChange_Stub(
5680 IRpcStubBuffer* This,
5681 IRpcChannelBuffer* pRpcChannelBuffer,
5682 PRPC_MESSAGE pRpcMessage,
5683 DWORD* pdwStubPhase);
5684HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnRename_Proxy(
5685 IAdviseSink* This,
5686 IMoniker *pmk);
5687void __RPC_STUB IAdviseSink_RemoteOnRename_Stub(
5688 IRpcStubBuffer* This,
5689 IRpcChannelBuffer* pRpcChannelBuffer,
5690 PRPC_MESSAGE pRpcMessage,
5691 DWORD* pdwStubPhase);
5692HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnSave_Proxy(
5693 IAdviseSink* This);
5694void __RPC_STUB IAdviseSink_RemoteOnSave_Stub(
5695 IRpcStubBuffer* This,
5696 IRpcChannelBuffer* pRpcChannelBuffer,
5697 PRPC_MESSAGE pRpcMessage,
5698 DWORD* pdwStubPhase);
5699HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnClose_Proxy(
5700 IAdviseSink* This);
5701void __RPC_STUB IAdviseSink_RemoteOnClose_Stub(
5702 IRpcStubBuffer* This,
5703 IRpcChannelBuffer* pRpcChannelBuffer,
5704 PRPC_MESSAGE pRpcMessage,
5705 DWORD* pdwStubPhase);
5706void CALLBACK IAdviseSink_OnDataChange_Proxy(
5707 IAdviseSink* This,
5708 FORMATETC *pFormatetc,
5709 STGMEDIUM *pStgmed);
5710HRESULT __RPC_STUB IAdviseSink_OnDataChange_Stub(
5711 IAdviseSink* This,
5712 FORMATETC *pFormatetc,
5713 ASYNC_STGMEDIUM *pStgmed);
5714void CALLBACK IAdviseSink_OnViewChange_Proxy(
5715 IAdviseSink* This,
5716 DWORD dwAspect,
5717 LONG lindex);
5718HRESULT __RPC_STUB IAdviseSink_OnViewChange_Stub(
5719 IAdviseSink* This,
5720 DWORD dwAspect,
5721 LONG lindex);
5722void CALLBACK IAdviseSink_OnRename_Proxy(
5723 IAdviseSink* This,
5724 IMoniker *pmk);
5725HRESULT __RPC_STUB IAdviseSink_OnRename_Stub(
5726 IAdviseSink* This,
5727 IMoniker *pmk);
5728void CALLBACK IAdviseSink_OnSave_Proxy(
5729 IAdviseSink* This);
5730HRESULT __RPC_STUB IAdviseSink_OnSave_Stub(
5731 IAdviseSink* This);
5732void CALLBACK IAdviseSink_OnClose_Proxy(
5733 IAdviseSink* This);
5734HRESULT __RPC_STUB IAdviseSink_OnClose_Stub(
5735 IAdviseSink* This);
5736
5737#endif /* __IAdviseSink_INTERFACE_DEFINED__ */
5738
5739#ifndef __IAdviseSink2_FWD_DEFINED__
5740#define __IAdviseSink2_FWD_DEFINED__
5741typedef interface IAdviseSink2 IAdviseSink2;
5742#endif
5743
5744typedef IAdviseSink2 *LPADVISESINK2;
5745/*****************************************************************************
5746 * IAdviseSink2 interface
5747 */
5748#ifndef __IAdviseSink2_INTERFACE_DEFINED__
5749#define __IAdviseSink2_INTERFACE_DEFINED__
5750
5751DEFINE_GUID(IID_IAdviseSink2, 0x00000125, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
5752#if defined(__cplusplus) && !defined(CINTERFACE)
5753interface IAdviseSink2 : public IAdviseSink
5754{
5755 virtual void STDMETHODCALLTYPE OnLinkSrcChange(
5756 IMoniker *pmk) = 0;
5757
5758};
5759#else
5760typedef struct IAdviseSink2Vtbl {
5761 BEGIN_INTERFACE
5762
5763 /*** IUnknown methods ***/
5764 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5765 IAdviseSink2* This,
5766 REFIID riid,
5767 void **ppvObject);
5768
5769 ULONG (STDMETHODCALLTYPE *AddRef)(
5770 IAdviseSink2* This);
5771
5772 ULONG (STDMETHODCALLTYPE *Release)(
5773 IAdviseSink2* This);
5774
5775 /*** IAdviseSink methods ***/
5776 void (STDMETHODCALLTYPE *OnDataChange)(
5777 IAdviseSink2* This,
5778 FORMATETC *pFormatetc,
5779 STGMEDIUM *pStgmed);
5780
5781 void (STDMETHODCALLTYPE *OnViewChange)(
5782 IAdviseSink2* This,
5783 DWORD dwAspect,
5784 LONG lindex);
5785
5786 void (STDMETHODCALLTYPE *OnRename)(
5787 IAdviseSink2* This,
5788 IMoniker *pmk);
5789
5790 void (STDMETHODCALLTYPE *OnSave)(
5791 IAdviseSink2* This);
5792
5793 void (STDMETHODCALLTYPE *OnClose)(
5794 IAdviseSink2* This);
5795
5796 /*** IAdviseSink2 methods ***/
5797 void (STDMETHODCALLTYPE *OnLinkSrcChange)(
5798 IAdviseSink2* This,
5799 IMoniker *pmk);
5800
5801 END_INTERFACE
5802} IAdviseSink2Vtbl;
5803interface IAdviseSink2 {
5804 CONST_VTBL IAdviseSink2Vtbl* lpVtbl;
5805};
5806
5807#ifdef COBJMACROS
5808/*** IUnknown methods ***/
5809#define IAdviseSink2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5810#define IAdviseSink2_AddRef(This) (This)->lpVtbl->AddRef(This)
5811#define IAdviseSink2_Release(This) (This)->lpVtbl->Release(This)
5812/*** IAdviseSink methods ***/
5813#define IAdviseSink2_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed)
5814#define IAdviseSink2_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex)
5815#define IAdviseSink2_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk)
5816#define IAdviseSink2_OnSave(This) (This)->lpVtbl->OnSave(This)
5817#define IAdviseSink2_OnClose(This) (This)->lpVtbl->OnClose(This)
5818/*** IAdviseSink2 methods ***/
5819#define IAdviseSink2_OnLinkSrcChange(This,pmk) (This)->lpVtbl->OnLinkSrcChange(This,pmk)
5820#endif
5821
5822#endif
5823
5824HRESULT STDMETHODCALLTYPE IAdviseSink2_RemoteOnLinkSrcChange_Proxy(
5825 IAdviseSink2* This,
5826 IMoniker *pmk);
5827void __RPC_STUB IAdviseSink2_RemoteOnLinkSrcChange_Stub(
5828 IRpcStubBuffer* This,
5829 IRpcChannelBuffer* pRpcChannelBuffer,
5830 PRPC_MESSAGE pRpcMessage,
5831 DWORD* pdwStubPhase);
5832void CALLBACK IAdviseSink2_OnLinkSrcChange_Proxy(
5833 IAdviseSink2* This,
5834 IMoniker *pmk);
5835HRESULT __RPC_STUB IAdviseSink2_OnLinkSrcChange_Stub(
5836 IAdviseSink2* This,
5837 IMoniker *pmk);
5838
5839#endif /* __IAdviseSink2_INTERFACE_DEFINED__ */
5840
5841#ifndef __IDataObject_FWD_DEFINED__
5842#define __IDataObject_FWD_DEFINED__
5843typedef interface IDataObject IDataObject;
5844#endif
5845
5846typedef IDataObject *LPDATAOBJECT;
5847typedef enum tagDATADIR {
5848 DATADIR_GET = 1,
5849 DATADIR_SET = 2
5850} DATADIR;
5851/*****************************************************************************
5852 * IDataObject interface
5853 */
5854#ifndef __IDataObject_INTERFACE_DEFINED__
5855#define __IDataObject_INTERFACE_DEFINED__
5856
5857DEFINE_GUID(IID_IDataObject, 0x0000010e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
5858#if defined(__cplusplus) && !defined(CINTERFACE)
5859interface IDataObject : public IUnknown
5860{
5861 virtual HRESULT STDMETHODCALLTYPE GetData(
5862 FORMATETC *pformatetcIn,
5863 STGMEDIUM *pmedium) = 0;
5864
5865 virtual HRESULT STDMETHODCALLTYPE GetDataHere(
5866 FORMATETC *pformatetc,
5867 STGMEDIUM *pmedium) = 0;
5868
5869 virtual HRESULT STDMETHODCALLTYPE QueryGetData(
5870 FORMATETC *pformatetc) = 0;
5871
5872 virtual HRESULT STDMETHODCALLTYPE GetCanonicalFormatEtc(
5873 FORMATETC *pformatectIn,
5874 FORMATETC *pformatetcOut) = 0;
5875
5876 virtual HRESULT STDMETHODCALLTYPE SetData(
5877 FORMATETC *pformatetc,
5878 STGMEDIUM *pmedium,
5879 BOOL fRelease) = 0;
5880
5881 virtual HRESULT STDMETHODCALLTYPE EnumFormatEtc(
5882 DWORD dwDirection,
5883 IEnumFORMATETC **ppenumFormatEtc) = 0;
5884
5885 virtual HRESULT STDMETHODCALLTYPE DAdvise(
5886 FORMATETC *pformatetc,
5887 DWORD advf,
5888 IAdviseSink *pAdvSink,
5889 DWORD *pdwConnection) = 0;
5890
5891 virtual HRESULT STDMETHODCALLTYPE DUnadvise(
5892 DWORD dwConnection) = 0;
5893
5894 virtual HRESULT STDMETHODCALLTYPE EnumDAdvise(
5895 IEnumSTATDATA **ppenumAdvise) = 0;
5896
5897};
5898#else
5899typedef struct IDataObjectVtbl {
5900 BEGIN_INTERFACE
5901
5902 /*** IUnknown methods ***/
5903 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5904 IDataObject* This,
5905 REFIID riid,
5906 void **ppvObject);
5907
5908 ULONG (STDMETHODCALLTYPE *AddRef)(
5909 IDataObject* This);
5910
5911 ULONG (STDMETHODCALLTYPE *Release)(
5912 IDataObject* This);
5913
5914 /*** IDataObject methods ***/
5915 HRESULT (STDMETHODCALLTYPE *GetData)(
5916 IDataObject* This,
5917 FORMATETC *pformatetcIn,
5918 STGMEDIUM *pmedium);
5919
5920 HRESULT (STDMETHODCALLTYPE *GetDataHere)(
5921 IDataObject* This,
5922 FORMATETC *pformatetc,
5923 STGMEDIUM *pmedium);
5924
5925 HRESULT (STDMETHODCALLTYPE *QueryGetData)(
5926 IDataObject* This,
5927 FORMATETC *pformatetc);
5928
5929 HRESULT (STDMETHODCALLTYPE *GetCanonicalFormatEtc)(
5930 IDataObject* This,
5931 FORMATETC *pformatectIn,
5932 FORMATETC *pformatetcOut);
5933
5934 HRESULT (STDMETHODCALLTYPE *SetData)(
5935 IDataObject* This,
5936 FORMATETC *pformatetc,
5937 STGMEDIUM *pmedium,
5938 BOOL fRelease);
5939
5940 HRESULT (STDMETHODCALLTYPE *EnumFormatEtc)(
5941 IDataObject* This,
5942 DWORD dwDirection,
5943 IEnumFORMATETC **ppenumFormatEtc);
5944
5945 HRESULT (STDMETHODCALLTYPE *DAdvise)(
5946 IDataObject* This,
5947 FORMATETC *pformatetc,
5948 DWORD advf,
5949 IAdviseSink *pAdvSink,
5950 DWORD *pdwConnection);
5951
5952 HRESULT (STDMETHODCALLTYPE *DUnadvise)(
5953 IDataObject* This,
5954 DWORD dwConnection);
5955
5956 HRESULT (STDMETHODCALLTYPE *EnumDAdvise)(
5957 IDataObject* This,
5958 IEnumSTATDATA **ppenumAdvise);
5959
5960 END_INTERFACE
5961} IDataObjectVtbl;
5962interface IDataObject {
5963 CONST_VTBL IDataObjectVtbl* lpVtbl;
5964};
5965
5966#ifdef COBJMACROS
5967/*** IUnknown methods ***/
5968#define IDataObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5969#define IDataObject_AddRef(This) (This)->lpVtbl->AddRef(This)
5970#define IDataObject_Release(This) (This)->lpVtbl->Release(This)
5971/*** IDataObject methods ***/
5972#define IDataObject_GetData(This,pformatetcIn,pmedium) (This)->lpVtbl->GetData(This,pformatetcIn,pmedium)
5973#define IDataObject_GetDataHere(This,pformatetc,pmedium) (This)->lpVtbl->GetDataHere(This,pformatetc,pmedium)
5974#define IDataObject_QueryGetData(This,pformatetc) (This)->lpVtbl->QueryGetData(This,pformatetc)
5975#define IDataObject_GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut) (This)->lpVtbl->GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut)
5976#define IDataObject_SetData(This,pformatetc,pmedium,fRelease) (This)->lpVtbl->SetData(This,pformatetc,pmedium,fRelease)
5977#define IDataObject_EnumFormatEtc(This,dwDirection,ppenumFormatEtc) (This)->lpVtbl->EnumFormatEtc(This,dwDirection,ppenumFormatEtc)
5978#define IDataObject_DAdvise(This,pformatetc,advf,pAdvSink,pdwConnection) (This)->lpVtbl->DAdvise(This,pformatetc,advf,pAdvSink,pdwConnection)
5979#define IDataObject_DUnadvise(This,dwConnection) (This)->lpVtbl->DUnadvise(This,dwConnection)
5980#define IDataObject_EnumDAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumDAdvise(This,ppenumAdvise)
5981#endif
5982
5983#endif
5984
5985HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetData_Proxy(
5986 IDataObject* This,
5987 FORMATETC *pformatetcIn,
5988 STGMEDIUM *pRemoteMedium);
5989void __RPC_STUB IDataObject_RemoteGetData_Stub(
5990 IRpcStubBuffer* This,
5991 IRpcChannelBuffer* pRpcChannelBuffer,
5992 PRPC_MESSAGE pRpcMessage,
5993 DWORD* pdwStubPhase);
5994HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetDataHere_Proxy(
5995 IDataObject* This,
5996 FORMATETC *pformatetc,
5997 STGMEDIUM *pRemoteMedium);
5998void __RPC_STUB IDataObject_RemoteGetDataHere_Stub(
5999 IRpcStubBuffer* This,
6000 IRpcChannelBuffer* pRpcChannelBuffer,
6001 PRPC_MESSAGE pRpcMessage,
6002 DWORD* pdwStubPhase);
6003HRESULT STDMETHODCALLTYPE IDataObject_QueryGetData_Proxy(
6004 IDataObject* This,
6005 FORMATETC *pformatetc);
6006void __RPC_STUB IDataObject_QueryGetData_Stub(
6007 IRpcStubBuffer* This,
6008 IRpcChannelBuffer* pRpcChannelBuffer,
6009 PRPC_MESSAGE pRpcMessage,
6010 DWORD* pdwStubPhase);
6011HRESULT STDMETHODCALLTYPE IDataObject_GetCanonicalFormatEtc_Proxy(
6012 IDataObject* This,
6013 FORMATETC *pformatectIn,
6014 FORMATETC *pformatetcOut);
6015void __RPC_STUB IDataObject_GetCanonicalFormatEtc_Stub(
6016 IRpcStubBuffer* This,
6017 IRpcChannelBuffer* pRpcChannelBuffer,
6018 PRPC_MESSAGE pRpcMessage,
6019 DWORD* pdwStubPhase);
6020HRESULT STDMETHODCALLTYPE IDataObject_RemoteSetData_Proxy(
6021 IDataObject* This,
6022 FORMATETC *pformatetc,
6023 FLAG_STGMEDIUM *pmedium,
6024 BOOL fRelease);
6025void __RPC_STUB IDataObject_RemoteSetData_Stub(
6026 IRpcStubBuffer* This,
6027 IRpcChannelBuffer* pRpcChannelBuffer,
6028 PRPC_MESSAGE pRpcMessage,
6029 DWORD* pdwStubPhase);
6030HRESULT STDMETHODCALLTYPE IDataObject_EnumFormatEtc_Proxy(
6031 IDataObject* This,
6032 DWORD dwDirection,
6033 IEnumFORMATETC **ppenumFormatEtc);
6034void __RPC_STUB IDataObject_EnumFormatEtc_Stub(
6035 IRpcStubBuffer* This,
6036 IRpcChannelBuffer* pRpcChannelBuffer,
6037 PRPC_MESSAGE pRpcMessage,
6038 DWORD* pdwStubPhase);
6039HRESULT STDMETHODCALLTYPE IDataObject_DAdvise_Proxy(
6040 IDataObject* This,
6041 FORMATETC *pformatetc,
6042 DWORD advf,
6043 IAdviseSink *pAdvSink,
6044 DWORD *pdwConnection);
6045void __RPC_STUB IDataObject_DAdvise_Stub(
6046 IRpcStubBuffer* This,
6047 IRpcChannelBuffer* pRpcChannelBuffer,
6048 PRPC_MESSAGE pRpcMessage,
6049 DWORD* pdwStubPhase);
6050HRESULT STDMETHODCALLTYPE IDataObject_DUnadvise_Proxy(
6051 IDataObject* This,
6052 DWORD dwConnection);
6053void __RPC_STUB IDataObject_DUnadvise_Stub(
6054 IRpcStubBuffer* This,
6055 IRpcChannelBuffer* pRpcChannelBuffer,
6056 PRPC_MESSAGE pRpcMessage,
6057 DWORD* pdwStubPhase);
6058HRESULT STDMETHODCALLTYPE IDataObject_EnumDAdvise_Proxy(
6059 IDataObject* This,
6060 IEnumSTATDATA **ppenumAdvise);
6061void __RPC_STUB IDataObject_EnumDAdvise_Stub(
6062 IRpcStubBuffer* This,
6063 IRpcChannelBuffer* pRpcChannelBuffer,
6064 PRPC_MESSAGE pRpcMessage,
6065 DWORD* pdwStubPhase);
6066HRESULT CALLBACK IDataObject_GetData_Proxy(
6067 IDataObject* This,
6068 FORMATETC *pformatetcIn,
6069 STGMEDIUM *pmedium);
6070HRESULT __RPC_STUB IDataObject_GetData_Stub(
6071 IDataObject* This,
6072 FORMATETC *pformatetcIn,
6073 STGMEDIUM *pRemoteMedium);
6074HRESULT CALLBACK IDataObject_GetDataHere_Proxy(
6075 IDataObject* This,
6076 FORMATETC *pformatetc,
6077 STGMEDIUM *pmedium);
6078HRESULT __RPC_STUB IDataObject_GetDataHere_Stub(
6079 IDataObject* This,
6080 FORMATETC *pformatetc,
6081 STGMEDIUM *pRemoteMedium);
6082HRESULT CALLBACK IDataObject_SetData_Proxy(
6083 IDataObject* This,
6084 FORMATETC *pformatetc,
6085 STGMEDIUM *pmedium,
6086 BOOL fRelease);
6087HRESULT __RPC_STUB IDataObject_SetData_Stub(
6088 IDataObject* This,
6089 FORMATETC *pformatetc,
6090 FLAG_STGMEDIUM *pmedium,
6091 BOOL fRelease);
6092
6093#endif /* __IDataObject_INTERFACE_DEFINED__ */
6094
6095#ifndef __IDataAdviseHolder_FWD_DEFINED__
6096#define __IDataAdviseHolder_FWD_DEFINED__
6097typedef interface IDataAdviseHolder IDataAdviseHolder;
6098#endif
6099
6100typedef IDataAdviseHolder *LPDATAADVISEHOLDER;
6101/*****************************************************************************
6102 * IDataAdviseHolder interface
6103 */
6104#ifndef __IDataAdviseHolder_INTERFACE_DEFINED__
6105#define __IDataAdviseHolder_INTERFACE_DEFINED__
6106
6107DEFINE_GUID(IID_IDataAdviseHolder, 0x00000110, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
6108#if defined(__cplusplus) && !defined(CINTERFACE)
6109interface IDataAdviseHolder : public IUnknown
6110{
6111 virtual HRESULT STDMETHODCALLTYPE Advise(
6112 IDataObject *pDataObject,
6113 FORMATETC *pFetc,
6114 DWORD advf,
6115 IAdviseSink *pAdvise,
6116 DWORD *pdwConnection) = 0;
6117
6118 virtual HRESULT STDMETHODCALLTYPE Unadvise(
6119 DWORD dwConnection) = 0;
6120
6121 virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
6122 IEnumSTATDATA **ppenumAdvise) = 0;
6123
6124 virtual HRESULT STDMETHODCALLTYPE SendOnDataChange(
6125 IDataObject *pDataObject,
6126 DWORD dwReserved,
6127 DWORD advf) = 0;
6128
6129};
6130#else
6131typedef struct IDataAdviseHolderVtbl {
6132 BEGIN_INTERFACE
6133
6134 /*** IUnknown methods ***/
6135 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6136 IDataAdviseHolder* This,
6137 REFIID riid,
6138 void **ppvObject);
6139
6140 ULONG (STDMETHODCALLTYPE *AddRef)(
6141 IDataAdviseHolder* This);
6142
6143 ULONG (STDMETHODCALLTYPE *Release)(
6144 IDataAdviseHolder* This);
6145
6146 /*** IDataAdviseHolder methods ***/
6147 HRESULT (STDMETHODCALLTYPE *Advise)(
6148 IDataAdviseHolder* This,
6149 IDataObject *pDataObject,
6150 FORMATETC *pFetc,
6151 DWORD advf,
6152 IAdviseSink *pAdvise,
6153 DWORD *pdwConnection);
6154
6155 HRESULT (STDMETHODCALLTYPE *Unadvise)(
6156 IDataAdviseHolder* This,
6157 DWORD dwConnection);
6158
6159 HRESULT (STDMETHODCALLTYPE *EnumAdvise)(
6160 IDataAdviseHolder* This,
6161 IEnumSTATDATA **ppenumAdvise);
6162
6163 HRESULT (STDMETHODCALLTYPE *SendOnDataChange)(
6164 IDataAdviseHolder* This,
6165 IDataObject *pDataObject,
6166 DWORD dwReserved,
6167 DWORD advf);
6168
6169 END_INTERFACE
6170} IDataAdviseHolderVtbl;
6171interface IDataAdviseHolder {
6172 CONST_VTBL IDataAdviseHolderVtbl* lpVtbl;
6173};
6174
6175#ifdef COBJMACROS
6176/*** IUnknown methods ***/
6177#define IDataAdviseHolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6178#define IDataAdviseHolder_AddRef(This) (This)->lpVtbl->AddRef(This)
6179#define IDataAdviseHolder_Release(This) (This)->lpVtbl->Release(This)
6180/*** IDataAdviseHolder methods ***/
6181#define IDataAdviseHolder_Advise(This,pDataObject,pFetc,advf,pAdvise,pdwConnection) (This)->lpVtbl->Advise(This,pDataObject,pFetc,advf,pAdvise,pdwConnection)
6182#define IDataAdviseHolder_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection)
6183#define IDataAdviseHolder_EnumAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumAdvise(This,ppenumAdvise)
6184#define IDataAdviseHolder_SendOnDataChange(This,pDataObject,dwReserved,advf) (This)->lpVtbl->SendOnDataChange(This,pDataObject,dwReserved,advf)
6185#endif
6186
6187#endif
6188
6189HRESULT STDMETHODCALLTYPE IDataAdviseHolder_Advise_Proxy(
6190 IDataAdviseHolder* This,
6191 IDataObject *pDataObject,
6192 FORMATETC *pFetc,
6193 DWORD advf,
6194 IAdviseSink *pAdvise,
6195 DWORD *pdwConnection);
6196void __RPC_STUB IDataAdviseHolder_Advise_Stub(
6197 IRpcStubBuffer* This,
6198 IRpcChannelBuffer* pRpcChannelBuffer,
6199 PRPC_MESSAGE pRpcMessage,
6200 DWORD* pdwStubPhase);
6201HRESULT STDMETHODCALLTYPE IDataAdviseHolder_Unadvise_Proxy(
6202 IDataAdviseHolder* This,
6203 DWORD dwConnection);
6204void __RPC_STUB IDataAdviseHolder_Unadvise_Stub(
6205 IRpcStubBuffer* This,
6206 IRpcChannelBuffer* pRpcChannelBuffer,
6207 PRPC_MESSAGE pRpcMessage,
6208 DWORD* pdwStubPhase);
6209HRESULT STDMETHODCALLTYPE IDataAdviseHolder_EnumAdvise_Proxy(
6210 IDataAdviseHolder* This,
6211 IEnumSTATDATA **ppenumAdvise);
6212void __RPC_STUB IDataAdviseHolder_EnumAdvise_Stub(
6213 IRpcStubBuffer* This,
6214 IRpcChannelBuffer* pRpcChannelBuffer,
6215 PRPC_MESSAGE pRpcMessage,
6216 DWORD* pdwStubPhase);
6217HRESULT STDMETHODCALLTYPE IDataAdviseHolder_SendOnDataChange_Proxy(
6218 IDataAdviseHolder* This,
6219 IDataObject *pDataObject,
6220 DWORD dwReserved,
6221 DWORD advf);
6222void __RPC_STUB IDataAdviseHolder_SendOnDataChange_Stub(
6223 IRpcStubBuffer* This,
6224 IRpcChannelBuffer* pRpcChannelBuffer,
6225 PRPC_MESSAGE pRpcMessage,
6226 DWORD* pdwStubPhase);
6227
6228#endif /* __IDataAdviseHolder_INTERFACE_DEFINED__ */
6229
6230#ifndef __IMessageFilter_FWD_DEFINED__
6231#define __IMessageFilter_FWD_DEFINED__
6232typedef interface IMessageFilter IMessageFilter;
6233#endif
6234
6235typedef IMessageFilter *LPMESSAGEFILTER;
6236typedef enum tagCALLTYPE {
6237 CALLTYPE_TOPLEVEL = 1,
6238 CALLTYPE_NESTED = 2,
6239 CALLTYPE_ASYNC = 3,
6240 CALLTYPE_TOPLEVEL_CALLPENDING = 4,
6241 CALLTYPE_ASYNC_CALLPENDING = 5
6242} CALLTYPE;
6243typedef enum tagSERVERCALL {
6244 SERVERCALL_ISHANDLED = 0,
6245 SERVERCALL_REJECTED = 1,
6246 SERVERCALL_RETRYLATER = 2
6247} SERVERCALL;
6248typedef enum tagPENDINGTYPE {
6249 PENDINGTYPE_TOPLEVEL = 1,
6250 PENDINGTYPE_NESTED = 2
6251} PENDINGTYPE;
6252typedef enum tagPENDINGMSG {
6253 PENDINGMSG_CANCELCALL = 0,
6254 PENDINGMSG_WAITNOPROCESS = 1,
6255 PENDINGMSG_WAITDEFPROCESS = 2
6256} PENDINGMSG;
6257typedef struct tagINTERFACEINFO {
6258 IUnknown *pUnk;
6259 IID iid;
6260 WORD wMethod;
6261} INTERFACEINFO;
6262typedef struct tagINTERFACEINFO *LPINTERFACEINFO;
6263/*****************************************************************************
6264 * IMessageFilter interface
6265 */
6266#ifndef __IMessageFilter_INTERFACE_DEFINED__
6267#define __IMessageFilter_INTERFACE_DEFINED__
6268
6269DEFINE_GUID(IID_IMessageFilter, 0x00000016, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
6270#if defined(__cplusplus) && !defined(CINTERFACE)
6271interface IMessageFilter : public IUnknown
6272{
6273 virtual DWORD STDMETHODCALLTYPE HandleInComingCall(
6274 DWORD dwCallType,
6275 HTASK htaskCaller,
6276 DWORD dwTickCount,
6277 LPINTERFACEINFO lpInterfaceInfo) = 0;
6278
6279 virtual DWORD STDMETHODCALLTYPE RetryRejectedCall(
6280 HTASK htaskCallee,
6281 DWORD dwTickCount,
6282 DWORD dwRejectType) = 0;
6283
6284 virtual DWORD STDMETHODCALLTYPE MessagePending(
6285 HTASK htaskCallee,
6286 DWORD dwTickCount,
6287 DWORD dwPendingType) = 0;
6288
6289};
6290#else
6291typedef struct IMessageFilterVtbl {
6292 BEGIN_INTERFACE
6293
6294 /*** IUnknown methods ***/
6295 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6296 IMessageFilter* This,
6297 REFIID riid,
6298 void **ppvObject);
6299
6300 ULONG (STDMETHODCALLTYPE *AddRef)(
6301 IMessageFilter* This);
6302
6303 ULONG (STDMETHODCALLTYPE *Release)(
6304 IMessageFilter* This);
6305
6306 /*** IMessageFilter methods ***/
6307 DWORD (STDMETHODCALLTYPE *HandleInComingCall)(
6308 IMessageFilter* This,
6309 DWORD dwCallType,
6310 HTASK htaskCaller,
6311 DWORD dwTickCount,
6312 LPINTERFACEINFO lpInterfaceInfo);
6313
6314 DWORD (STDMETHODCALLTYPE *RetryRejectedCall)(
6315 IMessageFilter* This,
6316 HTASK htaskCallee,
6317 DWORD dwTickCount,
6318 DWORD dwRejectType);
6319
6320 DWORD (STDMETHODCALLTYPE *MessagePending)(
6321 IMessageFilter* This,
6322 HTASK htaskCallee,
6323 DWORD dwTickCount,
6324 DWORD dwPendingType);
6325
6326 END_INTERFACE
6327} IMessageFilterVtbl;
6328interface IMessageFilter {
6329 CONST_VTBL IMessageFilterVtbl* lpVtbl;
6330};
6331
6332#ifdef COBJMACROS
6333/*** IUnknown methods ***/
6334#define IMessageFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6335#define IMessageFilter_AddRef(This) (This)->lpVtbl->AddRef(This)
6336#define IMessageFilter_Release(This) (This)->lpVtbl->Release(This)
6337/*** IMessageFilter methods ***/
6338#define IMessageFilter_HandleInComingCall(This,dwCallType,htaskCaller,dwTickCount,lpInterfaceInfo) (This)->lpVtbl->HandleInComingCall(This,dwCallType,htaskCaller,dwTickCount,lpInterfaceInfo)
6339#define IMessageFilter_RetryRejectedCall(This,htaskCallee,dwTickCount,dwRejectType) (This)->lpVtbl->RetryRejectedCall(This,htaskCallee,dwTickCount,dwRejectType)
6340#define IMessageFilter_MessagePending(This,htaskCallee,dwTickCount,dwPendingType) (This)->lpVtbl->MessagePending(This,htaskCallee,dwTickCount,dwPendingType)
6341#endif
6342
6343#endif
6344
6345DWORD STDMETHODCALLTYPE IMessageFilter_HandleInComingCall_Proxy(
6346 IMessageFilter* This,
6347 DWORD dwCallType,
6348 HTASK htaskCaller,
6349 DWORD dwTickCount,
6350 LPINTERFACEINFO lpInterfaceInfo);
6351void __RPC_STUB IMessageFilter_HandleInComingCall_Stub(
6352 IRpcStubBuffer* This,
6353 IRpcChannelBuffer* pRpcChannelBuffer,
6354 PRPC_MESSAGE pRpcMessage,
6355 DWORD* pdwStubPhase);
6356DWORD STDMETHODCALLTYPE IMessageFilter_RetryRejectedCall_Proxy(
6357 IMessageFilter* This,
6358 HTASK htaskCallee,
6359 DWORD dwTickCount,
6360 DWORD dwRejectType);
6361void __RPC_STUB IMessageFilter_RetryRejectedCall_Stub(
6362 IRpcStubBuffer* This,
6363 IRpcChannelBuffer* pRpcChannelBuffer,
6364 PRPC_MESSAGE pRpcMessage,
6365 DWORD* pdwStubPhase);
6366DWORD STDMETHODCALLTYPE IMessageFilter_MessagePending_Proxy(
6367 IMessageFilter* This,
6368 HTASK htaskCallee,
6369 DWORD dwTickCount,
6370 DWORD dwPendingType);
6371void __RPC_STUB IMessageFilter_MessagePending_Stub(
6372 IRpcStubBuffer* This,
6373 IRpcChannelBuffer* pRpcChannelBuffer,
6374 PRPC_MESSAGE pRpcMessage,
6375 DWORD* pdwStubPhase);
6376
6377#endif /* __IMessageFilter_INTERFACE_DEFINED__ */
6378
6379#ifndef __IRpcChannelBuffer_FWD_DEFINED__
6380#define __IRpcChannelBuffer_FWD_DEFINED__
6381typedef interface IRpcChannelBuffer IRpcChannelBuffer;
6382#endif
6383
6384typedef IRpcChannelBuffer *LPRPCCHANNELBUFFER;
6385typedef unsigned long RPCOLEDATAREP;
6386typedef struct tagRPCOLEMESSAGE {
6387 void *reserved1;
6388 RPCOLEDATAREP dataRepresentation;
6389 void *Buffer;
6390 ULONG cbBuffer;
6391 ULONG iMethod;
6392 void * reserved2[5];
6393 ULONG rpcFlags;
6394} RPCOLEMESSAGE;
6395typedef RPCOLEMESSAGE *PRPCOLEMESSAGE;
6396/*****************************************************************************
6397 * IRpcChannelBuffer interface
6398 */
6399#ifndef __IRpcChannelBuffer_INTERFACE_DEFINED__
6400#define __IRpcChannelBuffer_INTERFACE_DEFINED__
6401
6402DEFINE_GUID(IID_IRpcChannelBuffer, 0xd5f56b60, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a);
6403#if defined(__cplusplus) && !defined(CINTERFACE)
6404interface IRpcChannelBuffer : public IUnknown
6405{
6406 virtual HRESULT STDMETHODCALLTYPE GetBuffer(
6407 RPCOLEMESSAGE *pMessage,
6408 REFIID riid) = 0;
6409
6410 virtual HRESULT STDMETHODCALLTYPE SendReceive(
6411 RPCOLEMESSAGE *pMessage,
6412 ULONG *pStatus) = 0;
6413
6414 virtual HRESULT STDMETHODCALLTYPE FreeBuffer(
6415 RPCOLEMESSAGE *pMessage) = 0;
6416
6417 virtual HRESULT STDMETHODCALLTYPE GetDestCtx(
6418 DWORD *pdwDestContext,
6419 void **ppvDestContext) = 0;
6420
6421 virtual HRESULT STDMETHODCALLTYPE IsConnected(
6422 ) = 0;
6423
6424};
6425#else
6426typedef struct IRpcChannelBufferVtbl {
6427 BEGIN_INTERFACE
6428
6429 /*** IUnknown methods ***/
6430 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6431 IRpcChannelBuffer* This,
6432 REFIID riid,
6433 void **ppvObject);
6434
6435 ULONG (STDMETHODCALLTYPE *AddRef)(
6436 IRpcChannelBuffer* This);
6437
6438 ULONG (STDMETHODCALLTYPE *Release)(
6439 IRpcChannelBuffer* This);
6440
6441 /*** IRpcChannelBuffer methods ***/
6442 HRESULT (STDMETHODCALLTYPE *GetBuffer)(
6443 IRpcChannelBuffer* This,
6444 RPCOLEMESSAGE *pMessage,
6445 REFIID riid);
6446
6447 HRESULT (STDMETHODCALLTYPE *SendReceive)(
6448 IRpcChannelBuffer* This,
6449 RPCOLEMESSAGE *pMessage,
6450 ULONG *pStatus);
6451
6452 HRESULT (STDMETHODCALLTYPE *FreeBuffer)(
6453 IRpcChannelBuffer* This,
6454 RPCOLEMESSAGE *pMessage);
6455
6456 HRESULT (STDMETHODCALLTYPE *GetDestCtx)(
6457 IRpcChannelBuffer* This,
6458 DWORD *pdwDestContext,
6459 void **ppvDestContext);
6460
6461 HRESULT (STDMETHODCALLTYPE *IsConnected)(
6462 IRpcChannelBuffer* This);
6463
6464 END_INTERFACE
6465} IRpcChannelBufferVtbl;
6466interface IRpcChannelBuffer {
6467 CONST_VTBL IRpcChannelBufferVtbl* lpVtbl;
6468};
6469
6470#ifdef COBJMACROS
6471/*** IUnknown methods ***/
6472#define IRpcChannelBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6473#define IRpcChannelBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
6474#define IRpcChannelBuffer_Release(This) (This)->lpVtbl->Release(This)
6475/*** IRpcChannelBuffer methods ***/
6476#define IRpcChannelBuffer_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid)
6477#define IRpcChannelBuffer_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus)
6478#define IRpcChannelBuffer_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage)
6479#define IRpcChannelBuffer_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext)
6480#define IRpcChannelBuffer_IsConnected(This) (This)->lpVtbl->IsConnected(This)
6481#endif
6482
6483#endif
6484
6485HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetBuffer_Proxy(
6486 IRpcChannelBuffer* This,
6487 RPCOLEMESSAGE *pMessage,
6488 REFIID riid);
6489void __RPC_STUB IRpcChannelBuffer_GetBuffer_Stub(
6490 IRpcStubBuffer* This,
6491 IRpcChannelBuffer* pRpcChannelBuffer,
6492 PRPC_MESSAGE pRpcMessage,
6493 DWORD* pdwStubPhase);
6494HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_SendReceive_Proxy(
6495 IRpcChannelBuffer* This,
6496 RPCOLEMESSAGE *pMessage,
6497 ULONG *pStatus);
6498void __RPC_STUB IRpcChannelBuffer_SendReceive_Stub(
6499 IRpcStubBuffer* This,
6500 IRpcChannelBuffer* pRpcChannelBuffer,
6501 PRPC_MESSAGE pRpcMessage,
6502 DWORD* pdwStubPhase);
6503HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_FreeBuffer_Proxy(
6504 IRpcChannelBuffer* This,
6505 RPCOLEMESSAGE *pMessage);
6506void __RPC_STUB IRpcChannelBuffer_FreeBuffer_Stub(
6507 IRpcStubBuffer* This,
6508 IRpcChannelBuffer* pRpcChannelBuffer,
6509 PRPC_MESSAGE pRpcMessage,
6510 DWORD* pdwStubPhase);
6511HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetDestCtx_Proxy(
6512 IRpcChannelBuffer* This,
6513 DWORD *pdwDestContext,
6514 void **ppvDestContext);
6515void __RPC_STUB IRpcChannelBuffer_GetDestCtx_Stub(
6516 IRpcStubBuffer* This,
6517 IRpcChannelBuffer* pRpcChannelBuffer,
6518 PRPC_MESSAGE pRpcMessage,
6519 DWORD* pdwStubPhase);
6520HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_IsConnected_Proxy(
6521 IRpcChannelBuffer* This);
6522void __RPC_STUB IRpcChannelBuffer_IsConnected_Stub(
6523 IRpcStubBuffer* This,
6524 IRpcChannelBuffer* pRpcChannelBuffer,
6525 PRPC_MESSAGE pRpcMessage,
6526 DWORD* pdwStubPhase);
6527
6528#endif /* __IRpcChannelBuffer_INTERFACE_DEFINED__ */
6529
6530#ifndef __IRpcChannelBuffer2_FWD_DEFINED__
6531#define __IRpcChannelBuffer2_FWD_DEFINED__
6532typedef interface IRpcChannelBuffer2 IRpcChannelBuffer2;
6533#endif
6534
6535typedef IRpcChannelBuffer2 *LPRPCCHANNELBUFFER2;
6536/*****************************************************************************
6537 * IRpcChannelBuffer2 interface
6538 */
6539#ifndef __IRpcChannelBuffer2_INTERFACE_DEFINED__
6540#define __IRpcChannelBuffer2_INTERFACE_DEFINED__
6541
6542DEFINE_GUID(IID_IRpcChannelBuffer2, 0x594f31d0, 0x7f19, 0x11d0, 0xb1,0x94, 0x00,0xa0,0xc9,0x0d,0xc8,0xbf);
6543#if defined(__cplusplus) && !defined(CINTERFACE)
6544interface IRpcChannelBuffer2 : public IRpcChannelBuffer
6545{
6546 virtual HRESULT STDMETHODCALLTYPE GetProtocolVersion(
6547 DWORD *pdwVersion) = 0;
6548
6549};
6550#else
6551typedef struct IRpcChannelBuffer2Vtbl {
6552 BEGIN_INTERFACE
6553
6554 /*** IUnknown methods ***/
6555 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6556 IRpcChannelBuffer2* This,
6557 REFIID riid,
6558 void **ppvObject);
6559
6560 ULONG (STDMETHODCALLTYPE *AddRef)(
6561 IRpcChannelBuffer2* This);
6562
6563 ULONG (STDMETHODCALLTYPE *Release)(
6564 IRpcChannelBuffer2* This);
6565
6566 /*** IRpcChannelBuffer methods ***/
6567 HRESULT (STDMETHODCALLTYPE *GetBuffer)(
6568 IRpcChannelBuffer2* This,
6569 RPCOLEMESSAGE *pMessage,
6570 REFIID riid);
6571
6572 HRESULT (STDMETHODCALLTYPE *SendReceive)(
6573 IRpcChannelBuffer2* This,
6574 RPCOLEMESSAGE *pMessage,
6575 ULONG *pStatus);
6576
6577 HRESULT (STDMETHODCALLTYPE *FreeBuffer)(
6578 IRpcChannelBuffer2* This,
6579 RPCOLEMESSAGE *pMessage);
6580
6581 HRESULT (STDMETHODCALLTYPE *GetDestCtx)(
6582 IRpcChannelBuffer2* This,
6583 DWORD *pdwDestContext,
6584 void **ppvDestContext);
6585
6586 HRESULT (STDMETHODCALLTYPE *IsConnected)(
6587 IRpcChannelBuffer2* This);
6588
6589 /*** IRpcChannelBuffer2 methods ***/
6590 HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)(
6591 IRpcChannelBuffer2* This,
6592 DWORD *pdwVersion);
6593
6594 END_INTERFACE
6595} IRpcChannelBuffer2Vtbl;
6596interface IRpcChannelBuffer2 {
6597 CONST_VTBL IRpcChannelBuffer2Vtbl* lpVtbl;
6598};
6599
6600#ifdef COBJMACROS
6601/*** IUnknown methods ***/
6602#define IRpcChannelBuffer2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6603#define IRpcChannelBuffer2_AddRef(This) (This)->lpVtbl->AddRef(This)
6604#define IRpcChannelBuffer2_Release(This) (This)->lpVtbl->Release(This)
6605/*** IRpcChannelBuffer methods ***/
6606#define IRpcChannelBuffer2_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid)
6607#define IRpcChannelBuffer2_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus)
6608#define IRpcChannelBuffer2_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage)
6609#define IRpcChannelBuffer2_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext)
6610#define IRpcChannelBuffer2_IsConnected(This) (This)->lpVtbl->IsConnected(This)
6611/*** IRpcChannelBuffer2 methods ***/
6612#define IRpcChannelBuffer2_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion)
6613#endif
6614
6615#endif
6616
6617HRESULT STDMETHODCALLTYPE IRpcChannelBuffer2_GetProtocolVersion_Proxy(
6618 IRpcChannelBuffer2* This,
6619 DWORD *pdwVersion);
6620void __RPC_STUB IRpcChannelBuffer2_GetProtocolVersion_Stub(
6621 IRpcStubBuffer* This,
6622 IRpcChannelBuffer* pRpcChannelBuffer,
6623 PRPC_MESSAGE pRpcMessage,
6624 DWORD* pdwStubPhase);
6625
6626#endif /* __IRpcChannelBuffer2_INTERFACE_DEFINED__ */
6627
6628#ifndef __IRpcChannelBuffer3_FWD_DEFINED__
6629#define __IRpcChannelBuffer3_FWD_DEFINED__
6630typedef interface IRpcChannelBuffer3 IRpcChannelBuffer3;
6631#endif
6632
6633typedef IRpcChannelBuffer3 *LPRPCCHANNELBUFFER3;
6634/*****************************************************************************
6635 * IRpcChannelBuffer3 interface
6636 */
6637#ifndef __IRpcChannelBuffer3_INTERFACE_DEFINED__
6638#define __IRpcChannelBuffer3_INTERFACE_DEFINED__
6639
6640DEFINE_GUID(IID_IRpcChannelBuffer3, 0x25b15600, 0x0115, 0x11d0, 0xbf,0x0d, 0x00,0xaa,0x00,0xb8,0xdf,0xd2);
6641#if defined(__cplusplus) && !defined(CINTERFACE)
6642interface IRpcChannelBuffer3 : public IRpcChannelBuffer2
6643{
6644 virtual HRESULT STDMETHODCALLTYPE Send(
6645 RPCOLEMESSAGE *pMsg,
6646 ULONG *pulStatus) = 0;
6647
6648 virtual HRESULT STDMETHODCALLTYPE Receive(
6649 RPCOLEMESSAGE *pMsg,
6650 ULONG ulSize,
6651 ULONG *pulStatus) = 0;
6652
6653 virtual HRESULT STDMETHODCALLTYPE Cancel(
6654 RPCOLEMESSAGE *pMsg) = 0;
6655
6656 virtual HRESULT STDMETHODCALLTYPE GetCallContext(
6657 RPCOLEMESSAGE *pMsg,
6658 REFIID riid,
6659 void **pInterface) = 0;
6660
6661 virtual HRESULT STDMETHODCALLTYPE GetDestCtxEx(
6662 RPCOLEMESSAGE *pMsg,
6663 DWORD *pdwDestContext,
6664 void **ppvDestContext) = 0;
6665
6666 virtual HRESULT STDMETHODCALLTYPE GetState(
6667 RPCOLEMESSAGE *pMsg,
6668 DWORD *pState) = 0;
6669
6670 virtual HRESULT STDMETHODCALLTYPE RegisterAsync(
6671 RPCOLEMESSAGE *pMsg,
6672 IAsyncManager *pAsyncMgr) = 0;
6673
6674};
6675#else
6676typedef struct IRpcChannelBuffer3Vtbl {
6677 BEGIN_INTERFACE
6678
6679 /*** IUnknown methods ***/
6680 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6681 IRpcChannelBuffer3* This,
6682 REFIID riid,
6683 void **ppvObject);
6684
6685 ULONG (STDMETHODCALLTYPE *AddRef)(
6686 IRpcChannelBuffer3* This);
6687
6688 ULONG (STDMETHODCALLTYPE *Release)(
6689 IRpcChannelBuffer3* This);
6690
6691 /*** IRpcChannelBuffer methods ***/
6692 HRESULT (STDMETHODCALLTYPE *GetBuffer)(
6693 IRpcChannelBuffer3* This,
6694 RPCOLEMESSAGE *pMessage,
6695 REFIID riid);
6696
6697 HRESULT (STDMETHODCALLTYPE *SendReceive)(
6698 IRpcChannelBuffer3* This,
6699 RPCOLEMESSAGE *pMessage,
6700 ULONG *pStatus);
6701
6702 HRESULT (STDMETHODCALLTYPE *FreeBuffer)(
6703 IRpcChannelBuffer3* This,
6704 RPCOLEMESSAGE *pMessage);
6705
6706 HRESULT (STDMETHODCALLTYPE *GetDestCtx)(
6707 IRpcChannelBuffer3* This,
6708 DWORD *pdwDestContext,
6709 void **ppvDestContext);
6710
6711 HRESULT (STDMETHODCALLTYPE *IsConnected)(
6712 IRpcChannelBuffer3* This);
6713
6714 /*** IRpcChannelBuffer2 methods ***/
6715 HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)(
6716 IRpcChannelBuffer3* This,
6717 DWORD *pdwVersion);
6718
6719 /*** IRpcChannelBuffer3 methods ***/
6720 HRESULT (STDMETHODCALLTYPE *Send)(
6721 IRpcChannelBuffer3* This,
6722 RPCOLEMESSAGE *pMsg,
6723 ULONG *pulStatus);
6724
6725 HRESULT (STDMETHODCALLTYPE *Receive)(
6726 IRpcChannelBuffer3* This,
6727 RPCOLEMESSAGE *pMsg,
6728 ULONG ulSize,
6729 ULONG *pulStatus);
6730
6731 HRESULT (STDMETHODCALLTYPE *Cancel)(
6732 IRpcChannelBuffer3* This,
6733 RPCOLEMESSAGE *pMsg);
6734
6735 HRESULT (STDMETHODCALLTYPE *GetCallContext)(
6736 IRpcChannelBuffer3* This,
6737 RPCOLEMESSAGE *pMsg,
6738 REFIID riid,
6739 void **pInterface);
6740
6741 HRESULT (STDMETHODCALLTYPE *GetDestCtxEx)(
6742 IRpcChannelBuffer3* This,
6743 RPCOLEMESSAGE *pMsg,
6744 DWORD *pdwDestContext,
6745 void **ppvDestContext);
6746
6747 HRESULT (STDMETHODCALLTYPE *GetState)(
6748 IRpcChannelBuffer3* This,
6749 RPCOLEMESSAGE *pMsg,
6750 DWORD *pState);
6751
6752 HRESULT (STDMETHODCALLTYPE *RegisterAsync)(
6753 IRpcChannelBuffer3* This,
6754 RPCOLEMESSAGE *pMsg,
6755 IAsyncManager *pAsyncMgr);
6756
6757 END_INTERFACE
6758} IRpcChannelBuffer3Vtbl;
6759interface IRpcChannelBuffer3 {
6760 CONST_VTBL IRpcChannelBuffer3Vtbl* lpVtbl;
6761};
6762
6763#ifdef COBJMACROS
6764/*** IUnknown methods ***/
6765#define IRpcChannelBuffer3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6766#define IRpcChannelBuffer3_AddRef(This) (This)->lpVtbl->AddRef(This)
6767#define IRpcChannelBuffer3_Release(This) (This)->lpVtbl->Release(This)
6768/*** IRpcChannelBuffer methods ***/
6769#define IRpcChannelBuffer3_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid)
6770#define IRpcChannelBuffer3_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus)
6771#define IRpcChannelBuffer3_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage)
6772#define IRpcChannelBuffer3_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext)
6773#define IRpcChannelBuffer3_IsConnected(This) (This)->lpVtbl->IsConnected(This)
6774/*** IRpcChannelBuffer2 methods ***/
6775#define IRpcChannelBuffer3_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion)
6776/*** IRpcChannelBuffer3 methods ***/
6777#define IRpcChannelBuffer3_Send(This,pMsg,pulStatus) (This)->lpVtbl->Send(This,pMsg,pulStatus)
6778#define IRpcChannelBuffer3_Receive(This,pMsg,ulSize,pulStatus) (This)->lpVtbl->Receive(This,pMsg,ulSize,pulStatus)
6779#define IRpcChannelBuffer3_Cancel(This,pMsg) (This)->lpVtbl->Cancel(This,pMsg)
6780#define IRpcChannelBuffer3_GetCallContext(This,pMsg,riid,pInterface) (This)->lpVtbl->GetCallContext(This,pMsg,riid,pInterface)
6781#define IRpcChannelBuffer3_GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext)
6782#define IRpcChannelBuffer3_GetState(This,pMsg,pState) (This)->lpVtbl->GetState(This,pMsg,pState)
6783#define IRpcChannelBuffer3_RegisterAsync(This,pMsg,pAsyncMgr) (This)->lpVtbl->RegisterAsync(This,pMsg,pAsyncMgr)
6784#endif
6785
6786#endif
6787
6788HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_Send_Proxy(
6789 IRpcChannelBuffer3* This,
6790 RPCOLEMESSAGE *pMsg,
6791 ULONG *pulStatus);
6792void __RPC_STUB IRpcChannelBuffer3_Send_Stub(
6793 IRpcStubBuffer* This,
6794 IRpcChannelBuffer* pRpcChannelBuffer,
6795 PRPC_MESSAGE pRpcMessage,
6796 DWORD* pdwStubPhase);
6797HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_Receive_Proxy(
6798 IRpcChannelBuffer3* This,
6799 RPCOLEMESSAGE *pMsg,
6800 ULONG ulSize,
6801 ULONG *pulStatus);
6802void __RPC_STUB IRpcChannelBuffer3_Receive_Stub(
6803 IRpcStubBuffer* This,
6804 IRpcChannelBuffer* pRpcChannelBuffer,
6805 PRPC_MESSAGE pRpcMessage,
6806 DWORD* pdwStubPhase);
6807HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_Cancel_Proxy(
6808 IRpcChannelBuffer3* This,
6809 RPCOLEMESSAGE *pMsg);
6810void __RPC_STUB IRpcChannelBuffer3_Cancel_Stub(
6811 IRpcStubBuffer* This,
6812 IRpcChannelBuffer* pRpcChannelBuffer,
6813 PRPC_MESSAGE pRpcMessage,
6814 DWORD* pdwStubPhase);
6815HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_GetCallContext_Proxy(
6816 IRpcChannelBuffer3* This,
6817 RPCOLEMESSAGE *pMsg,
6818 REFIID riid,
6819 void **pInterface);
6820void __RPC_STUB IRpcChannelBuffer3_GetCallContext_Stub(
6821 IRpcStubBuffer* This,
6822 IRpcChannelBuffer* pRpcChannelBuffer,
6823 PRPC_MESSAGE pRpcMessage,
6824 DWORD* pdwStubPhase);
6825HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_GetDestCtxEx_Proxy(
6826 IRpcChannelBuffer3* This,
6827 RPCOLEMESSAGE *pMsg,
6828 DWORD *pdwDestContext,
6829 void **ppvDestContext);
6830void __RPC_STUB IRpcChannelBuffer3_GetDestCtxEx_Stub(
6831 IRpcStubBuffer* This,
6832 IRpcChannelBuffer* pRpcChannelBuffer,
6833 PRPC_MESSAGE pRpcMessage,
6834 DWORD* pdwStubPhase);
6835HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_GetState_Proxy(
6836 IRpcChannelBuffer3* This,
6837 RPCOLEMESSAGE *pMsg,
6838 DWORD *pState);
6839void __RPC_STUB IRpcChannelBuffer3_GetState_Stub(
6840 IRpcStubBuffer* This,
6841 IRpcChannelBuffer* pRpcChannelBuffer,
6842 PRPC_MESSAGE pRpcMessage,
6843 DWORD* pdwStubPhase);
6844HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_RegisterAsync_Proxy(
6845 IRpcChannelBuffer3* This,
6846 RPCOLEMESSAGE *pMsg,
6847 IAsyncManager *pAsyncMgr);
6848void __RPC_STUB IRpcChannelBuffer3_RegisterAsync_Stub(
6849 IRpcStubBuffer* This,
6850 IRpcChannelBuffer* pRpcChannelBuffer,
6851 PRPC_MESSAGE pRpcMessage,
6852 DWORD* pdwStubPhase);
6853
6854#endif /* __IRpcChannelBuffer3_INTERFACE_DEFINED__ */
6855
6856#ifndef __IAsyncRpcChannelBuffer_FWD_DEFINED__
6857#define __IAsyncRpcChannelBuffer_FWD_DEFINED__
6858typedef interface IAsyncRpcChannelBuffer IAsyncRpcChannelBuffer;
6859#endif
6860
6861/*****************************************************************************
6862 * IAsyncRpcChannelBuffer interface
6863 */
6864#ifndef __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__
6865#define __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__
6866
6867DEFINE_GUID(IID_IAsyncRpcChannelBuffer, 0xa5029fb6, 0x3c34, 0x11d1, 0x9c,0x99, 0x00,0xc0,0x4f,0xb9,0x98,0xaa);
6868#if defined(__cplusplus) && !defined(CINTERFACE)
6869interface IAsyncRpcChannelBuffer : public IRpcChannelBuffer2
6870{
6871 virtual HRESULT STDMETHODCALLTYPE Send(
6872 RPCOLEMESSAGE *pMsg,
6873 ISynchronize *pSync,
6874 ULONG *pulStatus) = 0;
6875
6876 virtual HRESULT STDMETHODCALLTYPE Receive(
6877 RPCOLEMESSAGE *pMsg,
6878 ULONG *pulStatus) = 0;
6879
6880 virtual HRESULT STDMETHODCALLTYPE GetDestCtxEx(
6881 RPCOLEMESSAGE *pMsg,
6882 DWORD *pdwDestContext,
6883 void **ppvDestContext) = 0;
6884
6885};
6886#else
6887typedef struct IAsyncRpcChannelBufferVtbl {
6888 BEGIN_INTERFACE
6889
6890 /*** IUnknown methods ***/
6891 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
6892 IAsyncRpcChannelBuffer* This,
6893 REFIID riid,
6894 void **ppvObject);
6895
6896 ULONG (STDMETHODCALLTYPE *AddRef)(
6897 IAsyncRpcChannelBuffer* This);
6898
6899 ULONG (STDMETHODCALLTYPE *Release)(
6900 IAsyncRpcChannelBuffer* This);
6901
6902 /*** IRpcChannelBuffer methods ***/
6903 HRESULT (STDMETHODCALLTYPE *GetBuffer)(
6904 IAsyncRpcChannelBuffer* This,
6905 RPCOLEMESSAGE *pMessage,
6906 REFIID riid);
6907
6908 HRESULT (STDMETHODCALLTYPE *SendReceive)(
6909 IAsyncRpcChannelBuffer* This,
6910 RPCOLEMESSAGE *pMessage,
6911 ULONG *pStatus);
6912
6913 HRESULT (STDMETHODCALLTYPE *FreeBuffer)(
6914 IAsyncRpcChannelBuffer* This,
6915 RPCOLEMESSAGE *pMessage);
6916
6917 HRESULT (STDMETHODCALLTYPE *GetDestCtx)(
6918 IAsyncRpcChannelBuffer* This,
6919 DWORD *pdwDestContext,
6920 void **ppvDestContext);
6921
6922 HRESULT (STDMETHODCALLTYPE *IsConnected)(
6923 IAsyncRpcChannelBuffer* This);
6924
6925 /*** IRpcChannelBuffer2 methods ***/
6926 HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)(
6927 IAsyncRpcChannelBuffer* This,
6928 DWORD *pdwVersion);
6929
6930 /*** IAsyncRpcChannelBuffer methods ***/
6931 HRESULT (STDMETHODCALLTYPE *Send)(
6932 IAsyncRpcChannelBuffer* This,
6933 RPCOLEMESSAGE *pMsg,
6934 ISynchronize *pSync,
6935 ULONG *pulStatus);
6936
6937 HRESULT (STDMETHODCALLTYPE *Receive)(
6938 IAsyncRpcChannelBuffer* This,
6939 RPCOLEMESSAGE *pMsg,
6940 ULONG *pulStatus);
6941
6942 HRESULT (STDMETHODCALLTYPE *GetDestCtxEx)(
6943 IAsyncRpcChannelBuffer* This,
6944 RPCOLEMESSAGE *pMsg,
6945 DWORD *pdwDestContext,
6946 void **ppvDestContext);
6947
6948 END_INTERFACE
6949} IAsyncRpcChannelBufferVtbl;
6950interface IAsyncRpcChannelBuffer {
6951 CONST_VTBL IAsyncRpcChannelBufferVtbl* lpVtbl;
6952};
6953
6954#ifdef COBJMACROS
6955/*** IUnknown methods ***/
6956#define IAsyncRpcChannelBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
6957#define IAsyncRpcChannelBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
6958#define IAsyncRpcChannelBuffer_Release(This) (This)->lpVtbl->Release(This)
6959/*** IRpcChannelBuffer methods ***/
6960#define IAsyncRpcChannelBuffer_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid)
6961#define IAsyncRpcChannelBuffer_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus)
6962#define IAsyncRpcChannelBuffer_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage)
6963#define IAsyncRpcChannelBuffer_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext)
6964#define IAsyncRpcChannelBuffer_IsConnected(This) (This)->lpVtbl->IsConnected(This)
6965/*** IRpcChannelBuffer2 methods ***/
6966#define IAsyncRpcChannelBuffer_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion)
6967/*** IAsyncRpcChannelBuffer methods ***/
6968#define IAsyncRpcChannelBuffer_Send(This,pMsg,pSync,pulStatus) (This)->lpVtbl->Send(This,pMsg,pSync,pulStatus)
6969#define IAsyncRpcChannelBuffer_Receive(This,pMsg,pulStatus) (This)->lpVtbl->Receive(This,pMsg,pulStatus)
6970#define IAsyncRpcChannelBuffer_GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext)
6971#endif
6972
6973#endif
6974
6975HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_Send_Proxy(
6976 IAsyncRpcChannelBuffer* This,
6977 RPCOLEMESSAGE *pMsg,
6978 ISynchronize *pSync,
6979 ULONG *pulStatus);
6980void __RPC_STUB IAsyncRpcChannelBuffer_Send_Stub(
6981 IRpcStubBuffer* This,
6982 IRpcChannelBuffer* pRpcChannelBuffer,
6983 PRPC_MESSAGE pRpcMessage,
6984 DWORD* pdwStubPhase);
6985HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_Receive_Proxy(
6986 IAsyncRpcChannelBuffer* This,
6987 RPCOLEMESSAGE *pMsg,
6988 ULONG *pulStatus);
6989void __RPC_STUB IAsyncRpcChannelBuffer_Receive_Stub(
6990 IRpcStubBuffer* This,
6991 IRpcChannelBuffer* pRpcChannelBuffer,
6992 PRPC_MESSAGE pRpcMessage,
6993 DWORD* pdwStubPhase);
6994HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_GetDestCtxEx_Proxy(
6995 IAsyncRpcChannelBuffer* This,
6996 RPCOLEMESSAGE *pMsg,
6997 DWORD *pdwDestContext,
6998 void **ppvDestContext);
6999void __RPC_STUB IAsyncRpcChannelBuffer_GetDestCtxEx_Stub(
7000 IRpcStubBuffer* This,
7001 IRpcChannelBuffer* pRpcChannelBuffer,
7002 PRPC_MESSAGE pRpcMessage,
7003 DWORD* pdwStubPhase);
7004
7005#endif /* __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__ */
7006
7007#ifndef __IRpcSyntaxNegotiate_FWD_DEFINED__
7008#define __IRpcSyntaxNegotiate_FWD_DEFINED__
7009typedef interface IRpcSyntaxNegotiate IRpcSyntaxNegotiate;
7010#endif
7011
7012/*****************************************************************************
7013 * IRpcSyntaxNegotiate interface
7014 */
7015#ifndef __IRpcSyntaxNegotiate_INTERFACE_DEFINED__
7016#define __IRpcSyntaxNegotiate_INTERFACE_DEFINED__
7017
7018DEFINE_GUID(IID_IRpcSyntaxNegotiate, 0x58a08519, 0x24c8, 0x4935, 0xb4,0x82, 0x3f,0xd8,0x23,0x33,0x3a,0x4f);
7019#if defined(__cplusplus) && !defined(CINTERFACE)
7020interface IRpcSyntaxNegotiate : public IUnknown
7021{
7022 virtual HRESULT STDMETHODCALLTYPE NegotiateSyntax(
7023 RPCOLEMESSAGE *pMsg) = 0;
7024
7025};
7026#else
7027typedef struct IRpcSyntaxNegotiateVtbl {
7028 BEGIN_INTERFACE
7029
7030 /*** IUnknown methods ***/
7031 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7032 IRpcSyntaxNegotiate* This,
7033 REFIID riid,
7034 void **ppvObject);
7035
7036 ULONG (STDMETHODCALLTYPE *AddRef)(
7037 IRpcSyntaxNegotiate* This);
7038
7039 ULONG (STDMETHODCALLTYPE *Release)(
7040 IRpcSyntaxNegotiate* This);
7041
7042 /*** IRpcSyntaxNegotiate methods ***/
7043 HRESULT (STDMETHODCALLTYPE *NegotiateSyntax)(
7044 IRpcSyntaxNegotiate* This,
7045 RPCOLEMESSAGE *pMsg);
7046
7047 END_INTERFACE
7048} IRpcSyntaxNegotiateVtbl;
7049interface IRpcSyntaxNegotiate {
7050 CONST_VTBL IRpcSyntaxNegotiateVtbl* lpVtbl;
7051};
7052
7053#ifdef COBJMACROS
7054/*** IUnknown methods ***/
7055#define IRpcSyntaxNegotiate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7056#define IRpcSyntaxNegotiate_AddRef(This) (This)->lpVtbl->AddRef(This)
7057#define IRpcSyntaxNegotiate_Release(This) (This)->lpVtbl->Release(This)
7058/*** IRpcSyntaxNegotiate methods ***/
7059#define IRpcSyntaxNegotiate_NegotiateSyntax(This,pMsg) (This)->lpVtbl->NegotiateSyntax(This,pMsg)
7060#endif
7061
7062#endif
7063
7064HRESULT STDMETHODCALLTYPE IRpcSyntaxNegotiate_NegotiateSyntax_Proxy(
7065 IRpcSyntaxNegotiate* This,
7066 RPCOLEMESSAGE *pMsg);
7067void __RPC_STUB IRpcSyntaxNegotiate_NegotiateSyntax_Stub(
7068 IRpcStubBuffer* This,
7069 IRpcChannelBuffer* pRpcChannelBuffer,
7070 PRPC_MESSAGE pRpcMessage,
7071 DWORD* pdwStubPhase);
7072
7073#endif /* __IRpcSyntaxNegotiate_INTERFACE_DEFINED__ */
7074
7075#ifndef __IRpcProxyBuffer_FWD_DEFINED__
7076#define __IRpcProxyBuffer_FWD_DEFINED__
7077typedef interface IRpcProxyBuffer IRpcProxyBuffer;
7078#endif
7079
7080typedef IRpcProxyBuffer *LPRPCPROXYBUFFER;
7081/*****************************************************************************
7082 * IRpcProxyBuffer interface
7083 */
7084#ifndef __IRpcProxyBuffer_INTERFACE_DEFINED__
7085#define __IRpcProxyBuffer_INTERFACE_DEFINED__
7086
7087DEFINE_GUID(IID_IRpcProxyBuffer, 0xd5f56a34, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a);
7088#if defined(__cplusplus) && !defined(CINTERFACE)
7089interface IRpcProxyBuffer : public IUnknown
7090{
7091 virtual HRESULT STDMETHODCALLTYPE Connect(
7092 IRpcChannelBuffer *pRpcChannelBuffer) = 0;
7093
7094 virtual void STDMETHODCALLTYPE Disconnect(
7095 ) = 0;
7096
7097};
7098#else
7099typedef struct IRpcProxyBufferVtbl {
7100 BEGIN_INTERFACE
7101
7102 /*** IUnknown methods ***/
7103 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7104 IRpcProxyBuffer* This,
7105 REFIID riid,
7106 void **ppvObject);
7107
7108 ULONG (STDMETHODCALLTYPE *AddRef)(
7109 IRpcProxyBuffer* This);
7110
7111 ULONG (STDMETHODCALLTYPE *Release)(
7112 IRpcProxyBuffer* This);
7113
7114 /*** IRpcProxyBuffer methods ***/
7115 HRESULT (STDMETHODCALLTYPE *Connect)(
7116 IRpcProxyBuffer* This,
7117 IRpcChannelBuffer *pRpcChannelBuffer);
7118
7119 void (STDMETHODCALLTYPE *Disconnect)(
7120 IRpcProxyBuffer* This);
7121
7122 END_INTERFACE
7123} IRpcProxyBufferVtbl;
7124interface IRpcProxyBuffer {
7125 CONST_VTBL IRpcProxyBufferVtbl* lpVtbl;
7126};
7127
7128#ifdef COBJMACROS
7129/*** IUnknown methods ***/
7130#define IRpcProxyBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7131#define IRpcProxyBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
7132#define IRpcProxyBuffer_Release(This) (This)->lpVtbl->Release(This)
7133/*** IRpcProxyBuffer methods ***/
7134#define IRpcProxyBuffer_Connect(This,pRpcChannelBuffer) (This)->lpVtbl->Connect(This,pRpcChannelBuffer)
7135#define IRpcProxyBuffer_Disconnect(This) (This)->lpVtbl->Disconnect(This)
7136#endif
7137
7138#endif
7139
7140HRESULT STDMETHODCALLTYPE IRpcProxyBuffer_Connect_Proxy(
7141 IRpcProxyBuffer* This,
7142 IRpcChannelBuffer *pRpcChannelBuffer);
7143void __RPC_STUB IRpcProxyBuffer_Connect_Stub(
7144 IRpcStubBuffer* This,
7145 IRpcChannelBuffer* pRpcChannelBuffer,
7146 PRPC_MESSAGE pRpcMessage,
7147 DWORD* pdwStubPhase);
7148void STDMETHODCALLTYPE IRpcProxyBuffer_Disconnect_Proxy(
7149 IRpcProxyBuffer* This);
7150void __RPC_STUB IRpcProxyBuffer_Disconnect_Stub(
7151 IRpcStubBuffer* This,
7152 IRpcChannelBuffer* pRpcChannelBuffer,
7153 PRPC_MESSAGE pRpcMessage,
7154 DWORD* pdwStubPhase);
7155
7156#endif /* __IRpcProxyBuffer_INTERFACE_DEFINED__ */
7157
7158#ifndef __IRpcStubBuffer_FWD_DEFINED__
7159#define __IRpcStubBuffer_FWD_DEFINED__
7160typedef interface IRpcStubBuffer IRpcStubBuffer;
7161#endif
7162
7163typedef IRpcStubBuffer *LPRPCSTUBBUFFER;
7164/*****************************************************************************
7165 * IRpcStubBuffer interface
7166 */
7167#ifndef __IRpcStubBuffer_INTERFACE_DEFINED__
7168#define __IRpcStubBuffer_INTERFACE_DEFINED__
7169
7170DEFINE_GUID(IID_IRpcStubBuffer, 0xd5f56afc, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a);
7171#if defined(__cplusplus) && !defined(CINTERFACE)
7172interface IRpcStubBuffer : public IUnknown
7173{
7174 virtual HRESULT STDMETHODCALLTYPE Connect(
7175 IUnknown *pUnkServer) = 0;
7176
7177 virtual void STDMETHODCALLTYPE Disconnect(
7178 ) = 0;
7179
7180 virtual HRESULT STDMETHODCALLTYPE Invoke(
7181 RPCOLEMESSAGE *_prpcmsg,
7182 IRpcChannelBuffer *_pRpcChannelBuffer) = 0;
7183
7184 virtual IRpcStubBuffer * STDMETHODCALLTYPE IsIIDSupported(
7185 REFIID riid) = 0;
7186
7187 virtual ULONG STDMETHODCALLTYPE CountRefs(
7188 ) = 0;
7189
7190 virtual HRESULT STDMETHODCALLTYPE DebugServerQueryInterface(
7191 void **ppv) = 0;
7192
7193 virtual void STDMETHODCALLTYPE DebugServerRelease(
7194 void *pv) = 0;
7195
7196};
7197#else
7198typedef struct IRpcStubBufferVtbl {
7199 BEGIN_INTERFACE
7200
7201 /*** IUnknown methods ***/
7202 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7203 IRpcStubBuffer* This,
7204 REFIID riid,
7205 void **ppvObject);
7206
7207 ULONG (STDMETHODCALLTYPE *AddRef)(
7208 IRpcStubBuffer* This);
7209
7210 ULONG (STDMETHODCALLTYPE *Release)(
7211 IRpcStubBuffer* This);
7212
7213 /*** IRpcStubBuffer methods ***/
7214 HRESULT (STDMETHODCALLTYPE *Connect)(
7215 IRpcStubBuffer* This,
7216 IUnknown *pUnkServer);
7217
7218 void (STDMETHODCALLTYPE *Disconnect)(
7219 IRpcStubBuffer* This);
7220
7221 HRESULT (STDMETHODCALLTYPE *Invoke)(
7222 IRpcStubBuffer* This,
7223 RPCOLEMESSAGE *_prpcmsg,
7224 IRpcChannelBuffer *_pRpcChannelBuffer);
7225
7226 IRpcStubBuffer * (STDMETHODCALLTYPE *IsIIDSupported)(
7227 IRpcStubBuffer* This,
7228 REFIID riid);
7229
7230 ULONG (STDMETHODCALLTYPE *CountRefs)(
7231 IRpcStubBuffer* This);
7232
7233 HRESULT (STDMETHODCALLTYPE *DebugServerQueryInterface)(
7234 IRpcStubBuffer* This,
7235 void **ppv);
7236
7237 void (STDMETHODCALLTYPE *DebugServerRelease)(
7238 IRpcStubBuffer* This,
7239 void *pv);
7240
7241 END_INTERFACE
7242} IRpcStubBufferVtbl;
7243interface IRpcStubBuffer {
7244 CONST_VTBL IRpcStubBufferVtbl* lpVtbl;
7245};
7246
7247#ifdef COBJMACROS
7248/*** IUnknown methods ***/
7249#define IRpcStubBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7250#define IRpcStubBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
7251#define IRpcStubBuffer_Release(This) (This)->lpVtbl->Release(This)
7252/*** IRpcStubBuffer methods ***/
7253#define IRpcStubBuffer_Connect(This,pUnkServer) (This)->lpVtbl->Connect(This,pUnkServer)
7254#define IRpcStubBuffer_Disconnect(This) (This)->lpVtbl->Disconnect(This)
7255#define IRpcStubBuffer_Invoke(This,_prpcmsg,_pRpcChannelBuffer) (This)->lpVtbl->Invoke(This,_prpcmsg,_pRpcChannelBuffer)
7256#define IRpcStubBuffer_IsIIDSupported(This,riid) (This)->lpVtbl->IsIIDSupported(This,riid)
7257#define IRpcStubBuffer_CountRefs(This) (This)->lpVtbl->CountRefs(This)
7258#define IRpcStubBuffer_DebugServerQueryInterface(This,ppv) (This)->lpVtbl->DebugServerQueryInterface(This,ppv)
7259#define IRpcStubBuffer_DebugServerRelease(This,pv) (This)->lpVtbl->DebugServerRelease(This,pv)
7260#endif
7261
7262#endif
7263
7264HRESULT STDMETHODCALLTYPE IRpcStubBuffer_Connect_Proxy(
7265 IRpcStubBuffer* This,
7266 IUnknown *pUnkServer);
7267void __RPC_STUB IRpcStubBuffer_Connect_Stub(
7268 IRpcStubBuffer* This,
7269 IRpcChannelBuffer* pRpcChannelBuffer,
7270 PRPC_MESSAGE pRpcMessage,
7271 DWORD* pdwStubPhase);
7272void STDMETHODCALLTYPE IRpcStubBuffer_Disconnect_Proxy(
7273 IRpcStubBuffer* This);
7274void __RPC_STUB IRpcStubBuffer_Disconnect_Stub(
7275 IRpcStubBuffer* This,
7276 IRpcChannelBuffer* pRpcChannelBuffer,
7277 PRPC_MESSAGE pRpcMessage,
7278 DWORD* pdwStubPhase);
7279HRESULT STDMETHODCALLTYPE IRpcStubBuffer_Invoke_Proxy(
7280 IRpcStubBuffer* This,
7281 RPCOLEMESSAGE *_prpcmsg,
7282 IRpcChannelBuffer *_pRpcChannelBuffer);
7283void __RPC_STUB IRpcStubBuffer_Invoke_Stub(
7284 IRpcStubBuffer* This,
7285 IRpcChannelBuffer* pRpcChannelBuffer,
7286 PRPC_MESSAGE pRpcMessage,
7287 DWORD* pdwStubPhase);
7288IRpcStubBuffer * STDMETHODCALLTYPE IRpcStubBuffer_IsIIDSupported_Proxy(
7289 IRpcStubBuffer* This,
7290 REFIID riid);
7291void __RPC_STUB IRpcStubBuffer_IsIIDSupported_Stub(
7292 IRpcStubBuffer* This,
7293 IRpcChannelBuffer* pRpcChannelBuffer,
7294 PRPC_MESSAGE pRpcMessage,
7295 DWORD* pdwStubPhase);
7296ULONG STDMETHODCALLTYPE IRpcStubBuffer_CountRefs_Proxy(
7297 IRpcStubBuffer* This);
7298void __RPC_STUB IRpcStubBuffer_CountRefs_Stub(
7299 IRpcStubBuffer* This,
7300 IRpcChannelBuffer* pRpcChannelBuffer,
7301 PRPC_MESSAGE pRpcMessage,
7302 DWORD* pdwStubPhase);
7303HRESULT STDMETHODCALLTYPE IRpcStubBuffer_DebugServerQueryInterface_Proxy(
7304 IRpcStubBuffer* This,
7305 void **ppv);
7306void __RPC_STUB IRpcStubBuffer_DebugServerQueryInterface_Stub(
7307 IRpcStubBuffer* This,
7308 IRpcChannelBuffer* pRpcChannelBuffer,
7309 PRPC_MESSAGE pRpcMessage,
7310 DWORD* pdwStubPhase);
7311void STDMETHODCALLTYPE IRpcStubBuffer_DebugServerRelease_Proxy(
7312 IRpcStubBuffer* This,
7313 void *pv);
7314void __RPC_STUB IRpcStubBuffer_DebugServerRelease_Stub(
7315 IRpcStubBuffer* This,
7316 IRpcChannelBuffer* pRpcChannelBuffer,
7317 PRPC_MESSAGE pRpcMessage,
7318 DWORD* pdwStubPhase);
7319
7320#endif /* __IRpcStubBuffer_INTERFACE_DEFINED__ */
7321
7322#ifndef __IPSFactoryBuffer_FWD_DEFINED__
7323#define __IPSFactoryBuffer_FWD_DEFINED__
7324typedef interface IPSFactoryBuffer IPSFactoryBuffer;
7325#endif
7326
7327typedef IPSFactoryBuffer *LPPSFACTORYBUFFER;
7328/*****************************************************************************
7329 * IPSFactoryBuffer interface
7330 */
7331#ifndef __IPSFactoryBuffer_INTERFACE_DEFINED__
7332#define __IPSFactoryBuffer_INTERFACE_DEFINED__
7333
7334DEFINE_GUID(IID_IPSFactoryBuffer, 0xd5f569d0, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a);
7335#if defined(__cplusplus) && !defined(CINTERFACE)
7336interface IPSFactoryBuffer : public IUnknown
7337{
7338 virtual HRESULT STDMETHODCALLTYPE CreateProxy(
7339 IUnknown *pUnkOuter,
7340 REFIID riid,
7341 IRpcProxyBuffer **ppProxy,
7342 void **ppv) = 0;
7343
7344 virtual HRESULT STDMETHODCALLTYPE CreateStub(
7345 REFIID riid,
7346 IUnknown *pUnkServer,
7347 IRpcStubBuffer **ppStub) = 0;
7348
7349};
7350#else
7351typedef struct IPSFactoryBufferVtbl {
7352 BEGIN_INTERFACE
7353
7354 /*** IUnknown methods ***/
7355 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7356 IPSFactoryBuffer* This,
7357 REFIID riid,
7358 void **ppvObject);
7359
7360 ULONG (STDMETHODCALLTYPE *AddRef)(
7361 IPSFactoryBuffer* This);
7362
7363 ULONG (STDMETHODCALLTYPE *Release)(
7364 IPSFactoryBuffer* This);
7365
7366 /*** IPSFactoryBuffer methods ***/
7367 HRESULT (STDMETHODCALLTYPE *CreateProxy)(
7368 IPSFactoryBuffer* This,
7369 IUnknown *pUnkOuter,
7370 REFIID riid,
7371 IRpcProxyBuffer **ppProxy,
7372 void **ppv);
7373
7374 HRESULT (STDMETHODCALLTYPE *CreateStub)(
7375 IPSFactoryBuffer* This,
7376 REFIID riid,
7377 IUnknown *pUnkServer,
7378 IRpcStubBuffer **ppStub);
7379
7380 END_INTERFACE
7381} IPSFactoryBufferVtbl;
7382interface IPSFactoryBuffer {
7383 CONST_VTBL IPSFactoryBufferVtbl* lpVtbl;
7384};
7385
7386#ifdef COBJMACROS
7387/*** IUnknown methods ***/
7388#define IPSFactoryBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7389#define IPSFactoryBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
7390#define IPSFactoryBuffer_Release(This) (This)->lpVtbl->Release(This)
7391/*** IPSFactoryBuffer methods ***/
7392#define IPSFactoryBuffer_CreateProxy(This,pUnkOuter,riid,ppProxy,ppv) (This)->lpVtbl->CreateProxy(This,pUnkOuter,riid,ppProxy,ppv)
7393#define IPSFactoryBuffer_CreateStub(This,riid,pUnkServer,ppStub) (This)->lpVtbl->CreateStub(This,riid,pUnkServer,ppStub)
7394#endif
7395
7396#endif
7397
7398HRESULT STDMETHODCALLTYPE IPSFactoryBuffer_CreateProxy_Proxy(
7399 IPSFactoryBuffer* This,
7400 IUnknown *pUnkOuter,
7401 REFIID riid,
7402 IRpcProxyBuffer **ppProxy,
7403 void **ppv);
7404void __RPC_STUB IPSFactoryBuffer_CreateProxy_Stub(
7405 IRpcStubBuffer* This,
7406 IRpcChannelBuffer* pRpcChannelBuffer,
7407 PRPC_MESSAGE pRpcMessage,
7408 DWORD* pdwStubPhase);
7409HRESULT STDMETHODCALLTYPE IPSFactoryBuffer_CreateStub_Proxy(
7410 IPSFactoryBuffer* This,
7411 REFIID riid,
7412 IUnknown *pUnkServer,
7413 IRpcStubBuffer **ppStub);
7414void __RPC_STUB IPSFactoryBuffer_CreateStub_Stub(
7415 IRpcStubBuffer* This,
7416 IRpcChannelBuffer* pRpcChannelBuffer,
7417 PRPC_MESSAGE pRpcMessage,
7418 DWORD* pdwStubPhase);
7419
7420#endif /* __IPSFactoryBuffer_INTERFACE_DEFINED__ */
7421
7422#ifndef __IChannelHook_FWD_DEFINED__
7423#define __IChannelHook_FWD_DEFINED__
7424typedef interface IChannelHook IChannelHook;
7425#endif
7426
7427typedef IChannelHook *LPCHANNELHOOK;
7428typedef struct SChannelHookCallInfo {
7429 IID iid;
7430 DWORD cbSize;
7431 GUID uCausality;
7432 DWORD dwServerPid;
7433 DWORD iMethod;
7434 void *pObject;
7435} SChannelHookCallInfo;
7436/*****************************************************************************
7437 * IChannelHook interface
7438 */
7439#ifndef __IChannelHook_INTERFACE_DEFINED__
7440#define __IChannelHook_INTERFACE_DEFINED__
7441
7442DEFINE_GUID(IID_IChannelHook, 0x1008c4a0, 0x7613, 0x11cf, 0x9a,0xf1, 0x00,0x20,0xaf,0x6e,0x72,0xf4);
7443#if defined(__cplusplus) && !defined(CINTERFACE)
7444interface IChannelHook : public IUnknown
7445{
7446 virtual void STDMETHODCALLTYPE ClientGetSize(
7447 REFGUID uExtent,
7448 REFIID riid,
7449 ULONG *pDataSize) = 0;
7450
7451 virtual void STDMETHODCALLTYPE ClientFillBuffer(
7452 REFGUID uExtent,
7453 REFIID riid,
7454 ULONG *pDataSize,
7455 void *pDataBuffer) = 0;
7456
7457 virtual void STDMETHODCALLTYPE ClientNotify(
7458 REFGUID uExtent,
7459 REFIID riid,
7460 ULONG cbDataSize,
7461 void *pDataBuffer,
7462 DWORD lDataRep,
7463 HRESULT hrFault) = 0;
7464
7465 virtual void STDMETHODCALLTYPE ServerNotify(
7466 REFGUID uExtent,
7467 REFIID riid,
7468 ULONG cbDataSize,
7469 void *pDataBuffer,
7470 DWORD lDataRep) = 0;
7471
7472 virtual void STDMETHODCALLTYPE ServerGetSize(
7473 REFGUID uExtent,
7474 REFIID riid,
7475 HRESULT hrFault,
7476 ULONG *pDataSize) = 0;
7477
7478 virtual void STDMETHODCALLTYPE ServerFillBuffer(
7479 REFGUID uExtent,
7480 REFIID riid,
7481 ULONG *pDataSize,
7482 void *pDataBuffer,
7483 HRESULT hrFault) = 0;
7484
7485};
7486#else
7487typedef struct IChannelHookVtbl {
7488 BEGIN_INTERFACE
7489
7490 /*** IUnknown methods ***/
7491 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7492 IChannelHook* This,
7493 REFIID riid,
7494 void **ppvObject);
7495
7496 ULONG (STDMETHODCALLTYPE *AddRef)(
7497 IChannelHook* This);
7498
7499 ULONG (STDMETHODCALLTYPE *Release)(
7500 IChannelHook* This);
7501
7502 /*** IChannelHook methods ***/
7503 void (STDMETHODCALLTYPE *ClientGetSize)(
7504 IChannelHook* This,
7505 REFGUID uExtent,
7506 REFIID riid,
7507 ULONG *pDataSize);
7508
7509 void (STDMETHODCALLTYPE *ClientFillBuffer)(
7510 IChannelHook* This,
7511 REFGUID uExtent,
7512 REFIID riid,
7513 ULONG *pDataSize,
7514 void *pDataBuffer);
7515
7516 void (STDMETHODCALLTYPE *ClientNotify)(
7517 IChannelHook* This,
7518 REFGUID uExtent,
7519 REFIID riid,
7520 ULONG cbDataSize,
7521 void *pDataBuffer,
7522 DWORD lDataRep,
7523 HRESULT hrFault);
7524
7525 void (STDMETHODCALLTYPE *ServerNotify)(
7526 IChannelHook* This,
7527 REFGUID uExtent,
7528 REFIID riid,
7529 ULONG cbDataSize,
7530 void *pDataBuffer,
7531 DWORD lDataRep);
7532
7533 void (STDMETHODCALLTYPE *ServerGetSize)(
7534 IChannelHook* This,
7535 REFGUID uExtent,
7536 REFIID riid,
7537 HRESULT hrFault,
7538 ULONG *pDataSize);
7539
7540 void (STDMETHODCALLTYPE *ServerFillBuffer)(
7541 IChannelHook* This,
7542 REFGUID uExtent,
7543 REFIID riid,
7544 ULONG *pDataSize,
7545 void *pDataBuffer,
7546 HRESULT hrFault);
7547
7548 END_INTERFACE
7549} IChannelHookVtbl;
7550interface IChannelHook {
7551 CONST_VTBL IChannelHookVtbl* lpVtbl;
7552};
7553
7554#ifdef COBJMACROS
7555/*** IUnknown methods ***/
7556#define IChannelHook_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7557#define IChannelHook_AddRef(This) (This)->lpVtbl->AddRef(This)
7558#define IChannelHook_Release(This) (This)->lpVtbl->Release(This)
7559/*** IChannelHook methods ***/
7560#define IChannelHook_ClientGetSize(This,uExtent,riid,pDataSize) (This)->lpVtbl->ClientGetSize(This,uExtent,riid,pDataSize)
7561#define IChannelHook_ClientFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer) (This)->lpVtbl->ClientFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer)
7562#define IChannelHook_ClientNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep,hrFault) (This)->lpVtbl->ClientNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep,hrFault)
7563#define IChannelHook_ServerNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep) (This)->lpVtbl->ServerNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep)
7564#define IChannelHook_ServerGetSize(This,uExtent,riid,hrFault,pDataSize) (This)->lpVtbl->ServerGetSize(This,uExtent,riid,hrFault,pDataSize)
7565#define IChannelHook_ServerFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer,hrFault) (This)->lpVtbl->ServerFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer,hrFault)
7566#endif
7567
7568#endif
7569
7570void STDMETHODCALLTYPE IChannelHook_ClientGetSize_Proxy(
7571 IChannelHook* This,
7572 REFGUID uExtent,
7573 REFIID riid,
7574 ULONG *pDataSize);
7575void __RPC_STUB IChannelHook_ClientGetSize_Stub(
7576 IRpcStubBuffer* This,
7577 IRpcChannelBuffer* pRpcChannelBuffer,
7578 PRPC_MESSAGE pRpcMessage,
7579 DWORD* pdwStubPhase);
7580void STDMETHODCALLTYPE IChannelHook_ClientFillBuffer_Proxy(
7581 IChannelHook* This,
7582 REFGUID uExtent,
7583 REFIID riid,
7584 ULONG *pDataSize,
7585 void *pDataBuffer);
7586void __RPC_STUB IChannelHook_ClientFillBuffer_Stub(
7587 IRpcStubBuffer* This,
7588 IRpcChannelBuffer* pRpcChannelBuffer,
7589 PRPC_MESSAGE pRpcMessage,
7590 DWORD* pdwStubPhase);
7591void STDMETHODCALLTYPE IChannelHook_ClientNotify_Proxy(
7592 IChannelHook* This,
7593 REFGUID uExtent,
7594 REFIID riid,
7595 ULONG cbDataSize,
7596 void *pDataBuffer,
7597 DWORD lDataRep,
7598 HRESULT hrFault);
7599void __RPC_STUB IChannelHook_ClientNotify_Stub(
7600 IRpcStubBuffer* This,
7601 IRpcChannelBuffer* pRpcChannelBuffer,
7602 PRPC_MESSAGE pRpcMessage,
7603 DWORD* pdwStubPhase);
7604void STDMETHODCALLTYPE IChannelHook_ServerNotify_Proxy(
7605 IChannelHook* This,
7606 REFGUID uExtent,
7607 REFIID riid,
7608 ULONG cbDataSize,
7609 void *pDataBuffer,
7610 DWORD lDataRep);
7611void __RPC_STUB IChannelHook_ServerNotify_Stub(
7612 IRpcStubBuffer* This,
7613 IRpcChannelBuffer* pRpcChannelBuffer,
7614 PRPC_MESSAGE pRpcMessage,
7615 DWORD* pdwStubPhase);
7616void STDMETHODCALLTYPE IChannelHook_ServerGetSize_Proxy(
7617 IChannelHook* This,
7618 REFGUID uExtent,
7619 REFIID riid,
7620 HRESULT hrFault,
7621 ULONG *pDataSize);
7622void __RPC_STUB IChannelHook_ServerGetSize_Stub(
7623 IRpcStubBuffer* This,
7624 IRpcChannelBuffer* pRpcChannelBuffer,
7625 PRPC_MESSAGE pRpcMessage,
7626 DWORD* pdwStubPhase);
7627void STDMETHODCALLTYPE IChannelHook_ServerFillBuffer_Proxy(
7628 IChannelHook* This,
7629 REFGUID uExtent,
7630 REFIID riid,
7631 ULONG *pDataSize,
7632 void *pDataBuffer,
7633 HRESULT hrFault);
7634void __RPC_STUB IChannelHook_ServerFillBuffer_Stub(
7635 IRpcStubBuffer* This,
7636 IRpcChannelBuffer* pRpcChannelBuffer,
7637 PRPC_MESSAGE pRpcMessage,
7638 DWORD* pdwStubPhase);
7639
7640#endif /* __IChannelHook_INTERFACE_DEFINED__ */
7641
7642extern const FMTID FMTID_SummaryInformation;
7643
7644extern const FMTID FMTID_DocSummaryInformation;
7645
7646extern const FMTID FMTID_UserDefinedProperties;
7647
7648#ifndef __IClientSecurity_FWD_DEFINED__
7649#define __IClientSecurity_FWD_DEFINED__
7650typedef interface IClientSecurity IClientSecurity;
7651#endif
7652
7653typedef struct tagSOLE_AUTHENTICATION_SERVICE {
7654 DWORD dwAuthnSvc;
7655 DWORD dwAuthzSvc;
7656 OLECHAR *pPrincipalName;
7657 HRESULT hr;
7658} SOLE_AUTHENTICATION_SERVICE;
7659typedef SOLE_AUTHENTICATION_SERVICE *PSOLE_AUTHENTICATION_SERVICE;
7660typedef struct tagSOLE_AUTHENTICATION_INFO {
7661 DWORD dwAuthnSvc;
7662 DWORD dwAuthzSvc;
7663 void *pAuthInfo;
7664} SOLE_AUTHENTICATION_INFO;
7665typedef struct tagSOLE_AUTHENTICATION_LIST {
7666 DWORD cAuthInfo;
7667 SOLE_AUTHENTICATION_INFO *aAuthInfo;
7668} SOLE_AUTHENTICATION_LIST;
7669typedef enum tagEOLE_AUTHENTICATION_CAPABILITIES {
7670 EOAC_NONE = 0x0,
7671 EOAC_MUTUAL_AUTH = 0x1,
7672 EOAC_SECURE_REFS = 0x2,
7673 EOAC_ACCESS_CONTROL = 0x4,
7674 EOAC_APPID = 0x8,
7675 EOAC_DYNAMIC = 0x10,
7676 EOAC_STATIC_CLOAKING = 0x20,
7677 EOAC_DYNAMIC_CLOAKING = 0x40,
7678 EOAC_ANY_AUTHORITY = 0x80,
7679 EOAC_MAKE_FULLSIC = 0x100,
7680 EOAC_REQUIRE_FULLSIC = 0x200,
7681 EOAC_AUTO_IMPERSONATE = 0x400,
7682 EOAC_DEFAULT = 0x800,
7683 EOAC_DISABLE_AAA = 0x1000,
7684 EOAC_NO_CUSTOM_MARSHAL = 0x2000
7685} EOLE_AUTHENTICATION_CAPABILITIES;
7686/*****************************************************************************
7687 * IClientSecurity interface
7688 */
7689#ifndef __IClientSecurity_INTERFACE_DEFINED__
7690#define __IClientSecurity_INTERFACE_DEFINED__
7691
7692DEFINE_GUID(IID_IClientSecurity, 0x0000013d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
7693#if defined(__cplusplus) && !defined(CINTERFACE)
7694interface IClientSecurity : public IUnknown
7695{
7696 virtual HRESULT STDMETHODCALLTYPE QueryBlanket(
7697 IUnknown *pProxy,
7698 DWORD *pAuthnSvc,
7699 DWORD *pAuthzSvc,
7700 OLECHAR **pServerPrincName,
7701 DWORD *pAuthnLevel,
7702 DWORD *pImpLevel,
7703 void **pAuthInfo,
7704 DWORD *pCapabilities) = 0;
7705
7706 virtual HRESULT STDMETHODCALLTYPE SetBlanket(
7707 IUnknown *pProxy,
7708 DWORD AuthnSvc,
7709 DWORD AuthzSvc,
7710 OLECHAR *pServerPrincName,
7711 DWORD AuthnLevel,
7712 DWORD ImpLevel,
7713 void *pAuthInfo,
7714 DWORD Capabilities) = 0;
7715
7716 virtual HRESULT STDMETHODCALLTYPE CopyProxy(
7717 IUnknown *pProxy,
7718 IUnknown **ppCopy) = 0;
7719
7720};
7721#else
7722typedef struct IClientSecurityVtbl {
7723 BEGIN_INTERFACE
7724
7725 /*** IUnknown methods ***/
7726 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7727 IClientSecurity* This,
7728 REFIID riid,
7729 void **ppvObject);
7730
7731 ULONG (STDMETHODCALLTYPE *AddRef)(
7732 IClientSecurity* This);
7733
7734 ULONG (STDMETHODCALLTYPE *Release)(
7735 IClientSecurity* This);
7736
7737 /*** IClientSecurity methods ***/
7738 HRESULT (STDMETHODCALLTYPE *QueryBlanket)(
7739 IClientSecurity* This,
7740 IUnknown *pProxy,
7741 DWORD *pAuthnSvc,
7742 DWORD *pAuthzSvc,
7743 OLECHAR **pServerPrincName,
7744 DWORD *pAuthnLevel,
7745 DWORD *pImpLevel,
7746 void **pAuthInfo,
7747 DWORD *pCapabilities);
7748
7749 HRESULT (STDMETHODCALLTYPE *SetBlanket)(
7750 IClientSecurity* This,
7751 IUnknown *pProxy,
7752 DWORD AuthnSvc,
7753 DWORD AuthzSvc,
7754 OLECHAR *pServerPrincName,
7755 DWORD AuthnLevel,
7756 DWORD ImpLevel,
7757 void *pAuthInfo,
7758 DWORD Capabilities);
7759
7760 HRESULT (STDMETHODCALLTYPE *CopyProxy)(
7761 IClientSecurity* This,
7762 IUnknown *pProxy,
7763 IUnknown **ppCopy);
7764
7765 END_INTERFACE
7766} IClientSecurityVtbl;
7767interface IClientSecurity {
7768 CONST_VTBL IClientSecurityVtbl* lpVtbl;
7769};
7770
7771#ifdef COBJMACROS
7772/*** IUnknown methods ***/
7773#define IClientSecurity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7774#define IClientSecurity_AddRef(This) (This)->lpVtbl->AddRef(This)
7775#define IClientSecurity_Release(This) (This)->lpVtbl->Release(This)
7776/*** IClientSecurity methods ***/
7777#define IClientSecurity_QueryBlanket(This,pProxy,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pAuthInfo,pCapabilities) (This)->lpVtbl->QueryBlanket(This,pProxy,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pAuthInfo,pCapabilities)
7778#define IClientSecurity_SetBlanket(This,pProxy,AuthnSvc,AuthzSvc,pServerPrincName,AuthnLevel,ImpLevel,pAuthInfo,Capabilities) (This)->lpVtbl->SetBlanket(This,pProxy,AuthnSvc,AuthzSvc,pServerPrincName,AuthnLevel,ImpLevel,pAuthInfo,Capabilities)
7779#define IClientSecurity_CopyProxy(This,pProxy,ppCopy) (This)->lpVtbl->CopyProxy(This,pProxy,ppCopy)
7780#endif
7781
7782#endif
7783
7784HRESULT STDMETHODCALLTYPE IClientSecurity_QueryBlanket_Proxy(
7785 IClientSecurity* This,
7786 IUnknown *pProxy,
7787 DWORD *pAuthnSvc,
7788 DWORD *pAuthzSvc,
7789 OLECHAR **pServerPrincName,
7790 DWORD *pAuthnLevel,
7791 DWORD *pImpLevel,
7792 void **pAuthInfo,
7793 DWORD *pCapabilities);
7794void __RPC_STUB IClientSecurity_QueryBlanket_Stub(
7795 IRpcStubBuffer* This,
7796 IRpcChannelBuffer* pRpcChannelBuffer,
7797 PRPC_MESSAGE pRpcMessage,
7798 DWORD* pdwStubPhase);
7799HRESULT STDMETHODCALLTYPE IClientSecurity_SetBlanket_Proxy(
7800 IClientSecurity* This,
7801 IUnknown *pProxy,
7802 DWORD AuthnSvc,
7803 DWORD AuthzSvc,
7804 OLECHAR *pServerPrincName,
7805 DWORD AuthnLevel,
7806 DWORD ImpLevel,
7807 void *pAuthInfo,
7808 DWORD Capabilities);
7809void __RPC_STUB IClientSecurity_SetBlanket_Stub(
7810 IRpcStubBuffer* This,
7811 IRpcChannelBuffer* pRpcChannelBuffer,
7812 PRPC_MESSAGE pRpcMessage,
7813 DWORD* pdwStubPhase);
7814HRESULT STDMETHODCALLTYPE IClientSecurity_CopyProxy_Proxy(
7815 IClientSecurity* This,
7816 IUnknown *pProxy,
7817 IUnknown **ppCopy);
7818void __RPC_STUB IClientSecurity_CopyProxy_Stub(
7819 IRpcStubBuffer* This,
7820 IRpcChannelBuffer* pRpcChannelBuffer,
7821 PRPC_MESSAGE pRpcMessage,
7822 DWORD* pdwStubPhase);
7823
7824#endif /* __IClientSecurity_INTERFACE_DEFINED__ */
7825
7826#ifndef __IServerSecurity_FWD_DEFINED__
7827#define __IServerSecurity_FWD_DEFINED__
7828typedef interface IServerSecurity IServerSecurity;
7829#endif
7830
7831/*****************************************************************************
7832 * IServerSecurity interface
7833 */
7834#ifndef __IServerSecurity_INTERFACE_DEFINED__
7835#define __IServerSecurity_INTERFACE_DEFINED__
7836
7837DEFINE_GUID(IID_IServerSecurity, 0x0000013e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
7838#if defined(__cplusplus) && !defined(CINTERFACE)
7839interface IServerSecurity : public IUnknown
7840{
7841 virtual HRESULT STDMETHODCALLTYPE QueryBlanket(
7842 DWORD *pAuthnSvc,
7843 DWORD *pAuthzSvc,
7844 OLECHAR **pServerPrincName,
7845 DWORD *pAuthnLevel,
7846 DWORD *pImpLevel,
7847 void **pPrivs,
7848 DWORD *pCapabilities) = 0;
7849
7850 virtual HRESULT STDMETHODCALLTYPE ImpersonateClient(
7851 ) = 0;
7852
7853 virtual HRESULT STDMETHODCALLTYPE RevertToSelf(
7854 ) = 0;
7855
7856 virtual BOOL STDMETHODCALLTYPE IsImpersonating(
7857 ) = 0;
7858
7859};
7860#else
7861typedef struct IServerSecurityVtbl {
7862 BEGIN_INTERFACE
7863
7864 /*** IUnknown methods ***/
7865 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7866 IServerSecurity* This,
7867 REFIID riid,
7868 void **ppvObject);
7869
7870 ULONG (STDMETHODCALLTYPE *AddRef)(
7871 IServerSecurity* This);
7872
7873 ULONG (STDMETHODCALLTYPE *Release)(
7874 IServerSecurity* This);
7875
7876 /*** IServerSecurity methods ***/
7877 HRESULT (STDMETHODCALLTYPE *QueryBlanket)(
7878 IServerSecurity* This,
7879 DWORD *pAuthnSvc,
7880 DWORD *pAuthzSvc,
7881 OLECHAR **pServerPrincName,
7882 DWORD *pAuthnLevel,
7883 DWORD *pImpLevel,
7884 void **pPrivs,
7885 DWORD *pCapabilities);
7886
7887 HRESULT (STDMETHODCALLTYPE *ImpersonateClient)(
7888 IServerSecurity* This);
7889
7890 HRESULT (STDMETHODCALLTYPE *RevertToSelf)(
7891 IServerSecurity* This);
7892
7893 BOOL (STDMETHODCALLTYPE *IsImpersonating)(
7894 IServerSecurity* This);
7895
7896 END_INTERFACE
7897} IServerSecurityVtbl;
7898interface IServerSecurity {
7899 CONST_VTBL IServerSecurityVtbl* lpVtbl;
7900};
7901
7902#ifdef COBJMACROS
7903/*** IUnknown methods ***/
7904#define IServerSecurity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
7905#define IServerSecurity_AddRef(This) (This)->lpVtbl->AddRef(This)
7906#define IServerSecurity_Release(This) (This)->lpVtbl->Release(This)
7907/*** IServerSecurity methods ***/
7908#define IServerSecurity_QueryBlanket(This,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pPrivs,pCapabilities) (This)->lpVtbl->QueryBlanket(This,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pPrivs,pCapabilities)
7909#define IServerSecurity_ImpersonateClient(This) (This)->lpVtbl->ImpersonateClient(This)
7910#define IServerSecurity_RevertToSelf(This) (This)->lpVtbl->RevertToSelf(This)
7911#define IServerSecurity_IsImpersonating(This) (This)->lpVtbl->IsImpersonating(This)
7912#endif
7913
7914#endif
7915
7916HRESULT STDMETHODCALLTYPE IServerSecurity_QueryBlanket_Proxy(
7917 IServerSecurity* This,
7918 DWORD *pAuthnSvc,
7919 DWORD *pAuthzSvc,
7920 OLECHAR **pServerPrincName,
7921 DWORD *pAuthnLevel,
7922 DWORD *pImpLevel,
7923 void **pPrivs,
7924 DWORD *pCapabilities);
7925void __RPC_STUB IServerSecurity_QueryBlanket_Stub(
7926 IRpcStubBuffer* This,
7927 IRpcChannelBuffer* pRpcChannelBuffer,
7928 PRPC_MESSAGE pRpcMessage,
7929 DWORD* pdwStubPhase);
7930HRESULT STDMETHODCALLTYPE IServerSecurity_ImpersonateClient_Proxy(
7931 IServerSecurity* This);
7932void __RPC_STUB IServerSecurity_ImpersonateClient_Stub(
7933 IRpcStubBuffer* This,
7934 IRpcChannelBuffer* pRpcChannelBuffer,
7935 PRPC_MESSAGE pRpcMessage,
7936 DWORD* pdwStubPhase);
7937HRESULT STDMETHODCALLTYPE IServerSecurity_RevertToSelf_Proxy(
7938 IServerSecurity* This);
7939void __RPC_STUB IServerSecurity_RevertToSelf_Stub(
7940 IRpcStubBuffer* This,
7941 IRpcChannelBuffer* pRpcChannelBuffer,
7942 PRPC_MESSAGE pRpcMessage,
7943 DWORD* pdwStubPhase);
7944BOOL STDMETHODCALLTYPE IServerSecurity_IsImpersonating_Proxy(
7945 IServerSecurity* This);
7946void __RPC_STUB IServerSecurity_IsImpersonating_Stub(
7947 IRpcStubBuffer* This,
7948 IRpcChannelBuffer* pRpcChannelBuffer,
7949 PRPC_MESSAGE pRpcMessage,
7950 DWORD* pdwStubPhase);
7951
7952#endif /* __IServerSecurity_INTERFACE_DEFINED__ */
7953
7954#ifndef __IAsyncSetup_FWD_DEFINED__
7955#define __IAsyncSetup_FWD_DEFINED__
7956typedef interface IAsyncSetup IAsyncSetup;
7957#endif
7958
7959/*****************************************************************************
7960 * IAsyncSetup interface
7961 */
7962#ifndef __IAsyncSetup_INTERFACE_DEFINED__
7963#define __IAsyncSetup_INTERFACE_DEFINED__
7964
7965DEFINE_GUID(IID_IAsyncSetup, 0x00000024, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
7966#if defined(__cplusplus) && !defined(CINTERFACE)
7967interface IAsyncSetup : public IUnknown
7968{
7969 virtual HRESULT STDMETHODCALLTYPE GetAsyncManager(
7970 REFIID riid,
7971 IUnknown *pOuter,
7972 DWORD dwFlags,
7973 IUnknown **ppInner,
7974 IAsyncManager **ppAsyncMgr) = 0;
7975
7976};
7977#else
7978typedef struct IAsyncSetupVtbl {
7979 BEGIN_INTERFACE
7980
7981 /*** IUnknown methods ***/
7982 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
7983 IAsyncSetup* This,
7984 REFIID riid,
7985 void **ppvObject);
7986
7987 ULONG (STDMETHODCALLTYPE *AddRef)(
7988 IAsyncSetup* This);
7989
7990 ULONG (STDMETHODCALLTYPE *Release)(
7991 IAsyncSetup* This);
7992
7993 /*** IAsyncSetup methods ***/
7994 HRESULT (STDMETHODCALLTYPE *GetAsyncManager)(
7995 IAsyncSetup* This,
7996 REFIID riid,
7997 IUnknown *pOuter,
7998 DWORD dwFlags,
7999 IUnknown **ppInner,
8000 IAsyncManager **ppAsyncMgr);
8001
8002 END_INTERFACE
8003} IAsyncSetupVtbl;
8004interface IAsyncSetup {
8005 CONST_VTBL IAsyncSetupVtbl* lpVtbl;
8006};
8007
8008#ifdef COBJMACROS
8009/*** IUnknown methods ***/
8010#define IAsyncSetup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8011#define IAsyncSetup_AddRef(This) (This)->lpVtbl->AddRef(This)
8012#define IAsyncSetup_Release(This) (This)->lpVtbl->Release(This)
8013/*** IAsyncSetup methods ***/
8014#define IAsyncSetup_GetAsyncManager(This,riid,pOuter,dwFlags,ppInner,ppAsyncMgr) (This)->lpVtbl->GetAsyncManager(This,riid,pOuter,dwFlags,ppInner,ppAsyncMgr)
8015#endif
8016
8017#endif
8018
8019HRESULT STDMETHODCALLTYPE IAsyncSetup_GetAsyncManager_Proxy(
8020 IAsyncSetup* This,
8021 REFIID riid,
8022 IUnknown *pOuter,
8023 DWORD dwFlags,
8024 IUnknown **ppInner,
8025 IAsyncManager **ppAsyncMgr);
8026void __RPC_STUB IAsyncSetup_GetAsyncManager_Stub(
8027 IRpcStubBuffer* This,
8028 IRpcChannelBuffer* pRpcChannelBuffer,
8029 PRPC_MESSAGE pRpcMessage,
8030 DWORD* pdwStubPhase);
8031
8032#endif /* __IAsyncSetup_INTERFACE_DEFINED__ */
8033
8034#ifndef __IDirectWriterLock_FWD_DEFINED__
8035#define __IDirectWriterLock_FWD_DEFINED__
8036typedef interface IDirectWriterLock IDirectWriterLock;
8037#endif
8038
8039/*****************************************************************************
8040 * IDirectWriterLock interface
8041 */
8042#ifndef __IDirectWriterLock_INTERFACE_DEFINED__
8043#define __IDirectWriterLock_INTERFACE_DEFINED__
8044
8045DEFINE_GUID(IID_IDirectWriterLock, 0x0e6d4d92, 0x6738, 0x11cf, 0x96,0x08, 0x00,0xaa,0x00,0x68,0x0d,0xb4);
8046#if defined(__cplusplus) && !defined(CINTERFACE)
8047interface IDirectWriterLock : public IUnknown
8048{
8049 virtual HRESULT STDMETHODCALLTYPE WaitForWriteAccess(
8050 DWORD dwTimeout) = 0;
8051
8052 virtual HRESULT STDMETHODCALLTYPE ReleaseWriteAccess(
8053 ) = 0;
8054
8055 virtual HRESULT STDMETHODCALLTYPE HaveWriteAccess(
8056 ) = 0;
8057
8058};
8059#else
8060typedef struct IDirectWriterLockVtbl {
8061 BEGIN_INTERFACE
8062
8063 /*** IUnknown methods ***/
8064 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8065 IDirectWriterLock* This,
8066 REFIID riid,
8067 void **ppvObject);
8068
8069 ULONG (STDMETHODCALLTYPE *AddRef)(
8070 IDirectWriterLock* This);
8071
8072 ULONG (STDMETHODCALLTYPE *Release)(
8073 IDirectWriterLock* This);
8074
8075 /*** IDirectWriterLock methods ***/
8076 HRESULT (STDMETHODCALLTYPE *WaitForWriteAccess)(
8077 IDirectWriterLock* This,
8078 DWORD dwTimeout);
8079
8080 HRESULT (STDMETHODCALLTYPE *ReleaseWriteAccess)(
8081 IDirectWriterLock* This);
8082
8083 HRESULT (STDMETHODCALLTYPE *HaveWriteAccess)(
8084 IDirectWriterLock* This);
8085
8086 END_INTERFACE
8087} IDirectWriterLockVtbl;
8088interface IDirectWriterLock {
8089 CONST_VTBL IDirectWriterLockVtbl* lpVtbl;
8090};
8091
8092#ifdef COBJMACROS
8093/*** IUnknown methods ***/
8094#define IDirectWriterLock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8095#define IDirectWriterLock_AddRef(This) (This)->lpVtbl->AddRef(This)
8096#define IDirectWriterLock_Release(This) (This)->lpVtbl->Release(This)
8097/*** IDirectWriterLock methods ***/
8098#define IDirectWriterLock_WaitForWriteAccess(This,dwTimeout) (This)->lpVtbl->WaitForWriteAccess(This,dwTimeout)
8099#define IDirectWriterLock_ReleaseWriteAccess(This) (This)->lpVtbl->ReleaseWriteAccess(This)
8100#define IDirectWriterLock_HaveWriteAccess(This) (This)->lpVtbl->HaveWriteAccess(This)
8101#endif
8102
8103#endif
8104
8105HRESULT STDMETHODCALLTYPE IDirectWriterLock_WaitForWriteAccess_Proxy(
8106 IDirectWriterLock* This,
8107 DWORD dwTimeout);
8108void __RPC_STUB IDirectWriterLock_WaitForWriteAccess_Stub(
8109 IRpcStubBuffer* This,
8110 IRpcChannelBuffer* pRpcChannelBuffer,
8111 PRPC_MESSAGE pRpcMessage,
8112 DWORD* pdwStubPhase);
8113HRESULT STDMETHODCALLTYPE IDirectWriterLock_ReleaseWriteAccess_Proxy(
8114 IDirectWriterLock* This);
8115void __RPC_STUB IDirectWriterLock_ReleaseWriteAccess_Stub(
8116 IRpcStubBuffer* This,
8117 IRpcChannelBuffer* pRpcChannelBuffer,
8118 PRPC_MESSAGE pRpcMessage,
8119 DWORD* pdwStubPhase);
8120HRESULT STDMETHODCALLTYPE IDirectWriterLock_HaveWriteAccess_Proxy(
8121 IDirectWriterLock* This);
8122void __RPC_STUB IDirectWriterLock_HaveWriteAccess_Stub(
8123 IRpcStubBuffer* This,
8124 IRpcChannelBuffer* pRpcChannelBuffer,
8125 PRPC_MESSAGE pRpcMessage,
8126 DWORD* pdwStubPhase);
8127
8128#endif /* __IDirectWriterLock_INTERFACE_DEFINED__ */
8129
8130/*****************************************************************************
8131 * ISynchronize interface
8132 */
8133#ifndef __ISynchronize_INTERFACE_DEFINED__
8134#define __ISynchronize_INTERFACE_DEFINED__
8135
8136DEFINE_GUID(IID_ISynchronize, 0x00000030, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
8137#if defined(__cplusplus) && !defined(CINTERFACE)
8138interface ISynchronize : public IUnknown
8139{
8140 virtual HRESULT STDMETHODCALLTYPE Wait(
8141 DWORD dwFlags,
8142 DWORD dwMilliseconds) = 0;
8143
8144 virtual HRESULT STDMETHODCALLTYPE Signal(
8145 ) = 0;
8146
8147 virtual HRESULT STDMETHODCALLTYPE Reset(
8148 ) = 0;
8149
8150};
8151#else
8152typedef struct ISynchronizeVtbl {
8153 BEGIN_INTERFACE
8154
8155 /*** IUnknown methods ***/
8156 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8157 ISynchronize* This,
8158 REFIID riid,
8159 void **ppvObject);
8160
8161 ULONG (STDMETHODCALLTYPE *AddRef)(
8162 ISynchronize* This);
8163
8164 ULONG (STDMETHODCALLTYPE *Release)(
8165 ISynchronize* This);
8166
8167 /*** ISynchronize methods ***/
8168 HRESULT (STDMETHODCALLTYPE *Wait)(
8169 ISynchronize* This,
8170 DWORD dwFlags,
8171 DWORD dwMilliseconds);
8172
8173 HRESULT (STDMETHODCALLTYPE *Signal)(
8174 ISynchronize* This);
8175
8176 HRESULT (STDMETHODCALLTYPE *Reset)(
8177 ISynchronize* This);
8178
8179 END_INTERFACE
8180} ISynchronizeVtbl;
8181interface ISynchronize {
8182 CONST_VTBL ISynchronizeVtbl* lpVtbl;
8183};
8184
8185#ifdef COBJMACROS
8186/*** IUnknown methods ***/
8187#define ISynchronize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8188#define ISynchronize_AddRef(This) (This)->lpVtbl->AddRef(This)
8189#define ISynchronize_Release(This) (This)->lpVtbl->Release(This)
8190/*** ISynchronize methods ***/
8191#define ISynchronize_Wait(This,dwFlags,dwMilliseconds) (This)->lpVtbl->Wait(This,dwFlags,dwMilliseconds)
8192#define ISynchronize_Signal(This) (This)->lpVtbl->Signal(This)
8193#define ISynchronize_Reset(This) (This)->lpVtbl->Reset(This)
8194#endif
8195
8196#endif
8197
8198HRESULT STDMETHODCALLTYPE ISynchronize_Wait_Proxy(
8199 ISynchronize* This,
8200 DWORD dwFlags,
8201 DWORD dwMilliseconds);
8202void __RPC_STUB ISynchronize_Wait_Stub(
8203 IRpcStubBuffer* This,
8204 IRpcChannelBuffer* pRpcChannelBuffer,
8205 PRPC_MESSAGE pRpcMessage,
8206 DWORD* pdwStubPhase);
8207HRESULT STDMETHODCALLTYPE ISynchronize_Signal_Proxy(
8208 ISynchronize* This);
8209void __RPC_STUB ISynchronize_Signal_Stub(
8210 IRpcStubBuffer* This,
8211 IRpcChannelBuffer* pRpcChannelBuffer,
8212 PRPC_MESSAGE pRpcMessage,
8213 DWORD* pdwStubPhase);
8214HRESULT STDMETHODCALLTYPE ISynchronize_Reset_Proxy(
8215 ISynchronize* This);
8216void __RPC_STUB ISynchronize_Reset_Stub(
8217 IRpcStubBuffer* This,
8218 IRpcChannelBuffer* pRpcChannelBuffer,
8219 PRPC_MESSAGE pRpcMessage,
8220 DWORD* pdwStubPhase);
8221
8222#endif /* __ISynchronize_INTERFACE_DEFINED__ */
8223
8224#ifndef __ISynchronizeHandle_FWD_DEFINED__
8225#define __ISynchronizeHandle_FWD_DEFINED__
8226typedef interface ISynchronizeHandle ISynchronizeHandle;
8227#endif
8228
8229/*****************************************************************************
8230 * ISynchronizeHandle interface
8231 */
8232#ifndef __ISynchronizeHandle_INTERFACE_DEFINED__
8233#define __ISynchronizeHandle_INTERFACE_DEFINED__
8234
8235DEFINE_GUID(IID_ISynchronizeHandle, 0x00000031, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
8236#if defined(__cplusplus) && !defined(CINTERFACE)
8237interface ISynchronizeHandle : public IUnknown
8238{
8239 virtual HRESULT STDMETHODCALLTYPE GetHandle(
8240 HANDLE *ph) = 0;
8241
8242};
8243#else
8244typedef struct ISynchronizeHandleVtbl {
8245 BEGIN_INTERFACE
8246
8247 /*** IUnknown methods ***/
8248 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8249 ISynchronizeHandle* This,
8250 REFIID riid,
8251 void **ppvObject);
8252
8253 ULONG (STDMETHODCALLTYPE *AddRef)(
8254 ISynchronizeHandle* This);
8255
8256 ULONG (STDMETHODCALLTYPE *Release)(
8257 ISynchronizeHandle* This);
8258
8259 /*** ISynchronizeHandle methods ***/
8260 HRESULT (STDMETHODCALLTYPE *GetHandle)(
8261 ISynchronizeHandle* This,
8262 HANDLE *ph);
8263
8264 END_INTERFACE
8265} ISynchronizeHandleVtbl;
8266interface ISynchronizeHandle {
8267 CONST_VTBL ISynchronizeHandleVtbl* lpVtbl;
8268};
8269
8270#ifdef COBJMACROS
8271/*** IUnknown methods ***/
8272#define ISynchronizeHandle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8273#define ISynchronizeHandle_AddRef(This) (This)->lpVtbl->AddRef(This)
8274#define ISynchronizeHandle_Release(This) (This)->lpVtbl->Release(This)
8275/*** ISynchronizeHandle methods ***/
8276#define ISynchronizeHandle_GetHandle(This,ph) (This)->lpVtbl->GetHandle(This,ph)
8277#endif
8278
8279#endif
8280
8281HRESULT STDMETHODCALLTYPE ISynchronizeHandle_GetHandle_Proxy(
8282 ISynchronizeHandle* This,
8283 HANDLE *ph);
8284void __RPC_STUB ISynchronizeHandle_GetHandle_Stub(
8285 IRpcStubBuffer* This,
8286 IRpcChannelBuffer* pRpcChannelBuffer,
8287 PRPC_MESSAGE pRpcMessage,
8288 DWORD* pdwStubPhase);
8289
8290#endif /* __ISynchronizeHandle_INTERFACE_DEFINED__ */
8291
8292#ifndef __ISynchronizeEvent_FWD_DEFINED__
8293#define __ISynchronizeEvent_FWD_DEFINED__
8294typedef interface ISynchronizeEvent ISynchronizeEvent;
8295#endif
8296
8297/*****************************************************************************
8298 * ISynchronizeEvent interface
8299 */
8300#ifndef __ISynchronizeEvent_INTERFACE_DEFINED__
8301#define __ISynchronizeEvent_INTERFACE_DEFINED__
8302
8303DEFINE_GUID(IID_ISynchronizeEvent, 0x00000032, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
8304#if defined(__cplusplus) && !defined(CINTERFACE)
8305interface ISynchronizeEvent : public ISynchronizeHandle
8306{
8307 virtual HRESULT STDMETHODCALLTYPE SetEventHandle(
8308 HANDLE *ph) = 0;
8309
8310};
8311#else
8312typedef struct ISynchronizeEventVtbl {
8313 BEGIN_INTERFACE
8314
8315 /*** IUnknown methods ***/
8316 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8317 ISynchronizeEvent* This,
8318 REFIID riid,
8319 void **ppvObject);
8320
8321 ULONG (STDMETHODCALLTYPE *AddRef)(
8322 ISynchronizeEvent* This);
8323
8324 ULONG (STDMETHODCALLTYPE *Release)(
8325 ISynchronizeEvent* This);
8326
8327 /*** ISynchronizeHandle methods ***/
8328 HRESULT (STDMETHODCALLTYPE *GetHandle)(
8329 ISynchronizeEvent* This,
8330 HANDLE *ph);
8331
8332 /*** ISynchronizeEvent methods ***/
8333 HRESULT (STDMETHODCALLTYPE *SetEventHandle)(
8334 ISynchronizeEvent* This,
8335 HANDLE *ph);
8336
8337 END_INTERFACE
8338} ISynchronizeEventVtbl;
8339interface ISynchronizeEvent {
8340 CONST_VTBL ISynchronizeEventVtbl* lpVtbl;
8341};
8342
8343#ifdef COBJMACROS
8344/*** IUnknown methods ***/
8345#define ISynchronizeEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8346#define ISynchronizeEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
8347#define ISynchronizeEvent_Release(This) (This)->lpVtbl->Release(This)
8348/*** ISynchronizeHandle methods ***/
8349#define ISynchronizeEvent_GetHandle(This,ph) (This)->lpVtbl->GetHandle(This,ph)
8350/*** ISynchronizeEvent methods ***/
8351#define ISynchronizeEvent_SetEventHandle(This,ph) (This)->lpVtbl->SetEventHandle(This,ph)
8352#endif
8353
8354#endif
8355
8356HRESULT STDMETHODCALLTYPE ISynchronizeEvent_SetEventHandle_Proxy(
8357 ISynchronizeEvent* This,
8358 HANDLE *ph);
8359void __RPC_STUB ISynchronizeEvent_SetEventHandle_Stub(
8360 IRpcStubBuffer* This,
8361 IRpcChannelBuffer* pRpcChannelBuffer,
8362 PRPC_MESSAGE pRpcMessage,
8363 DWORD* pdwStubPhase);
8364
8365#endif /* __ISynchronizeEvent_INTERFACE_DEFINED__ */
8366
8367#ifndef __ISynchronizeContainer_FWD_DEFINED__
8368#define __ISynchronizeContainer_FWD_DEFINED__
8369typedef interface ISynchronizeContainer ISynchronizeContainer;
8370#endif
8371
8372/*****************************************************************************
8373 * ISynchronizeContainer interface
8374 */
8375#ifndef __ISynchronizeContainer_INTERFACE_DEFINED__
8376#define __ISynchronizeContainer_INTERFACE_DEFINED__
8377
8378DEFINE_GUID(IID_ISynchronizeContainer, 0x00000033, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
8379#if defined(__cplusplus) && !defined(CINTERFACE)
8380interface ISynchronizeContainer : public IUnknown
8381{
8382 virtual HRESULT STDMETHODCALLTYPE AddSynchronize(
8383 ISynchronize *pSync) = 0;
8384
8385 virtual HRESULT STDMETHODCALLTYPE WaitMultiple(
8386 DWORD dwFlags,
8387 DWORD dwTimeOut,
8388 ISynchronize **ppSync) = 0;
8389
8390};
8391#else
8392typedef struct ISynchronizeContainerVtbl {
8393 BEGIN_INTERFACE
8394
8395 /*** IUnknown methods ***/
8396 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8397 ISynchronizeContainer* This,
8398 REFIID riid,
8399 void **ppvObject);
8400
8401 ULONG (STDMETHODCALLTYPE *AddRef)(
8402 ISynchronizeContainer* This);
8403
8404 ULONG (STDMETHODCALLTYPE *Release)(
8405 ISynchronizeContainer* This);
8406
8407 /*** ISynchronizeContainer methods ***/
8408 HRESULT (STDMETHODCALLTYPE *AddSynchronize)(
8409 ISynchronizeContainer* This,
8410 ISynchronize *pSync);
8411
8412 HRESULT (STDMETHODCALLTYPE *WaitMultiple)(
8413 ISynchronizeContainer* This,
8414 DWORD dwFlags,
8415 DWORD dwTimeOut,
8416 ISynchronize **ppSync);
8417
8418 END_INTERFACE
8419} ISynchronizeContainerVtbl;
8420interface ISynchronizeContainer {
8421 CONST_VTBL ISynchronizeContainerVtbl* lpVtbl;
8422};
8423
8424#ifdef COBJMACROS
8425/*** IUnknown methods ***/
8426#define ISynchronizeContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8427#define ISynchronizeContainer_AddRef(This) (This)->lpVtbl->AddRef(This)
8428#define ISynchronizeContainer_Release(This) (This)->lpVtbl->Release(This)
8429/*** ISynchronizeContainer methods ***/
8430#define ISynchronizeContainer_AddSynchronize(This,pSync) (This)->lpVtbl->AddSynchronize(This,pSync)
8431#define ISynchronizeContainer_WaitMultiple(This,dwFlags,dwTimeOut,ppSync) (This)->lpVtbl->WaitMultiple(This,dwFlags,dwTimeOut,ppSync)
8432#endif
8433
8434#endif
8435
8436HRESULT STDMETHODCALLTYPE ISynchronizeContainer_AddSynchronize_Proxy(
8437 ISynchronizeContainer* This,
8438 ISynchronize *pSync);
8439void __RPC_STUB ISynchronizeContainer_AddSynchronize_Stub(
8440 IRpcStubBuffer* This,
8441 IRpcChannelBuffer* pRpcChannelBuffer,
8442 PRPC_MESSAGE pRpcMessage,
8443 DWORD* pdwStubPhase);
8444HRESULT STDMETHODCALLTYPE ISynchronizeContainer_WaitMultiple_Proxy(
8445 ISynchronizeContainer* This,
8446 DWORD dwFlags,
8447 DWORD dwTimeOut,
8448 ISynchronize **ppSync);
8449void __RPC_STUB ISynchronizeContainer_WaitMultiple_Stub(
8450 IRpcStubBuffer* This,
8451 IRpcChannelBuffer* pRpcChannelBuffer,
8452 PRPC_MESSAGE pRpcMessage,
8453 DWORD* pdwStubPhase);
8454
8455#endif /* __ISynchronizeContainer_INTERFACE_DEFINED__ */
8456
8457#ifndef __ISynchronizeMutex_FWD_DEFINED__
8458#define __ISynchronizeMutex_FWD_DEFINED__
8459typedef interface ISynchronizeMutex ISynchronizeMutex;
8460#endif
8461
8462/*****************************************************************************
8463 * ISynchronizeMutex interface
8464 */
8465#ifndef __ISynchronizeMutex_INTERFACE_DEFINED__
8466#define __ISynchronizeMutex_INTERFACE_DEFINED__
8467
8468DEFINE_GUID(IID_ISynchronizeMutex, 0x00000025, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
8469#if defined(__cplusplus) && !defined(CINTERFACE)
8470interface ISynchronizeMutex : public ISynchronize
8471{
8472 virtual HRESULT STDMETHODCALLTYPE ReleaseMutex(
8473 ) = 0;
8474
8475};
8476#else
8477typedef struct ISynchronizeMutexVtbl {
8478 BEGIN_INTERFACE
8479
8480 /*** IUnknown methods ***/
8481 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8482 ISynchronizeMutex* This,
8483 REFIID riid,
8484 void **ppvObject);
8485
8486 ULONG (STDMETHODCALLTYPE *AddRef)(
8487 ISynchronizeMutex* This);
8488
8489 ULONG (STDMETHODCALLTYPE *Release)(
8490 ISynchronizeMutex* This);
8491
8492 /*** ISynchronize methods ***/
8493 HRESULT (STDMETHODCALLTYPE *Wait)(
8494 ISynchronizeMutex* This,
8495 DWORD dwFlags,
8496 DWORD dwMilliseconds);
8497
8498 HRESULT (STDMETHODCALLTYPE *Signal)(
8499 ISynchronizeMutex* This);
8500
8501 HRESULT (STDMETHODCALLTYPE *Reset)(
8502 ISynchronizeMutex* This);
8503
8504 /*** ISynchronizeMutex methods ***/
8505 HRESULT (STDMETHODCALLTYPE *ReleaseMutex)(
8506 ISynchronizeMutex* This);
8507
8508 END_INTERFACE
8509} ISynchronizeMutexVtbl;
8510interface ISynchronizeMutex {
8511 CONST_VTBL ISynchronizeMutexVtbl* lpVtbl;
8512};
8513
8514#ifdef COBJMACROS
8515/*** IUnknown methods ***/
8516#define ISynchronizeMutex_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8517#define ISynchronizeMutex_AddRef(This) (This)->lpVtbl->AddRef(This)
8518#define ISynchronizeMutex_Release(This) (This)->lpVtbl->Release(This)
8519/*** ISynchronize methods ***/
8520#define ISynchronizeMutex_Wait(This,dwFlags,dwMilliseconds) (This)->lpVtbl->Wait(This,dwFlags,dwMilliseconds)
8521#define ISynchronizeMutex_Signal(This) (This)->lpVtbl->Signal(This)
8522#define ISynchronizeMutex_Reset(This) (This)->lpVtbl->Reset(This)
8523/*** ISynchronizeMutex methods ***/
8524#define ISynchronizeMutex_ReleaseMutex(This) (This)->lpVtbl->ReleaseMutex(This)
8525#endif
8526
8527#endif
8528
8529HRESULT STDMETHODCALLTYPE ISynchronizeMutex_ReleaseMutex_Proxy(
8530 ISynchronizeMutex* This);
8531void __RPC_STUB ISynchronizeMutex_ReleaseMutex_Stub(
8532 IRpcStubBuffer* This,
8533 IRpcChannelBuffer* pRpcChannelBuffer,
8534 PRPC_MESSAGE pRpcMessage,
8535 DWORD* pdwStubPhase);
8536
8537#endif /* __ISynchronizeMutex_INTERFACE_DEFINED__ */
8538
8539#ifndef __ICancelMethodCalls_FWD_DEFINED__
8540#define __ICancelMethodCalls_FWD_DEFINED__
8541typedef interface ICancelMethodCalls ICancelMethodCalls;
8542#endif
8543
8544typedef ICancelMethodCalls *LPCANCELMETHODCALLS;
8545/*****************************************************************************
8546 * ICancelMethodCalls interface
8547 */
8548#ifndef __ICancelMethodCalls_INTERFACE_DEFINED__
8549#define __ICancelMethodCalls_INTERFACE_DEFINED__
8550
8551DEFINE_GUID(IID_ICancelMethodCalls, 0x00000029, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
8552#if defined(__cplusplus) && !defined(CINTERFACE)
8553interface ICancelMethodCalls : public IUnknown
8554{
8555 virtual HRESULT STDMETHODCALLTYPE Cancel(
8556 ULONG ulSeconds) = 0;
8557
8558 virtual HRESULT STDMETHODCALLTYPE TestCancel(
8559 ) = 0;
8560
8561};
8562#else
8563typedef struct ICancelMethodCallsVtbl {
8564 BEGIN_INTERFACE
8565
8566 /*** IUnknown methods ***/
8567 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8568 ICancelMethodCalls* This,
8569 REFIID riid,
8570 void **ppvObject);
8571
8572 ULONG (STDMETHODCALLTYPE *AddRef)(
8573 ICancelMethodCalls* This);
8574
8575 ULONG (STDMETHODCALLTYPE *Release)(
8576 ICancelMethodCalls* This);
8577
8578 /*** ICancelMethodCalls methods ***/
8579 HRESULT (STDMETHODCALLTYPE *Cancel)(
8580 ICancelMethodCalls* This,
8581 ULONG ulSeconds);
8582
8583 HRESULT (STDMETHODCALLTYPE *TestCancel)(
8584 ICancelMethodCalls* This);
8585
8586 END_INTERFACE
8587} ICancelMethodCallsVtbl;
8588interface ICancelMethodCalls {
8589 CONST_VTBL ICancelMethodCallsVtbl* lpVtbl;
8590};
8591
8592#ifdef COBJMACROS
8593/*** IUnknown methods ***/
8594#define ICancelMethodCalls_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8595#define ICancelMethodCalls_AddRef(This) (This)->lpVtbl->AddRef(This)
8596#define ICancelMethodCalls_Release(This) (This)->lpVtbl->Release(This)
8597/*** ICancelMethodCalls methods ***/
8598#define ICancelMethodCalls_Cancel(This,ulSeconds) (This)->lpVtbl->Cancel(This,ulSeconds)
8599#define ICancelMethodCalls_TestCancel(This) (This)->lpVtbl->TestCancel(This)
8600#endif
8601
8602#endif
8603
8604HRESULT STDMETHODCALLTYPE ICancelMethodCalls_Cancel_Proxy(
8605 ICancelMethodCalls* This,
8606 ULONG ulSeconds);
8607void __RPC_STUB ICancelMethodCalls_Cancel_Stub(
8608 IRpcStubBuffer* This,
8609 IRpcChannelBuffer* pRpcChannelBuffer,
8610 PRPC_MESSAGE pRpcMessage,
8611 DWORD* pdwStubPhase);
8612HRESULT STDMETHODCALLTYPE ICancelMethodCalls_TestCancel_Proxy(
8613 ICancelMethodCalls* This);
8614void __RPC_STUB ICancelMethodCalls_TestCancel_Stub(
8615 IRpcStubBuffer* This,
8616 IRpcChannelBuffer* pRpcChannelBuffer,
8617 PRPC_MESSAGE pRpcMessage,
8618 DWORD* pdwStubPhase);
8619
8620#endif /* __ICancelMethodCalls_INTERFACE_DEFINED__ */
8621
8622typedef enum tagDCOM_CALL_STATE {
8623 DCOM_NONE = 0,
8624 DCOM_CALL_COMPLETE = 1,
8625 DCOM_CALL_CANCELED = 2
8626} DCOM_CALL_STATE;
8627/*****************************************************************************
8628 * IAsyncManager interface
8629 */
8630#ifndef __IAsyncManager_INTERFACE_DEFINED__
8631#define __IAsyncManager_INTERFACE_DEFINED__
8632
8633DEFINE_GUID(IID_IAsyncManager, 0x0000002a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
8634#if defined(__cplusplus) && !defined(CINTERFACE)
8635interface IAsyncManager : public IUnknown
8636{
8637 virtual HRESULT STDMETHODCALLTYPE CompleteCall(
8638 HRESULT Result) = 0;
8639
8640 virtual HRESULT STDMETHODCALLTYPE GetCallContext(
8641 REFIID riid,
8642 void **pInterface) = 0;
8643
8644 virtual HRESULT STDMETHODCALLTYPE GetState(
8645 ULONG *pulStateFlags) = 0;
8646
8647};
8648#else
8649typedef struct IAsyncManagerVtbl {
8650 BEGIN_INTERFACE
8651
8652 /*** IUnknown methods ***/
8653 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8654 IAsyncManager* This,
8655 REFIID riid,
8656 void **ppvObject);
8657
8658 ULONG (STDMETHODCALLTYPE *AddRef)(
8659 IAsyncManager* This);
8660
8661 ULONG (STDMETHODCALLTYPE *Release)(
8662 IAsyncManager* This);
8663
8664 /*** IAsyncManager methods ***/
8665 HRESULT (STDMETHODCALLTYPE *CompleteCall)(
8666 IAsyncManager* This,
8667 HRESULT Result);
8668
8669 HRESULT (STDMETHODCALLTYPE *GetCallContext)(
8670 IAsyncManager* This,
8671 REFIID riid,
8672 void **pInterface);
8673
8674 HRESULT (STDMETHODCALLTYPE *GetState)(
8675 IAsyncManager* This,
8676 ULONG *pulStateFlags);
8677
8678 END_INTERFACE
8679} IAsyncManagerVtbl;
8680interface IAsyncManager {
8681 CONST_VTBL IAsyncManagerVtbl* lpVtbl;
8682};
8683
8684#ifdef COBJMACROS
8685/*** IUnknown methods ***/
8686#define IAsyncManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8687#define IAsyncManager_AddRef(This) (This)->lpVtbl->AddRef(This)
8688#define IAsyncManager_Release(This) (This)->lpVtbl->Release(This)
8689/*** IAsyncManager methods ***/
8690#define IAsyncManager_CompleteCall(This,Result) (This)->lpVtbl->CompleteCall(This,Result)
8691#define IAsyncManager_GetCallContext(This,riid,pInterface) (This)->lpVtbl->GetCallContext(This,riid,pInterface)
8692#define IAsyncManager_GetState(This,pulStateFlags) (This)->lpVtbl->GetState(This,pulStateFlags)
8693#endif
8694
8695#endif
8696
8697HRESULT STDMETHODCALLTYPE IAsyncManager_CompleteCall_Proxy(
8698 IAsyncManager* This,
8699 HRESULT Result);
8700void __RPC_STUB IAsyncManager_CompleteCall_Stub(
8701 IRpcStubBuffer* This,
8702 IRpcChannelBuffer* pRpcChannelBuffer,
8703 PRPC_MESSAGE pRpcMessage,
8704 DWORD* pdwStubPhase);
8705HRESULT STDMETHODCALLTYPE IAsyncManager_GetCallContext_Proxy(
8706 IAsyncManager* This,
8707 REFIID riid,
8708 void **pInterface);
8709void __RPC_STUB IAsyncManager_GetCallContext_Stub(
8710 IRpcStubBuffer* This,
8711 IRpcChannelBuffer* pRpcChannelBuffer,
8712 PRPC_MESSAGE pRpcMessage,
8713 DWORD* pdwStubPhase);
8714HRESULT STDMETHODCALLTYPE IAsyncManager_GetState_Proxy(
8715 IAsyncManager* This,
8716 ULONG *pulStateFlags);
8717void __RPC_STUB IAsyncManager_GetState_Stub(
8718 IRpcStubBuffer* This,
8719 IRpcChannelBuffer* pRpcChannelBuffer,
8720 PRPC_MESSAGE pRpcMessage,
8721 DWORD* pdwStubPhase);
8722
8723#endif /* __IAsyncManager_INTERFACE_DEFINED__ */
8724
8725#ifndef __ICallFactory_FWD_DEFINED__
8726#define __ICallFactory_FWD_DEFINED__
8727typedef interface ICallFactory ICallFactory;
8728#endif
8729
8730/*****************************************************************************
8731 * ICallFactory interface
8732 */
8733#ifndef __ICallFactory_INTERFACE_DEFINED__
8734#define __ICallFactory_INTERFACE_DEFINED__
8735
8736DEFINE_GUID(IID_ICallFactory, 0x1c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
8737#if defined(__cplusplus) && !defined(CINTERFACE)
8738interface ICallFactory : public IUnknown
8739{
8740 virtual HRESULT STDMETHODCALLTYPE CreateCall(
8741 REFIID riid,
8742 IUnknown *pCtrlUnk,
8743 REFIID riid2,
8744 IUnknown **ppv) = 0;
8745
8746};
8747#else
8748typedef struct ICallFactoryVtbl {
8749 BEGIN_INTERFACE
8750
8751 /*** IUnknown methods ***/
8752 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8753 ICallFactory* This,
8754 REFIID riid,
8755 void **ppvObject);
8756
8757 ULONG (STDMETHODCALLTYPE *AddRef)(
8758 ICallFactory* This);
8759
8760 ULONG (STDMETHODCALLTYPE *Release)(
8761 ICallFactory* This);
8762
8763 /*** ICallFactory methods ***/
8764 HRESULT (STDMETHODCALLTYPE *CreateCall)(
8765 ICallFactory* This,
8766 REFIID riid,
8767 IUnknown *pCtrlUnk,
8768 REFIID riid2,
8769 IUnknown **ppv);
8770
8771 END_INTERFACE
8772} ICallFactoryVtbl;
8773interface ICallFactory {
8774 CONST_VTBL ICallFactoryVtbl* lpVtbl;
8775};
8776
8777#ifdef COBJMACROS
8778/*** IUnknown methods ***/
8779#define ICallFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8780#define ICallFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
8781#define ICallFactory_Release(This) (This)->lpVtbl->Release(This)
8782/*** ICallFactory methods ***/
8783#define ICallFactory_CreateCall(This,riid,pCtrlUnk,riid2,ppv) (This)->lpVtbl->CreateCall(This,riid,pCtrlUnk,riid2,ppv)
8784#endif
8785
8786#endif
8787
8788HRESULT STDMETHODCALLTYPE ICallFactory_CreateCall_Proxy(
8789 ICallFactory* This,
8790 REFIID riid,
8791 IUnknown *pCtrlUnk,
8792 REFIID riid2,
8793 IUnknown **ppv);
8794void __RPC_STUB ICallFactory_CreateCall_Stub(
8795 IRpcStubBuffer* This,
8796 IRpcChannelBuffer* pRpcChannelBuffer,
8797 PRPC_MESSAGE pRpcMessage,
8798 DWORD* pdwStubPhase);
8799
8800#endif /* __ICallFactory_INTERFACE_DEFINED__ */
8801
8802#ifndef __IRpcOptions_FWD_DEFINED__
8803#define __IRpcOptions_FWD_DEFINED__
8804typedef interface IRpcOptions IRpcOptions;
8805#endif
8806
8807/*****************************************************************************
8808 * IRpcOptions interface
8809 */
8810#ifndef __IRpcOptions_INTERFACE_DEFINED__
8811#define __IRpcOptions_INTERFACE_DEFINED__
8812
8813DEFINE_GUID(IID_IRpcOptions, 0x00000144, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
8814#if defined(__cplusplus) && !defined(CINTERFACE)
8815interface IRpcOptions : public IUnknown
8816{
8817 virtual HRESULT STDMETHODCALLTYPE Set(
8818 IUnknown *pPrx,
8819 DWORD dwProperty,
8820 ULONG_PTR dwValue) = 0;
8821
8822 virtual HRESULT STDMETHODCALLTYPE Query(
8823 IUnknown *pPrx,
8824 DWORD dwProperty,
8825 ULONG_PTR *pdwValue) = 0;
8826
8827};
8828#else
8829typedef struct IRpcOptionsVtbl {
8830 BEGIN_INTERFACE
8831
8832 /*** IUnknown methods ***/
8833 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8834 IRpcOptions* This,
8835 REFIID riid,
8836 void **ppvObject);
8837
8838 ULONG (STDMETHODCALLTYPE *AddRef)(
8839 IRpcOptions* This);
8840
8841 ULONG (STDMETHODCALLTYPE *Release)(
8842 IRpcOptions* This);
8843
8844 /*** IRpcOptions methods ***/
8845 HRESULT (STDMETHODCALLTYPE *Set)(
8846 IRpcOptions* This,
8847 IUnknown *pPrx,
8848 DWORD dwProperty,
8849 ULONG_PTR dwValue);
8850
8851 HRESULT (STDMETHODCALLTYPE *Query)(
8852 IRpcOptions* This,
8853 IUnknown *pPrx,
8854 DWORD dwProperty,
8855 ULONG_PTR *pdwValue);
8856
8857 END_INTERFACE
8858} IRpcOptionsVtbl;
8859interface IRpcOptions {
8860 CONST_VTBL IRpcOptionsVtbl* lpVtbl;
8861};
8862
8863#ifdef COBJMACROS
8864/*** IUnknown methods ***/
8865#define IRpcOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8866#define IRpcOptions_AddRef(This) (This)->lpVtbl->AddRef(This)
8867#define IRpcOptions_Release(This) (This)->lpVtbl->Release(This)
8868/*** IRpcOptions methods ***/
8869#define IRpcOptions_Set(This,pPrx,dwProperty,dwValue) (This)->lpVtbl->Set(This,pPrx,dwProperty,dwValue)
8870#define IRpcOptions_Query(This,pPrx,dwProperty,pdwValue) (This)->lpVtbl->Query(This,pPrx,dwProperty,pdwValue)
8871#endif
8872
8873#endif
8874
8875HRESULT STDMETHODCALLTYPE IRpcOptions_Set_Proxy(
8876 IRpcOptions* This,
8877 IUnknown *pPrx,
8878 DWORD dwProperty,
8879 ULONG_PTR dwValue);
8880void __RPC_STUB IRpcOptions_Set_Stub(
8881 IRpcStubBuffer* This,
8882 IRpcChannelBuffer* pRpcChannelBuffer,
8883 PRPC_MESSAGE pRpcMessage,
8884 DWORD* pdwStubPhase);
8885HRESULT STDMETHODCALLTYPE IRpcOptions_Query_Proxy(
8886 IRpcOptions* This,
8887 IUnknown *pPrx,
8888 DWORD dwProperty,
8889 ULONG_PTR *pdwValue);
8890void __RPC_STUB IRpcOptions_Query_Stub(
8891 IRpcStubBuffer* This,
8892 IRpcChannelBuffer* pRpcChannelBuffer,
8893 PRPC_MESSAGE pRpcMessage,
8894 DWORD* pdwStubPhase);
8895
8896#endif /* __IRpcOptions_INTERFACE_DEFINED__ */
8897
8898enum {
8899 COMBND_RPCTIMEOUT = 1,
8900 COMBND_SERVER_LOCALITY = 2
8901};
8902
8903enum {
8904 SERVER_LOCALITY_PROCESS_LOCAL = 0,
8905 SERVER_LOCALITY_MACHINE_LOCAL = 1,
8906 SERVER_LOCALITY_REMOTE = 2
8907};
8908
8909#ifndef __IRpcHelper_FWD_DEFINED__
8910#define __IRpcHelper_FWD_DEFINED__
8911typedef interface IRpcHelper IRpcHelper;
8912#endif
8913
8914/*****************************************************************************
8915 * IRpcHelper interface
8916 */
8917#ifndef __IRpcHelper_INTERFACE_DEFINED__
8918#define __IRpcHelper_INTERFACE_DEFINED__
8919
8920DEFINE_GUID(IID_IRpcHelper, 0x00000149, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
8921#if defined(__cplusplus) && !defined(CINTERFACE)
8922interface IRpcHelper : public IUnknown
8923{
8924 virtual HRESULT STDMETHODCALLTYPE GetDCOMProtocolVersion(
8925 DWORD *pComVersion) = 0;
8926
8927 virtual HRESULT STDMETHODCALLTYPE GetIIDFromOBJREF(
8928 void *pObjRef,
8929 IID **piid) = 0;
8930
8931};
8932#else
8933typedef struct IRpcHelperVtbl {
8934 BEGIN_INTERFACE
8935
8936 /*** IUnknown methods ***/
8937 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
8938 IRpcHelper* This,
8939 REFIID riid,
8940 void **ppvObject);
8941
8942 ULONG (STDMETHODCALLTYPE *AddRef)(
8943 IRpcHelper* This);
8944
8945 ULONG (STDMETHODCALLTYPE *Release)(
8946 IRpcHelper* This);
8947
8948 /*** IRpcHelper methods ***/
8949 HRESULT (STDMETHODCALLTYPE *GetDCOMProtocolVersion)(
8950 IRpcHelper* This,
8951 DWORD *pComVersion);
8952
8953 HRESULT (STDMETHODCALLTYPE *GetIIDFromOBJREF)(
8954 IRpcHelper* This,
8955 void *pObjRef,
8956 IID **piid);
8957
8958 END_INTERFACE
8959} IRpcHelperVtbl;
8960interface IRpcHelper {
8961 CONST_VTBL IRpcHelperVtbl* lpVtbl;
8962};
8963
8964#ifdef COBJMACROS
8965/*** IUnknown methods ***/
8966#define IRpcHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
8967#define IRpcHelper_AddRef(This) (This)->lpVtbl->AddRef(This)
8968#define IRpcHelper_Release(This) (This)->lpVtbl->Release(This)
8969/*** IRpcHelper methods ***/
8970#define IRpcHelper_GetDCOMProtocolVersion(This,pComVersion) (This)->lpVtbl->GetDCOMProtocolVersion(This,pComVersion)
8971#define IRpcHelper_GetIIDFromOBJREF(This,pObjRef,piid) (This)->lpVtbl->GetIIDFromOBJREF(This,pObjRef,piid)
8972#endif
8973
8974#endif
8975
8976HRESULT STDMETHODCALLTYPE IRpcHelper_GetDCOMProtocolVersion_Proxy(
8977 IRpcHelper* This,
8978 DWORD *pComVersion);
8979void __RPC_STUB IRpcHelper_GetDCOMProtocolVersion_Stub(
8980 IRpcStubBuffer* This,
8981 IRpcChannelBuffer* pRpcChannelBuffer,
8982 PRPC_MESSAGE pRpcMessage,
8983 DWORD* pdwStubPhase);
8984HRESULT STDMETHODCALLTYPE IRpcHelper_GetIIDFromOBJREF_Proxy(
8985 IRpcHelper* This,
8986 void *pObjRef,
8987 IID **piid);
8988void __RPC_STUB IRpcHelper_GetIIDFromOBJREF_Stub(
8989 IRpcStubBuffer* This,
8990 IRpcChannelBuffer* pRpcChannelBuffer,
8991 PRPC_MESSAGE pRpcMessage,
8992 DWORD* pdwStubPhase);
8993
8994#endif /* __IRpcHelper_INTERFACE_DEFINED__ */
8995
8996#ifndef __IReleaseMarshalBuffers_FWD_DEFINED__
8997#define __IReleaseMarshalBuffers_FWD_DEFINED__
8998typedef interface IReleaseMarshalBuffers IReleaseMarshalBuffers;
8999#endif
9000
9001/*****************************************************************************
9002 * IReleaseMarshalBuffers interface
9003 */
9004#ifndef __IReleaseMarshalBuffers_INTERFACE_DEFINED__
9005#define __IReleaseMarshalBuffers_INTERFACE_DEFINED__
9006
9007DEFINE_GUID(IID_IReleaseMarshalBuffers, 0xeb0cb9e8, 0x7996, 0x11d2, 0x87,0x2e, 0x00,0x00,0xf8,0x08,0x08,0x59);
9008#if defined(__cplusplus) && !defined(CINTERFACE)
9009interface IReleaseMarshalBuffers : public IUnknown
9010{
9011 virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalBuffer(
9012 RPCOLEMESSAGE *pMsg,
9013 DWORD dwFlags,
9014 IUnknown *pChnl) = 0;
9015
9016};
9017#else
9018typedef struct IReleaseMarshalBuffersVtbl {
9019 BEGIN_INTERFACE
9020
9021 /*** IUnknown methods ***/
9022 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9023 IReleaseMarshalBuffers* This,
9024 REFIID riid,
9025 void **ppvObject);
9026
9027 ULONG (STDMETHODCALLTYPE *AddRef)(
9028 IReleaseMarshalBuffers* This);
9029
9030 ULONG (STDMETHODCALLTYPE *Release)(
9031 IReleaseMarshalBuffers* This);
9032
9033 /*** IReleaseMarshalBuffers methods ***/
9034 HRESULT (STDMETHODCALLTYPE *ReleaseMarshalBuffer)(
9035 IReleaseMarshalBuffers* This,
9036 RPCOLEMESSAGE *pMsg,
9037 DWORD dwFlags,
9038 IUnknown *pChnl);
9039
9040 END_INTERFACE
9041} IReleaseMarshalBuffersVtbl;
9042interface IReleaseMarshalBuffers {
9043 CONST_VTBL IReleaseMarshalBuffersVtbl* lpVtbl;
9044};
9045
9046#ifdef COBJMACROS
9047/*** IUnknown methods ***/
9048#define IReleaseMarshalBuffers_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9049#define IReleaseMarshalBuffers_AddRef(This) (This)->lpVtbl->AddRef(This)
9050#define IReleaseMarshalBuffers_Release(This) (This)->lpVtbl->Release(This)
9051/*** IReleaseMarshalBuffers methods ***/
9052#define IReleaseMarshalBuffers_ReleaseMarshalBuffer(This,pMsg,dwFlags,pChnl) (This)->lpVtbl->ReleaseMarshalBuffer(This,pMsg,dwFlags,pChnl)
9053#endif
9054
9055#endif
9056
9057HRESULT STDMETHODCALLTYPE IReleaseMarshalBuffers_ReleaseMarshalBuffer_Proxy(
9058 IReleaseMarshalBuffers* This,
9059 RPCOLEMESSAGE *pMsg,
9060 DWORD dwFlags,
9061 IUnknown *pChnl);
9062void __RPC_STUB IReleaseMarshalBuffers_ReleaseMarshalBuffer_Stub(
9063 IRpcStubBuffer* This,
9064 IRpcChannelBuffer* pRpcChannelBuffer,
9065 PRPC_MESSAGE pRpcMessage,
9066 DWORD* pdwStubPhase);
9067
9068#endif /* __IReleaseMarshalBuffers_INTERFACE_DEFINED__ */
9069
9070#ifndef __IWaitMultiple_FWD_DEFINED__
9071#define __IWaitMultiple_FWD_DEFINED__
9072typedef interface IWaitMultiple IWaitMultiple;
9073#endif
9074
9075/*****************************************************************************
9076 * IWaitMultiple interface
9077 */
9078#ifndef __IWaitMultiple_INTERFACE_DEFINED__
9079#define __IWaitMultiple_INTERFACE_DEFINED__
9080
9081DEFINE_GUID(IID_IWaitMultiple, 0x0000002b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
9082#if defined(__cplusplus) && !defined(CINTERFACE)
9083interface IWaitMultiple : public IUnknown
9084{
9085 virtual HRESULT STDMETHODCALLTYPE WaitMultiple(
9086 DWORD timeout,
9087 ISynchronize **pSync) = 0;
9088
9089 virtual HRESULT STDMETHODCALLTYPE AddSynchronize(
9090 ISynchronize *pSync) = 0;
9091
9092};
9093#else
9094typedef struct IWaitMultipleVtbl {
9095 BEGIN_INTERFACE
9096
9097 /*** IUnknown methods ***/
9098 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9099 IWaitMultiple* This,
9100 REFIID riid,
9101 void **ppvObject);
9102
9103 ULONG (STDMETHODCALLTYPE *AddRef)(
9104 IWaitMultiple* This);
9105
9106 ULONG (STDMETHODCALLTYPE *Release)(
9107 IWaitMultiple* This);
9108
9109 /*** IWaitMultiple methods ***/
9110 HRESULT (STDMETHODCALLTYPE *WaitMultiple)(
9111 IWaitMultiple* This,
9112 DWORD timeout,
9113 ISynchronize **pSync);
9114
9115 HRESULT (STDMETHODCALLTYPE *AddSynchronize)(
9116 IWaitMultiple* This,
9117 ISynchronize *pSync);
9118
9119 END_INTERFACE
9120} IWaitMultipleVtbl;
9121interface IWaitMultiple {
9122 CONST_VTBL IWaitMultipleVtbl* lpVtbl;
9123};
9124
9125#ifdef COBJMACROS
9126/*** IUnknown methods ***/
9127#define IWaitMultiple_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9128#define IWaitMultiple_AddRef(This) (This)->lpVtbl->AddRef(This)
9129#define IWaitMultiple_Release(This) (This)->lpVtbl->Release(This)
9130/*** IWaitMultiple methods ***/
9131#define IWaitMultiple_WaitMultiple(This,timeout,pSync) (This)->lpVtbl->WaitMultiple(This,timeout,pSync)
9132#define IWaitMultiple_AddSynchronize(This,pSync) (This)->lpVtbl->AddSynchronize(This,pSync)
9133#endif
9134
9135#endif
9136
9137HRESULT STDMETHODCALLTYPE IWaitMultiple_WaitMultiple_Proxy(
9138 IWaitMultiple* This,
9139 DWORD timeout,
9140 ISynchronize **pSync);
9141void __RPC_STUB IWaitMultiple_WaitMultiple_Stub(
9142 IRpcStubBuffer* This,
9143 IRpcChannelBuffer* pRpcChannelBuffer,
9144 PRPC_MESSAGE pRpcMessage,
9145 DWORD* pdwStubPhase);
9146HRESULT STDMETHODCALLTYPE IWaitMultiple_AddSynchronize_Proxy(
9147 IWaitMultiple* This,
9148 ISynchronize *pSync);
9149void __RPC_STUB IWaitMultiple_AddSynchronize_Stub(
9150 IRpcStubBuffer* This,
9151 IRpcChannelBuffer* pRpcChannelBuffer,
9152 PRPC_MESSAGE pRpcMessage,
9153 DWORD* pdwStubPhase);
9154
9155#endif /* __IWaitMultiple_INTERFACE_DEFINED__ */
9156
9157#ifndef __IUrlMon_FWD_DEFINED__
9158#define __IUrlMon_FWD_DEFINED__
9159typedef interface IUrlMon IUrlMon;
9160#endif
9161
9162/*****************************************************************************
9163 * IUrlMon interface
9164 */
9165#ifndef __IUrlMon_INTERFACE_DEFINED__
9166#define __IUrlMon_INTERFACE_DEFINED__
9167
9168DEFINE_GUID(IID_IUrlMon, 0x00000026, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
9169#if defined(__cplusplus) && !defined(CINTERFACE)
9170interface IUrlMon : public IUnknown
9171{
9172 virtual HRESULT STDMETHODCALLTYPE AsyncGetClassBits(
9173 REFCLSID rclsid,
9174 LPCWSTR pszTYPE,
9175 LPCWSTR pszExt,
9176 DWORD dwFileVersionMS,
9177 DWORD dwFileVersionLS,
9178 LPCWSTR pszCodeBase,
9179 IBindCtx *pbc,
9180 DWORD dwClassContext,
9181 REFIID riid,
9182 DWORD flags) = 0;
9183
9184};
9185#else
9186typedef struct IUrlMonVtbl {
9187 BEGIN_INTERFACE
9188
9189 /*** IUnknown methods ***/
9190 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9191 IUrlMon* This,
9192 REFIID riid,
9193 void **ppvObject);
9194
9195 ULONG (STDMETHODCALLTYPE *AddRef)(
9196 IUrlMon* This);
9197
9198 ULONG (STDMETHODCALLTYPE *Release)(
9199 IUrlMon* This);
9200
9201 /*** IUrlMon methods ***/
9202 HRESULT (STDMETHODCALLTYPE *AsyncGetClassBits)(
9203 IUrlMon* This,
9204 REFCLSID rclsid,
9205 LPCWSTR pszTYPE,
9206 LPCWSTR pszExt,
9207 DWORD dwFileVersionMS,
9208 DWORD dwFileVersionLS,
9209 LPCWSTR pszCodeBase,
9210 IBindCtx *pbc,
9211 DWORD dwClassContext,
9212 REFIID riid,
9213 DWORD flags);
9214
9215 END_INTERFACE
9216} IUrlMonVtbl;
9217interface IUrlMon {
9218 CONST_VTBL IUrlMonVtbl* lpVtbl;
9219};
9220
9221#ifdef COBJMACROS
9222/*** IUnknown methods ***/
9223#define IUrlMon_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9224#define IUrlMon_AddRef(This) (This)->lpVtbl->AddRef(This)
9225#define IUrlMon_Release(This) (This)->lpVtbl->Release(This)
9226/*** IUrlMon methods ***/
9227#define IUrlMon_AsyncGetClassBits(This,rclsid,pszTYPE,pszExt,dwFileVersionMS,dwFileVersionLS,pszCodeBase,pbc,dwClassContext,riid,flags) (This)->lpVtbl->AsyncGetClassBits(This,rclsid,pszTYPE,pszExt,dwFileVersionMS,dwFileVersionLS,pszCodeBase,pbc,dwClassContext,riid,flags)
9228#endif
9229
9230#endif
9231
9232HRESULT STDMETHODCALLTYPE IUrlMon_AsyncGetClassBits_Proxy(
9233 IUrlMon* This,
9234 REFCLSID rclsid,
9235 LPCWSTR pszTYPE,
9236 LPCWSTR pszExt,
9237 DWORD dwFileVersionMS,
9238 DWORD dwFileVersionLS,
9239 LPCWSTR pszCodeBase,
9240 IBindCtx *pbc,
9241 DWORD dwClassContext,
9242 REFIID riid,
9243 DWORD flags);
9244void __RPC_STUB IUrlMon_AsyncGetClassBits_Stub(
9245 IRpcStubBuffer* This,
9246 IRpcChannelBuffer* pRpcChannelBuffer,
9247 PRPC_MESSAGE pRpcMessage,
9248 DWORD* pdwStubPhase);
9249
9250#endif /* __IUrlMon_INTERFACE_DEFINED__ */
9251
9252#ifndef __IForegroundTransfer_FWD_DEFINED__
9253#define __IForegroundTransfer_FWD_DEFINED__
9254typedef interface IForegroundTransfer IForegroundTransfer;
9255#endif
9256
9257/*****************************************************************************
9258 * IForegroundTransfer interface
9259 */
9260#ifndef __IForegroundTransfer_INTERFACE_DEFINED__
9261#define __IForegroundTransfer_INTERFACE_DEFINED__
9262
9263DEFINE_GUID(IID_IForegroundTransfer, 0x00000145, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
9264#if defined(__cplusplus) && !defined(CINTERFACE)
9265interface IForegroundTransfer : public IUnknown
9266{
9267 virtual HRESULT STDMETHODCALLTYPE AllowForegroundTransfer(
9268 void *lpvReserved) = 0;
9269
9270};
9271#else
9272typedef struct IForegroundTransferVtbl {
9273 BEGIN_INTERFACE
9274
9275 /*** IUnknown methods ***/
9276 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9277 IForegroundTransfer* This,
9278 REFIID riid,
9279 void **ppvObject);
9280
9281 ULONG (STDMETHODCALLTYPE *AddRef)(
9282 IForegroundTransfer* This);
9283
9284 ULONG (STDMETHODCALLTYPE *Release)(
9285 IForegroundTransfer* This);
9286
9287 /*** IForegroundTransfer methods ***/
9288 HRESULT (STDMETHODCALLTYPE *AllowForegroundTransfer)(
9289 IForegroundTransfer* This,
9290 void *lpvReserved);
9291
9292 END_INTERFACE
9293} IForegroundTransferVtbl;
9294interface IForegroundTransfer {
9295 CONST_VTBL IForegroundTransferVtbl* lpVtbl;
9296};
9297
9298#ifdef COBJMACROS
9299/*** IUnknown methods ***/
9300#define IForegroundTransfer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9301#define IForegroundTransfer_AddRef(This) (This)->lpVtbl->AddRef(This)
9302#define IForegroundTransfer_Release(This) (This)->lpVtbl->Release(This)
9303/*** IForegroundTransfer methods ***/
9304#define IForegroundTransfer_AllowForegroundTransfer(This,lpvReserved) (This)->lpVtbl->AllowForegroundTransfer(This,lpvReserved)
9305#endif
9306
9307#endif
9308
9309HRESULT STDMETHODCALLTYPE IForegroundTransfer_AllowForegroundTransfer_Proxy(
9310 IForegroundTransfer* This,
9311 void *lpvReserved);
9312void __RPC_STUB IForegroundTransfer_AllowForegroundTransfer_Stub(
9313 IRpcStubBuffer* This,
9314 IRpcChannelBuffer* pRpcChannelBuffer,
9315 PRPC_MESSAGE pRpcMessage,
9316 DWORD* pdwStubPhase);
9317
9318#endif /* __IForegroundTransfer_INTERFACE_DEFINED__ */
9319
9320#ifndef __IAddrTrackingControl_FWD_DEFINED__
9321#define __IAddrTrackingControl_FWD_DEFINED__
9322typedef interface IAddrTrackingControl IAddrTrackingControl;
9323#endif
9324
9325typedef IAddrTrackingControl *LPADDRTRACKINGCONTROL;
9326/*****************************************************************************
9327 * IAddrTrackingControl interface
9328 */
9329#ifndef __IAddrTrackingControl_INTERFACE_DEFINED__
9330#define __IAddrTrackingControl_INTERFACE_DEFINED__
9331
9332DEFINE_GUID(IID_IAddrTrackingControl, 0x00000147, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
9333#if defined(__cplusplus) && !defined(CINTERFACE)
9334interface IAddrTrackingControl : public IUnknown
9335{
9336 virtual HRESULT STDMETHODCALLTYPE EnableCOMDynamicAddrTracking(
9337 ) = 0;
9338
9339 virtual HRESULT STDMETHODCALLTYPE DisableCOMDynamicAddrTracking(
9340 ) = 0;
9341
9342};
9343#else
9344typedef struct IAddrTrackingControlVtbl {
9345 BEGIN_INTERFACE
9346
9347 /*** IUnknown methods ***/
9348 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9349 IAddrTrackingControl* This,
9350 REFIID riid,
9351 void **ppvObject);
9352
9353 ULONG (STDMETHODCALLTYPE *AddRef)(
9354 IAddrTrackingControl* This);
9355
9356 ULONG (STDMETHODCALLTYPE *Release)(
9357 IAddrTrackingControl* This);
9358
9359 /*** IAddrTrackingControl methods ***/
9360 HRESULT (STDMETHODCALLTYPE *EnableCOMDynamicAddrTracking)(
9361 IAddrTrackingControl* This);
9362
9363 HRESULT (STDMETHODCALLTYPE *DisableCOMDynamicAddrTracking)(
9364 IAddrTrackingControl* This);
9365
9366 END_INTERFACE
9367} IAddrTrackingControlVtbl;
9368interface IAddrTrackingControl {
9369 CONST_VTBL IAddrTrackingControlVtbl* lpVtbl;
9370};
9371
9372#ifdef COBJMACROS
9373/*** IUnknown methods ***/
9374#define IAddrTrackingControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9375#define IAddrTrackingControl_AddRef(This) (This)->lpVtbl->AddRef(This)
9376#define IAddrTrackingControl_Release(This) (This)->lpVtbl->Release(This)
9377/*** IAddrTrackingControl methods ***/
9378#define IAddrTrackingControl_EnableCOMDynamicAddrTracking(This) (This)->lpVtbl->EnableCOMDynamicAddrTracking(This)
9379#define IAddrTrackingControl_DisableCOMDynamicAddrTracking(This) (This)->lpVtbl->DisableCOMDynamicAddrTracking(This)
9380#endif
9381
9382#endif
9383
9384HRESULT STDMETHODCALLTYPE IAddrTrackingControl_EnableCOMDynamicAddrTracking_Proxy(
9385 IAddrTrackingControl* This);
9386void __RPC_STUB IAddrTrackingControl_EnableCOMDynamicAddrTracking_Stub(
9387 IRpcStubBuffer* This,
9388 IRpcChannelBuffer* pRpcChannelBuffer,
9389 PRPC_MESSAGE pRpcMessage,
9390 DWORD* pdwStubPhase);
9391HRESULT STDMETHODCALLTYPE IAddrTrackingControl_DisableCOMDynamicAddrTracking_Proxy(
9392 IAddrTrackingControl* This);
9393void __RPC_STUB IAddrTrackingControl_DisableCOMDynamicAddrTracking_Stub(
9394 IRpcStubBuffer* This,
9395 IRpcChannelBuffer* pRpcChannelBuffer,
9396 PRPC_MESSAGE pRpcMessage,
9397 DWORD* pdwStubPhase);
9398
9399#endif /* __IAddrTrackingControl_INTERFACE_DEFINED__ */
9400
9401#ifndef __IAddrExclusionControl_FWD_DEFINED__
9402#define __IAddrExclusionControl_FWD_DEFINED__
9403typedef interface IAddrExclusionControl IAddrExclusionControl;
9404#endif
9405
9406typedef IAddrExclusionControl *LPADDREXCLUSIONCONTROL;
9407/*****************************************************************************
9408 * IAddrExclusionControl interface
9409 */
9410#ifndef __IAddrExclusionControl_INTERFACE_DEFINED__
9411#define __IAddrExclusionControl_INTERFACE_DEFINED__
9412
9413DEFINE_GUID(IID_IAddrExclusionControl, 0x00000148, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
9414#if defined(__cplusplus) && !defined(CINTERFACE)
9415interface IAddrExclusionControl : public IUnknown
9416{
9417 virtual HRESULT STDMETHODCALLTYPE GetCurrentAddrExclusionList(
9418 REFIID riid,
9419 void **ppEnumerator) = 0;
9420
9421 virtual HRESULT STDMETHODCALLTYPE UpdateAddrExclusionList(
9422 IUnknown *pEnumerator) = 0;
9423
9424};
9425#else
9426typedef struct IAddrExclusionControlVtbl {
9427 BEGIN_INTERFACE
9428
9429 /*** IUnknown methods ***/
9430 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9431 IAddrExclusionControl* This,
9432 REFIID riid,
9433 void **ppvObject);
9434
9435 ULONG (STDMETHODCALLTYPE *AddRef)(
9436 IAddrExclusionControl* This);
9437
9438 ULONG (STDMETHODCALLTYPE *Release)(
9439 IAddrExclusionControl* This);
9440
9441 /*** IAddrExclusionControl methods ***/
9442 HRESULT (STDMETHODCALLTYPE *GetCurrentAddrExclusionList)(
9443 IAddrExclusionControl* This,
9444 REFIID riid,
9445 void **ppEnumerator);
9446
9447 HRESULT (STDMETHODCALLTYPE *UpdateAddrExclusionList)(
9448 IAddrExclusionControl* This,
9449 IUnknown *pEnumerator);
9450
9451 END_INTERFACE
9452} IAddrExclusionControlVtbl;
9453interface IAddrExclusionControl {
9454 CONST_VTBL IAddrExclusionControlVtbl* lpVtbl;
9455};
9456
9457#ifdef COBJMACROS
9458/*** IUnknown methods ***/
9459#define IAddrExclusionControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9460#define IAddrExclusionControl_AddRef(This) (This)->lpVtbl->AddRef(This)
9461#define IAddrExclusionControl_Release(This) (This)->lpVtbl->Release(This)
9462/*** IAddrExclusionControl methods ***/
9463#define IAddrExclusionControl_GetCurrentAddrExclusionList(This,riid,ppEnumerator) (This)->lpVtbl->GetCurrentAddrExclusionList(This,riid,ppEnumerator)
9464#define IAddrExclusionControl_UpdateAddrExclusionList(This,pEnumerator) (This)->lpVtbl->UpdateAddrExclusionList(This,pEnumerator)
9465#endif
9466
9467#endif
9468
9469HRESULT STDMETHODCALLTYPE IAddrExclusionControl_GetCurrentAddrExclusionList_Proxy(
9470 IAddrExclusionControl* This,
9471 REFIID riid,
9472 void **ppEnumerator);
9473void __RPC_STUB IAddrExclusionControl_GetCurrentAddrExclusionList_Stub(
9474 IRpcStubBuffer* This,
9475 IRpcChannelBuffer* pRpcChannelBuffer,
9476 PRPC_MESSAGE pRpcMessage,
9477 DWORD* pdwStubPhase);
9478HRESULT STDMETHODCALLTYPE IAddrExclusionControl_UpdateAddrExclusionList_Proxy(
9479 IAddrExclusionControl* This,
9480 IUnknown *pEnumerator);
9481void __RPC_STUB IAddrExclusionControl_UpdateAddrExclusionList_Stub(
9482 IRpcStubBuffer* This,
9483 IRpcChannelBuffer* pRpcChannelBuffer,
9484 PRPC_MESSAGE pRpcMessage,
9485 DWORD* pdwStubPhase);
9486
9487#endif /* __IAddrExclusionControl_INTERFACE_DEFINED__ */
9488
9489typedef enum _APTTYPE {
9490 APTTYPE_CURRENT = -1,
9491 APTTYPE_STA = 0,
9492 APTTYPE_MTA = 1,
9493 APTTYPE_NA = 2,
9494 APTTYPE_MAINSTA = 3
9495} APTTYPE;
9496typedef enum _THDTYPE {
9497 THDTYPE_BLOCKMESSAGES = 0,
9498 THDTYPE_PROCESSMESSAGES = 1
9499} THDTYPE;
9500#ifndef __IComThreadingInfo_FWD_DEFINED__
9501#define __IComThreadingInfo_FWD_DEFINED__
9502typedef interface IComThreadingInfo IComThreadingInfo;
9503#endif
9504
9505/*****************************************************************************
9506 * IComThreadingInfo interface
9507 */
9508#ifndef __IComThreadingInfo_INTERFACE_DEFINED__
9509#define __IComThreadingInfo_INTERFACE_DEFINED__
9510
9511DEFINE_GUID(IID_IComThreadingInfo, 0x000001ce, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
9512#if defined(__cplusplus) && !defined(CINTERFACE)
9513interface IComThreadingInfo : public IUnknown
9514{
9515 virtual HRESULT STDMETHODCALLTYPE GetCurrentApartmentType(
9516 APTTYPE *pAptType) = 0;
9517
9518 virtual HRESULT STDMETHODCALLTYPE GetCurrentThreadType(
9519 THDTYPE *pThreadType) = 0;
9520
9521 virtual HRESULT STDMETHODCALLTYPE GetCurrentLogicalThreadId(
9522 GUID *pguidLogicalThreadId) = 0;
9523
9524 virtual HRESULT STDMETHODCALLTYPE SetCurrentLogicalThreadId(
9525 REFGUID rguid) = 0;
9526
9527};
9528#else
9529typedef struct IComThreadingInfoVtbl {
9530 BEGIN_INTERFACE
9531
9532 /*** IUnknown methods ***/
9533 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9534 IComThreadingInfo* This,
9535 REFIID riid,
9536 void **ppvObject);
9537
9538 ULONG (STDMETHODCALLTYPE *AddRef)(
9539 IComThreadingInfo* This);
9540
9541 ULONG (STDMETHODCALLTYPE *Release)(
9542 IComThreadingInfo* This);
9543
9544 /*** IComThreadingInfo methods ***/
9545 HRESULT (STDMETHODCALLTYPE *GetCurrentApartmentType)(
9546 IComThreadingInfo* This,
9547 APTTYPE *pAptType);
9548
9549 HRESULT (STDMETHODCALLTYPE *GetCurrentThreadType)(
9550 IComThreadingInfo* This,
9551 THDTYPE *pThreadType);
9552
9553 HRESULT (STDMETHODCALLTYPE *GetCurrentLogicalThreadId)(
9554 IComThreadingInfo* This,
9555 GUID *pguidLogicalThreadId);
9556
9557 HRESULT (STDMETHODCALLTYPE *SetCurrentLogicalThreadId)(
9558 IComThreadingInfo* This,
9559 REFGUID rguid);
9560
9561 END_INTERFACE
9562} IComThreadingInfoVtbl;
9563interface IComThreadingInfo {
9564 CONST_VTBL IComThreadingInfoVtbl* lpVtbl;
9565};
9566
9567#ifdef COBJMACROS
9568/*** IUnknown methods ***/
9569#define IComThreadingInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9570#define IComThreadingInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
9571#define IComThreadingInfo_Release(This) (This)->lpVtbl->Release(This)
9572/*** IComThreadingInfo methods ***/
9573#define IComThreadingInfo_GetCurrentApartmentType(This,pAptType) (This)->lpVtbl->GetCurrentApartmentType(This,pAptType)
9574#define IComThreadingInfo_GetCurrentThreadType(This,pThreadType) (This)->lpVtbl->GetCurrentThreadType(This,pThreadType)
9575#define IComThreadingInfo_GetCurrentLogicalThreadId(This,pguidLogicalThreadId) (This)->lpVtbl->GetCurrentLogicalThreadId(This,pguidLogicalThreadId)
9576#define IComThreadingInfo_SetCurrentLogicalThreadId(This,rguid) (This)->lpVtbl->SetCurrentLogicalThreadId(This,rguid)
9577#endif
9578
9579#endif
9580
9581HRESULT STDMETHODCALLTYPE IComThreadingInfo_GetCurrentApartmentType_Proxy(
9582 IComThreadingInfo* This,
9583 APTTYPE *pAptType);
9584void __RPC_STUB IComThreadingInfo_GetCurrentApartmentType_Stub(
9585 IRpcStubBuffer* This,
9586 IRpcChannelBuffer* pRpcChannelBuffer,
9587 PRPC_MESSAGE pRpcMessage,
9588 DWORD* pdwStubPhase);
9589HRESULT STDMETHODCALLTYPE IComThreadingInfo_GetCurrentThreadType_Proxy(
9590 IComThreadingInfo* This,
9591 THDTYPE *pThreadType);
9592void __RPC_STUB IComThreadingInfo_GetCurrentThreadType_Stub(
9593 IRpcStubBuffer* This,
9594 IRpcChannelBuffer* pRpcChannelBuffer,
9595 PRPC_MESSAGE pRpcMessage,
9596 DWORD* pdwStubPhase);
9597HRESULT STDMETHODCALLTYPE IComThreadingInfo_GetCurrentLogicalThreadId_Proxy(
9598 IComThreadingInfo* This,
9599 GUID *pguidLogicalThreadId);
9600void __RPC_STUB IComThreadingInfo_GetCurrentLogicalThreadId_Stub(
9601 IRpcStubBuffer* This,
9602 IRpcChannelBuffer* pRpcChannelBuffer,
9603 PRPC_MESSAGE pRpcMessage,
9604 DWORD* pdwStubPhase);
9605HRESULT STDMETHODCALLTYPE IComThreadingInfo_SetCurrentLogicalThreadId_Proxy(
9606 IComThreadingInfo* This,
9607 REFGUID rguid);
9608void __RPC_STUB IComThreadingInfo_SetCurrentLogicalThreadId_Stub(
9609 IRpcStubBuffer* This,
9610 IRpcChannelBuffer* pRpcChannelBuffer,
9611 PRPC_MESSAGE pRpcMessage,
9612 DWORD* pdwStubPhase);
9613
9614#endif /* __IComThreadingInfo_INTERFACE_DEFINED__ */
9615
9616#ifndef __IProcessInitControl_FWD_DEFINED__
9617#define __IProcessInitControl_FWD_DEFINED__
9618typedef interface IProcessInitControl IProcessInitControl;
9619#endif
9620
9621/*****************************************************************************
9622 * IProcessInitControl interface
9623 */
9624#ifndef __IProcessInitControl_INTERFACE_DEFINED__
9625#define __IProcessInitControl_INTERFACE_DEFINED__
9626
9627DEFINE_GUID(IID_IProcessInitControl, 0x72380d55, 0x8d2b, 0x43a3, 0x85,0x13, 0x2b,0x6e,0xf3,0x14,0x34,0xe9);
9628#if defined(__cplusplus) && !defined(CINTERFACE)
9629interface IProcessInitControl : public IUnknown
9630{
9631 virtual HRESULT STDMETHODCALLTYPE ResetInitializerTimeout(
9632 DWORD dwSecondsRemaining) = 0;
9633
9634};
9635#else
9636typedef struct IProcessInitControlVtbl {
9637 BEGIN_INTERFACE
9638
9639 /*** IUnknown methods ***/
9640 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9641 IProcessInitControl* This,
9642 REFIID riid,
9643 void **ppvObject);
9644
9645 ULONG (STDMETHODCALLTYPE *AddRef)(
9646 IProcessInitControl* This);
9647
9648 ULONG (STDMETHODCALLTYPE *Release)(
9649 IProcessInitControl* This);
9650
9651 /*** IProcessInitControl methods ***/
9652 HRESULT (STDMETHODCALLTYPE *ResetInitializerTimeout)(
9653 IProcessInitControl* This,
9654 DWORD dwSecondsRemaining);
9655
9656 END_INTERFACE
9657} IProcessInitControlVtbl;
9658interface IProcessInitControl {
9659 CONST_VTBL IProcessInitControlVtbl* lpVtbl;
9660};
9661
9662#ifdef COBJMACROS
9663/*** IUnknown methods ***/
9664#define IProcessInitControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9665#define IProcessInitControl_AddRef(This) (This)->lpVtbl->AddRef(This)
9666#define IProcessInitControl_Release(This) (This)->lpVtbl->Release(This)
9667/*** IProcessInitControl methods ***/
9668#define IProcessInitControl_ResetInitializerTimeout(This,dwSecondsRemaining) (This)->lpVtbl->ResetInitializerTimeout(This,dwSecondsRemaining)
9669#endif
9670
9671#endif
9672
9673HRESULT STDMETHODCALLTYPE IProcessInitControl_ResetInitializerTimeout_Proxy(
9674 IProcessInitControl* This,
9675 DWORD dwSecondsRemaining);
9676void __RPC_STUB IProcessInitControl_ResetInitializerTimeout_Stub(
9677 IRpcStubBuffer* This,
9678 IRpcChannelBuffer* pRpcChannelBuffer,
9679 PRPC_MESSAGE pRpcMessage,
9680 DWORD* pdwStubPhase);
9681
9682#endif /* __IProcessInitControl_INTERFACE_DEFINED__ */
9683
9684#ifndef __IInitializeSpy_FWD_DEFINED__
9685#define __IInitializeSpy_FWD_DEFINED__
9686typedef interface IInitializeSpy IInitializeSpy;
9687#endif
9688
9689typedef IInitializeSpy *LPINITIALIZESPY;
9690/*****************************************************************************
9691 * IInitializeSpy interface
9692 */
9693#ifndef __IInitializeSpy_INTERFACE_DEFINED__
9694#define __IInitializeSpy_INTERFACE_DEFINED__
9695
9696DEFINE_GUID(IID_IInitializeSpy, 0x00000034, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
9697#if defined(__cplusplus) && !defined(CINTERFACE)
9698interface IInitializeSpy : public IUnknown
9699{
9700 virtual HRESULT STDMETHODCALLTYPE PreInitialize(
9701 DWORD dwCoInit,
9702 DWORD dwCurThreadAptRefs) = 0;
9703
9704 virtual HRESULT STDMETHODCALLTYPE PostInitialize(
9705 HRESULT hrCoInit,
9706 DWORD dwCoInit,
9707 DWORD dwNewThreadAptRefs) = 0;
9708
9709 virtual HRESULT STDMETHODCALLTYPE PreUninitialize(
9710 DWORD dwCurThreadAptRefs) = 0;
9711
9712 virtual HRESULT STDMETHODCALLTYPE PostUninitialize(
9713 DWORD dwNewThreadAptRefs) = 0;
9714
9715};
9716#else
9717typedef struct IInitializeSpyVtbl {
9718 BEGIN_INTERFACE
9719
9720 /*** IUnknown methods ***/
9721 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9722 IInitializeSpy* This,
9723 REFIID riid,
9724 void **ppvObject);
9725
9726 ULONG (STDMETHODCALLTYPE *AddRef)(
9727 IInitializeSpy* This);
9728
9729 ULONG (STDMETHODCALLTYPE *Release)(
9730 IInitializeSpy* This);
9731
9732 /*** IInitializeSpy methods ***/
9733 HRESULT (STDMETHODCALLTYPE *PreInitialize)(
9734 IInitializeSpy* This,
9735 DWORD dwCoInit,
9736 DWORD dwCurThreadAptRefs);
9737
9738 HRESULT (STDMETHODCALLTYPE *PostInitialize)(
9739 IInitializeSpy* This,
9740 HRESULT hrCoInit,
9741 DWORD dwCoInit,
9742 DWORD dwNewThreadAptRefs);
9743
9744 HRESULT (STDMETHODCALLTYPE *PreUninitialize)(
9745 IInitializeSpy* This,
9746 DWORD dwCurThreadAptRefs);
9747
9748 HRESULT (STDMETHODCALLTYPE *PostUninitialize)(
9749 IInitializeSpy* This,
9750 DWORD dwNewThreadAptRefs);
9751
9752 END_INTERFACE
9753} IInitializeSpyVtbl;
9754interface IInitializeSpy {
9755 CONST_VTBL IInitializeSpyVtbl* lpVtbl;
9756};
9757
9758#ifdef COBJMACROS
9759/*** IUnknown methods ***/
9760#define IInitializeSpy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9761#define IInitializeSpy_AddRef(This) (This)->lpVtbl->AddRef(This)
9762#define IInitializeSpy_Release(This) (This)->lpVtbl->Release(This)
9763/*** IInitializeSpy methods ***/
9764#define IInitializeSpy_PreInitialize(This,dwCoInit,dwCurThreadAptRefs) (This)->lpVtbl->PreInitialize(This,dwCoInit,dwCurThreadAptRefs)
9765#define IInitializeSpy_PostInitialize(This,hrCoInit,dwCoInit,dwNewThreadAptRefs) (This)->lpVtbl->PostInitialize(This,hrCoInit,dwCoInit,dwNewThreadAptRefs)
9766#define IInitializeSpy_PreUninitialize(This,dwCurThreadAptRefs) (This)->lpVtbl->PreUninitialize(This,dwCurThreadAptRefs)
9767#define IInitializeSpy_PostUninitialize(This,dwNewThreadAptRefs) (This)->lpVtbl->PostUninitialize(This,dwNewThreadAptRefs)
9768#endif
9769
9770#endif
9771
9772HRESULT STDMETHODCALLTYPE IInitializeSpy_PreInitialize_Proxy(
9773 IInitializeSpy* This,
9774 DWORD dwCoInit,
9775 DWORD dwCurThreadAptRefs);
9776void __RPC_STUB IInitializeSpy_PreInitialize_Stub(
9777 IRpcStubBuffer* This,
9778 IRpcChannelBuffer* pRpcChannelBuffer,
9779 PRPC_MESSAGE pRpcMessage,
9780 DWORD* pdwStubPhase);
9781HRESULT STDMETHODCALLTYPE IInitializeSpy_PostInitialize_Proxy(
9782 IInitializeSpy* This,
9783 HRESULT hrCoInit,
9784 DWORD dwCoInit,
9785 DWORD dwNewThreadAptRefs);
9786void __RPC_STUB IInitializeSpy_PostInitialize_Stub(
9787 IRpcStubBuffer* This,
9788 IRpcChannelBuffer* pRpcChannelBuffer,
9789 PRPC_MESSAGE pRpcMessage,
9790 DWORD* pdwStubPhase);
9791HRESULT STDMETHODCALLTYPE IInitializeSpy_PreUninitialize_Proxy(
9792 IInitializeSpy* This,
9793 DWORD dwCurThreadAptRefs);
9794void __RPC_STUB IInitializeSpy_PreUninitialize_Stub(
9795 IRpcStubBuffer* This,
9796 IRpcChannelBuffer* pRpcChannelBuffer,
9797 PRPC_MESSAGE pRpcMessage,
9798 DWORD* pdwStubPhase);
9799HRESULT STDMETHODCALLTYPE IInitializeSpy_PostUninitialize_Proxy(
9800 IInitializeSpy* This,
9801 DWORD dwNewThreadAptRefs);
9802void __RPC_STUB IInitializeSpy_PostUninitialize_Stub(
9803 IRpcStubBuffer* This,
9804 IRpcChannelBuffer* pRpcChannelBuffer,
9805 PRPC_MESSAGE pRpcMessage,
9806 DWORD* pdwStubPhase);
9807
9808#endif /* __IInitializeSpy_INTERFACE_DEFINED__ */
9809
9810#ifndef __IThumbnailExtractor_FWD_DEFINED__
9811#define __IThumbnailExtractor_FWD_DEFINED__
9812typedef interface IThumbnailExtractor IThumbnailExtractor;
9813#endif
9814
9815/*****************************************************************************
9816 * IThumbnailExtractor interface
9817 */
9818#ifndef __IThumbnailExtractor_INTERFACE_DEFINED__
9819#define __IThumbnailExtractor_INTERFACE_DEFINED__
9820
9821DEFINE_GUID(IID_IThumbnailExtractor, 0x969dc708, 0x5c76, 0x11d1, 0x8d,0x86, 0x00,0x00,0xf8,0x04,0xb0,0x57);
9822#if defined(__cplusplus) && !defined(CINTERFACE)
9823interface IThumbnailExtractor : public IUnknown
9824{
9825 virtual HRESULT STDMETHODCALLTYPE ExtractThumbnail(
9826 IStorage *pStg,
9827 ULONG ulLength,
9828 ULONG ulHeight,
9829 ULONG *pulOutputLength,
9830 ULONG *pulOutputHeight,
9831 HBITMAP *phOutputBitmap) = 0;
9832
9833 virtual HRESULT STDMETHODCALLTYPE OnFileUpdated(
9834 IStorage *pStg) = 0;
9835
9836};
9837#else
9838typedef struct IThumbnailExtractorVtbl {
9839 BEGIN_INTERFACE
9840
9841 /*** IUnknown methods ***/
9842 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9843 IThumbnailExtractor* This,
9844 REFIID riid,
9845 void **ppvObject);
9846
9847 ULONG (STDMETHODCALLTYPE *AddRef)(
9848 IThumbnailExtractor* This);
9849
9850 ULONG (STDMETHODCALLTYPE *Release)(
9851 IThumbnailExtractor* This);
9852
9853 /*** IThumbnailExtractor methods ***/
9854 HRESULT (STDMETHODCALLTYPE *ExtractThumbnail)(
9855 IThumbnailExtractor* This,
9856 IStorage *pStg,
9857 ULONG ulLength,
9858 ULONG ulHeight,
9859 ULONG *pulOutputLength,
9860 ULONG *pulOutputHeight,
9861 HBITMAP *phOutputBitmap);
9862
9863 HRESULT (STDMETHODCALLTYPE *OnFileUpdated)(
9864 IThumbnailExtractor* This,
9865 IStorage *pStg);
9866
9867 END_INTERFACE
9868} IThumbnailExtractorVtbl;
9869interface IThumbnailExtractor {
9870 CONST_VTBL IThumbnailExtractorVtbl* lpVtbl;
9871};
9872
9873#ifdef COBJMACROS
9874/*** IUnknown methods ***/
9875#define IThumbnailExtractor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9876#define IThumbnailExtractor_AddRef(This) (This)->lpVtbl->AddRef(This)
9877#define IThumbnailExtractor_Release(This) (This)->lpVtbl->Release(This)
9878/*** IThumbnailExtractor methods ***/
9879#define IThumbnailExtractor_ExtractThumbnail(This,pStg,ulLength,ulHeight,pulOutputLength,pulOutputHeight,phOutputBitmap) (This)->lpVtbl->ExtractThumbnail(This,pStg,ulLength,ulHeight,pulOutputLength,pulOutputHeight,phOutputBitmap)
9880#define IThumbnailExtractor_OnFileUpdated(This,pStg) (This)->lpVtbl->OnFileUpdated(This,pStg)
9881#endif
9882
9883#endif
9884
9885HRESULT STDMETHODCALLTYPE IThumbnailExtractor_ExtractThumbnail_Proxy(
9886 IThumbnailExtractor* This,
9887 IStorage *pStg,
9888 ULONG ulLength,
9889 ULONG ulHeight,
9890 ULONG *pulOutputLength,
9891 ULONG *pulOutputHeight,
9892 HBITMAP *phOutputBitmap);
9893void __RPC_STUB IThumbnailExtractor_ExtractThumbnail_Stub(
9894 IRpcStubBuffer* This,
9895 IRpcChannelBuffer* pRpcChannelBuffer,
9896 PRPC_MESSAGE pRpcMessage,
9897 DWORD* pdwStubPhase);
9898HRESULT STDMETHODCALLTYPE IThumbnailExtractor_OnFileUpdated_Proxy(
9899 IThumbnailExtractor* This,
9900 IStorage *pStg);
9901void __RPC_STUB IThumbnailExtractor_OnFileUpdated_Stub(
9902 IRpcStubBuffer* This,
9903 IRpcChannelBuffer* pRpcChannelBuffer,
9904 PRPC_MESSAGE pRpcMessage,
9905 DWORD* pdwStubPhase);
9906
9907#endif /* __IThumbnailExtractor_INTERFACE_DEFINED__ */
9908
9909#ifdef USE_COM_CONTEXT_DEF
9910typedef DWORD CPFLAGS;
9911typedef struct tagContextProperty {
9912 GUID policyId;
9913 CPFLAGS flags;
9914 IUnknown *pUnk;
9915} ContextProperty;
9916#ifndef __IEnumContextProps_FWD_DEFINED__
9917#define __IEnumContextProps_FWD_DEFINED__
9918typedef interface IEnumContextProps IEnumContextProps;
9919#endif
9920
9921typedef IEnumContextProps *LPENUMCONTEXTPROPS;
9922/*****************************************************************************
9923 * IEnumContextProps interface
9924 */
9925#ifndef __IEnumContextProps_INTERFACE_DEFINED__
9926#define __IEnumContextProps_INTERFACE_DEFINED__
9927
9928DEFINE_GUID(IID_IEnumContextProps, 0x000001c1, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
9929#if defined(__cplusplus) && !defined(CINTERFACE)
9930interface IEnumContextProps : public IUnknown
9931{
9932 virtual HRESULT STDMETHODCALLTYPE Next(
9933 ULONG celt,
9934 ContextProperty *pContextProperties,
9935 ULONG *pceltFetched) = 0;
9936
9937 virtual HRESULT STDMETHODCALLTYPE Skip(
9938 ULONG celt) = 0;
9939
9940 virtual HRESULT STDMETHODCALLTYPE Reset(
9941 ) = 0;
9942
9943 virtual HRESULT STDMETHODCALLTYPE Clone(
9944 IEnumContextProps **ppEnumContextProps) = 0;
9945
9946 virtual HRESULT STDMETHODCALLTYPE Count(
9947 ULONG *pcelt) = 0;
9948
9949};
9950#else
9951typedef struct IEnumContextPropsVtbl {
9952 BEGIN_INTERFACE
9953
9954 /*** IUnknown methods ***/
9955 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
9956 IEnumContextProps* This,
9957 REFIID riid,
9958 void **ppvObject);
9959
9960 ULONG (STDMETHODCALLTYPE *AddRef)(
9961 IEnumContextProps* This);
9962
9963 ULONG (STDMETHODCALLTYPE *Release)(
9964 IEnumContextProps* This);
9965
9966 /*** IEnumContextProps methods ***/
9967 HRESULT (STDMETHODCALLTYPE *Next)(
9968 IEnumContextProps* This,
9969 ULONG celt,
9970 ContextProperty *pContextProperties,
9971 ULONG *pceltFetched);
9972
9973 HRESULT (STDMETHODCALLTYPE *Skip)(
9974 IEnumContextProps* This,
9975 ULONG celt);
9976
9977 HRESULT (STDMETHODCALLTYPE *Reset)(
9978 IEnumContextProps* This);
9979
9980 HRESULT (STDMETHODCALLTYPE *Clone)(
9981 IEnumContextProps* This,
9982 IEnumContextProps **ppEnumContextProps);
9983
9984 HRESULT (STDMETHODCALLTYPE *Count)(
9985 IEnumContextProps* This,
9986 ULONG *pcelt);
9987
9988 END_INTERFACE
9989} IEnumContextPropsVtbl;
9990interface IEnumContextProps {
9991 CONST_VTBL IEnumContextPropsVtbl* lpVtbl;
9992};
9993
9994#ifdef COBJMACROS
9995/*** IUnknown methods ***/
9996#define IEnumContextProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
9997#define IEnumContextProps_AddRef(This) (This)->lpVtbl->AddRef(This)
9998#define IEnumContextProps_Release(This) (This)->lpVtbl->Release(This)
9999/*** IEnumContextProps methods ***/
10000#define IEnumContextProps_Next(This,celt,pContextProperties,pceltFetched) (This)->lpVtbl->Next(This,celt,pContextProperties,pceltFetched)
10001#define IEnumContextProps_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
10002#define IEnumContextProps_Reset(This) (This)->lpVtbl->Reset(This)
10003#define IEnumContextProps_Clone(This,ppEnumContextProps) (This)->lpVtbl->Clone(This,ppEnumContextProps)
10004#define IEnumContextProps_Count(This,pcelt) (This)->lpVtbl->Count(This,pcelt)
10005#endif
10006
10007#endif
10008
10009HRESULT STDMETHODCALLTYPE IEnumContextProps_Next_Proxy(
10010 IEnumContextProps* This,
10011 ULONG celt,
10012 ContextProperty *pContextProperties,
10013 ULONG *pceltFetched);
10014void __RPC_STUB IEnumContextProps_Next_Stub(
10015 IRpcStubBuffer* This,
10016 IRpcChannelBuffer* pRpcChannelBuffer,
10017 PRPC_MESSAGE pRpcMessage,
10018 DWORD* pdwStubPhase);
10019HRESULT STDMETHODCALLTYPE IEnumContextProps_Skip_Proxy(
10020 IEnumContextProps* This,
10021 ULONG celt);
10022void __RPC_STUB IEnumContextProps_Skip_Stub(
10023 IRpcStubBuffer* This,
10024 IRpcChannelBuffer* pRpcChannelBuffer,
10025 PRPC_MESSAGE pRpcMessage,
10026 DWORD* pdwStubPhase);
10027HRESULT STDMETHODCALLTYPE IEnumContextProps_Reset_Proxy(
10028 IEnumContextProps* This);
10029void __RPC_STUB IEnumContextProps_Reset_Stub(
10030 IRpcStubBuffer* This,
10031 IRpcChannelBuffer* pRpcChannelBuffer,
10032 PRPC_MESSAGE pRpcMessage,
10033 DWORD* pdwStubPhase);
10034HRESULT STDMETHODCALLTYPE IEnumContextProps_Clone_Proxy(
10035 IEnumContextProps* This,
10036 IEnumContextProps **ppEnumContextProps);
10037void __RPC_STUB IEnumContextProps_Clone_Stub(
10038 IRpcStubBuffer* This,
10039 IRpcChannelBuffer* pRpcChannelBuffer,
10040 PRPC_MESSAGE pRpcMessage,
10041 DWORD* pdwStubPhase);
10042HRESULT STDMETHODCALLTYPE IEnumContextProps_Count_Proxy(
10043 IEnumContextProps* This,
10044 ULONG *pcelt);
10045void __RPC_STUB IEnumContextProps_Count_Stub(
10046 IRpcStubBuffer* This,
10047 IRpcChannelBuffer* pRpcChannelBuffer,
10048 PRPC_MESSAGE pRpcMessage,
10049 DWORD* pdwStubPhase);
10050
10051#endif /* __IEnumContextProps_INTERFACE_DEFINED__ */
10052
10053#ifndef __IContext_FWD_DEFINED__
10054#define __IContext_FWD_DEFINED__
10055typedef interface IContext IContext;
10056#endif
10057
10058/*****************************************************************************
10059 * IContext interface
10060 */
10061#ifndef __IContext_INTERFACE_DEFINED__
10062#define __IContext_INTERFACE_DEFINED__
10063
10064DEFINE_GUID(IID_IContext, 0x000001c0, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
10065#if defined(__cplusplus) && !defined(CINTERFACE)
10066interface IContext : public IUnknown
10067{
10068 virtual HRESULT STDMETHODCALLTYPE SetProperty(
10069 REFGUID policyId,
10070 CPFLAGS flags,
10071 IUnknown *pUnk) = 0;
10072
10073 virtual HRESULT STDMETHODCALLTYPE RemovePropert(
10074 REFGUID policyId) = 0;
10075
10076 virtual HRESULT STDMETHODCALLTYPE GetProperty(
10077 REFGUID guid,
10078 CPFLAGS *pFlags,
10079 IUnknown **ppUnk) = 0;
10080
10081 virtual HRESULT STDMETHODCALLTYPE EnumContextProps(
10082 IEnumContextProps **ppEnumContextProps) = 0;
10083
10084};
10085#else
10086typedef struct IContextVtbl {
10087 BEGIN_INTERFACE
10088
10089 /*** IUnknown methods ***/
10090 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
10091 IContext* This,
10092 REFIID riid,
10093 void **ppvObject);
10094
10095 ULONG (STDMETHODCALLTYPE *AddRef)(
10096 IContext* This);
10097
10098 ULONG (STDMETHODCALLTYPE *Release)(
10099 IContext* This);
10100
10101 /*** IContext methods ***/
10102 HRESULT (STDMETHODCALLTYPE *SetProperty)(
10103 IContext* This,
10104 REFGUID policyId,
10105 CPFLAGS flags,
10106 IUnknown *pUnk);
10107
10108 HRESULT (STDMETHODCALLTYPE *RemovePropert)(
10109 IContext* This,
10110 REFGUID policyId);
10111
10112 HRESULT (STDMETHODCALLTYPE *GetProperty)(
10113 IContext* This,
10114 REFGUID guid,
10115 CPFLAGS *pFlags,
10116 IUnknown **ppUnk);
10117
10118 HRESULT (STDMETHODCALLTYPE *EnumContextProps)(
10119 IContext* This,
10120 IEnumContextProps **ppEnumContextProps);
10121
10122 END_INTERFACE
10123} IContextVtbl;
10124interface IContext {
10125 CONST_VTBL IContextVtbl* lpVtbl;
10126};
10127
10128#ifdef COBJMACROS
10129/*** IUnknown methods ***/
10130#define IContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
10131#define IContext_AddRef(This) (This)->lpVtbl->AddRef(This)
10132#define IContext_Release(This) (This)->lpVtbl->Release(This)
10133/*** IContext methods ***/
10134#define IContext_SetProperty(This,policyId,flags,pUnk) (This)->lpVtbl->SetProperty(This,policyId,flags,pUnk)
10135#define IContext_RemovePropert(This,policyId) (This)->lpVtbl->RemovePropert(This,policyId)
10136#define IContext_GetProperty(This,guid,pFlags,ppUnk) (This)->lpVtbl->GetProperty(This,guid,pFlags,ppUnk)
10137#define IContext_EnumContextProps(This,ppEnumContextProps) (This)->lpVtbl->EnumContextProps(This,ppEnumContextProps)
10138#endif
10139
10140#endif
10141
10142HRESULT STDMETHODCALLTYPE IContext_SetProperty_Proxy(
10143 IContext* This,
10144 REFGUID policyId,
10145 CPFLAGS flags,
10146 IUnknown *pUnk);
10147void __RPC_STUB IContext_SetProperty_Stub(
10148 IRpcStubBuffer* This,
10149 IRpcChannelBuffer* pRpcChannelBuffer,
10150 PRPC_MESSAGE pRpcMessage,
10151 DWORD* pdwStubPhase);
10152HRESULT STDMETHODCALLTYPE IContext_RemovePropert_Proxy(
10153 IContext* This,
10154 REFGUID policyId);
10155void __RPC_STUB IContext_RemovePropert_Stub(
10156 IRpcStubBuffer* This,
10157 IRpcChannelBuffer* pRpcChannelBuffer,
10158 PRPC_MESSAGE pRpcMessage,
10159 DWORD* pdwStubPhase);
10160HRESULT STDMETHODCALLTYPE IContext_GetProperty_Proxy(
10161 IContext* This,
10162 REFGUID guid,
10163 CPFLAGS *pFlags,
10164 IUnknown **ppUnk);
10165void __RPC_STUB IContext_GetProperty_Stub(
10166 IRpcStubBuffer* This,
10167 IRpcChannelBuffer* pRpcChannelBuffer,
10168 PRPC_MESSAGE pRpcMessage,
10169 DWORD* pdwStubPhase);
10170HRESULT STDMETHODCALLTYPE IContext_EnumContextProps_Proxy(
10171 IContext* This,
10172 IEnumContextProps **ppEnumContextProps);
10173void __RPC_STUB IContext_EnumContextProps_Stub(
10174 IRpcStubBuffer* This,
10175 IRpcChannelBuffer* pRpcChannelBuffer,
10176 PRPC_MESSAGE pRpcMessage,
10177 DWORD* pdwStubPhase);
10178
10179#endif /* __IContext_INTERFACE_DEFINED__ */
10180
10181#endif /* defined USE_COM_CONTEXT_DEF */
10182/* Begin additional prototypes for all interfaces */
10183
10184ULONG __RPC_USER SNB_UserSize (ULONG *, ULONG, SNB *);
10185unsigned char * __RPC_USER SNB_UserMarshal (ULONG *, unsigned char *, SNB *);
10186unsigned char * __RPC_USER SNB_UserUnmarshal(ULONG *, unsigned char *, SNB *);
10187void __RPC_USER SNB_UserFree (ULONG *, SNB *);
10188ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *);
10189unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *);
10190unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
10191void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *);
10192ULONG __RPC_USER STGMEDIUM_UserSize (ULONG *, ULONG, STGMEDIUM *);
10193unsigned char * __RPC_USER STGMEDIUM_UserMarshal (ULONG *, unsigned char *, STGMEDIUM *);
10194unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
10195void __RPC_USER STGMEDIUM_UserFree (ULONG *, STGMEDIUM *);
10196ULONG __RPC_USER ASYNC_STGMEDIUM_UserSize (ULONG *, ULONG, ASYNC_STGMEDIUM *);
10197unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserMarshal (ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
10198unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
10199void __RPC_USER ASYNC_STGMEDIUM_UserFree (ULONG *, ASYNC_STGMEDIUM *);
10200ULONG __RPC_USER HBITMAP_UserSize (ULONG *, ULONG, HBITMAP *);
10201unsigned char * __RPC_USER HBITMAP_UserMarshal (ULONG *, unsigned char *, HBITMAP *);
10202unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *);
10203void __RPC_USER HBITMAP_UserFree (ULONG *, HBITMAP *);
10204ULONG __RPC_USER HMETAFILEPICT_UserSize (ULONG *, ULONG, HMETAFILEPICT *);
10205unsigned char * __RPC_USER HMETAFILEPICT_UserMarshal (ULONG *, unsigned char *, HMETAFILEPICT *);
10206unsigned char * __RPC_USER HMETAFILEPICT_UserUnmarshal(ULONG *, unsigned char *, HMETAFILEPICT *);
10207void __RPC_USER HMETAFILEPICT_UserFree (ULONG *, HMETAFILEPICT *);
10208ULONG __RPC_USER HENHMETAFILE_UserSize (ULONG *, ULONG, HENHMETAFILE *);
10209unsigned char * __RPC_USER HENHMETAFILE_UserMarshal (ULONG *, unsigned char *, HENHMETAFILE *);
10210unsigned char * __RPC_USER HENHMETAFILE_UserUnmarshal(ULONG *, unsigned char *, HENHMETAFILE *);
10211void __RPC_USER HENHMETAFILE_UserFree (ULONG *, HENHMETAFILE *);
10212ULONG __RPC_USER HGLOBAL_UserSize (ULONG *, ULONG, HGLOBAL *);
10213unsigned char * __RPC_USER HGLOBAL_UserMarshal (ULONG *, unsigned char *, HGLOBAL *);
10214unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *);
10215void __RPC_USER HGLOBAL_UserFree (ULONG *, HGLOBAL *);
10216ULONG __RPC_USER FLAG_STGMEDIUM_UserSize (ULONG *, ULONG, FLAG_STGMEDIUM *);
10217unsigned char * __RPC_USER FLAG_STGMEDIUM_UserMarshal (ULONG *, unsigned char *, FLAG_STGMEDIUM *);
10218unsigned char * __RPC_USER FLAG_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, FLAG_STGMEDIUM *);
10219void __RPC_USER FLAG_STGMEDIUM_UserFree (ULONG *, FLAG_STGMEDIUM *);
10220
10221/* End additional prototypes */
10222
10223#ifdef __cplusplus
10224}
10225#endif
10226
10227#endif /* __WIDL_OBJIDL_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette