1 | /*** Autogenerated by WIDL 1.1.43 from ../../include/objidl.idl - Do not edit ***/
|
---|
2 |
|
---|
3 | #include <rpc.h>
|
---|
4 | #include <rpcndr.h>
|
---|
5 |
|
---|
6 | #ifndef __WIDL_OBJIDL_H
|
---|
7 | #define __WIDL_OBJIDL_H
|
---|
8 |
|
---|
9 | #ifdef __cplusplus
|
---|
10 | extern "C" {
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | /* Headers for imported files */
|
---|
14 |
|
---|
15 | #include <unknwn.h>
|
---|
16 |
|
---|
17 | /* Forward declarations */
|
---|
18 |
|
---|
19 | #ifndef __IMarshal_FWD_DEFINED__
|
---|
20 | #define __IMarshal_FWD_DEFINED__
|
---|
21 | typedef interface IMarshal IMarshal;
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #ifndef __IMarshal2_FWD_DEFINED__
|
---|
25 | #define __IMarshal2_FWD_DEFINED__
|
---|
26 | typedef interface IMarshal2 IMarshal2;
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #ifndef __IStdMarshalInfo_FWD_DEFINED__
|
---|
30 | #define __IStdMarshalInfo_FWD_DEFINED__
|
---|
31 | typedef interface IStdMarshalInfo IStdMarshalInfo;
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #ifndef __IExternalConnection_FWD_DEFINED__
|
---|
35 | #define __IExternalConnection_FWD_DEFINED__
|
---|
36 | typedef interface IExternalConnection IExternalConnection;
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | #ifndef __IMultiQI_FWD_DEFINED__
|
---|
40 | #define __IMultiQI_FWD_DEFINED__
|
---|
41 | typedef interface IMultiQI IMultiQI;
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | #ifndef __IMalloc_FWD_DEFINED__
|
---|
45 | #define __IMalloc_FWD_DEFINED__
|
---|
46 | typedef interface IMalloc IMalloc;
|
---|
47 | #endif
|
---|
48 |
|
---|
49 | #ifndef __IMallocSpy_FWD_DEFINED__
|
---|
50 | #define __IMallocSpy_FWD_DEFINED__
|
---|
51 | typedef interface IMallocSpy IMallocSpy;
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #ifndef __IInternalUnknown_FWD_DEFINED__
|
---|
55 | #define __IInternalUnknown_FWD_DEFINED__
|
---|
56 | typedef interface IInternalUnknown IInternalUnknown;
|
---|
57 | #endif
|
---|
58 |
|
---|
59 | #ifndef __IEnumUnknown_FWD_DEFINED__
|
---|
60 | #define __IEnumUnknown_FWD_DEFINED__
|
---|
61 | typedef interface IEnumUnknown IEnumUnknown;
|
---|
62 | #endif
|
---|
63 |
|
---|
64 | #ifndef __ISurrogate_FWD_DEFINED__
|
---|
65 | #define __ISurrogate_FWD_DEFINED__
|
---|
66 | typedef interface ISurrogate ISurrogate;
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | #ifndef __IGlobalInterfaceTable_FWD_DEFINED__
|
---|
70 | #define __IGlobalInterfaceTable_FWD_DEFINED__
|
---|
71 | typedef interface IGlobalInterfaceTable IGlobalInterfaceTable;
|
---|
72 | #endif
|
---|
73 |
|
---|
74 | #ifndef __IBindCtx_FWD_DEFINED__
|
---|
75 | #define __IBindCtx_FWD_DEFINED__
|
---|
76 | typedef interface IBindCtx IBindCtx;
|
---|
77 | #endif
|
---|
78 |
|
---|
79 | #ifndef __IEnumMoniker_FWD_DEFINED__
|
---|
80 | #define __IEnumMoniker_FWD_DEFINED__
|
---|
81 | typedef interface IEnumMoniker IEnumMoniker;
|
---|
82 | #endif
|
---|
83 |
|
---|
84 | #ifndef __IRunnableObject_FWD_DEFINED__
|
---|
85 | #define __IRunnableObject_FWD_DEFINED__
|
---|
86 | typedef interface IRunnableObject IRunnableObject;
|
---|
87 | #endif
|
---|
88 |
|
---|
89 | #ifndef __IRunningObjectTable_FWD_DEFINED__
|
---|
90 | #define __IRunningObjectTable_FWD_DEFINED__
|
---|
91 | typedef interface IRunningObjectTable IRunningObjectTable;
|
---|
92 | #endif
|
---|
93 |
|
---|
94 | #ifndef __IPersist_FWD_DEFINED__
|
---|
95 | #define __IPersist_FWD_DEFINED__
|
---|
96 | typedef interface IPersist IPersist;
|
---|
97 | #endif
|
---|
98 |
|
---|
99 | #ifndef __IPersistStream_FWD_DEFINED__
|
---|
100 | #define __IPersistStream_FWD_DEFINED__
|
---|
101 | typedef interface IPersistStream IPersistStream;
|
---|
102 | #endif
|
---|
103 |
|
---|
104 | #ifndef __IMoniker_FWD_DEFINED__
|
---|
105 | #define __IMoniker_FWD_DEFINED__
|
---|
106 | typedef interface IMoniker IMoniker;
|
---|
107 | #endif
|
---|
108 |
|
---|
109 | #ifndef __IROTData_FWD_DEFINED__
|
---|
110 | #define __IROTData_FWD_DEFINED__
|
---|
111 | typedef interface IROTData IROTData;
|
---|
112 | #endif
|
---|
113 |
|
---|
114 | #ifndef __IEnumString_FWD_DEFINED__
|
---|
115 | #define __IEnumString_FWD_DEFINED__
|
---|
116 | typedef interface IEnumString IEnumString;
|
---|
117 | #endif
|
---|
118 |
|
---|
119 | #ifndef __IClassActivator_FWD_DEFINED__
|
---|
120 | #define __IClassActivator_FWD_DEFINED__
|
---|
121 | typedef interface IClassActivator IClassActivator;
|
---|
122 | #endif
|
---|
123 |
|
---|
124 | #ifndef __ISequentialStream_FWD_DEFINED__
|
---|
125 | #define __ISequentialStream_FWD_DEFINED__
|
---|
126 | typedef interface ISequentialStream ISequentialStream;
|
---|
127 | #endif
|
---|
128 |
|
---|
129 | #ifndef __IStream_FWD_DEFINED__
|
---|
130 | #define __IStream_FWD_DEFINED__
|
---|
131 | typedef interface IStream IStream;
|
---|
132 | #endif
|
---|
133 |
|
---|
134 | #ifndef __IEnumSTATSTG_FWD_DEFINED__
|
---|
135 | #define __IEnumSTATSTG_FWD_DEFINED__
|
---|
136 | typedef interface IEnumSTATSTG IEnumSTATSTG;
|
---|
137 | #endif
|
---|
138 |
|
---|
139 | #ifndef __IStorage_FWD_DEFINED__
|
---|
140 | #define __IStorage_FWD_DEFINED__
|
---|
141 | typedef interface IStorage IStorage;
|
---|
142 | #endif
|
---|
143 |
|
---|
144 | #ifndef __IPersistFile_FWD_DEFINED__
|
---|
145 | #define __IPersistFile_FWD_DEFINED__
|
---|
146 | typedef interface IPersistFile IPersistFile;
|
---|
147 | #endif
|
---|
148 |
|
---|
149 | #ifndef __IPersistStorage_FWD_DEFINED__
|
---|
150 | #define __IPersistStorage_FWD_DEFINED__
|
---|
151 | typedef interface IPersistStorage IPersistStorage;
|
---|
152 | #endif
|
---|
153 |
|
---|
154 | #ifndef __IRootStorage_FWD_DEFINED__
|
---|
155 | #define __IRootStorage_FWD_DEFINED__
|
---|
156 | typedef interface IRootStorage IRootStorage;
|
---|
157 | #endif
|
---|
158 |
|
---|
159 | #ifndef __ILockBytes_FWD_DEFINED__
|
---|
160 | #define __ILockBytes_FWD_DEFINED__
|
---|
161 | typedef interface ILockBytes ILockBytes;
|
---|
162 | #endif
|
---|
163 |
|
---|
164 | #ifndef __IFillLockBytes_FWD_DEFINED__
|
---|
165 | #define __IFillLockBytes_FWD_DEFINED__
|
---|
166 | typedef interface IFillLockBytes IFillLockBytes;
|
---|
167 | #endif
|
---|
168 |
|
---|
169 | #ifndef __IProgressNotify_FWD_DEFINED__
|
---|
170 | #define __IProgressNotify_FWD_DEFINED__
|
---|
171 | typedef interface IProgressNotify IProgressNotify;
|
---|
172 | #endif
|
---|
173 |
|
---|
174 | #ifndef __ILayoutStorage_FWD_DEFINED__
|
---|
175 | #define __ILayoutStorage_FWD_DEFINED__
|
---|
176 | typedef interface ILayoutStorage ILayoutStorage;
|
---|
177 | #endif
|
---|
178 |
|
---|
179 | #ifndef __IBlockingLock_FWD_DEFINED__
|
---|
180 | #define __IBlockingLock_FWD_DEFINED__
|
---|
181 | typedef interface IBlockingLock IBlockingLock;
|
---|
182 | #endif
|
---|
183 |
|
---|
184 | #ifndef __ITimeAndNoticeControl_FWD_DEFINED__
|
---|
185 | #define __ITimeAndNoticeControl_FWD_DEFINED__
|
---|
186 | typedef interface ITimeAndNoticeControl ITimeAndNoticeControl;
|
---|
187 | #endif
|
---|
188 |
|
---|
189 | #ifndef __IOplockStorage_FWD_DEFINED__
|
---|
190 | #define __IOplockStorage_FWD_DEFINED__
|
---|
191 | typedef interface IOplockStorage IOplockStorage;
|
---|
192 | #endif
|
---|
193 |
|
---|
194 | #ifndef __IEnumFORMATETC_FWD_DEFINED__
|
---|
195 | #define __IEnumFORMATETC_FWD_DEFINED__
|
---|
196 | typedef interface IEnumFORMATETC IEnumFORMATETC;
|
---|
197 | #endif
|
---|
198 |
|
---|
199 | #ifndef __IEnumSTATDATA_FWD_DEFINED__
|
---|
200 | #define __IEnumSTATDATA_FWD_DEFINED__
|
---|
201 | typedef interface IEnumSTATDATA IEnumSTATDATA;
|
---|
202 | #endif
|
---|
203 |
|
---|
204 | #ifndef __IAdviseSink_FWD_DEFINED__
|
---|
205 | #define __IAdviseSink_FWD_DEFINED__
|
---|
206 | typedef interface IAdviseSink IAdviseSink;
|
---|
207 | #endif
|
---|
208 |
|
---|
209 | #ifndef __IAdviseSink2_FWD_DEFINED__
|
---|
210 | #define __IAdviseSink2_FWD_DEFINED__
|
---|
211 | typedef interface IAdviseSink2 IAdviseSink2;
|
---|
212 | #endif
|
---|
213 |
|
---|
214 | #ifndef __IDataObject_FWD_DEFINED__
|
---|
215 | #define __IDataObject_FWD_DEFINED__
|
---|
216 | typedef interface IDataObject IDataObject;
|
---|
217 | #endif
|
---|
218 |
|
---|
219 | #ifndef __IDataAdviseHolder_FWD_DEFINED__
|
---|
220 | #define __IDataAdviseHolder_FWD_DEFINED__
|
---|
221 | typedef interface IDataAdviseHolder IDataAdviseHolder;
|
---|
222 | #endif
|
---|
223 |
|
---|
224 | #ifndef __IMessageFilter_FWD_DEFINED__
|
---|
225 | #define __IMessageFilter_FWD_DEFINED__
|
---|
226 | typedef interface IMessageFilter IMessageFilter;
|
---|
227 | #endif
|
---|
228 |
|
---|
229 | #ifndef __IRpcChannelBuffer_FWD_DEFINED__
|
---|
230 | #define __IRpcChannelBuffer_FWD_DEFINED__
|
---|
231 | typedef interface IRpcChannelBuffer IRpcChannelBuffer;
|
---|
232 | #endif
|
---|
233 |
|
---|
234 | #ifndef __IRpcChannelBuffer2_FWD_DEFINED__
|
---|
235 | #define __IRpcChannelBuffer2_FWD_DEFINED__
|
---|
236 | typedef interface IRpcChannelBuffer2 IRpcChannelBuffer2;
|
---|
237 | #endif
|
---|
238 |
|
---|
239 | #ifndef __IRpcChannelBuffer3_FWD_DEFINED__
|
---|
240 | #define __IRpcChannelBuffer3_FWD_DEFINED__
|
---|
241 | typedef interface IRpcChannelBuffer3 IRpcChannelBuffer3;
|
---|
242 | #endif
|
---|
243 |
|
---|
244 | #ifndef __IAsyncRpcChannelBuffer_FWD_DEFINED__
|
---|
245 | #define __IAsyncRpcChannelBuffer_FWD_DEFINED__
|
---|
246 | typedef interface IAsyncRpcChannelBuffer IAsyncRpcChannelBuffer;
|
---|
247 | #endif
|
---|
248 |
|
---|
249 | #ifndef __IRpcSyntaxNegotiate_FWD_DEFINED__
|
---|
250 | #define __IRpcSyntaxNegotiate_FWD_DEFINED__
|
---|
251 | typedef interface IRpcSyntaxNegotiate IRpcSyntaxNegotiate;
|
---|
252 | #endif
|
---|
253 |
|
---|
254 | #ifndef __IRpcProxyBuffer_FWD_DEFINED__
|
---|
255 | #define __IRpcProxyBuffer_FWD_DEFINED__
|
---|
256 | typedef interface IRpcProxyBuffer IRpcProxyBuffer;
|
---|
257 | #endif
|
---|
258 |
|
---|
259 | #ifndef __IRpcStubBuffer_FWD_DEFINED__
|
---|
260 | #define __IRpcStubBuffer_FWD_DEFINED__
|
---|
261 | typedef interface IRpcStubBuffer IRpcStubBuffer;
|
---|
262 | #endif
|
---|
263 |
|
---|
264 | #ifndef __IPSFactoryBuffer_FWD_DEFINED__
|
---|
265 | #define __IPSFactoryBuffer_FWD_DEFINED__
|
---|
266 | typedef interface IPSFactoryBuffer IPSFactoryBuffer;
|
---|
267 | #endif
|
---|
268 |
|
---|
269 | #ifndef __IChannelHook_FWD_DEFINED__
|
---|
270 | #define __IChannelHook_FWD_DEFINED__
|
---|
271 | typedef interface IChannelHook IChannelHook;
|
---|
272 | #endif
|
---|
273 |
|
---|
274 | #ifndef __IClientSecurity_FWD_DEFINED__
|
---|
275 | #define __IClientSecurity_FWD_DEFINED__
|
---|
276 | typedef interface IClientSecurity IClientSecurity;
|
---|
277 | #endif
|
---|
278 |
|
---|
279 | #ifndef __IServerSecurity_FWD_DEFINED__
|
---|
280 | #define __IServerSecurity_FWD_DEFINED__
|
---|
281 | typedef interface IServerSecurity IServerSecurity;
|
---|
282 | #endif
|
---|
283 |
|
---|
284 | #ifndef __IAsyncSetup_FWD_DEFINED__
|
---|
285 | #define __IAsyncSetup_FWD_DEFINED__
|
---|
286 | typedef interface IAsyncSetup IAsyncSetup;
|
---|
287 | #endif
|
---|
288 |
|
---|
289 | #ifndef __IDirectWriterLock_FWD_DEFINED__
|
---|
290 | #define __IDirectWriterLock_FWD_DEFINED__
|
---|
291 | typedef interface IDirectWriterLock IDirectWriterLock;
|
---|
292 | #endif
|
---|
293 |
|
---|
294 | #ifndef __ISynchronize_FWD_DEFINED__
|
---|
295 | #define __ISynchronize_FWD_DEFINED__
|
---|
296 | typedef interface ISynchronize ISynchronize;
|
---|
297 | #endif
|
---|
298 |
|
---|
299 | #ifndef __ISynchronizeHandle_FWD_DEFINED__
|
---|
300 | #define __ISynchronizeHandle_FWD_DEFINED__
|
---|
301 | typedef interface ISynchronizeHandle ISynchronizeHandle;
|
---|
302 | #endif
|
---|
303 |
|
---|
304 | #ifndef __ISynchronizeEvent_FWD_DEFINED__
|
---|
305 | #define __ISynchronizeEvent_FWD_DEFINED__
|
---|
306 | typedef interface ISynchronizeEvent ISynchronizeEvent;
|
---|
307 | #endif
|
---|
308 |
|
---|
309 | #ifndef __ISynchronizeContainer_FWD_DEFINED__
|
---|
310 | #define __ISynchronizeContainer_FWD_DEFINED__
|
---|
311 | typedef interface ISynchronizeContainer ISynchronizeContainer;
|
---|
312 | #endif
|
---|
313 |
|
---|
314 | #ifndef __ISynchronizeMutex_FWD_DEFINED__
|
---|
315 | #define __ISynchronizeMutex_FWD_DEFINED__
|
---|
316 | typedef interface ISynchronizeMutex ISynchronizeMutex;
|
---|
317 | #endif
|
---|
318 |
|
---|
319 | #ifndef __ICancelMethodCalls_FWD_DEFINED__
|
---|
320 | #define __ICancelMethodCalls_FWD_DEFINED__
|
---|
321 | typedef interface ICancelMethodCalls ICancelMethodCalls;
|
---|
322 | #endif
|
---|
323 |
|
---|
324 | #ifndef __IAsyncManager_FWD_DEFINED__
|
---|
325 | #define __IAsyncManager_FWD_DEFINED__
|
---|
326 | typedef interface IAsyncManager IAsyncManager;
|
---|
327 | #endif
|
---|
328 |
|
---|
329 | #ifndef __ICallFactory_FWD_DEFINED__
|
---|
330 | #define __ICallFactory_FWD_DEFINED__
|
---|
331 | typedef interface ICallFactory ICallFactory;
|
---|
332 | #endif
|
---|
333 |
|
---|
334 | #ifndef __IRpcOptions_FWD_DEFINED__
|
---|
335 | #define __IRpcOptions_FWD_DEFINED__
|
---|
336 | typedef interface IRpcOptions IRpcOptions;
|
---|
337 | #endif
|
---|
338 |
|
---|
339 | #ifndef __IRpcHelper_FWD_DEFINED__
|
---|
340 | #define __IRpcHelper_FWD_DEFINED__
|
---|
341 | typedef interface IRpcHelper IRpcHelper;
|
---|
342 | #endif
|
---|
343 |
|
---|
344 | #ifndef __IReleaseMarshalBuffers_FWD_DEFINED__
|
---|
345 | #define __IReleaseMarshalBuffers_FWD_DEFINED__
|
---|
346 | typedef interface IReleaseMarshalBuffers IReleaseMarshalBuffers;
|
---|
347 | #endif
|
---|
348 |
|
---|
349 | #ifndef __IWaitMultiple_FWD_DEFINED__
|
---|
350 | #define __IWaitMultiple_FWD_DEFINED__
|
---|
351 | typedef interface IWaitMultiple IWaitMultiple;
|
---|
352 | #endif
|
---|
353 |
|
---|
354 | #ifndef __IUrlMon_FWD_DEFINED__
|
---|
355 | #define __IUrlMon_FWD_DEFINED__
|
---|
356 | typedef interface IUrlMon IUrlMon;
|
---|
357 | #endif
|
---|
358 |
|
---|
359 | #ifndef __IForegroundTransfer_FWD_DEFINED__
|
---|
360 | #define __IForegroundTransfer_FWD_DEFINED__
|
---|
361 | typedef interface IForegroundTransfer IForegroundTransfer;
|
---|
362 | #endif
|
---|
363 |
|
---|
364 | #ifndef __IAddrTrackingControl_FWD_DEFINED__
|
---|
365 | #define __IAddrTrackingControl_FWD_DEFINED__
|
---|
366 | typedef interface IAddrTrackingControl IAddrTrackingControl;
|
---|
367 | #endif
|
---|
368 |
|
---|
369 | #ifndef __IAddrExclusionControl_FWD_DEFINED__
|
---|
370 | #define __IAddrExclusionControl_FWD_DEFINED__
|
---|
371 | typedef interface IAddrExclusionControl IAddrExclusionControl;
|
---|
372 | #endif
|
---|
373 |
|
---|
374 | #ifndef __IComThreadingInfo_FWD_DEFINED__
|
---|
375 | #define __IComThreadingInfo_FWD_DEFINED__
|
---|
376 | typedef interface IComThreadingInfo IComThreadingInfo;
|
---|
377 | #endif
|
---|
378 |
|
---|
379 | #ifndef __IProcessInitControl_FWD_DEFINED__
|
---|
380 | #define __IProcessInitControl_FWD_DEFINED__
|
---|
381 | typedef interface IProcessInitControl IProcessInitControl;
|
---|
382 | #endif
|
---|
383 |
|
---|
384 | #ifndef __IInitializeSpy_FWD_DEFINED__
|
---|
385 | #define __IInitializeSpy_FWD_DEFINED__
|
---|
386 | typedef interface IInitializeSpy IInitializeSpy;
|
---|
387 | #endif
|
---|
388 |
|
---|
389 | #ifndef __IThumbnailExtractor_FWD_DEFINED__
|
---|
390 | #define __IThumbnailExtractor_FWD_DEFINED__
|
---|
391 | typedef interface IThumbnailExtractor IThumbnailExtractor;
|
---|
392 | #endif
|
---|
393 |
|
---|
394 | #ifndef __IEnumContextProps_FWD_DEFINED__
|
---|
395 | #define __IEnumContextProps_FWD_DEFINED__
|
---|
396 | typedef interface IEnumContextProps IEnumContextProps;
|
---|
397 | #endif
|
---|
398 |
|
---|
399 | #ifndef __IContext_FWD_DEFINED__
|
---|
400 | #define __IContext_FWD_DEFINED__
|
---|
401 | typedef interface IContext IContext;
|
---|
402 | #endif
|
---|
403 |
|
---|
404 | #ifndef __IObjContext_FWD_DEFINED__
|
---|
405 | #define __IObjContext_FWD_DEFINED__
|
---|
406 | typedef interface IObjContext IObjContext;
|
---|
407 | #endif
|
---|
408 |
|
---|
409 |
|
---|
410 | #ifndef __IStream_FWD_DEFINED__
|
---|
411 | #define __IStream_FWD_DEFINED__
|
---|
412 | typedef interface IStream IStream;
|
---|
413 | #endif
|
---|
414 |
|
---|
415 | #ifndef __IEnumString_FWD_DEFINED__
|
---|
416 | #define __IEnumString_FWD_DEFINED__
|
---|
417 | typedef interface IEnumString IEnumString;
|
---|
418 | #endif
|
---|
419 |
|
---|
420 | #ifndef __IRunningObjectTable_FWD_DEFINED__
|
---|
421 | #define __IRunningObjectTable_FWD_DEFINED__
|
---|
422 | typedef interface IRunningObjectTable IRunningObjectTable;
|
---|
423 | #endif
|
---|
424 |
|
---|
425 | #ifndef __IMoniker_FWD_DEFINED__
|
---|
426 | #define __IMoniker_FWD_DEFINED__
|
---|
427 | typedef interface IMoniker IMoniker;
|
---|
428 | #endif
|
---|
429 |
|
---|
430 | #ifndef __IAdviseSink_FWD_DEFINED__
|
---|
431 | #define __IAdviseSink_FWD_DEFINED__
|
---|
432 | typedef interface IAdviseSink IAdviseSink;
|
---|
433 | #endif
|
---|
434 |
|
---|
435 | #ifndef __IAsyncManager_FWD_DEFINED__
|
---|
436 | #define __IAsyncManager_FWD_DEFINED__
|
---|
437 | typedef interface IAsyncManager IAsyncManager;
|
---|
438 | #endif
|
---|
439 |
|
---|
440 | #ifndef __ISynchronize_FWD_DEFINED__
|
---|
441 | #define __ISynchronize_FWD_DEFINED__
|
---|
442 | typedef interface ISynchronize ISynchronize;
|
---|
443 | #endif
|
---|
444 |
|
---|
445 | typedef struct _COSERVERINFO {
|
---|
446 | DWORD dwReserved1;
|
---|
447 | LPWSTR pwszName;
|
---|
448 | COAUTHINFO *pAuthInfo;
|
---|
449 | DWORD dwReserved2;
|
---|
450 | } COSERVERINFO;
|
---|
451 | /*****************************************************************************
|
---|
452 | * IMarshal interface
|
---|
453 | */
|
---|
454 | #ifndef __IMarshal_INTERFACE_DEFINED__
|
---|
455 | #define __IMarshal_INTERFACE_DEFINED__
|
---|
456 |
|
---|
457 | typedef IMarshal *LPMARSHAL;
|
---|
458 | DEFINE_GUID(IID_IMarshal, 0x00000003, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
459 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
460 | interface IMarshal : public IUnknown
|
---|
461 | {
|
---|
462 | virtual HRESULT STDMETHODCALLTYPE GetUnmarshalClass(
|
---|
463 | REFIID riid,
|
---|
464 | void *pv,
|
---|
465 | DWORD dwDestContext,
|
---|
466 | void *pvDestContext,
|
---|
467 | DWORD mshlflags,
|
---|
468 | CLSID *pCid) = 0;
|
---|
469 |
|
---|
470 | virtual HRESULT STDMETHODCALLTYPE GetMarshalSizeMax(
|
---|
471 | REFIID riid,
|
---|
472 | void *pv,
|
---|
473 | DWORD dwDestContext,
|
---|
474 | void *pvDestContext,
|
---|
475 | DWORD mshlflags,
|
---|
476 | DWORD *pSize) = 0;
|
---|
477 |
|
---|
478 | virtual HRESULT STDMETHODCALLTYPE MarshalInterface(
|
---|
479 | IStream *pStm,
|
---|
480 | REFIID riid,
|
---|
481 | void *pv,
|
---|
482 | DWORD dwDestContext,
|
---|
483 | void *pvDestContext,
|
---|
484 | DWORD mshlflags) = 0;
|
---|
485 |
|
---|
486 | virtual HRESULT STDMETHODCALLTYPE UnmarshalInterface(
|
---|
487 | IStream *pStm,
|
---|
488 | REFIID riid,
|
---|
489 | void **ppv) = 0;
|
---|
490 |
|
---|
491 | virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalData(
|
---|
492 | IStream *pStm) = 0;
|
---|
493 |
|
---|
494 | virtual HRESULT STDMETHODCALLTYPE DisconnectObject(
|
---|
495 | DWORD dwReserved) = 0;
|
---|
496 |
|
---|
497 | };
|
---|
498 | #else
|
---|
499 | typedef struct IMarshalVtbl {
|
---|
500 | BEGIN_INTERFACE
|
---|
501 |
|
---|
502 | /*** IUnknown methods ***/
|
---|
503 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
504 | IMarshal* This,
|
---|
505 | REFIID riid,
|
---|
506 | void **ppvObject);
|
---|
507 |
|
---|
508 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
509 | IMarshal* This);
|
---|
510 |
|
---|
511 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
512 | IMarshal* This);
|
---|
513 |
|
---|
514 | /*** IMarshal methods ***/
|
---|
515 | HRESULT (STDMETHODCALLTYPE *GetUnmarshalClass)(
|
---|
516 | IMarshal* This,
|
---|
517 | REFIID riid,
|
---|
518 | void *pv,
|
---|
519 | DWORD dwDestContext,
|
---|
520 | void *pvDestContext,
|
---|
521 | DWORD mshlflags,
|
---|
522 | CLSID *pCid);
|
---|
523 |
|
---|
524 | HRESULT (STDMETHODCALLTYPE *GetMarshalSizeMax)(
|
---|
525 | IMarshal* This,
|
---|
526 | REFIID riid,
|
---|
527 | void *pv,
|
---|
528 | DWORD dwDestContext,
|
---|
529 | void *pvDestContext,
|
---|
530 | DWORD mshlflags,
|
---|
531 | DWORD *pSize);
|
---|
532 |
|
---|
533 | HRESULT (STDMETHODCALLTYPE *MarshalInterface)(
|
---|
534 | IMarshal* This,
|
---|
535 | IStream *pStm,
|
---|
536 | REFIID riid,
|
---|
537 | void *pv,
|
---|
538 | DWORD dwDestContext,
|
---|
539 | void *pvDestContext,
|
---|
540 | DWORD mshlflags);
|
---|
541 |
|
---|
542 | HRESULT (STDMETHODCALLTYPE *UnmarshalInterface)(
|
---|
543 | IMarshal* This,
|
---|
544 | IStream *pStm,
|
---|
545 | REFIID riid,
|
---|
546 | void **ppv);
|
---|
547 |
|
---|
548 | HRESULT (STDMETHODCALLTYPE *ReleaseMarshalData)(
|
---|
549 | IMarshal* This,
|
---|
550 | IStream *pStm);
|
---|
551 |
|
---|
552 | HRESULT (STDMETHODCALLTYPE *DisconnectObject)(
|
---|
553 | IMarshal* This,
|
---|
554 | DWORD dwReserved);
|
---|
555 |
|
---|
556 | END_INTERFACE
|
---|
557 | } IMarshalVtbl;
|
---|
558 | interface IMarshal {
|
---|
559 | CONST_VTBL IMarshalVtbl* lpVtbl;
|
---|
560 | };
|
---|
561 |
|
---|
562 | #ifdef COBJMACROS
|
---|
563 | /*** IUnknown methods ***/
|
---|
564 | #define IMarshal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
565 | #define IMarshal_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
566 | #define IMarshal_Release(This) (This)->lpVtbl->Release(This)
|
---|
567 | /*** IMarshal methods ***/
|
---|
568 | #define IMarshal_GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) (This)->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid)
|
---|
569 | #define IMarshal_GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) (This)->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize)
|
---|
570 | #define IMarshal_MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) (This)->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags)
|
---|
571 | #define IMarshal_UnmarshalInterface(This,pStm,riid,ppv) (This)->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv)
|
---|
572 | #define IMarshal_ReleaseMarshalData(This,pStm) (This)->lpVtbl->ReleaseMarshalData(This,pStm)
|
---|
573 | #define IMarshal_DisconnectObject(This,dwReserved) (This)->lpVtbl->DisconnectObject(This,dwReserved)
|
---|
574 | #endif
|
---|
575 |
|
---|
576 | #endif
|
---|
577 |
|
---|
578 | HRESULT STDMETHODCALLTYPE IMarshal_GetUnmarshalClass_Proxy(
|
---|
579 | IMarshal* This,
|
---|
580 | REFIID riid,
|
---|
581 | void *pv,
|
---|
582 | DWORD dwDestContext,
|
---|
583 | void *pvDestContext,
|
---|
584 | DWORD mshlflags,
|
---|
585 | CLSID *pCid);
|
---|
586 | void __RPC_STUB IMarshal_GetUnmarshalClass_Stub(
|
---|
587 | IRpcStubBuffer* This,
|
---|
588 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
589 | PRPC_MESSAGE pRpcMessage,
|
---|
590 | DWORD* pdwStubPhase);
|
---|
591 | HRESULT STDMETHODCALLTYPE IMarshal_GetMarshalSizeMax_Proxy(
|
---|
592 | IMarshal* This,
|
---|
593 | REFIID riid,
|
---|
594 | void *pv,
|
---|
595 | DWORD dwDestContext,
|
---|
596 | void *pvDestContext,
|
---|
597 | DWORD mshlflags,
|
---|
598 | DWORD *pSize);
|
---|
599 | void __RPC_STUB IMarshal_GetMarshalSizeMax_Stub(
|
---|
600 | IRpcStubBuffer* This,
|
---|
601 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
602 | PRPC_MESSAGE pRpcMessage,
|
---|
603 | DWORD* pdwStubPhase);
|
---|
604 | HRESULT STDMETHODCALLTYPE IMarshal_MarshalInterface_Proxy(
|
---|
605 | IMarshal* This,
|
---|
606 | IStream *pStm,
|
---|
607 | REFIID riid,
|
---|
608 | void *pv,
|
---|
609 | DWORD dwDestContext,
|
---|
610 | void *pvDestContext,
|
---|
611 | DWORD mshlflags);
|
---|
612 | void __RPC_STUB IMarshal_MarshalInterface_Stub(
|
---|
613 | IRpcStubBuffer* This,
|
---|
614 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
615 | PRPC_MESSAGE pRpcMessage,
|
---|
616 | DWORD* pdwStubPhase);
|
---|
617 | HRESULT STDMETHODCALLTYPE IMarshal_UnmarshalInterface_Proxy(
|
---|
618 | IMarshal* This,
|
---|
619 | IStream *pStm,
|
---|
620 | REFIID riid,
|
---|
621 | void **ppv);
|
---|
622 | void __RPC_STUB IMarshal_UnmarshalInterface_Stub(
|
---|
623 | IRpcStubBuffer* This,
|
---|
624 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
625 | PRPC_MESSAGE pRpcMessage,
|
---|
626 | DWORD* pdwStubPhase);
|
---|
627 | HRESULT STDMETHODCALLTYPE IMarshal_ReleaseMarshalData_Proxy(
|
---|
628 | IMarshal* This,
|
---|
629 | IStream *pStm);
|
---|
630 | void __RPC_STUB IMarshal_ReleaseMarshalData_Stub(
|
---|
631 | IRpcStubBuffer* This,
|
---|
632 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
633 | PRPC_MESSAGE pRpcMessage,
|
---|
634 | DWORD* pdwStubPhase);
|
---|
635 | HRESULT STDMETHODCALLTYPE IMarshal_DisconnectObject_Proxy(
|
---|
636 | IMarshal* This,
|
---|
637 | DWORD dwReserved);
|
---|
638 | void __RPC_STUB IMarshal_DisconnectObject_Stub(
|
---|
639 | IRpcStubBuffer* This,
|
---|
640 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
641 | PRPC_MESSAGE pRpcMessage,
|
---|
642 | DWORD* pdwStubPhase);
|
---|
643 |
|
---|
644 | #endif /* __IMarshal_INTERFACE_DEFINED__ */
|
---|
645 |
|
---|
646 | /*****************************************************************************
|
---|
647 | * IMarshal2 interface
|
---|
648 | */
|
---|
649 | #ifndef __IMarshal2_INTERFACE_DEFINED__
|
---|
650 | #define __IMarshal2_INTERFACE_DEFINED__
|
---|
651 |
|
---|
652 | typedef IMarshal2 *LPMARSHAL2;
|
---|
653 | DEFINE_GUID(IID_IMarshal2, 0x000001cf, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
654 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
655 | interface IMarshal2 : public IMarshal
|
---|
656 | {
|
---|
657 | };
|
---|
658 | #else
|
---|
659 | typedef struct IMarshal2Vtbl {
|
---|
660 | BEGIN_INTERFACE
|
---|
661 |
|
---|
662 | /*** IUnknown methods ***/
|
---|
663 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
664 | IMarshal2* This,
|
---|
665 | REFIID riid,
|
---|
666 | void **ppvObject);
|
---|
667 |
|
---|
668 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
669 | IMarshal2* This);
|
---|
670 |
|
---|
671 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
672 | IMarshal2* This);
|
---|
673 |
|
---|
674 | /*** IMarshal methods ***/
|
---|
675 | HRESULT (STDMETHODCALLTYPE *GetUnmarshalClass)(
|
---|
676 | IMarshal2* This,
|
---|
677 | REFIID riid,
|
---|
678 | void *pv,
|
---|
679 | DWORD dwDestContext,
|
---|
680 | void *pvDestContext,
|
---|
681 | DWORD mshlflags,
|
---|
682 | CLSID *pCid);
|
---|
683 |
|
---|
684 | HRESULT (STDMETHODCALLTYPE *GetMarshalSizeMax)(
|
---|
685 | IMarshal2* This,
|
---|
686 | REFIID riid,
|
---|
687 | void *pv,
|
---|
688 | DWORD dwDestContext,
|
---|
689 | void *pvDestContext,
|
---|
690 | DWORD mshlflags,
|
---|
691 | DWORD *pSize);
|
---|
692 |
|
---|
693 | HRESULT (STDMETHODCALLTYPE *MarshalInterface)(
|
---|
694 | IMarshal2* This,
|
---|
695 | IStream *pStm,
|
---|
696 | REFIID riid,
|
---|
697 | void *pv,
|
---|
698 | DWORD dwDestContext,
|
---|
699 | void *pvDestContext,
|
---|
700 | DWORD mshlflags);
|
---|
701 |
|
---|
702 | HRESULT (STDMETHODCALLTYPE *UnmarshalInterface)(
|
---|
703 | IMarshal2* This,
|
---|
704 | IStream *pStm,
|
---|
705 | REFIID riid,
|
---|
706 | void **ppv);
|
---|
707 |
|
---|
708 | HRESULT (STDMETHODCALLTYPE *ReleaseMarshalData)(
|
---|
709 | IMarshal2* This,
|
---|
710 | IStream *pStm);
|
---|
711 |
|
---|
712 | HRESULT (STDMETHODCALLTYPE *DisconnectObject)(
|
---|
713 | IMarshal2* This,
|
---|
714 | DWORD dwReserved);
|
---|
715 |
|
---|
716 | END_INTERFACE
|
---|
717 | } IMarshal2Vtbl;
|
---|
718 | interface IMarshal2 {
|
---|
719 | CONST_VTBL IMarshal2Vtbl* lpVtbl;
|
---|
720 | };
|
---|
721 |
|
---|
722 | #ifdef COBJMACROS
|
---|
723 | /*** IUnknown methods ***/
|
---|
724 | #define IMarshal2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
725 | #define IMarshal2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
726 | #define IMarshal2_Release(This) (This)->lpVtbl->Release(This)
|
---|
727 | /*** IMarshal methods ***/
|
---|
728 | #define IMarshal2_GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) (This)->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid)
|
---|
729 | #define IMarshal2_GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) (This)->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize)
|
---|
730 | #define IMarshal2_MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) (This)->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags)
|
---|
731 | #define IMarshal2_UnmarshalInterface(This,pStm,riid,ppv) (This)->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv)
|
---|
732 | #define IMarshal2_ReleaseMarshalData(This,pStm) (This)->lpVtbl->ReleaseMarshalData(This,pStm)
|
---|
733 | #define IMarshal2_DisconnectObject(This,dwReserved) (This)->lpVtbl->DisconnectObject(This,dwReserved)
|
---|
734 | #endif
|
---|
735 |
|
---|
736 | #endif
|
---|
737 |
|
---|
738 |
|
---|
739 | #endif /* __IMarshal2_INTERFACE_DEFINED__ */
|
---|
740 |
|
---|
741 | /*****************************************************************************
|
---|
742 | * IStdMarshalInfo interface
|
---|
743 | */
|
---|
744 | #ifndef __IStdMarshalInfo_INTERFACE_DEFINED__
|
---|
745 | #define __IStdMarshalInfo_INTERFACE_DEFINED__
|
---|
746 |
|
---|
747 | typedef IStdMarshalInfo *LPSTDMARSHALINFO;
|
---|
748 | DEFINE_GUID(IID_IStdMarshalInfo, 0x00000018, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
749 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
750 | interface IStdMarshalInfo : public IUnknown
|
---|
751 | {
|
---|
752 | virtual HRESULT STDMETHODCALLTYPE GetClassForHandler(
|
---|
753 | DWORD dwDestContext,
|
---|
754 | void *pvDestContext,
|
---|
755 | CLSID *pClsid) = 0;
|
---|
756 |
|
---|
757 | };
|
---|
758 | #else
|
---|
759 | typedef struct IStdMarshalInfoVtbl {
|
---|
760 | BEGIN_INTERFACE
|
---|
761 |
|
---|
762 | /*** IUnknown methods ***/
|
---|
763 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
764 | IStdMarshalInfo* This,
|
---|
765 | REFIID riid,
|
---|
766 | void **ppvObject);
|
---|
767 |
|
---|
768 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
769 | IStdMarshalInfo* This);
|
---|
770 |
|
---|
771 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
772 | IStdMarshalInfo* This);
|
---|
773 |
|
---|
774 | /*** IStdMarshalInfo methods ***/
|
---|
775 | HRESULT (STDMETHODCALLTYPE *GetClassForHandler)(
|
---|
776 | IStdMarshalInfo* This,
|
---|
777 | DWORD dwDestContext,
|
---|
778 | void *pvDestContext,
|
---|
779 | CLSID *pClsid);
|
---|
780 |
|
---|
781 | END_INTERFACE
|
---|
782 | } IStdMarshalInfoVtbl;
|
---|
783 | interface IStdMarshalInfo {
|
---|
784 | CONST_VTBL IStdMarshalInfoVtbl* lpVtbl;
|
---|
785 | };
|
---|
786 |
|
---|
787 | #ifdef COBJMACROS
|
---|
788 | /*** IUnknown methods ***/
|
---|
789 | #define IStdMarshalInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
790 | #define IStdMarshalInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
791 | #define IStdMarshalInfo_Release(This) (This)->lpVtbl->Release(This)
|
---|
792 | /*** IStdMarshalInfo methods ***/
|
---|
793 | #define IStdMarshalInfo_GetClassForHandler(This,dwDestContext,pvDestContext,pClsid) (This)->lpVtbl->GetClassForHandler(This,dwDestContext,pvDestContext,pClsid)
|
---|
794 | #endif
|
---|
795 |
|
---|
796 | #endif
|
---|
797 |
|
---|
798 | HRESULT STDMETHODCALLTYPE IStdMarshalInfo_GetClassForHandler_Proxy(
|
---|
799 | IStdMarshalInfo* This,
|
---|
800 | DWORD dwDestContext,
|
---|
801 | void *pvDestContext,
|
---|
802 | CLSID *pClsid);
|
---|
803 | void __RPC_STUB IStdMarshalInfo_GetClassForHandler_Stub(
|
---|
804 | IRpcStubBuffer* This,
|
---|
805 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
806 | PRPC_MESSAGE pRpcMessage,
|
---|
807 | DWORD* pdwStubPhase);
|
---|
808 |
|
---|
809 | #endif /* __IStdMarshalInfo_INTERFACE_DEFINED__ */
|
---|
810 |
|
---|
811 | /*****************************************************************************
|
---|
812 | * IExternalConnection interface
|
---|
813 | */
|
---|
814 | #ifndef __IExternalConnection_INTERFACE_DEFINED__
|
---|
815 | #define __IExternalConnection_INTERFACE_DEFINED__
|
---|
816 |
|
---|
817 | typedef IExternalConnection *LPEXTERNALCONNECTION;
|
---|
818 | typedef enum tagEXTCONN {
|
---|
819 | EXTCONN_STRONG = 0x1,
|
---|
820 | EXTCONN_WEAK = 0x2,
|
---|
821 | EXTCONN_CALLABLE = 0x4
|
---|
822 | } EXTCONN;
|
---|
823 | DEFINE_GUID(IID_IExternalConnection, 0x00000019, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
824 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
825 | interface IExternalConnection : public IUnknown
|
---|
826 | {
|
---|
827 | virtual DWORD STDMETHODCALLTYPE AddConnection(
|
---|
828 | DWORD extconn,
|
---|
829 | DWORD reserved) = 0;
|
---|
830 |
|
---|
831 | virtual DWORD STDMETHODCALLTYPE ReleaseConnection(
|
---|
832 | DWORD extconn,
|
---|
833 | DWORD reserved,
|
---|
834 | BOOL fLastReleaseCloses) = 0;
|
---|
835 |
|
---|
836 | };
|
---|
837 | #else
|
---|
838 | typedef struct IExternalConnectionVtbl {
|
---|
839 | BEGIN_INTERFACE
|
---|
840 |
|
---|
841 | /*** IUnknown methods ***/
|
---|
842 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
843 | IExternalConnection* This,
|
---|
844 | REFIID riid,
|
---|
845 | void **ppvObject);
|
---|
846 |
|
---|
847 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
848 | IExternalConnection* This);
|
---|
849 |
|
---|
850 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
851 | IExternalConnection* This);
|
---|
852 |
|
---|
853 | /*** IExternalConnection methods ***/
|
---|
854 | DWORD (STDMETHODCALLTYPE *AddConnection)(
|
---|
855 | IExternalConnection* This,
|
---|
856 | DWORD extconn,
|
---|
857 | DWORD reserved);
|
---|
858 |
|
---|
859 | DWORD (STDMETHODCALLTYPE *ReleaseConnection)(
|
---|
860 | IExternalConnection* This,
|
---|
861 | DWORD extconn,
|
---|
862 | DWORD reserved,
|
---|
863 | BOOL fLastReleaseCloses);
|
---|
864 |
|
---|
865 | END_INTERFACE
|
---|
866 | } IExternalConnectionVtbl;
|
---|
867 | interface IExternalConnection {
|
---|
868 | CONST_VTBL IExternalConnectionVtbl* lpVtbl;
|
---|
869 | };
|
---|
870 |
|
---|
871 | #ifdef COBJMACROS
|
---|
872 | /*** IUnknown methods ***/
|
---|
873 | #define IExternalConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
874 | #define IExternalConnection_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
875 | #define IExternalConnection_Release(This) (This)->lpVtbl->Release(This)
|
---|
876 | /*** IExternalConnection methods ***/
|
---|
877 | #define IExternalConnection_AddConnection(This,extconn,reserved) (This)->lpVtbl->AddConnection(This,extconn,reserved)
|
---|
878 | #define IExternalConnection_ReleaseConnection(This,extconn,reserved,fLastReleaseCloses) (This)->lpVtbl->ReleaseConnection(This,extconn,reserved,fLastReleaseCloses)
|
---|
879 | #endif
|
---|
880 |
|
---|
881 | #endif
|
---|
882 |
|
---|
883 | DWORD STDMETHODCALLTYPE IExternalConnection_AddConnection_Proxy(
|
---|
884 | IExternalConnection* This,
|
---|
885 | DWORD extconn,
|
---|
886 | DWORD reserved);
|
---|
887 | void __RPC_STUB IExternalConnection_AddConnection_Stub(
|
---|
888 | IRpcStubBuffer* This,
|
---|
889 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
890 | PRPC_MESSAGE pRpcMessage,
|
---|
891 | DWORD* pdwStubPhase);
|
---|
892 | DWORD STDMETHODCALLTYPE IExternalConnection_ReleaseConnection_Proxy(
|
---|
893 | IExternalConnection* This,
|
---|
894 | DWORD extconn,
|
---|
895 | DWORD reserved,
|
---|
896 | BOOL fLastReleaseCloses);
|
---|
897 | void __RPC_STUB IExternalConnection_ReleaseConnection_Stub(
|
---|
898 | IRpcStubBuffer* This,
|
---|
899 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
900 | PRPC_MESSAGE pRpcMessage,
|
---|
901 | DWORD* pdwStubPhase);
|
---|
902 |
|
---|
903 | #endif /* __IExternalConnection_INTERFACE_DEFINED__ */
|
---|
904 |
|
---|
905 | /*****************************************************************************
|
---|
906 | * IMultiQI interface
|
---|
907 | */
|
---|
908 | #ifndef __IMultiQI_INTERFACE_DEFINED__
|
---|
909 | #define __IMultiQI_INTERFACE_DEFINED__
|
---|
910 |
|
---|
911 | typedef IMultiQI *LPMULTIQI;
|
---|
912 | typedef struct tagMULTI_QI {
|
---|
913 | const IID *pIID;
|
---|
914 | IUnknown *pItf;
|
---|
915 | HRESULT hr;
|
---|
916 | } MULTI_QI;
|
---|
917 | DEFINE_GUID(IID_IMultiQI, 0x00000020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
918 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
919 | interface IMultiQI : public IUnknown
|
---|
920 | {
|
---|
921 | virtual HRESULT STDMETHODCALLTYPE QueryMultipleInterfaces(
|
---|
922 | ULONG cMQIs,
|
---|
923 | MULTI_QI *pMQIs) = 0;
|
---|
924 |
|
---|
925 | };
|
---|
926 | #else
|
---|
927 | typedef struct IMultiQIVtbl {
|
---|
928 | BEGIN_INTERFACE
|
---|
929 |
|
---|
930 | /*** IUnknown methods ***/
|
---|
931 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
932 | IMultiQI* This,
|
---|
933 | REFIID riid,
|
---|
934 | void **ppvObject);
|
---|
935 |
|
---|
936 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
937 | IMultiQI* This);
|
---|
938 |
|
---|
939 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
940 | IMultiQI* This);
|
---|
941 |
|
---|
942 | /*** IMultiQI methods ***/
|
---|
943 | HRESULT (STDMETHODCALLTYPE *QueryMultipleInterfaces)(
|
---|
944 | IMultiQI* This,
|
---|
945 | ULONG cMQIs,
|
---|
946 | MULTI_QI *pMQIs);
|
---|
947 |
|
---|
948 | END_INTERFACE
|
---|
949 | } IMultiQIVtbl;
|
---|
950 | interface IMultiQI {
|
---|
951 | CONST_VTBL IMultiQIVtbl* lpVtbl;
|
---|
952 | };
|
---|
953 |
|
---|
954 | #ifdef COBJMACROS
|
---|
955 | /*** IUnknown methods ***/
|
---|
956 | #define IMultiQI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
957 | #define IMultiQI_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
958 | #define IMultiQI_Release(This) (This)->lpVtbl->Release(This)
|
---|
959 | /*** IMultiQI methods ***/
|
---|
960 | #define IMultiQI_QueryMultipleInterfaces(This,cMQIs,pMQIs) (This)->lpVtbl->QueryMultipleInterfaces(This,cMQIs,pMQIs)
|
---|
961 | #endif
|
---|
962 |
|
---|
963 | #endif
|
---|
964 |
|
---|
965 | HRESULT STDMETHODCALLTYPE IMultiQI_QueryMultipleInterfaces_Proxy(
|
---|
966 | IMultiQI* This,
|
---|
967 | ULONG cMQIs,
|
---|
968 | MULTI_QI *pMQIs);
|
---|
969 | void __RPC_STUB IMultiQI_QueryMultipleInterfaces_Stub(
|
---|
970 | IRpcStubBuffer* This,
|
---|
971 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
972 | PRPC_MESSAGE pRpcMessage,
|
---|
973 | DWORD* pdwStubPhase);
|
---|
974 |
|
---|
975 | #endif /* __IMultiQI_INTERFACE_DEFINED__ */
|
---|
976 |
|
---|
977 | /*****************************************************************************
|
---|
978 | * IMalloc interface
|
---|
979 | */
|
---|
980 | #ifndef __IMalloc_INTERFACE_DEFINED__
|
---|
981 | #define __IMalloc_INTERFACE_DEFINED__
|
---|
982 |
|
---|
983 | typedef IMalloc *LPMALLOC;
|
---|
984 | DEFINE_GUID(IID_IMalloc, 0x00000002, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
985 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
986 | interface IMalloc : public IUnknown
|
---|
987 | {
|
---|
988 | virtual LPVOID STDMETHODCALLTYPE Alloc(
|
---|
989 | ULONG cb) = 0;
|
---|
990 |
|
---|
991 | virtual LPVOID STDMETHODCALLTYPE Realloc(
|
---|
992 | LPVOID pv,
|
---|
993 | ULONG cb) = 0;
|
---|
994 |
|
---|
995 | virtual void STDMETHODCALLTYPE Free(
|
---|
996 | LPVOID pv) = 0;
|
---|
997 |
|
---|
998 | virtual ULONG STDMETHODCALLTYPE GetSize(
|
---|
999 | LPVOID pv) = 0;
|
---|
1000 |
|
---|
1001 | virtual int STDMETHODCALLTYPE DidAlloc(
|
---|
1002 | LPVOID pv) = 0;
|
---|
1003 |
|
---|
1004 | virtual void STDMETHODCALLTYPE HeapMinimize(
|
---|
1005 | ) = 0;
|
---|
1006 |
|
---|
1007 | };
|
---|
1008 | #else
|
---|
1009 | typedef struct IMallocVtbl {
|
---|
1010 | BEGIN_INTERFACE
|
---|
1011 |
|
---|
1012 | /*** IUnknown methods ***/
|
---|
1013 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1014 | IMalloc* This,
|
---|
1015 | REFIID riid,
|
---|
1016 | void **ppvObject);
|
---|
1017 |
|
---|
1018 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1019 | IMalloc* This);
|
---|
1020 |
|
---|
1021 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1022 | IMalloc* This);
|
---|
1023 |
|
---|
1024 | /*** IMalloc methods ***/
|
---|
1025 | LPVOID (STDMETHODCALLTYPE *Alloc)(
|
---|
1026 | IMalloc* This,
|
---|
1027 | ULONG cb);
|
---|
1028 |
|
---|
1029 | LPVOID (STDMETHODCALLTYPE *Realloc)(
|
---|
1030 | IMalloc* This,
|
---|
1031 | LPVOID pv,
|
---|
1032 | ULONG cb);
|
---|
1033 |
|
---|
1034 | void (STDMETHODCALLTYPE *Free)(
|
---|
1035 | IMalloc* This,
|
---|
1036 | LPVOID pv);
|
---|
1037 |
|
---|
1038 | ULONG (STDMETHODCALLTYPE *GetSize)(
|
---|
1039 | IMalloc* This,
|
---|
1040 | LPVOID pv);
|
---|
1041 |
|
---|
1042 | int (STDMETHODCALLTYPE *DidAlloc)(
|
---|
1043 | IMalloc* This,
|
---|
1044 | LPVOID pv);
|
---|
1045 |
|
---|
1046 | void (STDMETHODCALLTYPE *HeapMinimize)(
|
---|
1047 | IMalloc* This);
|
---|
1048 |
|
---|
1049 | END_INTERFACE
|
---|
1050 | } IMallocVtbl;
|
---|
1051 | interface IMalloc {
|
---|
1052 | CONST_VTBL IMallocVtbl* lpVtbl;
|
---|
1053 | };
|
---|
1054 |
|
---|
1055 | #ifdef COBJMACROS
|
---|
1056 | /*** IUnknown methods ***/
|
---|
1057 | #define IMalloc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1058 | #define IMalloc_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1059 | #define IMalloc_Release(This) (This)->lpVtbl->Release(This)
|
---|
1060 | /*** IMalloc methods ***/
|
---|
1061 | #define IMalloc_Alloc(This,cb) (This)->lpVtbl->Alloc(This,cb)
|
---|
1062 | #define IMalloc_Realloc(This,pv,cb) (This)->lpVtbl->Realloc(This,pv,cb)
|
---|
1063 | #define IMalloc_Free(This,pv) (This)->lpVtbl->Free(This,pv)
|
---|
1064 | #define IMalloc_GetSize(This,pv) (This)->lpVtbl->GetSize(This,pv)
|
---|
1065 | #define IMalloc_DidAlloc(This,pv) (This)->lpVtbl->DidAlloc(This,pv)
|
---|
1066 | #define IMalloc_HeapMinimize(This) (This)->lpVtbl->HeapMinimize(This)
|
---|
1067 | #endif
|
---|
1068 |
|
---|
1069 | #endif
|
---|
1070 |
|
---|
1071 | LPVOID STDMETHODCALLTYPE IMalloc_Alloc_Proxy(
|
---|
1072 | IMalloc* This,
|
---|
1073 | ULONG cb);
|
---|
1074 | void __RPC_STUB IMalloc_Alloc_Stub(
|
---|
1075 | IRpcStubBuffer* This,
|
---|
1076 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1077 | PRPC_MESSAGE pRpcMessage,
|
---|
1078 | DWORD* pdwStubPhase);
|
---|
1079 | LPVOID STDMETHODCALLTYPE IMalloc_Realloc_Proxy(
|
---|
1080 | IMalloc* This,
|
---|
1081 | LPVOID pv,
|
---|
1082 | ULONG cb);
|
---|
1083 | void __RPC_STUB IMalloc_Realloc_Stub(
|
---|
1084 | IRpcStubBuffer* This,
|
---|
1085 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1086 | PRPC_MESSAGE pRpcMessage,
|
---|
1087 | DWORD* pdwStubPhase);
|
---|
1088 | void STDMETHODCALLTYPE IMalloc_Free_Proxy(
|
---|
1089 | IMalloc* This,
|
---|
1090 | LPVOID pv);
|
---|
1091 | void __RPC_STUB IMalloc_Free_Stub(
|
---|
1092 | IRpcStubBuffer* This,
|
---|
1093 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1094 | PRPC_MESSAGE pRpcMessage,
|
---|
1095 | DWORD* pdwStubPhase);
|
---|
1096 | ULONG STDMETHODCALLTYPE IMalloc_GetSize_Proxy(
|
---|
1097 | IMalloc* This,
|
---|
1098 | LPVOID pv);
|
---|
1099 | void __RPC_STUB IMalloc_GetSize_Stub(
|
---|
1100 | IRpcStubBuffer* This,
|
---|
1101 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1102 | PRPC_MESSAGE pRpcMessage,
|
---|
1103 | DWORD* pdwStubPhase);
|
---|
1104 | int STDMETHODCALLTYPE IMalloc_DidAlloc_Proxy(
|
---|
1105 | IMalloc* This,
|
---|
1106 | LPVOID pv);
|
---|
1107 | void __RPC_STUB IMalloc_DidAlloc_Stub(
|
---|
1108 | IRpcStubBuffer* This,
|
---|
1109 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1110 | PRPC_MESSAGE pRpcMessage,
|
---|
1111 | DWORD* pdwStubPhase);
|
---|
1112 | void STDMETHODCALLTYPE IMalloc_HeapMinimize_Proxy(
|
---|
1113 | IMalloc* This);
|
---|
1114 | void __RPC_STUB IMalloc_HeapMinimize_Stub(
|
---|
1115 | IRpcStubBuffer* This,
|
---|
1116 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1117 | PRPC_MESSAGE pRpcMessage,
|
---|
1118 | DWORD* pdwStubPhase);
|
---|
1119 |
|
---|
1120 | #endif /* __IMalloc_INTERFACE_DEFINED__ */
|
---|
1121 |
|
---|
1122 | /*****************************************************************************
|
---|
1123 | * IMallocSpy interface
|
---|
1124 | */
|
---|
1125 | #ifndef __IMallocSpy_INTERFACE_DEFINED__
|
---|
1126 | #define __IMallocSpy_INTERFACE_DEFINED__
|
---|
1127 |
|
---|
1128 | typedef IMallocSpy *LPMALLOCSPY;
|
---|
1129 | DEFINE_GUID(IID_IMallocSpy, 0x0000001d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1130 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1131 | interface IMallocSpy : public IUnknown
|
---|
1132 | {
|
---|
1133 | virtual ULONG STDMETHODCALLTYPE PreAlloc(
|
---|
1134 | ULONG cbRequest) = 0;
|
---|
1135 |
|
---|
1136 | virtual LPVOID STDMETHODCALLTYPE PostAlloc(
|
---|
1137 | LPVOID pActual) = 0;
|
---|
1138 |
|
---|
1139 | virtual LPVOID STDMETHODCALLTYPE PreFree(
|
---|
1140 | LPVOID pRequest,
|
---|
1141 | BOOL fSpyed) = 0;
|
---|
1142 |
|
---|
1143 | virtual void STDMETHODCALLTYPE PostFree(
|
---|
1144 | BOOL fSpyed) = 0;
|
---|
1145 |
|
---|
1146 | virtual ULONG STDMETHODCALLTYPE PreRealloc(
|
---|
1147 | LPVOID pRequest,
|
---|
1148 | ULONG cbRequest,
|
---|
1149 | LPVOID *ppNewRequest,
|
---|
1150 | BOOL fSpyed) = 0;
|
---|
1151 |
|
---|
1152 | virtual LPVOID STDMETHODCALLTYPE PostRealloc(
|
---|
1153 | LPVOID pActual,
|
---|
1154 | BOOL fSpyed) = 0;
|
---|
1155 |
|
---|
1156 | virtual LPVOID STDMETHODCALLTYPE PreGetSize(
|
---|
1157 | LPVOID pRequest,
|
---|
1158 | BOOL fSpyed) = 0;
|
---|
1159 |
|
---|
1160 | virtual ULONG STDMETHODCALLTYPE PostGetSize(
|
---|
1161 | ULONG cbActual,
|
---|
1162 | BOOL fSpyed) = 0;
|
---|
1163 |
|
---|
1164 | virtual LPVOID STDMETHODCALLTYPE PreDidAlloc(
|
---|
1165 | LPVOID pRequest,
|
---|
1166 | BOOL fSpyed) = 0;
|
---|
1167 |
|
---|
1168 | virtual int STDMETHODCALLTYPE PostDidAlloc(
|
---|
1169 | LPVOID pRequest,
|
---|
1170 | BOOL fSpyed,
|
---|
1171 | int fActual) = 0;
|
---|
1172 |
|
---|
1173 | virtual void STDMETHODCALLTYPE PreHeapMinimize(
|
---|
1174 | ) = 0;
|
---|
1175 |
|
---|
1176 | virtual void STDMETHODCALLTYPE PostHeapMinimize(
|
---|
1177 | ) = 0;
|
---|
1178 |
|
---|
1179 | };
|
---|
1180 | #else
|
---|
1181 | typedef struct IMallocSpyVtbl {
|
---|
1182 | BEGIN_INTERFACE
|
---|
1183 |
|
---|
1184 | /*** IUnknown methods ***/
|
---|
1185 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1186 | IMallocSpy* This,
|
---|
1187 | REFIID riid,
|
---|
1188 | void **ppvObject);
|
---|
1189 |
|
---|
1190 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1191 | IMallocSpy* This);
|
---|
1192 |
|
---|
1193 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1194 | IMallocSpy* This);
|
---|
1195 |
|
---|
1196 | /*** IMallocSpy methods ***/
|
---|
1197 | ULONG (STDMETHODCALLTYPE *PreAlloc)(
|
---|
1198 | IMallocSpy* This,
|
---|
1199 | ULONG cbRequest);
|
---|
1200 |
|
---|
1201 | LPVOID (STDMETHODCALLTYPE *PostAlloc)(
|
---|
1202 | IMallocSpy* This,
|
---|
1203 | LPVOID pActual);
|
---|
1204 |
|
---|
1205 | LPVOID (STDMETHODCALLTYPE *PreFree)(
|
---|
1206 | IMallocSpy* This,
|
---|
1207 | LPVOID pRequest,
|
---|
1208 | BOOL fSpyed);
|
---|
1209 |
|
---|
1210 | void (STDMETHODCALLTYPE *PostFree)(
|
---|
1211 | IMallocSpy* This,
|
---|
1212 | BOOL fSpyed);
|
---|
1213 |
|
---|
1214 | ULONG (STDMETHODCALLTYPE *PreRealloc)(
|
---|
1215 | IMallocSpy* This,
|
---|
1216 | LPVOID pRequest,
|
---|
1217 | ULONG cbRequest,
|
---|
1218 | LPVOID *ppNewRequest,
|
---|
1219 | BOOL fSpyed);
|
---|
1220 |
|
---|
1221 | LPVOID (STDMETHODCALLTYPE *PostRealloc)(
|
---|
1222 | IMallocSpy* This,
|
---|
1223 | LPVOID pActual,
|
---|
1224 | BOOL fSpyed);
|
---|
1225 |
|
---|
1226 | LPVOID (STDMETHODCALLTYPE *PreGetSize)(
|
---|
1227 | IMallocSpy* This,
|
---|
1228 | LPVOID pRequest,
|
---|
1229 | BOOL fSpyed);
|
---|
1230 |
|
---|
1231 | ULONG (STDMETHODCALLTYPE *PostGetSize)(
|
---|
1232 | IMallocSpy* This,
|
---|
1233 | ULONG cbActual,
|
---|
1234 | BOOL fSpyed);
|
---|
1235 |
|
---|
1236 | LPVOID (STDMETHODCALLTYPE *PreDidAlloc)(
|
---|
1237 | IMallocSpy* This,
|
---|
1238 | LPVOID pRequest,
|
---|
1239 | BOOL fSpyed);
|
---|
1240 |
|
---|
1241 | int (STDMETHODCALLTYPE *PostDidAlloc)(
|
---|
1242 | IMallocSpy* This,
|
---|
1243 | LPVOID pRequest,
|
---|
1244 | BOOL fSpyed,
|
---|
1245 | int fActual);
|
---|
1246 |
|
---|
1247 | void (STDMETHODCALLTYPE *PreHeapMinimize)(
|
---|
1248 | IMallocSpy* This);
|
---|
1249 |
|
---|
1250 | void (STDMETHODCALLTYPE *PostHeapMinimize)(
|
---|
1251 | IMallocSpy* This);
|
---|
1252 |
|
---|
1253 | END_INTERFACE
|
---|
1254 | } IMallocSpyVtbl;
|
---|
1255 | interface IMallocSpy {
|
---|
1256 | CONST_VTBL IMallocSpyVtbl* lpVtbl;
|
---|
1257 | };
|
---|
1258 |
|
---|
1259 | #ifdef COBJMACROS
|
---|
1260 | /*** IUnknown methods ***/
|
---|
1261 | #define IMallocSpy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1262 | #define IMallocSpy_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1263 | #define IMallocSpy_Release(This) (This)->lpVtbl->Release(This)
|
---|
1264 | /*** IMallocSpy methods ***/
|
---|
1265 | #define IMallocSpy_PreAlloc(This,cbRequest) (This)->lpVtbl->PreAlloc(This,cbRequest)
|
---|
1266 | #define IMallocSpy_PostAlloc(This,pActual) (This)->lpVtbl->PostAlloc(This,pActual)
|
---|
1267 | #define IMallocSpy_PreFree(This,pRequest,fSpyed) (This)->lpVtbl->PreFree(This,pRequest,fSpyed)
|
---|
1268 | #define IMallocSpy_PostFree(This,fSpyed) (This)->lpVtbl->PostFree(This,fSpyed)
|
---|
1269 | #define IMallocSpy_PreRealloc(This,pRequest,cbRequest,ppNewRequest,fSpyed) (This)->lpVtbl->PreRealloc(This,pRequest,cbRequest,ppNewRequest,fSpyed)
|
---|
1270 | #define IMallocSpy_PostRealloc(This,pActual,fSpyed) (This)->lpVtbl->PostRealloc(This,pActual,fSpyed)
|
---|
1271 | #define IMallocSpy_PreGetSize(This,pRequest,fSpyed) (This)->lpVtbl->PreGetSize(This,pRequest,fSpyed)
|
---|
1272 | #define IMallocSpy_PostGetSize(This,cbActual,fSpyed) (This)->lpVtbl->PostGetSize(This,cbActual,fSpyed)
|
---|
1273 | #define IMallocSpy_PreDidAlloc(This,pRequest,fSpyed) (This)->lpVtbl->PreDidAlloc(This,pRequest,fSpyed)
|
---|
1274 | #define IMallocSpy_PostDidAlloc(This,pRequest,fSpyed,fActual) (This)->lpVtbl->PostDidAlloc(This,pRequest,fSpyed,fActual)
|
---|
1275 | #define IMallocSpy_PreHeapMinimize(This) (This)->lpVtbl->PreHeapMinimize(This)
|
---|
1276 | #define IMallocSpy_PostHeapMinimize(This) (This)->lpVtbl->PostHeapMinimize(This)
|
---|
1277 | #endif
|
---|
1278 |
|
---|
1279 | #endif
|
---|
1280 |
|
---|
1281 | ULONG STDMETHODCALLTYPE IMallocSpy_PreAlloc_Proxy(
|
---|
1282 | IMallocSpy* This,
|
---|
1283 | ULONG cbRequest);
|
---|
1284 | void __RPC_STUB IMallocSpy_PreAlloc_Stub(
|
---|
1285 | IRpcStubBuffer* This,
|
---|
1286 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1287 | PRPC_MESSAGE pRpcMessage,
|
---|
1288 | DWORD* pdwStubPhase);
|
---|
1289 | LPVOID STDMETHODCALLTYPE IMallocSpy_PostAlloc_Proxy(
|
---|
1290 | IMallocSpy* This,
|
---|
1291 | LPVOID pActual);
|
---|
1292 | void __RPC_STUB IMallocSpy_PostAlloc_Stub(
|
---|
1293 | IRpcStubBuffer* This,
|
---|
1294 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1295 | PRPC_MESSAGE pRpcMessage,
|
---|
1296 | DWORD* pdwStubPhase);
|
---|
1297 | LPVOID STDMETHODCALLTYPE IMallocSpy_PreFree_Proxy(
|
---|
1298 | IMallocSpy* This,
|
---|
1299 | LPVOID pRequest,
|
---|
1300 | BOOL fSpyed);
|
---|
1301 | void __RPC_STUB IMallocSpy_PreFree_Stub(
|
---|
1302 | IRpcStubBuffer* This,
|
---|
1303 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1304 | PRPC_MESSAGE pRpcMessage,
|
---|
1305 | DWORD* pdwStubPhase);
|
---|
1306 | void STDMETHODCALLTYPE IMallocSpy_PostFree_Proxy(
|
---|
1307 | IMallocSpy* This,
|
---|
1308 | BOOL fSpyed);
|
---|
1309 | void __RPC_STUB IMallocSpy_PostFree_Stub(
|
---|
1310 | IRpcStubBuffer* This,
|
---|
1311 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1312 | PRPC_MESSAGE pRpcMessage,
|
---|
1313 | DWORD* pdwStubPhase);
|
---|
1314 | ULONG STDMETHODCALLTYPE IMallocSpy_PreRealloc_Proxy(
|
---|
1315 | IMallocSpy* This,
|
---|
1316 | LPVOID pRequest,
|
---|
1317 | ULONG cbRequest,
|
---|
1318 | LPVOID *ppNewRequest,
|
---|
1319 | BOOL fSpyed);
|
---|
1320 | void __RPC_STUB IMallocSpy_PreRealloc_Stub(
|
---|
1321 | IRpcStubBuffer* This,
|
---|
1322 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1323 | PRPC_MESSAGE pRpcMessage,
|
---|
1324 | DWORD* pdwStubPhase);
|
---|
1325 | LPVOID STDMETHODCALLTYPE IMallocSpy_PostRealloc_Proxy(
|
---|
1326 | IMallocSpy* This,
|
---|
1327 | LPVOID pActual,
|
---|
1328 | BOOL fSpyed);
|
---|
1329 | void __RPC_STUB IMallocSpy_PostRealloc_Stub(
|
---|
1330 | IRpcStubBuffer* This,
|
---|
1331 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1332 | PRPC_MESSAGE pRpcMessage,
|
---|
1333 | DWORD* pdwStubPhase);
|
---|
1334 | LPVOID STDMETHODCALLTYPE IMallocSpy_PreGetSize_Proxy(
|
---|
1335 | IMallocSpy* This,
|
---|
1336 | LPVOID pRequest,
|
---|
1337 | BOOL fSpyed);
|
---|
1338 | void __RPC_STUB IMallocSpy_PreGetSize_Stub(
|
---|
1339 | IRpcStubBuffer* This,
|
---|
1340 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1341 | PRPC_MESSAGE pRpcMessage,
|
---|
1342 | DWORD* pdwStubPhase);
|
---|
1343 | ULONG STDMETHODCALLTYPE IMallocSpy_PostGetSize_Proxy(
|
---|
1344 | IMallocSpy* This,
|
---|
1345 | ULONG cbActual,
|
---|
1346 | BOOL fSpyed);
|
---|
1347 | void __RPC_STUB IMallocSpy_PostGetSize_Stub(
|
---|
1348 | IRpcStubBuffer* This,
|
---|
1349 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1350 | PRPC_MESSAGE pRpcMessage,
|
---|
1351 | DWORD* pdwStubPhase);
|
---|
1352 | LPVOID STDMETHODCALLTYPE IMallocSpy_PreDidAlloc_Proxy(
|
---|
1353 | IMallocSpy* This,
|
---|
1354 | LPVOID pRequest,
|
---|
1355 | BOOL fSpyed);
|
---|
1356 | void __RPC_STUB IMallocSpy_PreDidAlloc_Stub(
|
---|
1357 | IRpcStubBuffer* This,
|
---|
1358 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1359 | PRPC_MESSAGE pRpcMessage,
|
---|
1360 | DWORD* pdwStubPhase);
|
---|
1361 | int STDMETHODCALLTYPE IMallocSpy_PostDidAlloc_Proxy(
|
---|
1362 | IMallocSpy* This,
|
---|
1363 | LPVOID pRequest,
|
---|
1364 | BOOL fSpyed,
|
---|
1365 | int fActual);
|
---|
1366 | void __RPC_STUB IMallocSpy_PostDidAlloc_Stub(
|
---|
1367 | IRpcStubBuffer* This,
|
---|
1368 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1369 | PRPC_MESSAGE pRpcMessage,
|
---|
1370 | DWORD* pdwStubPhase);
|
---|
1371 | void STDMETHODCALLTYPE IMallocSpy_PreHeapMinimize_Proxy(
|
---|
1372 | IMallocSpy* This);
|
---|
1373 | void __RPC_STUB IMallocSpy_PreHeapMinimize_Stub(
|
---|
1374 | IRpcStubBuffer* This,
|
---|
1375 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1376 | PRPC_MESSAGE pRpcMessage,
|
---|
1377 | DWORD* pdwStubPhase);
|
---|
1378 | void STDMETHODCALLTYPE IMallocSpy_PostHeapMinimize_Proxy(
|
---|
1379 | IMallocSpy* This);
|
---|
1380 | void __RPC_STUB IMallocSpy_PostHeapMinimize_Stub(
|
---|
1381 | IRpcStubBuffer* This,
|
---|
1382 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1383 | PRPC_MESSAGE pRpcMessage,
|
---|
1384 | DWORD* pdwStubPhase);
|
---|
1385 |
|
---|
1386 | #endif /* __IMallocSpy_INTERFACE_DEFINED__ */
|
---|
1387 |
|
---|
1388 | /*****************************************************************************
|
---|
1389 | * IInternalUnknown interface
|
---|
1390 | */
|
---|
1391 | #ifndef __IInternalUnknown_INTERFACE_DEFINED__
|
---|
1392 | #define __IInternalUnknown_INTERFACE_DEFINED__
|
---|
1393 |
|
---|
1394 | DEFINE_GUID(IID_IInternalUnknown, 0x00000021, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1395 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1396 | interface IInternalUnknown : public IUnknown
|
---|
1397 | {
|
---|
1398 | virtual HRESULT STDMETHODCALLTYPE QueryInternalInterface(
|
---|
1399 | REFIID riid,
|
---|
1400 | void **ppv) = 0;
|
---|
1401 |
|
---|
1402 | };
|
---|
1403 | #else
|
---|
1404 | typedef struct IInternalUnknownVtbl {
|
---|
1405 | BEGIN_INTERFACE
|
---|
1406 |
|
---|
1407 | /*** IUnknown methods ***/
|
---|
1408 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1409 | IInternalUnknown* This,
|
---|
1410 | REFIID riid,
|
---|
1411 | void **ppvObject);
|
---|
1412 |
|
---|
1413 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1414 | IInternalUnknown* This);
|
---|
1415 |
|
---|
1416 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1417 | IInternalUnknown* This);
|
---|
1418 |
|
---|
1419 | /*** IInternalUnknown methods ***/
|
---|
1420 | HRESULT (STDMETHODCALLTYPE *QueryInternalInterface)(
|
---|
1421 | IInternalUnknown* This,
|
---|
1422 | REFIID riid,
|
---|
1423 | void **ppv);
|
---|
1424 |
|
---|
1425 | END_INTERFACE
|
---|
1426 | } IInternalUnknownVtbl;
|
---|
1427 | interface IInternalUnknown {
|
---|
1428 | CONST_VTBL IInternalUnknownVtbl* lpVtbl;
|
---|
1429 | };
|
---|
1430 |
|
---|
1431 | #ifdef COBJMACROS
|
---|
1432 | /*** IUnknown methods ***/
|
---|
1433 | #define IInternalUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1434 | #define IInternalUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1435 | #define IInternalUnknown_Release(This) (This)->lpVtbl->Release(This)
|
---|
1436 | /*** IInternalUnknown methods ***/
|
---|
1437 | #define IInternalUnknown_QueryInternalInterface(This,riid,ppv) (This)->lpVtbl->QueryInternalInterface(This,riid,ppv)
|
---|
1438 | #endif
|
---|
1439 |
|
---|
1440 | #endif
|
---|
1441 |
|
---|
1442 | HRESULT STDMETHODCALLTYPE IInternalUnknown_QueryInternalInterface_Proxy(
|
---|
1443 | IInternalUnknown* This,
|
---|
1444 | REFIID riid,
|
---|
1445 | void **ppv);
|
---|
1446 | void __RPC_STUB IInternalUnknown_QueryInternalInterface_Stub(
|
---|
1447 | IRpcStubBuffer* This,
|
---|
1448 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1449 | PRPC_MESSAGE pRpcMessage,
|
---|
1450 | DWORD* pdwStubPhase);
|
---|
1451 |
|
---|
1452 | #endif /* __IInternalUnknown_INTERFACE_DEFINED__ */
|
---|
1453 |
|
---|
1454 | /*****************************************************************************
|
---|
1455 | * IEnumUnknown interface
|
---|
1456 | */
|
---|
1457 | #ifndef __IEnumUnknown_INTERFACE_DEFINED__
|
---|
1458 | #define __IEnumUnknown_INTERFACE_DEFINED__
|
---|
1459 |
|
---|
1460 | typedef IEnumUnknown *LPENUMUNKNOWN;
|
---|
1461 | DEFINE_GUID(IID_IEnumUnknown, 0x00000100, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1462 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1463 | interface IEnumUnknown : public IUnknown
|
---|
1464 | {
|
---|
1465 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
1466 | ULONG celt,
|
---|
1467 | IUnknown **rgelt,
|
---|
1468 | ULONG *pceltFetched) = 0;
|
---|
1469 |
|
---|
1470 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
1471 | ULONG celt) = 0;
|
---|
1472 |
|
---|
1473 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
1474 | ) = 0;
|
---|
1475 |
|
---|
1476 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
1477 | IEnumUnknown **ppenum) = 0;
|
---|
1478 |
|
---|
1479 | };
|
---|
1480 | #else
|
---|
1481 | typedef struct IEnumUnknownVtbl {
|
---|
1482 | BEGIN_INTERFACE
|
---|
1483 |
|
---|
1484 | /*** IUnknown methods ***/
|
---|
1485 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1486 | IEnumUnknown* This,
|
---|
1487 | REFIID riid,
|
---|
1488 | void **ppvObject);
|
---|
1489 |
|
---|
1490 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1491 | IEnumUnknown* This);
|
---|
1492 |
|
---|
1493 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1494 | IEnumUnknown* This);
|
---|
1495 |
|
---|
1496 | /*** IEnumUnknown methods ***/
|
---|
1497 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
1498 | IEnumUnknown* This,
|
---|
1499 | ULONG celt,
|
---|
1500 | IUnknown **rgelt,
|
---|
1501 | ULONG *pceltFetched);
|
---|
1502 |
|
---|
1503 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
1504 | IEnumUnknown* This,
|
---|
1505 | ULONG celt);
|
---|
1506 |
|
---|
1507 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
1508 | IEnumUnknown* This);
|
---|
1509 |
|
---|
1510 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
1511 | IEnumUnknown* This,
|
---|
1512 | IEnumUnknown **ppenum);
|
---|
1513 |
|
---|
1514 | END_INTERFACE
|
---|
1515 | } IEnumUnknownVtbl;
|
---|
1516 | interface IEnumUnknown {
|
---|
1517 | CONST_VTBL IEnumUnknownVtbl* lpVtbl;
|
---|
1518 | };
|
---|
1519 |
|
---|
1520 | #ifdef COBJMACROS
|
---|
1521 | /*** IUnknown methods ***/
|
---|
1522 | #define IEnumUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1523 | #define IEnumUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1524 | #define IEnumUnknown_Release(This) (This)->lpVtbl->Release(This)
|
---|
1525 | /*** IEnumUnknown methods ***/
|
---|
1526 | #define IEnumUnknown_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
|
---|
1527 | #define IEnumUnknown_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
|
---|
1528 | #define IEnumUnknown_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
1529 | #define IEnumUnknown_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
|
---|
1530 | #endif
|
---|
1531 |
|
---|
1532 | #endif
|
---|
1533 |
|
---|
1534 | HRESULT STDMETHODCALLTYPE IEnumUnknown_RemoteNext_Proxy(
|
---|
1535 | IEnumUnknown* This,
|
---|
1536 | ULONG celt,
|
---|
1537 | IUnknown **rgelt,
|
---|
1538 | ULONG *pceltFetched);
|
---|
1539 | void __RPC_STUB IEnumUnknown_RemoteNext_Stub(
|
---|
1540 | IRpcStubBuffer* This,
|
---|
1541 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1542 | PRPC_MESSAGE pRpcMessage,
|
---|
1543 | DWORD* pdwStubPhase);
|
---|
1544 | HRESULT STDMETHODCALLTYPE IEnumUnknown_Skip_Proxy(
|
---|
1545 | IEnumUnknown* This,
|
---|
1546 | ULONG celt);
|
---|
1547 | void __RPC_STUB IEnumUnknown_Skip_Stub(
|
---|
1548 | IRpcStubBuffer* This,
|
---|
1549 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1550 | PRPC_MESSAGE pRpcMessage,
|
---|
1551 | DWORD* pdwStubPhase);
|
---|
1552 | HRESULT STDMETHODCALLTYPE IEnumUnknown_Reset_Proxy(
|
---|
1553 | IEnumUnknown* This);
|
---|
1554 | void __RPC_STUB IEnumUnknown_Reset_Stub(
|
---|
1555 | IRpcStubBuffer* This,
|
---|
1556 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1557 | PRPC_MESSAGE pRpcMessage,
|
---|
1558 | DWORD* pdwStubPhase);
|
---|
1559 | HRESULT STDMETHODCALLTYPE IEnumUnknown_Clone_Proxy(
|
---|
1560 | IEnumUnknown* This,
|
---|
1561 | IEnumUnknown **ppenum);
|
---|
1562 | void __RPC_STUB IEnumUnknown_Clone_Stub(
|
---|
1563 | IRpcStubBuffer* This,
|
---|
1564 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1565 | PRPC_MESSAGE pRpcMessage,
|
---|
1566 | DWORD* pdwStubPhase);
|
---|
1567 | HRESULT CALLBACK IEnumUnknown_Next_Proxy(
|
---|
1568 | IEnumUnknown* This,
|
---|
1569 | ULONG celt,
|
---|
1570 | IUnknown **rgelt,
|
---|
1571 | ULONG *pceltFetched);
|
---|
1572 | HRESULT __RPC_STUB IEnumUnknown_Next_Stub(
|
---|
1573 | IEnumUnknown* This,
|
---|
1574 | ULONG celt,
|
---|
1575 | IUnknown **rgelt,
|
---|
1576 | ULONG *pceltFetched);
|
---|
1577 |
|
---|
1578 | #endif /* __IEnumUnknown_INTERFACE_DEFINED__ */
|
---|
1579 |
|
---|
1580 | /*****************************************************************************
|
---|
1581 | * ISurrogate interface
|
---|
1582 | */
|
---|
1583 | #ifndef __ISurrogate_INTERFACE_DEFINED__
|
---|
1584 | #define __ISurrogate_INTERFACE_DEFINED__
|
---|
1585 |
|
---|
1586 | typedef ISurrogate *LPSURROGATE;
|
---|
1587 | DEFINE_GUID(IID_ISurrogate, 0x00000022, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1588 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1589 | interface ISurrogate : public IUnknown
|
---|
1590 | {
|
---|
1591 | virtual HRESULT STDMETHODCALLTYPE LoadDllServer(
|
---|
1592 | REFCLSID Clsid) = 0;
|
---|
1593 |
|
---|
1594 | virtual HRESULT STDMETHODCALLTYPE FreeSurrogate(
|
---|
1595 | ) = 0;
|
---|
1596 |
|
---|
1597 | };
|
---|
1598 | #else
|
---|
1599 | typedef struct ISurrogateVtbl {
|
---|
1600 | BEGIN_INTERFACE
|
---|
1601 |
|
---|
1602 | /*** IUnknown methods ***/
|
---|
1603 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1604 | ISurrogate* This,
|
---|
1605 | REFIID riid,
|
---|
1606 | void **ppvObject);
|
---|
1607 |
|
---|
1608 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1609 | ISurrogate* This);
|
---|
1610 |
|
---|
1611 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1612 | ISurrogate* This);
|
---|
1613 |
|
---|
1614 | /*** ISurrogate methods ***/
|
---|
1615 | HRESULT (STDMETHODCALLTYPE *LoadDllServer)(
|
---|
1616 | ISurrogate* This,
|
---|
1617 | REFCLSID Clsid);
|
---|
1618 |
|
---|
1619 | HRESULT (STDMETHODCALLTYPE *FreeSurrogate)(
|
---|
1620 | ISurrogate* This);
|
---|
1621 |
|
---|
1622 | END_INTERFACE
|
---|
1623 | } ISurrogateVtbl;
|
---|
1624 | interface ISurrogate {
|
---|
1625 | CONST_VTBL ISurrogateVtbl* lpVtbl;
|
---|
1626 | };
|
---|
1627 |
|
---|
1628 | #ifdef COBJMACROS
|
---|
1629 | /*** IUnknown methods ***/
|
---|
1630 | #define ISurrogate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1631 | #define ISurrogate_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1632 | #define ISurrogate_Release(This) (This)->lpVtbl->Release(This)
|
---|
1633 | /*** ISurrogate methods ***/
|
---|
1634 | #define ISurrogate_LoadDllServer(This,Clsid) (This)->lpVtbl->LoadDllServer(This,Clsid)
|
---|
1635 | #define ISurrogate_FreeSurrogate(This) (This)->lpVtbl->FreeSurrogate(This)
|
---|
1636 | #endif
|
---|
1637 |
|
---|
1638 | #endif
|
---|
1639 |
|
---|
1640 | HRESULT STDMETHODCALLTYPE ISurrogate_LoadDllServer_Proxy(
|
---|
1641 | ISurrogate* This,
|
---|
1642 | REFCLSID Clsid);
|
---|
1643 | void __RPC_STUB ISurrogate_LoadDllServer_Stub(
|
---|
1644 | IRpcStubBuffer* This,
|
---|
1645 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1646 | PRPC_MESSAGE pRpcMessage,
|
---|
1647 | DWORD* pdwStubPhase);
|
---|
1648 | HRESULT STDMETHODCALLTYPE ISurrogate_FreeSurrogate_Proxy(
|
---|
1649 | ISurrogate* This);
|
---|
1650 | void __RPC_STUB ISurrogate_FreeSurrogate_Stub(
|
---|
1651 | IRpcStubBuffer* This,
|
---|
1652 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1653 | PRPC_MESSAGE pRpcMessage,
|
---|
1654 | DWORD* pdwStubPhase);
|
---|
1655 |
|
---|
1656 | #endif /* __ISurrogate_INTERFACE_DEFINED__ */
|
---|
1657 |
|
---|
1658 | /*****************************************************************************
|
---|
1659 | * IGlobalInterfaceTable interface
|
---|
1660 | */
|
---|
1661 | #ifndef __IGlobalInterfaceTable_INTERFACE_DEFINED__
|
---|
1662 | #define __IGlobalInterfaceTable_INTERFACE_DEFINED__
|
---|
1663 |
|
---|
1664 | typedef IGlobalInterfaceTable *LPGLOBALINTERFACETABLE;
|
---|
1665 | DEFINE_GUID(IID_IGlobalInterfaceTable, 0x00000146, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1666 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1667 | interface IGlobalInterfaceTable : public IUnknown
|
---|
1668 | {
|
---|
1669 | virtual HRESULT STDMETHODCALLTYPE RegisterInterfaceInGlobal(
|
---|
1670 | IUnknown *pUnk,
|
---|
1671 | REFIID riid,
|
---|
1672 | DWORD *pdwCookie) = 0;
|
---|
1673 |
|
---|
1674 | virtual HRESULT STDMETHODCALLTYPE RevokeInterfaceFromGlobal(
|
---|
1675 | DWORD dwCookie) = 0;
|
---|
1676 |
|
---|
1677 | virtual HRESULT STDMETHODCALLTYPE GetInterfaceFromGlobal(
|
---|
1678 | DWORD dwCookie,
|
---|
1679 | REFIID riid,
|
---|
1680 | void **ppv) = 0;
|
---|
1681 |
|
---|
1682 | };
|
---|
1683 | #else
|
---|
1684 | typedef struct IGlobalInterfaceTableVtbl {
|
---|
1685 | BEGIN_INTERFACE
|
---|
1686 |
|
---|
1687 | /*** IUnknown methods ***/
|
---|
1688 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1689 | IGlobalInterfaceTable* This,
|
---|
1690 | REFIID riid,
|
---|
1691 | void **ppvObject);
|
---|
1692 |
|
---|
1693 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1694 | IGlobalInterfaceTable* This);
|
---|
1695 |
|
---|
1696 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1697 | IGlobalInterfaceTable* This);
|
---|
1698 |
|
---|
1699 | /*** IGlobalInterfaceTable methods ***/
|
---|
1700 | HRESULT (STDMETHODCALLTYPE *RegisterInterfaceInGlobal)(
|
---|
1701 | IGlobalInterfaceTable* This,
|
---|
1702 | IUnknown *pUnk,
|
---|
1703 | REFIID riid,
|
---|
1704 | DWORD *pdwCookie);
|
---|
1705 |
|
---|
1706 | HRESULT (STDMETHODCALLTYPE *RevokeInterfaceFromGlobal)(
|
---|
1707 | IGlobalInterfaceTable* This,
|
---|
1708 | DWORD dwCookie);
|
---|
1709 |
|
---|
1710 | HRESULT (STDMETHODCALLTYPE *GetInterfaceFromGlobal)(
|
---|
1711 | IGlobalInterfaceTable* This,
|
---|
1712 | DWORD dwCookie,
|
---|
1713 | REFIID riid,
|
---|
1714 | void **ppv);
|
---|
1715 |
|
---|
1716 | END_INTERFACE
|
---|
1717 | } IGlobalInterfaceTableVtbl;
|
---|
1718 | interface IGlobalInterfaceTable {
|
---|
1719 | CONST_VTBL IGlobalInterfaceTableVtbl* lpVtbl;
|
---|
1720 | };
|
---|
1721 |
|
---|
1722 | #ifdef COBJMACROS
|
---|
1723 | /*** IUnknown methods ***/
|
---|
1724 | #define IGlobalInterfaceTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1725 | #define IGlobalInterfaceTable_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1726 | #define IGlobalInterfaceTable_Release(This) (This)->lpVtbl->Release(This)
|
---|
1727 | /*** IGlobalInterfaceTable methods ***/
|
---|
1728 | #define IGlobalInterfaceTable_RegisterInterfaceInGlobal(This,pUnk,riid,pdwCookie) (This)->lpVtbl->RegisterInterfaceInGlobal(This,pUnk,riid,pdwCookie)
|
---|
1729 | #define IGlobalInterfaceTable_RevokeInterfaceFromGlobal(This,dwCookie) (This)->lpVtbl->RevokeInterfaceFromGlobal(This,dwCookie)
|
---|
1730 | #define IGlobalInterfaceTable_GetInterfaceFromGlobal(This,dwCookie,riid,ppv) (This)->lpVtbl->GetInterfaceFromGlobal(This,dwCookie,riid,ppv)
|
---|
1731 | #endif
|
---|
1732 |
|
---|
1733 | #endif
|
---|
1734 |
|
---|
1735 | HRESULT STDMETHODCALLTYPE IGlobalInterfaceTable_RegisterInterfaceInGlobal_Proxy(
|
---|
1736 | IGlobalInterfaceTable* This,
|
---|
1737 | IUnknown *pUnk,
|
---|
1738 | REFIID riid,
|
---|
1739 | DWORD *pdwCookie);
|
---|
1740 | void __RPC_STUB IGlobalInterfaceTable_RegisterInterfaceInGlobal_Stub(
|
---|
1741 | IRpcStubBuffer* This,
|
---|
1742 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1743 | PRPC_MESSAGE pRpcMessage,
|
---|
1744 | DWORD* pdwStubPhase);
|
---|
1745 | HRESULT STDMETHODCALLTYPE IGlobalInterfaceTable_RevokeInterfaceFromGlobal_Proxy(
|
---|
1746 | IGlobalInterfaceTable* This,
|
---|
1747 | DWORD dwCookie);
|
---|
1748 | void __RPC_STUB IGlobalInterfaceTable_RevokeInterfaceFromGlobal_Stub(
|
---|
1749 | IRpcStubBuffer* This,
|
---|
1750 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1751 | PRPC_MESSAGE pRpcMessage,
|
---|
1752 | DWORD* pdwStubPhase);
|
---|
1753 | HRESULT STDMETHODCALLTYPE IGlobalInterfaceTable_GetInterfaceFromGlobal_Proxy(
|
---|
1754 | IGlobalInterfaceTable* This,
|
---|
1755 | DWORD dwCookie,
|
---|
1756 | REFIID riid,
|
---|
1757 | void **ppv);
|
---|
1758 | void __RPC_STUB IGlobalInterfaceTable_GetInterfaceFromGlobal_Stub(
|
---|
1759 | IRpcStubBuffer* This,
|
---|
1760 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1761 | PRPC_MESSAGE pRpcMessage,
|
---|
1762 | DWORD* pdwStubPhase);
|
---|
1763 |
|
---|
1764 | #endif /* __IGlobalInterfaceTable_INTERFACE_DEFINED__ */
|
---|
1765 |
|
---|
1766 | /*****************************************************************************
|
---|
1767 | * IBindCtx interface
|
---|
1768 | */
|
---|
1769 | #ifndef __IBindCtx_INTERFACE_DEFINED__
|
---|
1770 | #define __IBindCtx_INTERFACE_DEFINED__
|
---|
1771 |
|
---|
1772 | typedef IBindCtx *LPBINDCTX;
|
---|
1773 | typedef IBindCtx *LPBC;
|
---|
1774 | typedef struct tagBIND_OPTS {
|
---|
1775 | DWORD cbStruct;
|
---|
1776 | DWORD grfFlags;
|
---|
1777 | DWORD grfMode;
|
---|
1778 | DWORD dwTickCountDeadline;
|
---|
1779 | } BIND_OPTS;
|
---|
1780 | typedef struct tagBIND_OPTS *LPBIND_OPTS;
|
---|
1781 | typedef struct tagBIND_OPTS2 {
|
---|
1782 | DWORD cbStruct;
|
---|
1783 | DWORD grfFlags;
|
---|
1784 | DWORD grfMode;
|
---|
1785 | DWORD dwTickCountDeadline;
|
---|
1786 | DWORD dwTrackFlags;
|
---|
1787 | DWORD dwClassContext;
|
---|
1788 | LCID locale;
|
---|
1789 | COSERVERINFO *pServerInfo;
|
---|
1790 | } BIND_OPTS2;
|
---|
1791 | typedef struct tagBIND_OPTS2 *LPBIND_OPTS2;
|
---|
1792 | typedef enum tagBIND_FLAGS {
|
---|
1793 | BIND_MAYBOTHERUSER = 1,
|
---|
1794 | BIND_JUSTTESTEXISTENCE = 2
|
---|
1795 | } BIND_FLAGS;
|
---|
1796 | DEFINE_GUID(IID_IBindCtx, 0x0000000e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1797 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1798 | interface IBindCtx : public IUnknown
|
---|
1799 | {
|
---|
1800 | virtual HRESULT STDMETHODCALLTYPE RegisterObjectBound(
|
---|
1801 | IUnknown *punk) = 0;
|
---|
1802 |
|
---|
1803 | virtual HRESULT STDMETHODCALLTYPE RevokeObjectBound(
|
---|
1804 | IUnknown *punk) = 0;
|
---|
1805 |
|
---|
1806 | virtual HRESULT STDMETHODCALLTYPE ReleaseBoundObjects(
|
---|
1807 | ) = 0;
|
---|
1808 |
|
---|
1809 | virtual HRESULT STDMETHODCALLTYPE SetBindOptions(
|
---|
1810 | BIND_OPTS *pbindopts) = 0;
|
---|
1811 |
|
---|
1812 | virtual HRESULT STDMETHODCALLTYPE GetBindOptions(
|
---|
1813 | BIND_OPTS *pbindopts) = 0;
|
---|
1814 |
|
---|
1815 | virtual HRESULT STDMETHODCALLTYPE GetRunningObjectTable(
|
---|
1816 | IRunningObjectTable **pprot) = 0;
|
---|
1817 |
|
---|
1818 | virtual HRESULT STDMETHODCALLTYPE RegisterObjectParam(
|
---|
1819 | LPOLESTR pszKey,
|
---|
1820 | IUnknown *punk) = 0;
|
---|
1821 |
|
---|
1822 | virtual HRESULT STDMETHODCALLTYPE GetObjectParam(
|
---|
1823 | LPOLESTR pszKey,
|
---|
1824 | IUnknown **ppunk) = 0;
|
---|
1825 |
|
---|
1826 | virtual HRESULT STDMETHODCALLTYPE EnumObjectParam(
|
---|
1827 | IEnumString **ppenum) = 0;
|
---|
1828 |
|
---|
1829 | virtual HRESULT STDMETHODCALLTYPE RevokeObjectParam(
|
---|
1830 | LPOLESTR pszKey) = 0;
|
---|
1831 |
|
---|
1832 | };
|
---|
1833 | #else
|
---|
1834 | typedef struct IBindCtxVtbl {
|
---|
1835 | BEGIN_INTERFACE
|
---|
1836 |
|
---|
1837 | /*** IUnknown methods ***/
|
---|
1838 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1839 | IBindCtx* This,
|
---|
1840 | REFIID riid,
|
---|
1841 | void **ppvObject);
|
---|
1842 |
|
---|
1843 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1844 | IBindCtx* This);
|
---|
1845 |
|
---|
1846 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1847 | IBindCtx* This);
|
---|
1848 |
|
---|
1849 | /*** IBindCtx methods ***/
|
---|
1850 | HRESULT (STDMETHODCALLTYPE *RegisterObjectBound)(
|
---|
1851 | IBindCtx* This,
|
---|
1852 | IUnknown *punk);
|
---|
1853 |
|
---|
1854 | HRESULT (STDMETHODCALLTYPE *RevokeObjectBound)(
|
---|
1855 | IBindCtx* This,
|
---|
1856 | IUnknown *punk);
|
---|
1857 |
|
---|
1858 | HRESULT (STDMETHODCALLTYPE *ReleaseBoundObjects)(
|
---|
1859 | IBindCtx* This);
|
---|
1860 |
|
---|
1861 | HRESULT (STDMETHODCALLTYPE *SetBindOptions)(
|
---|
1862 | IBindCtx* This,
|
---|
1863 | BIND_OPTS *pbindopts);
|
---|
1864 |
|
---|
1865 | HRESULT (STDMETHODCALLTYPE *GetBindOptions)(
|
---|
1866 | IBindCtx* This,
|
---|
1867 | BIND_OPTS *pbindopts);
|
---|
1868 |
|
---|
1869 | HRESULT (STDMETHODCALLTYPE *GetRunningObjectTable)(
|
---|
1870 | IBindCtx* This,
|
---|
1871 | IRunningObjectTable **pprot);
|
---|
1872 |
|
---|
1873 | HRESULT (STDMETHODCALLTYPE *RegisterObjectParam)(
|
---|
1874 | IBindCtx* This,
|
---|
1875 | LPOLESTR pszKey,
|
---|
1876 | IUnknown *punk);
|
---|
1877 |
|
---|
1878 | HRESULT (STDMETHODCALLTYPE *GetObjectParam)(
|
---|
1879 | IBindCtx* This,
|
---|
1880 | LPOLESTR pszKey,
|
---|
1881 | IUnknown **ppunk);
|
---|
1882 |
|
---|
1883 | HRESULT (STDMETHODCALLTYPE *EnumObjectParam)(
|
---|
1884 | IBindCtx* This,
|
---|
1885 | IEnumString **ppenum);
|
---|
1886 |
|
---|
1887 | HRESULT (STDMETHODCALLTYPE *RevokeObjectParam)(
|
---|
1888 | IBindCtx* This,
|
---|
1889 | LPOLESTR pszKey);
|
---|
1890 |
|
---|
1891 | END_INTERFACE
|
---|
1892 | } IBindCtxVtbl;
|
---|
1893 | interface IBindCtx {
|
---|
1894 | CONST_VTBL IBindCtxVtbl* lpVtbl;
|
---|
1895 | };
|
---|
1896 |
|
---|
1897 | #ifdef COBJMACROS
|
---|
1898 | /*** IUnknown methods ***/
|
---|
1899 | #define IBindCtx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1900 | #define IBindCtx_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1901 | #define IBindCtx_Release(This) (This)->lpVtbl->Release(This)
|
---|
1902 | /*** IBindCtx methods ***/
|
---|
1903 | #define IBindCtx_RegisterObjectBound(This,punk) (This)->lpVtbl->RegisterObjectBound(This,punk)
|
---|
1904 | #define IBindCtx_RevokeObjectBound(This,punk) (This)->lpVtbl->RevokeObjectBound(This,punk)
|
---|
1905 | #define IBindCtx_ReleaseBoundObjects(This) (This)->lpVtbl->ReleaseBoundObjects(This)
|
---|
1906 | #define IBindCtx_SetBindOptions(This,pbindopts) (This)->lpVtbl->SetBindOptions(This,pbindopts)
|
---|
1907 | #define IBindCtx_GetBindOptions(This,pbindopts) (This)->lpVtbl->GetBindOptions(This,pbindopts)
|
---|
1908 | #define IBindCtx_GetRunningObjectTable(This,pprot) (This)->lpVtbl->GetRunningObjectTable(This,pprot)
|
---|
1909 | #define IBindCtx_RegisterObjectParam(This,pszKey,punk) (This)->lpVtbl->RegisterObjectParam(This,pszKey,punk)
|
---|
1910 | #define IBindCtx_GetObjectParam(This,pszKey,ppunk) (This)->lpVtbl->GetObjectParam(This,pszKey,ppunk)
|
---|
1911 | #define IBindCtx_EnumObjectParam(This,ppenum) (This)->lpVtbl->EnumObjectParam(This,ppenum)
|
---|
1912 | #define IBindCtx_RevokeObjectParam(This,pszKey) (This)->lpVtbl->RevokeObjectParam(This,pszKey)
|
---|
1913 | #endif
|
---|
1914 |
|
---|
1915 | #endif
|
---|
1916 |
|
---|
1917 | HRESULT STDMETHODCALLTYPE IBindCtx_RegisterObjectBound_Proxy(
|
---|
1918 | IBindCtx* This,
|
---|
1919 | IUnknown *punk);
|
---|
1920 | void __RPC_STUB IBindCtx_RegisterObjectBound_Stub(
|
---|
1921 | IRpcStubBuffer* This,
|
---|
1922 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1923 | PRPC_MESSAGE pRpcMessage,
|
---|
1924 | DWORD* pdwStubPhase);
|
---|
1925 | HRESULT STDMETHODCALLTYPE IBindCtx_RevokeObjectBound_Proxy(
|
---|
1926 | IBindCtx* This,
|
---|
1927 | IUnknown *punk);
|
---|
1928 | void __RPC_STUB IBindCtx_RevokeObjectBound_Stub(
|
---|
1929 | IRpcStubBuffer* This,
|
---|
1930 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1931 | PRPC_MESSAGE pRpcMessage,
|
---|
1932 | DWORD* pdwStubPhase);
|
---|
1933 | HRESULT STDMETHODCALLTYPE IBindCtx_ReleaseBoundObjects_Proxy(
|
---|
1934 | IBindCtx* This);
|
---|
1935 | void __RPC_STUB IBindCtx_ReleaseBoundObjects_Stub(
|
---|
1936 | IRpcStubBuffer* This,
|
---|
1937 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1938 | PRPC_MESSAGE pRpcMessage,
|
---|
1939 | DWORD* pdwStubPhase);
|
---|
1940 | HRESULT STDMETHODCALLTYPE IBindCtx_RemoteSetBindOptions_Proxy(
|
---|
1941 | IBindCtx* This,
|
---|
1942 | BIND_OPTS2 *pbindopts);
|
---|
1943 | void __RPC_STUB IBindCtx_RemoteSetBindOptions_Stub(
|
---|
1944 | IRpcStubBuffer* This,
|
---|
1945 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1946 | PRPC_MESSAGE pRpcMessage,
|
---|
1947 | DWORD* pdwStubPhase);
|
---|
1948 | HRESULT STDMETHODCALLTYPE IBindCtx_RemoteGetBindOptions_Proxy(
|
---|
1949 | IBindCtx* This,
|
---|
1950 | BIND_OPTS2 *pbindopts);
|
---|
1951 | void __RPC_STUB IBindCtx_RemoteGetBindOptions_Stub(
|
---|
1952 | IRpcStubBuffer* This,
|
---|
1953 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1954 | PRPC_MESSAGE pRpcMessage,
|
---|
1955 | DWORD* pdwStubPhase);
|
---|
1956 | HRESULT STDMETHODCALLTYPE IBindCtx_GetRunningObjectTable_Proxy(
|
---|
1957 | IBindCtx* This,
|
---|
1958 | IRunningObjectTable **pprot);
|
---|
1959 | void __RPC_STUB IBindCtx_GetRunningObjectTable_Stub(
|
---|
1960 | IRpcStubBuffer* This,
|
---|
1961 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1962 | PRPC_MESSAGE pRpcMessage,
|
---|
1963 | DWORD* pdwStubPhase);
|
---|
1964 | HRESULT STDMETHODCALLTYPE IBindCtx_RegisterObjectParam_Proxy(
|
---|
1965 | IBindCtx* This,
|
---|
1966 | LPOLESTR pszKey,
|
---|
1967 | IUnknown *punk);
|
---|
1968 | void __RPC_STUB IBindCtx_RegisterObjectParam_Stub(
|
---|
1969 | IRpcStubBuffer* This,
|
---|
1970 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1971 | PRPC_MESSAGE pRpcMessage,
|
---|
1972 | DWORD* pdwStubPhase);
|
---|
1973 | HRESULT STDMETHODCALLTYPE IBindCtx_GetObjectParam_Proxy(
|
---|
1974 | IBindCtx* This,
|
---|
1975 | LPOLESTR pszKey,
|
---|
1976 | IUnknown **ppunk);
|
---|
1977 | void __RPC_STUB IBindCtx_GetObjectParam_Stub(
|
---|
1978 | IRpcStubBuffer* This,
|
---|
1979 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1980 | PRPC_MESSAGE pRpcMessage,
|
---|
1981 | DWORD* pdwStubPhase);
|
---|
1982 | HRESULT STDMETHODCALLTYPE IBindCtx_EnumObjectParam_Proxy(
|
---|
1983 | IBindCtx* This,
|
---|
1984 | IEnumString **ppenum);
|
---|
1985 | void __RPC_STUB IBindCtx_EnumObjectParam_Stub(
|
---|
1986 | IRpcStubBuffer* This,
|
---|
1987 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1988 | PRPC_MESSAGE pRpcMessage,
|
---|
1989 | DWORD* pdwStubPhase);
|
---|
1990 | HRESULT STDMETHODCALLTYPE IBindCtx_RevokeObjectParam_Proxy(
|
---|
1991 | IBindCtx* This,
|
---|
1992 | LPOLESTR pszKey);
|
---|
1993 | void __RPC_STUB IBindCtx_RevokeObjectParam_Stub(
|
---|
1994 | IRpcStubBuffer* This,
|
---|
1995 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1996 | PRPC_MESSAGE pRpcMessage,
|
---|
1997 | DWORD* pdwStubPhase);
|
---|
1998 | HRESULT CALLBACK IBindCtx_SetBindOptions_Proxy(
|
---|
1999 | IBindCtx* This,
|
---|
2000 | BIND_OPTS *pbindopts);
|
---|
2001 | HRESULT __RPC_STUB IBindCtx_SetBindOptions_Stub(
|
---|
2002 | IBindCtx* This,
|
---|
2003 | BIND_OPTS2 *pbindopts);
|
---|
2004 | HRESULT CALLBACK IBindCtx_GetBindOptions_Proxy(
|
---|
2005 | IBindCtx* This,
|
---|
2006 | BIND_OPTS *pbindopts);
|
---|
2007 | HRESULT __RPC_STUB IBindCtx_GetBindOptions_Stub(
|
---|
2008 | IBindCtx* This,
|
---|
2009 | BIND_OPTS2 *pbindopts);
|
---|
2010 |
|
---|
2011 | #endif /* __IBindCtx_INTERFACE_DEFINED__ */
|
---|
2012 |
|
---|
2013 | /*****************************************************************************
|
---|
2014 | * IEnumMoniker interface
|
---|
2015 | */
|
---|
2016 | #ifndef __IEnumMoniker_INTERFACE_DEFINED__
|
---|
2017 | #define __IEnumMoniker_INTERFACE_DEFINED__
|
---|
2018 |
|
---|
2019 | typedef IEnumMoniker *LPENUMMONIKER;
|
---|
2020 | DEFINE_GUID(IID_IEnumMoniker, 0x00000102, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2021 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2022 | interface IEnumMoniker : public IUnknown
|
---|
2023 | {
|
---|
2024 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
2025 | ULONG celt,
|
---|
2026 | IMoniker **rgelt,
|
---|
2027 | ULONG *pceltFetched) = 0;
|
---|
2028 |
|
---|
2029 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
2030 | ULONG celt) = 0;
|
---|
2031 |
|
---|
2032 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
2033 | ) = 0;
|
---|
2034 |
|
---|
2035 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
2036 | IEnumMoniker **ppenum) = 0;
|
---|
2037 |
|
---|
2038 | };
|
---|
2039 | #else
|
---|
2040 | typedef struct IEnumMonikerVtbl {
|
---|
2041 | BEGIN_INTERFACE
|
---|
2042 |
|
---|
2043 | /*** IUnknown methods ***/
|
---|
2044 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2045 | IEnumMoniker* This,
|
---|
2046 | REFIID riid,
|
---|
2047 | void **ppvObject);
|
---|
2048 |
|
---|
2049 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2050 | IEnumMoniker* This);
|
---|
2051 |
|
---|
2052 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2053 | IEnumMoniker* This);
|
---|
2054 |
|
---|
2055 | /*** IEnumMoniker methods ***/
|
---|
2056 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
2057 | IEnumMoniker* This,
|
---|
2058 | ULONG celt,
|
---|
2059 | IMoniker **rgelt,
|
---|
2060 | ULONG *pceltFetched);
|
---|
2061 |
|
---|
2062 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
2063 | IEnumMoniker* This,
|
---|
2064 | ULONG celt);
|
---|
2065 |
|
---|
2066 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
2067 | IEnumMoniker* This);
|
---|
2068 |
|
---|
2069 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
2070 | IEnumMoniker* This,
|
---|
2071 | IEnumMoniker **ppenum);
|
---|
2072 |
|
---|
2073 | END_INTERFACE
|
---|
2074 | } IEnumMonikerVtbl;
|
---|
2075 | interface IEnumMoniker {
|
---|
2076 | CONST_VTBL IEnumMonikerVtbl* lpVtbl;
|
---|
2077 | };
|
---|
2078 |
|
---|
2079 | #ifdef COBJMACROS
|
---|
2080 | /*** IUnknown methods ***/
|
---|
2081 | #define IEnumMoniker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2082 | #define IEnumMoniker_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2083 | #define IEnumMoniker_Release(This) (This)->lpVtbl->Release(This)
|
---|
2084 | /*** IEnumMoniker methods ***/
|
---|
2085 | #define IEnumMoniker_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
|
---|
2086 | #define IEnumMoniker_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
|
---|
2087 | #define IEnumMoniker_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
2088 | #define IEnumMoniker_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
|
---|
2089 | #endif
|
---|
2090 |
|
---|
2091 | #endif
|
---|
2092 |
|
---|
2093 | HRESULT STDMETHODCALLTYPE IEnumMoniker_RemoteNext_Proxy(
|
---|
2094 | IEnumMoniker* This,
|
---|
2095 | ULONG celt,
|
---|
2096 | IMoniker **rgelt,
|
---|
2097 | ULONG *pceltFetched);
|
---|
2098 | void __RPC_STUB IEnumMoniker_RemoteNext_Stub(
|
---|
2099 | IRpcStubBuffer* This,
|
---|
2100 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2101 | PRPC_MESSAGE pRpcMessage,
|
---|
2102 | DWORD* pdwStubPhase);
|
---|
2103 | HRESULT STDMETHODCALLTYPE IEnumMoniker_Skip_Proxy(
|
---|
2104 | IEnumMoniker* This,
|
---|
2105 | ULONG celt);
|
---|
2106 | void __RPC_STUB IEnumMoniker_Skip_Stub(
|
---|
2107 | IRpcStubBuffer* This,
|
---|
2108 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2109 | PRPC_MESSAGE pRpcMessage,
|
---|
2110 | DWORD* pdwStubPhase);
|
---|
2111 | HRESULT STDMETHODCALLTYPE IEnumMoniker_Reset_Proxy(
|
---|
2112 | IEnumMoniker* This);
|
---|
2113 | void __RPC_STUB IEnumMoniker_Reset_Stub(
|
---|
2114 | IRpcStubBuffer* This,
|
---|
2115 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2116 | PRPC_MESSAGE pRpcMessage,
|
---|
2117 | DWORD* pdwStubPhase);
|
---|
2118 | HRESULT STDMETHODCALLTYPE IEnumMoniker_Clone_Proxy(
|
---|
2119 | IEnumMoniker* This,
|
---|
2120 | IEnumMoniker **ppenum);
|
---|
2121 | void __RPC_STUB IEnumMoniker_Clone_Stub(
|
---|
2122 | IRpcStubBuffer* This,
|
---|
2123 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2124 | PRPC_MESSAGE pRpcMessage,
|
---|
2125 | DWORD* pdwStubPhase);
|
---|
2126 | HRESULT CALLBACK IEnumMoniker_Next_Proxy(
|
---|
2127 | IEnumMoniker* This,
|
---|
2128 | ULONG celt,
|
---|
2129 | IMoniker **rgelt,
|
---|
2130 | ULONG *pceltFetched);
|
---|
2131 | HRESULT __RPC_STUB IEnumMoniker_Next_Stub(
|
---|
2132 | IEnumMoniker* This,
|
---|
2133 | ULONG celt,
|
---|
2134 | IMoniker **rgelt,
|
---|
2135 | ULONG *pceltFetched);
|
---|
2136 |
|
---|
2137 | #endif /* __IEnumMoniker_INTERFACE_DEFINED__ */
|
---|
2138 |
|
---|
2139 | /*****************************************************************************
|
---|
2140 | * IRunnableObject interface
|
---|
2141 | */
|
---|
2142 | #ifndef __IRunnableObject_INTERFACE_DEFINED__
|
---|
2143 | #define __IRunnableObject_INTERFACE_DEFINED__
|
---|
2144 |
|
---|
2145 | typedef IRunnableObject *LPRUNNABLEOBJECT;
|
---|
2146 | DEFINE_GUID(IID_IRunnableObject, 0x00000126, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2147 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2148 | interface IRunnableObject : public IUnknown
|
---|
2149 | {
|
---|
2150 | virtual HRESULT STDMETHODCALLTYPE GetRunningClass(
|
---|
2151 | LPCLSID lpClsid) = 0;
|
---|
2152 |
|
---|
2153 | virtual HRESULT STDMETHODCALLTYPE Run(
|
---|
2154 | LPBINDCTX pbc) = 0;
|
---|
2155 |
|
---|
2156 | virtual BOOL STDMETHODCALLTYPE IsRunning(
|
---|
2157 | ) = 0;
|
---|
2158 |
|
---|
2159 | virtual HRESULT STDMETHODCALLTYPE LockRunning(
|
---|
2160 | BOOL fLock,
|
---|
2161 | BOOL fLastUnlockCloses) = 0;
|
---|
2162 |
|
---|
2163 | virtual HRESULT STDMETHODCALLTYPE SetContainedObject(
|
---|
2164 | BOOL fContained) = 0;
|
---|
2165 |
|
---|
2166 | };
|
---|
2167 | #else
|
---|
2168 | typedef struct IRunnableObjectVtbl {
|
---|
2169 | BEGIN_INTERFACE
|
---|
2170 |
|
---|
2171 | /*** IUnknown methods ***/
|
---|
2172 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2173 | IRunnableObject* This,
|
---|
2174 | REFIID riid,
|
---|
2175 | void **ppvObject);
|
---|
2176 |
|
---|
2177 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2178 | IRunnableObject* This);
|
---|
2179 |
|
---|
2180 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2181 | IRunnableObject* This);
|
---|
2182 |
|
---|
2183 | /*** IRunnableObject methods ***/
|
---|
2184 | HRESULT (STDMETHODCALLTYPE *GetRunningClass)(
|
---|
2185 | IRunnableObject* This,
|
---|
2186 | LPCLSID lpClsid);
|
---|
2187 |
|
---|
2188 | HRESULT (STDMETHODCALLTYPE *Run)(
|
---|
2189 | IRunnableObject* This,
|
---|
2190 | LPBINDCTX pbc);
|
---|
2191 |
|
---|
2192 | BOOL (STDMETHODCALLTYPE *IsRunning)(
|
---|
2193 | IRunnableObject* This);
|
---|
2194 |
|
---|
2195 | HRESULT (STDMETHODCALLTYPE *LockRunning)(
|
---|
2196 | IRunnableObject* This,
|
---|
2197 | BOOL fLock,
|
---|
2198 | BOOL fLastUnlockCloses);
|
---|
2199 |
|
---|
2200 | HRESULT (STDMETHODCALLTYPE *SetContainedObject)(
|
---|
2201 | IRunnableObject* This,
|
---|
2202 | BOOL fContained);
|
---|
2203 |
|
---|
2204 | END_INTERFACE
|
---|
2205 | } IRunnableObjectVtbl;
|
---|
2206 | interface IRunnableObject {
|
---|
2207 | CONST_VTBL IRunnableObjectVtbl* lpVtbl;
|
---|
2208 | };
|
---|
2209 |
|
---|
2210 | #ifdef COBJMACROS
|
---|
2211 | /*** IUnknown methods ***/
|
---|
2212 | #define IRunnableObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2213 | #define IRunnableObject_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2214 | #define IRunnableObject_Release(This) (This)->lpVtbl->Release(This)
|
---|
2215 | /*** IRunnableObject methods ***/
|
---|
2216 | #define IRunnableObject_GetRunningClass(This,lpClsid) (This)->lpVtbl->GetRunningClass(This,lpClsid)
|
---|
2217 | #define IRunnableObject_Run(This,pbc) (This)->lpVtbl->Run(This,pbc)
|
---|
2218 | #define IRunnableObject_IsRunning(This) (This)->lpVtbl->IsRunning(This)
|
---|
2219 | #define IRunnableObject_LockRunning(This,fLock,fLastUnlockCloses) (This)->lpVtbl->LockRunning(This,fLock,fLastUnlockCloses)
|
---|
2220 | #define IRunnableObject_SetContainedObject(This,fContained) (This)->lpVtbl->SetContainedObject(This,fContained)
|
---|
2221 | #endif
|
---|
2222 |
|
---|
2223 | #endif
|
---|
2224 |
|
---|
2225 | HRESULT STDMETHODCALLTYPE IRunnableObject_GetRunningClass_Proxy(
|
---|
2226 | IRunnableObject* This,
|
---|
2227 | LPCLSID lpClsid);
|
---|
2228 | void __RPC_STUB IRunnableObject_GetRunningClass_Stub(
|
---|
2229 | IRpcStubBuffer* This,
|
---|
2230 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2231 | PRPC_MESSAGE pRpcMessage,
|
---|
2232 | DWORD* pdwStubPhase);
|
---|
2233 | HRESULT STDMETHODCALLTYPE IRunnableObject_Run_Proxy(
|
---|
2234 | IRunnableObject* This,
|
---|
2235 | LPBINDCTX pbc);
|
---|
2236 | void __RPC_STUB IRunnableObject_Run_Stub(
|
---|
2237 | IRpcStubBuffer* This,
|
---|
2238 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2239 | PRPC_MESSAGE pRpcMessage,
|
---|
2240 | DWORD* pdwStubPhase);
|
---|
2241 | HRESULT STDMETHODCALLTYPE IRunnableObject_RemoteIsRunning_Proxy(
|
---|
2242 | IRunnableObject* This);
|
---|
2243 | void __RPC_STUB IRunnableObject_RemoteIsRunning_Stub(
|
---|
2244 | IRpcStubBuffer* This,
|
---|
2245 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2246 | PRPC_MESSAGE pRpcMessage,
|
---|
2247 | DWORD* pdwStubPhase);
|
---|
2248 | HRESULT STDMETHODCALLTYPE IRunnableObject_LockRunning_Proxy(
|
---|
2249 | IRunnableObject* This,
|
---|
2250 | BOOL fLock,
|
---|
2251 | BOOL fLastUnlockCloses);
|
---|
2252 | void __RPC_STUB IRunnableObject_LockRunning_Stub(
|
---|
2253 | IRpcStubBuffer* This,
|
---|
2254 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2255 | PRPC_MESSAGE pRpcMessage,
|
---|
2256 | DWORD* pdwStubPhase);
|
---|
2257 | HRESULT STDMETHODCALLTYPE IRunnableObject_SetContainedObject_Proxy(
|
---|
2258 | IRunnableObject* This,
|
---|
2259 | BOOL fContained);
|
---|
2260 | void __RPC_STUB IRunnableObject_SetContainedObject_Stub(
|
---|
2261 | IRpcStubBuffer* This,
|
---|
2262 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2263 | PRPC_MESSAGE pRpcMessage,
|
---|
2264 | DWORD* pdwStubPhase);
|
---|
2265 | BOOL CALLBACK IRunnableObject_IsRunning_Proxy(
|
---|
2266 | IRunnableObject* This);
|
---|
2267 | HRESULT __RPC_STUB IRunnableObject_IsRunning_Stub(
|
---|
2268 | IRunnableObject* This);
|
---|
2269 |
|
---|
2270 | #endif /* __IRunnableObject_INTERFACE_DEFINED__ */
|
---|
2271 |
|
---|
2272 | #ifdef WINE_NO_UNICODE_MACROS
|
---|
2273 | #undef GetObject
|
---|
2274 | #endif
|
---|
2275 | /*****************************************************************************
|
---|
2276 | * IRunningObjectTable interface
|
---|
2277 | */
|
---|
2278 | #ifndef __IRunningObjectTable_INTERFACE_DEFINED__
|
---|
2279 | #define __IRunningObjectTable_INTERFACE_DEFINED__
|
---|
2280 |
|
---|
2281 | typedef IRunningObjectTable *LPRUNNINGOBJECTTABLE;
|
---|
2282 | DEFINE_GUID(IID_IRunningObjectTable, 0x00000010, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2283 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2284 | interface IRunningObjectTable : public IUnknown
|
---|
2285 | {
|
---|
2286 | virtual HRESULT STDMETHODCALLTYPE Register(
|
---|
2287 | DWORD grfFlags,
|
---|
2288 | IUnknown *punkObject,
|
---|
2289 | IMoniker *pmkObjectName,
|
---|
2290 | DWORD *pdwRegister) = 0;
|
---|
2291 |
|
---|
2292 | virtual HRESULT STDMETHODCALLTYPE Revoke(
|
---|
2293 | DWORD dwRegister) = 0;
|
---|
2294 |
|
---|
2295 | virtual HRESULT STDMETHODCALLTYPE IsRunning(
|
---|
2296 | IMoniker *pmkObjectName) = 0;
|
---|
2297 |
|
---|
2298 | virtual HRESULT STDMETHODCALLTYPE GetObject(
|
---|
2299 | IMoniker *pmkObjectName,
|
---|
2300 | IUnknown **ppunkObject) = 0;
|
---|
2301 |
|
---|
2302 | virtual HRESULT STDMETHODCALLTYPE NoteChangeTime(
|
---|
2303 | DWORD dwRegister,
|
---|
2304 | FILETIME *pfiletime) = 0;
|
---|
2305 |
|
---|
2306 | virtual HRESULT STDMETHODCALLTYPE GetTimeOfLastChange(
|
---|
2307 | IMoniker *pmkObjectName,
|
---|
2308 | FILETIME *pfiletime) = 0;
|
---|
2309 |
|
---|
2310 | virtual HRESULT STDMETHODCALLTYPE EnumRunning(
|
---|
2311 | IEnumMoniker **ppenumMoniker) = 0;
|
---|
2312 |
|
---|
2313 | };
|
---|
2314 | #else
|
---|
2315 | typedef struct IRunningObjectTableVtbl {
|
---|
2316 | BEGIN_INTERFACE
|
---|
2317 |
|
---|
2318 | /*** IUnknown methods ***/
|
---|
2319 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2320 | IRunningObjectTable* This,
|
---|
2321 | REFIID riid,
|
---|
2322 | void **ppvObject);
|
---|
2323 |
|
---|
2324 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2325 | IRunningObjectTable* This);
|
---|
2326 |
|
---|
2327 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2328 | IRunningObjectTable* This);
|
---|
2329 |
|
---|
2330 | /*** IRunningObjectTable methods ***/
|
---|
2331 | HRESULT (STDMETHODCALLTYPE *Register)(
|
---|
2332 | IRunningObjectTable* This,
|
---|
2333 | DWORD grfFlags,
|
---|
2334 | IUnknown *punkObject,
|
---|
2335 | IMoniker *pmkObjectName,
|
---|
2336 | DWORD *pdwRegister);
|
---|
2337 |
|
---|
2338 | HRESULT (STDMETHODCALLTYPE *Revoke)(
|
---|
2339 | IRunningObjectTable* This,
|
---|
2340 | DWORD dwRegister);
|
---|
2341 |
|
---|
2342 | HRESULT (STDMETHODCALLTYPE *IsRunning)(
|
---|
2343 | IRunningObjectTable* This,
|
---|
2344 | IMoniker *pmkObjectName);
|
---|
2345 |
|
---|
2346 | HRESULT (STDMETHODCALLTYPE *GetObject)(
|
---|
2347 | IRunningObjectTable* This,
|
---|
2348 | IMoniker *pmkObjectName,
|
---|
2349 | IUnknown **ppunkObject);
|
---|
2350 |
|
---|
2351 | HRESULT (STDMETHODCALLTYPE *NoteChangeTime)(
|
---|
2352 | IRunningObjectTable* This,
|
---|
2353 | DWORD dwRegister,
|
---|
2354 | FILETIME *pfiletime);
|
---|
2355 |
|
---|
2356 | HRESULT (STDMETHODCALLTYPE *GetTimeOfLastChange)(
|
---|
2357 | IRunningObjectTable* This,
|
---|
2358 | IMoniker *pmkObjectName,
|
---|
2359 | FILETIME *pfiletime);
|
---|
2360 |
|
---|
2361 | HRESULT (STDMETHODCALLTYPE *EnumRunning)(
|
---|
2362 | IRunningObjectTable* This,
|
---|
2363 | IEnumMoniker **ppenumMoniker);
|
---|
2364 |
|
---|
2365 | END_INTERFACE
|
---|
2366 | } IRunningObjectTableVtbl;
|
---|
2367 | interface IRunningObjectTable {
|
---|
2368 | CONST_VTBL IRunningObjectTableVtbl* lpVtbl;
|
---|
2369 | };
|
---|
2370 |
|
---|
2371 | #ifdef COBJMACROS
|
---|
2372 | /*** IUnknown methods ***/
|
---|
2373 | #define IRunningObjectTable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2374 | #define IRunningObjectTable_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2375 | #define IRunningObjectTable_Release(This) (This)->lpVtbl->Release(This)
|
---|
2376 | /*** IRunningObjectTable methods ***/
|
---|
2377 | #define IRunningObjectTable_Register(This,grfFlags,punkObject,pmkObjectName,pdwRegister) (This)->lpVtbl->Register(This,grfFlags,punkObject,pmkObjectName,pdwRegister)
|
---|
2378 | #define IRunningObjectTable_Revoke(This,dwRegister) (This)->lpVtbl->Revoke(This,dwRegister)
|
---|
2379 | #define IRunningObjectTable_IsRunning(This,pmkObjectName) (This)->lpVtbl->IsRunning(This,pmkObjectName)
|
---|
2380 | #define IRunningObjectTable_GetObject(This,pmkObjectName,ppunkObject) (This)->lpVtbl->GetObject(This,pmkObjectName,ppunkObject)
|
---|
2381 | #define IRunningObjectTable_NoteChangeTime(This,dwRegister,pfiletime) (This)->lpVtbl->NoteChangeTime(This,dwRegister,pfiletime)
|
---|
2382 | #define IRunningObjectTable_GetTimeOfLastChange(This,pmkObjectName,pfiletime) (This)->lpVtbl->GetTimeOfLastChange(This,pmkObjectName,pfiletime)
|
---|
2383 | #define IRunningObjectTable_EnumRunning(This,ppenumMoniker) (This)->lpVtbl->EnumRunning(This,ppenumMoniker)
|
---|
2384 | #endif
|
---|
2385 |
|
---|
2386 | #endif
|
---|
2387 |
|
---|
2388 | HRESULT STDMETHODCALLTYPE IRunningObjectTable_Register_Proxy(
|
---|
2389 | IRunningObjectTable* This,
|
---|
2390 | DWORD grfFlags,
|
---|
2391 | IUnknown *punkObject,
|
---|
2392 | IMoniker *pmkObjectName,
|
---|
2393 | DWORD *pdwRegister);
|
---|
2394 | void __RPC_STUB IRunningObjectTable_Register_Stub(
|
---|
2395 | IRpcStubBuffer* This,
|
---|
2396 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2397 | PRPC_MESSAGE pRpcMessage,
|
---|
2398 | DWORD* pdwStubPhase);
|
---|
2399 | HRESULT STDMETHODCALLTYPE IRunningObjectTable_Revoke_Proxy(
|
---|
2400 | IRunningObjectTable* This,
|
---|
2401 | DWORD dwRegister);
|
---|
2402 | void __RPC_STUB IRunningObjectTable_Revoke_Stub(
|
---|
2403 | IRpcStubBuffer* This,
|
---|
2404 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2405 | PRPC_MESSAGE pRpcMessage,
|
---|
2406 | DWORD* pdwStubPhase);
|
---|
2407 | HRESULT STDMETHODCALLTYPE IRunningObjectTable_IsRunning_Proxy(
|
---|
2408 | IRunningObjectTable* This,
|
---|
2409 | IMoniker *pmkObjectName);
|
---|
2410 | void __RPC_STUB IRunningObjectTable_IsRunning_Stub(
|
---|
2411 | IRpcStubBuffer* This,
|
---|
2412 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2413 | PRPC_MESSAGE pRpcMessage,
|
---|
2414 | DWORD* pdwStubPhase);
|
---|
2415 | HRESULT STDMETHODCALLTYPE IRunningObjectTable_GetObject_Proxy(
|
---|
2416 | IRunningObjectTable* This,
|
---|
2417 | IMoniker *pmkObjectName,
|
---|
2418 | IUnknown **ppunkObject);
|
---|
2419 | void __RPC_STUB IRunningObjectTable_GetObject_Stub(
|
---|
2420 | IRpcStubBuffer* This,
|
---|
2421 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2422 | PRPC_MESSAGE pRpcMessage,
|
---|
2423 | DWORD* pdwStubPhase);
|
---|
2424 | HRESULT STDMETHODCALLTYPE IRunningObjectTable_NoteChangeTime_Proxy(
|
---|
2425 | IRunningObjectTable* This,
|
---|
2426 | DWORD dwRegister,
|
---|
2427 | FILETIME *pfiletime);
|
---|
2428 | void __RPC_STUB IRunningObjectTable_NoteChangeTime_Stub(
|
---|
2429 | IRpcStubBuffer* This,
|
---|
2430 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2431 | PRPC_MESSAGE pRpcMessage,
|
---|
2432 | DWORD* pdwStubPhase);
|
---|
2433 | HRESULT STDMETHODCALLTYPE IRunningObjectTable_GetTimeOfLastChange_Proxy(
|
---|
2434 | IRunningObjectTable* This,
|
---|
2435 | IMoniker *pmkObjectName,
|
---|
2436 | FILETIME *pfiletime);
|
---|
2437 | void __RPC_STUB IRunningObjectTable_GetTimeOfLastChange_Stub(
|
---|
2438 | IRpcStubBuffer* This,
|
---|
2439 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2440 | PRPC_MESSAGE pRpcMessage,
|
---|
2441 | DWORD* pdwStubPhase);
|
---|
2442 | HRESULT STDMETHODCALLTYPE IRunningObjectTable_EnumRunning_Proxy(
|
---|
2443 | IRunningObjectTable* This,
|
---|
2444 | IEnumMoniker **ppenumMoniker);
|
---|
2445 | void __RPC_STUB IRunningObjectTable_EnumRunning_Stub(
|
---|
2446 | IRpcStubBuffer* This,
|
---|
2447 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2448 | PRPC_MESSAGE pRpcMessage,
|
---|
2449 | DWORD* pdwStubPhase);
|
---|
2450 |
|
---|
2451 | #endif /* __IRunningObjectTable_INTERFACE_DEFINED__ */
|
---|
2452 |
|
---|
2453 | /*****************************************************************************
|
---|
2454 | * IPersist interface
|
---|
2455 | */
|
---|
2456 | #ifndef __IPersist_INTERFACE_DEFINED__
|
---|
2457 | #define __IPersist_INTERFACE_DEFINED__
|
---|
2458 |
|
---|
2459 | typedef IPersist *LPPERSIST;
|
---|
2460 | DEFINE_GUID(IID_IPersist, 0x0000010c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2461 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2462 | interface IPersist : public IUnknown
|
---|
2463 | {
|
---|
2464 | virtual HRESULT STDMETHODCALLTYPE GetClassID(
|
---|
2465 | CLSID *pClassID) = 0;
|
---|
2466 |
|
---|
2467 | };
|
---|
2468 | #else
|
---|
2469 | typedef struct IPersistVtbl {
|
---|
2470 | BEGIN_INTERFACE
|
---|
2471 |
|
---|
2472 | /*** IUnknown methods ***/
|
---|
2473 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2474 | IPersist* This,
|
---|
2475 | REFIID riid,
|
---|
2476 | void **ppvObject);
|
---|
2477 |
|
---|
2478 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2479 | IPersist* This);
|
---|
2480 |
|
---|
2481 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2482 | IPersist* This);
|
---|
2483 |
|
---|
2484 | /*** IPersist methods ***/
|
---|
2485 | HRESULT (STDMETHODCALLTYPE *GetClassID)(
|
---|
2486 | IPersist* This,
|
---|
2487 | CLSID *pClassID);
|
---|
2488 |
|
---|
2489 | END_INTERFACE
|
---|
2490 | } IPersistVtbl;
|
---|
2491 | interface IPersist {
|
---|
2492 | CONST_VTBL IPersistVtbl* lpVtbl;
|
---|
2493 | };
|
---|
2494 |
|
---|
2495 | #ifdef COBJMACROS
|
---|
2496 | /*** IUnknown methods ***/
|
---|
2497 | #define IPersist_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2498 | #define IPersist_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2499 | #define IPersist_Release(This) (This)->lpVtbl->Release(This)
|
---|
2500 | /*** IPersist methods ***/
|
---|
2501 | #define IPersist_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
|
---|
2502 | #endif
|
---|
2503 |
|
---|
2504 | #endif
|
---|
2505 |
|
---|
2506 | HRESULT STDMETHODCALLTYPE IPersist_GetClassID_Proxy(
|
---|
2507 | IPersist* This,
|
---|
2508 | CLSID *pClassID);
|
---|
2509 | void __RPC_STUB IPersist_GetClassID_Stub(
|
---|
2510 | IRpcStubBuffer* This,
|
---|
2511 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2512 | PRPC_MESSAGE pRpcMessage,
|
---|
2513 | DWORD* pdwStubPhase);
|
---|
2514 |
|
---|
2515 | #endif /* __IPersist_INTERFACE_DEFINED__ */
|
---|
2516 |
|
---|
2517 | /*****************************************************************************
|
---|
2518 | * IPersistStream interface
|
---|
2519 | */
|
---|
2520 | #ifndef __IPersistStream_INTERFACE_DEFINED__
|
---|
2521 | #define __IPersistStream_INTERFACE_DEFINED__
|
---|
2522 |
|
---|
2523 | typedef IPersistStream *LPPERSISTSTREAM;
|
---|
2524 | DEFINE_GUID(IID_IPersistStream, 0x00000109, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2525 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2526 | interface IPersistStream : public IPersist
|
---|
2527 | {
|
---|
2528 | virtual HRESULT STDMETHODCALLTYPE IsDirty(
|
---|
2529 | ) = 0;
|
---|
2530 |
|
---|
2531 | virtual HRESULT STDMETHODCALLTYPE Load(
|
---|
2532 | IStream *pStm) = 0;
|
---|
2533 |
|
---|
2534 | virtual HRESULT STDMETHODCALLTYPE Save(
|
---|
2535 | IStream *pStm,
|
---|
2536 | BOOL fClearDirty) = 0;
|
---|
2537 |
|
---|
2538 | virtual HRESULT STDMETHODCALLTYPE GetSizeMax(
|
---|
2539 | ULARGE_INTEGER *pcbSize) = 0;
|
---|
2540 |
|
---|
2541 | };
|
---|
2542 | #else
|
---|
2543 | typedef struct IPersistStreamVtbl {
|
---|
2544 | BEGIN_INTERFACE
|
---|
2545 |
|
---|
2546 | /*** IUnknown methods ***/
|
---|
2547 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2548 | IPersistStream* This,
|
---|
2549 | REFIID riid,
|
---|
2550 | void **ppvObject);
|
---|
2551 |
|
---|
2552 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2553 | IPersistStream* This);
|
---|
2554 |
|
---|
2555 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2556 | IPersistStream* This);
|
---|
2557 |
|
---|
2558 | /*** IPersist methods ***/
|
---|
2559 | HRESULT (STDMETHODCALLTYPE *GetClassID)(
|
---|
2560 | IPersistStream* This,
|
---|
2561 | CLSID *pClassID);
|
---|
2562 |
|
---|
2563 | /*** IPersistStream methods ***/
|
---|
2564 | HRESULT (STDMETHODCALLTYPE *IsDirty)(
|
---|
2565 | IPersistStream* This);
|
---|
2566 |
|
---|
2567 | HRESULT (STDMETHODCALLTYPE *Load)(
|
---|
2568 | IPersistStream* This,
|
---|
2569 | IStream *pStm);
|
---|
2570 |
|
---|
2571 | HRESULT (STDMETHODCALLTYPE *Save)(
|
---|
2572 | IPersistStream* This,
|
---|
2573 | IStream *pStm,
|
---|
2574 | BOOL fClearDirty);
|
---|
2575 |
|
---|
2576 | HRESULT (STDMETHODCALLTYPE *GetSizeMax)(
|
---|
2577 | IPersistStream* This,
|
---|
2578 | ULARGE_INTEGER *pcbSize);
|
---|
2579 |
|
---|
2580 | END_INTERFACE
|
---|
2581 | } IPersistStreamVtbl;
|
---|
2582 | interface IPersistStream {
|
---|
2583 | CONST_VTBL IPersistStreamVtbl* lpVtbl;
|
---|
2584 | };
|
---|
2585 |
|
---|
2586 | #ifdef COBJMACROS
|
---|
2587 | /*** IUnknown methods ***/
|
---|
2588 | #define IPersistStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2589 | #define IPersistStream_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2590 | #define IPersistStream_Release(This) (This)->lpVtbl->Release(This)
|
---|
2591 | /*** IPersist methods ***/
|
---|
2592 | #define IPersistStream_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
|
---|
2593 | /*** IPersistStream methods ***/
|
---|
2594 | #define IPersistStream_IsDirty(This) (This)->lpVtbl->IsDirty(This)
|
---|
2595 | #define IPersistStream_Load(This,pStm) (This)->lpVtbl->Load(This,pStm)
|
---|
2596 | #define IPersistStream_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty)
|
---|
2597 | #define IPersistStream_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize)
|
---|
2598 | #endif
|
---|
2599 |
|
---|
2600 | #endif
|
---|
2601 |
|
---|
2602 | HRESULT STDMETHODCALLTYPE IPersistStream_IsDirty_Proxy(
|
---|
2603 | IPersistStream* This);
|
---|
2604 | void __RPC_STUB IPersistStream_IsDirty_Stub(
|
---|
2605 | IRpcStubBuffer* This,
|
---|
2606 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2607 | PRPC_MESSAGE pRpcMessage,
|
---|
2608 | DWORD* pdwStubPhase);
|
---|
2609 | HRESULT STDMETHODCALLTYPE IPersistStream_Load_Proxy(
|
---|
2610 | IPersistStream* This,
|
---|
2611 | IStream *pStm);
|
---|
2612 | void __RPC_STUB IPersistStream_Load_Stub(
|
---|
2613 | IRpcStubBuffer* This,
|
---|
2614 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2615 | PRPC_MESSAGE pRpcMessage,
|
---|
2616 | DWORD* pdwStubPhase);
|
---|
2617 | HRESULT STDMETHODCALLTYPE IPersistStream_Save_Proxy(
|
---|
2618 | IPersistStream* This,
|
---|
2619 | IStream *pStm,
|
---|
2620 | BOOL fClearDirty);
|
---|
2621 | void __RPC_STUB IPersistStream_Save_Stub(
|
---|
2622 | IRpcStubBuffer* This,
|
---|
2623 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2624 | PRPC_MESSAGE pRpcMessage,
|
---|
2625 | DWORD* pdwStubPhase);
|
---|
2626 | HRESULT STDMETHODCALLTYPE IPersistStream_GetSizeMax_Proxy(
|
---|
2627 | IPersistStream* This,
|
---|
2628 | ULARGE_INTEGER *pcbSize);
|
---|
2629 | void __RPC_STUB IPersistStream_GetSizeMax_Stub(
|
---|
2630 | IRpcStubBuffer* This,
|
---|
2631 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2632 | PRPC_MESSAGE pRpcMessage,
|
---|
2633 | DWORD* pdwStubPhase);
|
---|
2634 |
|
---|
2635 | #endif /* __IPersistStream_INTERFACE_DEFINED__ */
|
---|
2636 |
|
---|
2637 | /*****************************************************************************
|
---|
2638 | * IMoniker interface
|
---|
2639 | */
|
---|
2640 | #ifndef __IMoniker_INTERFACE_DEFINED__
|
---|
2641 | #define __IMoniker_INTERFACE_DEFINED__
|
---|
2642 |
|
---|
2643 | typedef IMoniker *LPMONIKER;
|
---|
2644 | typedef enum tagMKSYS {
|
---|
2645 | MKSYS_NONE = 0,
|
---|
2646 | MKSYS_GENERICCOMPOSITE = 1,
|
---|
2647 | MKSYS_FILEMONIKER = 2,
|
---|
2648 | MKSYS_ANTIMONIKER = 3,
|
---|
2649 | MKSYS_ITEMMONIKER = 4,
|
---|
2650 | MKSYS_POINTERMONIKER = 5,
|
---|
2651 | MKSYS_CLASSMONIKER = 7
|
---|
2652 | } MKSYS;
|
---|
2653 | typedef enum tagMKREDUCE {
|
---|
2654 | MKRREDUCE_ONE = 3 << 16,
|
---|
2655 | MKRREDUCE_TOUSER = 2 << 16,
|
---|
2656 | MKRREDUCE_THROUGHUSER = 1 << 16,
|
---|
2657 | MKRREDUCE_ALL = 0
|
---|
2658 | } MKRREDUCE;
|
---|
2659 | DEFINE_GUID(IID_IMoniker, 0x0000000f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2660 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2661 | interface IMoniker : public IPersistStream
|
---|
2662 | {
|
---|
2663 | virtual HRESULT STDMETHODCALLTYPE BindToObject(
|
---|
2664 | IBindCtx *pbc,
|
---|
2665 | IMoniker *pmkToLeft,
|
---|
2666 | REFIID riidResult,
|
---|
2667 | void **ppvResult) = 0;
|
---|
2668 |
|
---|
2669 | virtual HRESULT STDMETHODCALLTYPE BindToStorage(
|
---|
2670 | IBindCtx *pbc,
|
---|
2671 | IMoniker *pmkToLeft,
|
---|
2672 | REFIID riid,
|
---|
2673 | void **ppvObj) = 0;
|
---|
2674 |
|
---|
2675 | virtual HRESULT STDMETHODCALLTYPE Reduce(
|
---|
2676 | IBindCtx *pbc,
|
---|
2677 | DWORD dwReduceHowFar,
|
---|
2678 | IMoniker **ppmkToLeft,
|
---|
2679 | IMoniker **ppmkReduced) = 0;
|
---|
2680 |
|
---|
2681 | virtual HRESULT STDMETHODCALLTYPE ComposeWith(
|
---|
2682 | IMoniker *pmkRight,
|
---|
2683 | BOOL fOnlyIfNotGeneric,
|
---|
2684 | IMoniker **ppmkComposite) = 0;
|
---|
2685 |
|
---|
2686 | virtual HRESULT STDMETHODCALLTYPE Enum(
|
---|
2687 | BOOL fForward,
|
---|
2688 | IEnumMoniker **ppenumMoniker) = 0;
|
---|
2689 |
|
---|
2690 | virtual HRESULT STDMETHODCALLTYPE IsEqual(
|
---|
2691 | IMoniker *pmkOtherMoniker) = 0;
|
---|
2692 |
|
---|
2693 | virtual HRESULT STDMETHODCALLTYPE Hash(
|
---|
2694 | DWORD *pdwHash) = 0;
|
---|
2695 |
|
---|
2696 | virtual HRESULT STDMETHODCALLTYPE IsRunning(
|
---|
2697 | IBindCtx *pbc,
|
---|
2698 | IMoniker *pmkToLeft,
|
---|
2699 | IMoniker *pmkNewlyRunning) = 0;
|
---|
2700 |
|
---|
2701 | virtual HRESULT STDMETHODCALLTYPE GetTimeOfLastChange(
|
---|
2702 | IBindCtx *pbc,
|
---|
2703 | IMoniker *pmkToLeft,
|
---|
2704 | FILETIME *pFileTime) = 0;
|
---|
2705 |
|
---|
2706 | virtual HRESULT STDMETHODCALLTYPE Inverse(
|
---|
2707 | IMoniker **ppmk) = 0;
|
---|
2708 |
|
---|
2709 | virtual HRESULT STDMETHODCALLTYPE CommonPrefixWith(
|
---|
2710 | IMoniker *pmkOther,
|
---|
2711 | IMoniker **ppmkPrefix) = 0;
|
---|
2712 |
|
---|
2713 | virtual HRESULT STDMETHODCALLTYPE RelativePathTo(
|
---|
2714 | IMoniker *pmkOther,
|
---|
2715 | IMoniker **ppmkRelPath) = 0;
|
---|
2716 |
|
---|
2717 | virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
|
---|
2718 | IBindCtx *pbc,
|
---|
2719 | IMoniker *pmkToLeft,
|
---|
2720 | LPOLESTR *ppszDisplayName) = 0;
|
---|
2721 |
|
---|
2722 | virtual HRESULT STDMETHODCALLTYPE ParseDisplayName(
|
---|
2723 | IBindCtx *pbc,
|
---|
2724 | IMoniker *pmkToLeft,
|
---|
2725 | LPOLESTR pszDisplayName,
|
---|
2726 | ULONG *pchEaten,
|
---|
2727 | IMoniker **ppmkOut) = 0;
|
---|
2728 |
|
---|
2729 | virtual HRESULT STDMETHODCALLTYPE IsSystemMoniker(
|
---|
2730 | DWORD *pdwMksys) = 0;
|
---|
2731 |
|
---|
2732 | };
|
---|
2733 | #else
|
---|
2734 | typedef struct IMonikerVtbl {
|
---|
2735 | BEGIN_INTERFACE
|
---|
2736 |
|
---|
2737 | /*** IUnknown methods ***/
|
---|
2738 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2739 | IMoniker* This,
|
---|
2740 | REFIID riid,
|
---|
2741 | void **ppvObject);
|
---|
2742 |
|
---|
2743 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2744 | IMoniker* This);
|
---|
2745 |
|
---|
2746 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2747 | IMoniker* This);
|
---|
2748 |
|
---|
2749 | /*** IPersist methods ***/
|
---|
2750 | HRESULT (STDMETHODCALLTYPE *GetClassID)(
|
---|
2751 | IMoniker* This,
|
---|
2752 | CLSID *pClassID);
|
---|
2753 |
|
---|
2754 | /*** IPersistStream methods ***/
|
---|
2755 | HRESULT (STDMETHODCALLTYPE *IsDirty)(
|
---|
2756 | IMoniker* This);
|
---|
2757 |
|
---|
2758 | HRESULT (STDMETHODCALLTYPE *Load)(
|
---|
2759 | IMoniker* This,
|
---|
2760 | IStream *pStm);
|
---|
2761 |
|
---|
2762 | HRESULT (STDMETHODCALLTYPE *Save)(
|
---|
2763 | IMoniker* This,
|
---|
2764 | IStream *pStm,
|
---|
2765 | BOOL fClearDirty);
|
---|
2766 |
|
---|
2767 | HRESULT (STDMETHODCALLTYPE *GetSizeMax)(
|
---|
2768 | IMoniker* This,
|
---|
2769 | ULARGE_INTEGER *pcbSize);
|
---|
2770 |
|
---|
2771 | /*** IMoniker methods ***/
|
---|
2772 | HRESULT (STDMETHODCALLTYPE *BindToObject)(
|
---|
2773 | IMoniker* This,
|
---|
2774 | IBindCtx *pbc,
|
---|
2775 | IMoniker *pmkToLeft,
|
---|
2776 | REFIID riidResult,
|
---|
2777 | void **ppvResult);
|
---|
2778 |
|
---|
2779 | HRESULT (STDMETHODCALLTYPE *BindToStorage)(
|
---|
2780 | IMoniker* This,
|
---|
2781 | IBindCtx *pbc,
|
---|
2782 | IMoniker *pmkToLeft,
|
---|
2783 | REFIID riid,
|
---|
2784 | void **ppvObj);
|
---|
2785 |
|
---|
2786 | HRESULT (STDMETHODCALLTYPE *Reduce)(
|
---|
2787 | IMoniker* This,
|
---|
2788 | IBindCtx *pbc,
|
---|
2789 | DWORD dwReduceHowFar,
|
---|
2790 | IMoniker **ppmkToLeft,
|
---|
2791 | IMoniker **ppmkReduced);
|
---|
2792 |
|
---|
2793 | HRESULT (STDMETHODCALLTYPE *ComposeWith)(
|
---|
2794 | IMoniker* This,
|
---|
2795 | IMoniker *pmkRight,
|
---|
2796 | BOOL fOnlyIfNotGeneric,
|
---|
2797 | IMoniker **ppmkComposite);
|
---|
2798 |
|
---|
2799 | HRESULT (STDMETHODCALLTYPE *Enum)(
|
---|
2800 | IMoniker* This,
|
---|
2801 | BOOL fForward,
|
---|
2802 | IEnumMoniker **ppenumMoniker);
|
---|
2803 |
|
---|
2804 | HRESULT (STDMETHODCALLTYPE *IsEqual)(
|
---|
2805 | IMoniker* This,
|
---|
2806 | IMoniker *pmkOtherMoniker);
|
---|
2807 |
|
---|
2808 | HRESULT (STDMETHODCALLTYPE *Hash)(
|
---|
2809 | IMoniker* This,
|
---|
2810 | DWORD *pdwHash);
|
---|
2811 |
|
---|
2812 | HRESULT (STDMETHODCALLTYPE *IsRunning)(
|
---|
2813 | IMoniker* This,
|
---|
2814 | IBindCtx *pbc,
|
---|
2815 | IMoniker *pmkToLeft,
|
---|
2816 | IMoniker *pmkNewlyRunning);
|
---|
2817 |
|
---|
2818 | HRESULT (STDMETHODCALLTYPE *GetTimeOfLastChange)(
|
---|
2819 | IMoniker* This,
|
---|
2820 | IBindCtx *pbc,
|
---|
2821 | IMoniker *pmkToLeft,
|
---|
2822 | FILETIME *pFileTime);
|
---|
2823 |
|
---|
2824 | HRESULT (STDMETHODCALLTYPE *Inverse)(
|
---|
2825 | IMoniker* This,
|
---|
2826 | IMoniker **ppmk);
|
---|
2827 |
|
---|
2828 | HRESULT (STDMETHODCALLTYPE *CommonPrefixWith)(
|
---|
2829 | IMoniker* This,
|
---|
2830 | IMoniker *pmkOther,
|
---|
2831 | IMoniker **ppmkPrefix);
|
---|
2832 |
|
---|
2833 | HRESULT (STDMETHODCALLTYPE *RelativePathTo)(
|
---|
2834 | IMoniker* This,
|
---|
2835 | IMoniker *pmkOther,
|
---|
2836 | IMoniker **ppmkRelPath);
|
---|
2837 |
|
---|
2838 | HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
|
---|
2839 | IMoniker* This,
|
---|
2840 | IBindCtx *pbc,
|
---|
2841 | IMoniker *pmkToLeft,
|
---|
2842 | LPOLESTR *ppszDisplayName);
|
---|
2843 |
|
---|
2844 | HRESULT (STDMETHODCALLTYPE *ParseDisplayName)(
|
---|
2845 | IMoniker* This,
|
---|
2846 | IBindCtx *pbc,
|
---|
2847 | IMoniker *pmkToLeft,
|
---|
2848 | LPOLESTR pszDisplayName,
|
---|
2849 | ULONG *pchEaten,
|
---|
2850 | IMoniker **ppmkOut);
|
---|
2851 |
|
---|
2852 | HRESULT (STDMETHODCALLTYPE *IsSystemMoniker)(
|
---|
2853 | IMoniker* This,
|
---|
2854 | DWORD *pdwMksys);
|
---|
2855 |
|
---|
2856 | END_INTERFACE
|
---|
2857 | } IMonikerVtbl;
|
---|
2858 | interface IMoniker {
|
---|
2859 | CONST_VTBL IMonikerVtbl* lpVtbl;
|
---|
2860 | };
|
---|
2861 |
|
---|
2862 | #ifdef COBJMACROS
|
---|
2863 | /*** IUnknown methods ***/
|
---|
2864 | #define IMoniker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2865 | #define IMoniker_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2866 | #define IMoniker_Release(This) (This)->lpVtbl->Release(This)
|
---|
2867 | /*** IPersist methods ***/
|
---|
2868 | #define IMoniker_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
|
---|
2869 | /*** IPersistStream methods ***/
|
---|
2870 | #define IMoniker_IsDirty(This) (This)->lpVtbl->IsDirty(This)
|
---|
2871 | #define IMoniker_Load(This,pStm) (This)->lpVtbl->Load(This,pStm)
|
---|
2872 | #define IMoniker_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty)
|
---|
2873 | #define IMoniker_GetSizeMax(This,pcbSize) (This)->lpVtbl->GetSizeMax(This,pcbSize)
|
---|
2874 | /*** IMoniker methods ***/
|
---|
2875 | #define IMoniker_BindToObject(This,pbc,pmkToLeft,riidResult,ppvResult) (This)->lpVtbl->BindToObject(This,pbc,pmkToLeft,riidResult,ppvResult)
|
---|
2876 | #define IMoniker_BindToStorage(This,pbc,pmkToLeft,riid,ppvObj) (This)->lpVtbl->BindToStorage(This,pbc,pmkToLeft,riid,ppvObj)
|
---|
2877 | #define IMoniker_Reduce(This,pbc,dwReduceHowFar,ppmkToLeft,ppmkReduced) (This)->lpVtbl->Reduce(This,pbc,dwReduceHowFar,ppmkToLeft,ppmkReduced)
|
---|
2878 | #define IMoniker_ComposeWith(This,pmkRight,fOnlyIfNotGeneric,ppmkComposite) (This)->lpVtbl->ComposeWith(This,pmkRight,fOnlyIfNotGeneric,ppmkComposite)
|
---|
2879 | #define IMoniker_Enum(This,fForward,ppenumMoniker) (This)->lpVtbl->Enum(This,fForward,ppenumMoniker)
|
---|
2880 | #define IMoniker_IsEqual(This,pmkOtherMoniker) (This)->lpVtbl->IsEqual(This,pmkOtherMoniker)
|
---|
2881 | #define IMoniker_Hash(This,pdwHash) (This)->lpVtbl->Hash(This,pdwHash)
|
---|
2882 | #define IMoniker_IsRunning(This,pbc,pmkToLeft,pmkNewlyRunning) (This)->lpVtbl->IsRunning(This,pbc,pmkToLeft,pmkNewlyRunning)
|
---|
2883 | #define IMoniker_GetTimeOfLastChange(This,pbc,pmkToLeft,pFileTime) (This)->lpVtbl->GetTimeOfLastChange(This,pbc,pmkToLeft,pFileTime)
|
---|
2884 | #define IMoniker_Inverse(This,ppmk) (This)->lpVtbl->Inverse(This,ppmk)
|
---|
2885 | #define IMoniker_CommonPrefixWith(This,pmkOther,ppmkPrefix) (This)->lpVtbl->CommonPrefixWith(This,pmkOther,ppmkPrefix)
|
---|
2886 | #define IMoniker_RelativePathTo(This,pmkOther,ppmkRelPath) (This)->lpVtbl->RelativePathTo(This,pmkOther,ppmkRelPath)
|
---|
2887 | #define IMoniker_GetDisplayName(This,pbc,pmkToLeft,ppszDisplayName) (This)->lpVtbl->GetDisplayName(This,pbc,pmkToLeft,ppszDisplayName)
|
---|
2888 | #define IMoniker_ParseDisplayName(This,pbc,pmkToLeft,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pmkToLeft,pszDisplayName,pchEaten,ppmkOut)
|
---|
2889 | #define IMoniker_IsSystemMoniker(This,pdwMksys) (This)->lpVtbl->IsSystemMoniker(This,pdwMksys)
|
---|
2890 | #endif
|
---|
2891 |
|
---|
2892 | #endif
|
---|
2893 |
|
---|
2894 | HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToObject_Proxy(
|
---|
2895 | IMoniker* This,
|
---|
2896 | IBindCtx *pbc,
|
---|
2897 | IMoniker *pmkToLeft,
|
---|
2898 | REFIID riidResult,
|
---|
2899 | IUnknown **ppvResult);
|
---|
2900 | void __RPC_STUB IMoniker_RemoteBindToObject_Stub(
|
---|
2901 | IRpcStubBuffer* This,
|
---|
2902 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2903 | PRPC_MESSAGE pRpcMessage,
|
---|
2904 | DWORD* pdwStubPhase);
|
---|
2905 | HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToStorage_Proxy(
|
---|
2906 | IMoniker* This,
|
---|
2907 | IBindCtx *pbc,
|
---|
2908 | IMoniker *pmkToLeft,
|
---|
2909 | REFIID riid,
|
---|
2910 | IUnknown **ppvObj);
|
---|
2911 | void __RPC_STUB IMoniker_RemoteBindToStorage_Stub(
|
---|
2912 | IRpcStubBuffer* This,
|
---|
2913 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2914 | PRPC_MESSAGE pRpcMessage,
|
---|
2915 | DWORD* pdwStubPhase);
|
---|
2916 | HRESULT STDMETHODCALLTYPE IMoniker_Reduce_Proxy(
|
---|
2917 | IMoniker* This,
|
---|
2918 | IBindCtx *pbc,
|
---|
2919 | DWORD dwReduceHowFar,
|
---|
2920 | IMoniker **ppmkToLeft,
|
---|
2921 | IMoniker **ppmkReduced);
|
---|
2922 | void __RPC_STUB IMoniker_Reduce_Stub(
|
---|
2923 | IRpcStubBuffer* This,
|
---|
2924 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2925 | PRPC_MESSAGE pRpcMessage,
|
---|
2926 | DWORD* pdwStubPhase);
|
---|
2927 | HRESULT STDMETHODCALLTYPE IMoniker_ComposeWith_Proxy(
|
---|
2928 | IMoniker* This,
|
---|
2929 | IMoniker *pmkRight,
|
---|
2930 | BOOL fOnlyIfNotGeneric,
|
---|
2931 | IMoniker **ppmkComposite);
|
---|
2932 | void __RPC_STUB IMoniker_ComposeWith_Stub(
|
---|
2933 | IRpcStubBuffer* This,
|
---|
2934 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2935 | PRPC_MESSAGE pRpcMessage,
|
---|
2936 | DWORD* pdwStubPhase);
|
---|
2937 | HRESULT STDMETHODCALLTYPE IMoniker_Enum_Proxy(
|
---|
2938 | IMoniker* This,
|
---|
2939 | BOOL fForward,
|
---|
2940 | IEnumMoniker **ppenumMoniker);
|
---|
2941 | void __RPC_STUB IMoniker_Enum_Stub(
|
---|
2942 | IRpcStubBuffer* This,
|
---|
2943 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2944 | PRPC_MESSAGE pRpcMessage,
|
---|
2945 | DWORD* pdwStubPhase);
|
---|
2946 | HRESULT STDMETHODCALLTYPE IMoniker_IsEqual_Proxy(
|
---|
2947 | IMoniker* This,
|
---|
2948 | IMoniker *pmkOtherMoniker);
|
---|
2949 | void __RPC_STUB IMoniker_IsEqual_Stub(
|
---|
2950 | IRpcStubBuffer* This,
|
---|
2951 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2952 | PRPC_MESSAGE pRpcMessage,
|
---|
2953 | DWORD* pdwStubPhase);
|
---|
2954 | HRESULT STDMETHODCALLTYPE IMoniker_Hash_Proxy(
|
---|
2955 | IMoniker* This,
|
---|
2956 | DWORD *pdwHash);
|
---|
2957 | void __RPC_STUB IMoniker_Hash_Stub(
|
---|
2958 | IRpcStubBuffer* This,
|
---|
2959 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2960 | PRPC_MESSAGE pRpcMessage,
|
---|
2961 | DWORD* pdwStubPhase);
|
---|
2962 | HRESULT STDMETHODCALLTYPE IMoniker_IsRunning_Proxy(
|
---|
2963 | IMoniker* This,
|
---|
2964 | IBindCtx *pbc,
|
---|
2965 | IMoniker *pmkToLeft,
|
---|
2966 | IMoniker *pmkNewlyRunning);
|
---|
2967 | void __RPC_STUB IMoniker_IsRunning_Stub(
|
---|
2968 | IRpcStubBuffer* This,
|
---|
2969 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2970 | PRPC_MESSAGE pRpcMessage,
|
---|
2971 | DWORD* pdwStubPhase);
|
---|
2972 | HRESULT STDMETHODCALLTYPE IMoniker_GetTimeOfLastChange_Proxy(
|
---|
2973 | IMoniker* This,
|
---|
2974 | IBindCtx *pbc,
|
---|
2975 | IMoniker *pmkToLeft,
|
---|
2976 | FILETIME *pFileTime);
|
---|
2977 | void __RPC_STUB IMoniker_GetTimeOfLastChange_Stub(
|
---|
2978 | IRpcStubBuffer* This,
|
---|
2979 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2980 | PRPC_MESSAGE pRpcMessage,
|
---|
2981 | DWORD* pdwStubPhase);
|
---|
2982 | HRESULT STDMETHODCALLTYPE IMoniker_Inverse_Proxy(
|
---|
2983 | IMoniker* This,
|
---|
2984 | IMoniker **ppmk);
|
---|
2985 | void __RPC_STUB IMoniker_Inverse_Stub(
|
---|
2986 | IRpcStubBuffer* This,
|
---|
2987 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2988 | PRPC_MESSAGE pRpcMessage,
|
---|
2989 | DWORD* pdwStubPhase);
|
---|
2990 | HRESULT STDMETHODCALLTYPE IMoniker_CommonPrefixWith_Proxy(
|
---|
2991 | IMoniker* This,
|
---|
2992 | IMoniker *pmkOther,
|
---|
2993 | IMoniker **ppmkPrefix);
|
---|
2994 | void __RPC_STUB IMoniker_CommonPrefixWith_Stub(
|
---|
2995 | IRpcStubBuffer* This,
|
---|
2996 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2997 | PRPC_MESSAGE pRpcMessage,
|
---|
2998 | DWORD* pdwStubPhase);
|
---|
2999 | HRESULT STDMETHODCALLTYPE IMoniker_RelativePathTo_Proxy(
|
---|
3000 | IMoniker* This,
|
---|
3001 | IMoniker *pmkOther,
|
---|
3002 | IMoniker **ppmkRelPath);
|
---|
3003 | void __RPC_STUB IMoniker_RelativePathTo_Stub(
|
---|
3004 | IRpcStubBuffer* This,
|
---|
3005 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3006 | PRPC_MESSAGE pRpcMessage,
|
---|
3007 | DWORD* pdwStubPhase);
|
---|
3008 | HRESULT STDMETHODCALLTYPE IMoniker_GetDisplayName_Proxy(
|
---|
3009 | IMoniker* This,
|
---|
3010 | IBindCtx *pbc,
|
---|
3011 | IMoniker *pmkToLeft,
|
---|
3012 | LPOLESTR *ppszDisplayName);
|
---|
3013 | void __RPC_STUB IMoniker_GetDisplayName_Stub(
|
---|
3014 | IRpcStubBuffer* This,
|
---|
3015 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3016 | PRPC_MESSAGE pRpcMessage,
|
---|
3017 | DWORD* pdwStubPhase);
|
---|
3018 | HRESULT STDMETHODCALLTYPE IMoniker_ParseDisplayName_Proxy(
|
---|
3019 | IMoniker* This,
|
---|
3020 | IBindCtx *pbc,
|
---|
3021 | IMoniker *pmkToLeft,
|
---|
3022 | LPOLESTR pszDisplayName,
|
---|
3023 | ULONG *pchEaten,
|
---|
3024 | IMoniker **ppmkOut);
|
---|
3025 | void __RPC_STUB IMoniker_ParseDisplayName_Stub(
|
---|
3026 | IRpcStubBuffer* This,
|
---|
3027 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3028 | PRPC_MESSAGE pRpcMessage,
|
---|
3029 | DWORD* pdwStubPhase);
|
---|
3030 | HRESULT STDMETHODCALLTYPE IMoniker_IsSystemMoniker_Proxy(
|
---|
3031 | IMoniker* This,
|
---|
3032 | DWORD *pdwMksys);
|
---|
3033 | void __RPC_STUB IMoniker_IsSystemMoniker_Stub(
|
---|
3034 | IRpcStubBuffer* This,
|
---|
3035 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3036 | PRPC_MESSAGE pRpcMessage,
|
---|
3037 | DWORD* pdwStubPhase);
|
---|
3038 | HRESULT CALLBACK IMoniker_BindToObject_Proxy(
|
---|
3039 | IMoniker* This,
|
---|
3040 | IBindCtx *pbc,
|
---|
3041 | IMoniker *pmkToLeft,
|
---|
3042 | REFIID riidResult,
|
---|
3043 | void **ppvResult);
|
---|
3044 | HRESULT __RPC_STUB IMoniker_BindToObject_Stub(
|
---|
3045 | IMoniker* This,
|
---|
3046 | IBindCtx *pbc,
|
---|
3047 | IMoniker *pmkToLeft,
|
---|
3048 | REFIID riidResult,
|
---|
3049 | IUnknown **ppvResult);
|
---|
3050 | HRESULT CALLBACK IMoniker_BindToStorage_Proxy(
|
---|
3051 | IMoniker* This,
|
---|
3052 | IBindCtx *pbc,
|
---|
3053 | IMoniker *pmkToLeft,
|
---|
3054 | REFIID riid,
|
---|
3055 | void **ppvObj);
|
---|
3056 | HRESULT __RPC_STUB IMoniker_BindToStorage_Stub(
|
---|
3057 | IMoniker* This,
|
---|
3058 | IBindCtx *pbc,
|
---|
3059 | IMoniker *pmkToLeft,
|
---|
3060 | REFIID riid,
|
---|
3061 | IUnknown **ppvObj);
|
---|
3062 |
|
---|
3063 | #endif /* __IMoniker_INTERFACE_DEFINED__ */
|
---|
3064 |
|
---|
3065 | /*****************************************************************************
|
---|
3066 | * IROTData interface
|
---|
3067 | */
|
---|
3068 | #ifndef __IROTData_INTERFACE_DEFINED__
|
---|
3069 | #define __IROTData_INTERFACE_DEFINED__
|
---|
3070 |
|
---|
3071 | DEFINE_GUID(IID_IROTData, 0xf29f6bc0, 0x5021, 0x11ce, 0xaa,0x15, 0x00,0x00,0x69,0x01,0x29,0x3f);
|
---|
3072 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3073 | interface IROTData : public IUnknown
|
---|
3074 | {
|
---|
3075 | virtual HRESULT STDMETHODCALLTYPE GetComparisonData(
|
---|
3076 | byte *pbData,
|
---|
3077 | ULONG cbMax,
|
---|
3078 | ULONG *pcbData) = 0;
|
---|
3079 |
|
---|
3080 | };
|
---|
3081 | #else
|
---|
3082 | typedef struct IROTDataVtbl {
|
---|
3083 | BEGIN_INTERFACE
|
---|
3084 |
|
---|
3085 | /*** IUnknown methods ***/
|
---|
3086 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3087 | IROTData* This,
|
---|
3088 | REFIID riid,
|
---|
3089 | void **ppvObject);
|
---|
3090 |
|
---|
3091 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3092 | IROTData* This);
|
---|
3093 |
|
---|
3094 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3095 | IROTData* This);
|
---|
3096 |
|
---|
3097 | /*** IROTData methods ***/
|
---|
3098 | HRESULT (STDMETHODCALLTYPE *GetComparisonData)(
|
---|
3099 | IROTData* This,
|
---|
3100 | byte *pbData,
|
---|
3101 | ULONG cbMax,
|
---|
3102 | ULONG *pcbData);
|
---|
3103 |
|
---|
3104 | END_INTERFACE
|
---|
3105 | } IROTDataVtbl;
|
---|
3106 | interface IROTData {
|
---|
3107 | CONST_VTBL IROTDataVtbl* lpVtbl;
|
---|
3108 | };
|
---|
3109 |
|
---|
3110 | #ifdef COBJMACROS
|
---|
3111 | /*** IUnknown methods ***/
|
---|
3112 | #define IROTData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3113 | #define IROTData_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3114 | #define IROTData_Release(This) (This)->lpVtbl->Release(This)
|
---|
3115 | /*** IROTData methods ***/
|
---|
3116 | #define IROTData_GetComparisonData(This,pbData,cbMax,pcbData) (This)->lpVtbl->GetComparisonData(This,pbData,cbMax,pcbData)
|
---|
3117 | #endif
|
---|
3118 |
|
---|
3119 | #endif
|
---|
3120 |
|
---|
3121 | HRESULT STDMETHODCALLTYPE IROTData_GetComparisonData_Proxy(
|
---|
3122 | IROTData* This,
|
---|
3123 | byte *pbData,
|
---|
3124 | ULONG cbMax,
|
---|
3125 | ULONG *pcbData);
|
---|
3126 | void __RPC_STUB IROTData_GetComparisonData_Stub(
|
---|
3127 | IRpcStubBuffer* This,
|
---|
3128 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3129 | PRPC_MESSAGE pRpcMessage,
|
---|
3130 | DWORD* pdwStubPhase);
|
---|
3131 |
|
---|
3132 | #endif /* __IROTData_INTERFACE_DEFINED__ */
|
---|
3133 |
|
---|
3134 | /*****************************************************************************
|
---|
3135 | * IEnumString interface
|
---|
3136 | */
|
---|
3137 | #ifndef __IEnumString_INTERFACE_DEFINED__
|
---|
3138 | #define __IEnumString_INTERFACE_DEFINED__
|
---|
3139 |
|
---|
3140 | typedef IEnumString *LPENUMSTRING;
|
---|
3141 | DEFINE_GUID(IID_IEnumString, 0x00000101, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
3142 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3143 | interface IEnumString : public IUnknown
|
---|
3144 | {
|
---|
3145 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
3146 | ULONG celt,
|
---|
3147 | LPOLESTR *rgelt,
|
---|
3148 | ULONG *pceltFetched) = 0;
|
---|
3149 |
|
---|
3150 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
3151 | ULONG celt) = 0;
|
---|
3152 |
|
---|
3153 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
3154 | ) = 0;
|
---|
3155 |
|
---|
3156 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
3157 | IEnumString **ppenum) = 0;
|
---|
3158 |
|
---|
3159 | };
|
---|
3160 | #else
|
---|
3161 | typedef struct IEnumStringVtbl {
|
---|
3162 | BEGIN_INTERFACE
|
---|
3163 |
|
---|
3164 | /*** IUnknown methods ***/
|
---|
3165 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3166 | IEnumString* This,
|
---|
3167 | REFIID riid,
|
---|
3168 | void **ppvObject);
|
---|
3169 |
|
---|
3170 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3171 | IEnumString* This);
|
---|
3172 |
|
---|
3173 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3174 | IEnumString* This);
|
---|
3175 |
|
---|
3176 | /*** IEnumString methods ***/
|
---|
3177 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
3178 | IEnumString* This,
|
---|
3179 | ULONG celt,
|
---|
3180 | LPOLESTR *rgelt,
|
---|
3181 | ULONG *pceltFetched);
|
---|
3182 |
|
---|
3183 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
3184 | IEnumString* This,
|
---|
3185 | ULONG celt);
|
---|
3186 |
|
---|
3187 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
3188 | IEnumString* This);
|
---|
3189 |
|
---|
3190 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
3191 | IEnumString* This,
|
---|
3192 | IEnumString **ppenum);
|
---|
3193 |
|
---|
3194 | END_INTERFACE
|
---|
3195 | } IEnumStringVtbl;
|
---|
3196 | interface IEnumString {
|
---|
3197 | CONST_VTBL IEnumStringVtbl* lpVtbl;
|
---|
3198 | };
|
---|
3199 |
|
---|
3200 | #ifdef COBJMACROS
|
---|
3201 | /*** IUnknown methods ***/
|
---|
3202 | #define IEnumString_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3203 | #define IEnumString_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3204 | #define IEnumString_Release(This) (This)->lpVtbl->Release(This)
|
---|
3205 | /*** IEnumString methods ***/
|
---|
3206 | #define IEnumString_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
|
---|
3207 | #define IEnumString_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
|
---|
3208 | #define IEnumString_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
3209 | #define IEnumString_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
|
---|
3210 | #endif
|
---|
3211 |
|
---|
3212 | #endif
|
---|
3213 |
|
---|
3214 | HRESULT STDMETHODCALLTYPE IEnumString_RemoteNext_Proxy(
|
---|
3215 | IEnumString* This,
|
---|
3216 | ULONG celt,
|
---|
3217 | LPOLESTR *rgelt,
|
---|
3218 | ULONG *pceltFetched);
|
---|
3219 | void __RPC_STUB IEnumString_RemoteNext_Stub(
|
---|
3220 | IRpcStubBuffer* This,
|
---|
3221 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3222 | PRPC_MESSAGE pRpcMessage,
|
---|
3223 | DWORD* pdwStubPhase);
|
---|
3224 | HRESULT STDMETHODCALLTYPE IEnumString_Skip_Proxy(
|
---|
3225 | IEnumString* This,
|
---|
3226 | ULONG celt);
|
---|
3227 | void __RPC_STUB IEnumString_Skip_Stub(
|
---|
3228 | IRpcStubBuffer* This,
|
---|
3229 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3230 | PRPC_MESSAGE pRpcMessage,
|
---|
3231 | DWORD* pdwStubPhase);
|
---|
3232 | HRESULT STDMETHODCALLTYPE IEnumString_Reset_Proxy(
|
---|
3233 | IEnumString* This);
|
---|
3234 | void __RPC_STUB IEnumString_Reset_Stub(
|
---|
3235 | IRpcStubBuffer* This,
|
---|
3236 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3237 | PRPC_MESSAGE pRpcMessage,
|
---|
3238 | DWORD* pdwStubPhase);
|
---|
3239 | HRESULT STDMETHODCALLTYPE IEnumString_Clone_Proxy(
|
---|
3240 | IEnumString* This,
|
---|
3241 | IEnumString **ppenum);
|
---|
3242 | void __RPC_STUB IEnumString_Clone_Stub(
|
---|
3243 | IRpcStubBuffer* This,
|
---|
3244 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3245 | PRPC_MESSAGE pRpcMessage,
|
---|
3246 | DWORD* pdwStubPhase);
|
---|
3247 | HRESULT CALLBACK IEnumString_Next_Proxy(
|
---|
3248 | IEnumString* This,
|
---|
3249 | ULONG celt,
|
---|
3250 | LPOLESTR *rgelt,
|
---|
3251 | ULONG *pceltFetched);
|
---|
3252 | HRESULT __RPC_STUB IEnumString_Next_Stub(
|
---|
3253 | IEnumString* This,
|
---|
3254 | ULONG celt,
|
---|
3255 | LPOLESTR *rgelt,
|
---|
3256 | ULONG *pceltFetched);
|
---|
3257 |
|
---|
3258 | #endif /* __IEnumString_INTERFACE_DEFINED__ */
|
---|
3259 |
|
---|
3260 | /*****************************************************************************
|
---|
3261 | * IClassActivator interface
|
---|
3262 | */
|
---|
3263 | #ifndef __IClassActivator_INTERFACE_DEFINED__
|
---|
3264 | #define __IClassActivator_INTERFACE_DEFINED__
|
---|
3265 |
|
---|
3266 | DEFINE_GUID(IID_IClassActivator, 0x00000140, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
3267 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3268 | interface IClassActivator : public IUnknown
|
---|
3269 | {
|
---|
3270 | virtual HRESULT STDMETHODCALLTYPE GetClassObject(
|
---|
3271 | REFCLSID rclsid,
|
---|
3272 | DWORD dwClassContext,
|
---|
3273 | LCID locale,
|
---|
3274 | REFIID riid,
|
---|
3275 | void **ppv) = 0;
|
---|
3276 |
|
---|
3277 | };
|
---|
3278 | #else
|
---|
3279 | typedef struct IClassActivatorVtbl {
|
---|
3280 | BEGIN_INTERFACE
|
---|
3281 |
|
---|
3282 | /*** IUnknown methods ***/
|
---|
3283 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3284 | IClassActivator* This,
|
---|
3285 | REFIID riid,
|
---|
3286 | void **ppvObject);
|
---|
3287 |
|
---|
3288 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3289 | IClassActivator* This);
|
---|
3290 |
|
---|
3291 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3292 | IClassActivator* This);
|
---|
3293 |
|
---|
3294 | /*** IClassActivator methods ***/
|
---|
3295 | HRESULT (STDMETHODCALLTYPE *GetClassObject)(
|
---|
3296 | IClassActivator* This,
|
---|
3297 | REFCLSID rclsid,
|
---|
3298 | DWORD dwClassContext,
|
---|
3299 | LCID locale,
|
---|
3300 | REFIID riid,
|
---|
3301 | void **ppv);
|
---|
3302 |
|
---|
3303 | END_INTERFACE
|
---|
3304 | } IClassActivatorVtbl;
|
---|
3305 | interface IClassActivator {
|
---|
3306 | CONST_VTBL IClassActivatorVtbl* lpVtbl;
|
---|
3307 | };
|
---|
3308 |
|
---|
3309 | #ifdef COBJMACROS
|
---|
3310 | /*** IUnknown methods ***/
|
---|
3311 | #define IClassActivator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3312 | #define IClassActivator_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3313 | #define IClassActivator_Release(This) (This)->lpVtbl->Release(This)
|
---|
3314 | /*** IClassActivator methods ***/
|
---|
3315 | #define IClassActivator_GetClassObject(This,rclsid,dwClassContext,locale,riid,ppv) (This)->lpVtbl->GetClassObject(This,rclsid,dwClassContext,locale,riid,ppv)
|
---|
3316 | #endif
|
---|
3317 |
|
---|
3318 | #endif
|
---|
3319 |
|
---|
3320 | HRESULT STDMETHODCALLTYPE IClassActivator_GetClassObject_Proxy(
|
---|
3321 | IClassActivator* This,
|
---|
3322 | REFCLSID rclsid,
|
---|
3323 | DWORD dwClassContext,
|
---|
3324 | LCID locale,
|
---|
3325 | REFIID riid,
|
---|
3326 | void **ppv);
|
---|
3327 | void __RPC_STUB IClassActivator_GetClassObject_Stub(
|
---|
3328 | IRpcStubBuffer* This,
|
---|
3329 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3330 | PRPC_MESSAGE pRpcMessage,
|
---|
3331 | DWORD* pdwStubPhase);
|
---|
3332 |
|
---|
3333 | #endif /* __IClassActivator_INTERFACE_DEFINED__ */
|
---|
3334 |
|
---|
3335 | /*****************************************************************************
|
---|
3336 | * ISequentialStream interface
|
---|
3337 | */
|
---|
3338 | #ifndef __ISequentialStream_INTERFACE_DEFINED__
|
---|
3339 | #define __ISequentialStream_INTERFACE_DEFINED__
|
---|
3340 |
|
---|
3341 | DEFINE_GUID(IID_ISequentialStream, 0x0c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
|
---|
3342 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3343 | interface ISequentialStream : public IUnknown
|
---|
3344 | {
|
---|
3345 | virtual HRESULT STDMETHODCALLTYPE Read(
|
---|
3346 | void *pv,
|
---|
3347 | ULONG cb,
|
---|
3348 | ULONG *pcbRead) = 0;
|
---|
3349 |
|
---|
3350 | virtual HRESULT STDMETHODCALLTYPE Write(
|
---|
3351 | const void *pv,
|
---|
3352 | ULONG cb,
|
---|
3353 | ULONG *pcbWritten) = 0;
|
---|
3354 |
|
---|
3355 | };
|
---|
3356 | #else
|
---|
3357 | typedef struct ISequentialStreamVtbl {
|
---|
3358 | BEGIN_INTERFACE
|
---|
3359 |
|
---|
3360 | /*** IUnknown methods ***/
|
---|
3361 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3362 | ISequentialStream* This,
|
---|
3363 | REFIID riid,
|
---|
3364 | void **ppvObject);
|
---|
3365 |
|
---|
3366 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3367 | ISequentialStream* This);
|
---|
3368 |
|
---|
3369 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3370 | ISequentialStream* This);
|
---|
3371 |
|
---|
3372 | /*** ISequentialStream methods ***/
|
---|
3373 | HRESULT (STDMETHODCALLTYPE *Read)(
|
---|
3374 | ISequentialStream* This,
|
---|
3375 | void *pv,
|
---|
3376 | ULONG cb,
|
---|
3377 | ULONG *pcbRead);
|
---|
3378 |
|
---|
3379 | HRESULT (STDMETHODCALLTYPE *Write)(
|
---|
3380 | ISequentialStream* This,
|
---|
3381 | const void *pv,
|
---|
3382 | ULONG cb,
|
---|
3383 | ULONG *pcbWritten);
|
---|
3384 |
|
---|
3385 | END_INTERFACE
|
---|
3386 | } ISequentialStreamVtbl;
|
---|
3387 | interface ISequentialStream {
|
---|
3388 | CONST_VTBL ISequentialStreamVtbl* lpVtbl;
|
---|
3389 | };
|
---|
3390 |
|
---|
3391 | #ifdef COBJMACROS
|
---|
3392 | /*** IUnknown methods ***/
|
---|
3393 | #define ISequentialStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3394 | #define ISequentialStream_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3395 | #define ISequentialStream_Release(This) (This)->lpVtbl->Release(This)
|
---|
3396 | /*** ISequentialStream methods ***/
|
---|
3397 | #define ISequentialStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead)
|
---|
3398 | #define ISequentialStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten)
|
---|
3399 | #endif
|
---|
3400 |
|
---|
3401 | #endif
|
---|
3402 |
|
---|
3403 | HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteRead_Proxy(
|
---|
3404 | ISequentialStream* This,
|
---|
3405 | byte *pv,
|
---|
3406 | ULONG cb,
|
---|
3407 | ULONG *pcbRead);
|
---|
3408 | void __RPC_STUB ISequentialStream_RemoteRead_Stub(
|
---|
3409 | IRpcStubBuffer* This,
|
---|
3410 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3411 | PRPC_MESSAGE pRpcMessage,
|
---|
3412 | DWORD* pdwStubPhase);
|
---|
3413 | HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteWrite_Proxy(
|
---|
3414 | ISequentialStream* This,
|
---|
3415 | const byte *pv,
|
---|
3416 | ULONG cb,
|
---|
3417 | ULONG *pcbWritten);
|
---|
3418 | void __RPC_STUB ISequentialStream_RemoteWrite_Stub(
|
---|
3419 | IRpcStubBuffer* This,
|
---|
3420 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3421 | PRPC_MESSAGE pRpcMessage,
|
---|
3422 | DWORD* pdwStubPhase);
|
---|
3423 | HRESULT CALLBACK ISequentialStream_Read_Proxy(
|
---|
3424 | ISequentialStream* This,
|
---|
3425 | void *pv,
|
---|
3426 | ULONG cb,
|
---|
3427 | ULONG *pcbRead);
|
---|
3428 | HRESULT __RPC_STUB ISequentialStream_Read_Stub(
|
---|
3429 | ISequentialStream* This,
|
---|
3430 | byte *pv,
|
---|
3431 | ULONG cb,
|
---|
3432 | ULONG *pcbRead);
|
---|
3433 | HRESULT CALLBACK ISequentialStream_Write_Proxy(
|
---|
3434 | ISequentialStream* This,
|
---|
3435 | const void *pv,
|
---|
3436 | ULONG cb,
|
---|
3437 | ULONG *pcbWritten);
|
---|
3438 | HRESULT __RPC_STUB ISequentialStream_Write_Stub(
|
---|
3439 | ISequentialStream* This,
|
---|
3440 | const byte *pv,
|
---|
3441 | ULONG cb,
|
---|
3442 | ULONG *pcbWritten);
|
---|
3443 |
|
---|
3444 | #endif /* __ISequentialStream_INTERFACE_DEFINED__ */
|
---|
3445 |
|
---|
3446 | /*****************************************************************************
|
---|
3447 | * IStream interface
|
---|
3448 | */
|
---|
3449 | #ifndef __IStream_INTERFACE_DEFINED__
|
---|
3450 | #define __IStream_INTERFACE_DEFINED__
|
---|
3451 |
|
---|
3452 | typedef IStream *LPSTREAM;
|
---|
3453 | typedef struct tagSTATSTG {
|
---|
3454 | LPOLESTR pwcsName;
|
---|
3455 | DWORD type;
|
---|
3456 | ULARGE_INTEGER cbSize;
|
---|
3457 | FILETIME mtime;
|
---|
3458 | FILETIME ctime;
|
---|
3459 | FILETIME atime;
|
---|
3460 | DWORD grfMode;
|
---|
3461 | DWORD grfLocksSupported;
|
---|
3462 | CLSID clsid;
|
---|
3463 | DWORD grfStateBits;
|
---|
3464 | DWORD reserved;
|
---|
3465 | } STATSTG;
|
---|
3466 | typedef enum tagSTGTY {
|
---|
3467 | STGTY_STORAGE = 1,
|
---|
3468 | STGTY_STREAM = 2,
|
---|
3469 | STGTY_LOCKBYTES = 3,
|
---|
3470 | STGTY_PROPERTY = 4
|
---|
3471 | } STGTY;
|
---|
3472 | typedef enum tagSTREAM_SEEK {
|
---|
3473 | STREAM_SEEK_SET = 0,
|
---|
3474 | STREAM_SEEK_CUR = 1,
|
---|
3475 | STREAM_SEEK_END = 2
|
---|
3476 | } STREAM_SEEK;
|
---|
3477 | #undef LOCK_MAND
|
---|
3478 | #undef LOCK_READ
|
---|
3479 | #undef LOCK_WRITE
|
---|
3480 | #undef LOCK_RW
|
---|
3481 | typedef enum tagLOCKTYPE {
|
---|
3482 | LOCK_WRITE = 1,
|
---|
3483 | LOCK_EXCLUSIVE = 2,
|
---|
3484 | LOCK_ONLYONCE = 4
|
---|
3485 | } LOCKTYPE;
|
---|
3486 | DEFINE_GUID(IID_IStream, 0x0000000c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
3487 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3488 | interface IStream : public ISequentialStream
|
---|
3489 | {
|
---|
3490 | virtual HRESULT STDMETHODCALLTYPE Seek(
|
---|
3491 | LARGE_INTEGER dlibMove,
|
---|
3492 | DWORD dwOrigin,
|
---|
3493 | ULARGE_INTEGER *plibNewPosition) = 0;
|
---|
3494 |
|
---|
3495 | virtual HRESULT STDMETHODCALLTYPE SetSize(
|
---|
3496 | ULARGE_INTEGER libNewSize) = 0;
|
---|
3497 |
|
---|
3498 | virtual HRESULT STDMETHODCALLTYPE CopyTo(
|
---|
3499 | IStream *pstm,
|
---|
3500 | ULARGE_INTEGER cb,
|
---|
3501 | ULARGE_INTEGER *pcbRead,
|
---|
3502 | ULARGE_INTEGER *pcbWritten) = 0;
|
---|
3503 |
|
---|
3504 | virtual HRESULT STDMETHODCALLTYPE Commit(
|
---|
3505 | DWORD grfCommitFlags) = 0;
|
---|
3506 |
|
---|
3507 | virtual HRESULT STDMETHODCALLTYPE Revert(
|
---|
3508 | ) = 0;
|
---|
3509 |
|
---|
3510 | virtual HRESULT STDMETHODCALLTYPE LockRegion(
|
---|
3511 | ULARGE_INTEGER libOffset,
|
---|
3512 | ULARGE_INTEGER cb,
|
---|
3513 | DWORD dwLockType) = 0;
|
---|
3514 |
|
---|
3515 | virtual HRESULT STDMETHODCALLTYPE UnlockRegion(
|
---|
3516 | ULARGE_INTEGER libOffset,
|
---|
3517 | ULARGE_INTEGER cb,
|
---|
3518 | DWORD dwLockType) = 0;
|
---|
3519 |
|
---|
3520 | virtual HRESULT STDMETHODCALLTYPE Stat(
|
---|
3521 | STATSTG *pstatstg,
|
---|
3522 | DWORD grfStatFlag) = 0;
|
---|
3523 |
|
---|
3524 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
3525 | IStream **ppstm) = 0;
|
---|
3526 |
|
---|
3527 | };
|
---|
3528 | #else
|
---|
3529 | typedef struct IStreamVtbl {
|
---|
3530 | BEGIN_INTERFACE
|
---|
3531 |
|
---|
3532 | /*** IUnknown methods ***/
|
---|
3533 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3534 | IStream* This,
|
---|
3535 | REFIID riid,
|
---|
3536 | void **ppvObject);
|
---|
3537 |
|
---|
3538 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3539 | IStream* This);
|
---|
3540 |
|
---|
3541 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3542 | IStream* This);
|
---|
3543 |
|
---|
3544 | /*** ISequentialStream methods ***/
|
---|
3545 | HRESULT (STDMETHODCALLTYPE *Read)(
|
---|
3546 | IStream* This,
|
---|
3547 | void *pv,
|
---|
3548 | ULONG cb,
|
---|
3549 | ULONG *pcbRead);
|
---|
3550 |
|
---|
3551 | HRESULT (STDMETHODCALLTYPE *Write)(
|
---|
3552 | IStream* This,
|
---|
3553 | const void *pv,
|
---|
3554 | ULONG cb,
|
---|
3555 | ULONG *pcbWritten);
|
---|
3556 |
|
---|
3557 | /*** IStream methods ***/
|
---|
3558 | HRESULT (STDMETHODCALLTYPE *Seek)(
|
---|
3559 | IStream* This,
|
---|
3560 | LARGE_INTEGER dlibMove,
|
---|
3561 | DWORD dwOrigin,
|
---|
3562 | ULARGE_INTEGER *plibNewPosition);
|
---|
3563 |
|
---|
3564 | HRESULT (STDMETHODCALLTYPE *SetSize)(
|
---|
3565 | IStream* This,
|
---|
3566 | ULARGE_INTEGER libNewSize);
|
---|
3567 |
|
---|
3568 | HRESULT (STDMETHODCALLTYPE *CopyTo)(
|
---|
3569 | IStream* This,
|
---|
3570 | IStream *pstm,
|
---|
3571 | ULARGE_INTEGER cb,
|
---|
3572 | ULARGE_INTEGER *pcbRead,
|
---|
3573 | ULARGE_INTEGER *pcbWritten);
|
---|
3574 |
|
---|
3575 | HRESULT (STDMETHODCALLTYPE *Commit)(
|
---|
3576 | IStream* This,
|
---|
3577 | DWORD grfCommitFlags);
|
---|
3578 |
|
---|
3579 | HRESULT (STDMETHODCALLTYPE *Revert)(
|
---|
3580 | IStream* This);
|
---|
3581 |
|
---|
3582 | HRESULT (STDMETHODCALLTYPE *LockRegion)(
|
---|
3583 | IStream* This,
|
---|
3584 | ULARGE_INTEGER libOffset,
|
---|
3585 | ULARGE_INTEGER cb,
|
---|
3586 | DWORD dwLockType);
|
---|
3587 |
|
---|
3588 | HRESULT (STDMETHODCALLTYPE *UnlockRegion)(
|
---|
3589 | IStream* This,
|
---|
3590 | ULARGE_INTEGER libOffset,
|
---|
3591 | ULARGE_INTEGER cb,
|
---|
3592 | DWORD dwLockType);
|
---|
3593 |
|
---|
3594 | HRESULT (STDMETHODCALLTYPE *Stat)(
|
---|
3595 | IStream* This,
|
---|
3596 | STATSTG *pstatstg,
|
---|
3597 | DWORD grfStatFlag);
|
---|
3598 |
|
---|
3599 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
3600 | IStream* This,
|
---|
3601 | IStream **ppstm);
|
---|
3602 |
|
---|
3603 | END_INTERFACE
|
---|
3604 | } IStreamVtbl;
|
---|
3605 | interface IStream {
|
---|
3606 | CONST_VTBL IStreamVtbl* lpVtbl;
|
---|
3607 | };
|
---|
3608 |
|
---|
3609 | #ifdef COBJMACROS
|
---|
3610 | /*** IUnknown methods ***/
|
---|
3611 | #define IStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3612 | #define IStream_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3613 | #define IStream_Release(This) (This)->lpVtbl->Release(This)
|
---|
3614 | /*** ISequentialStream methods ***/
|
---|
3615 | #define IStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead)
|
---|
3616 | #define IStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten)
|
---|
3617 | /*** IStream methods ***/
|
---|
3618 | #define IStream_Seek(This,dlibMove,dwOrigin,plibNewPosition) (This)->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition)
|
---|
3619 | #define IStream_SetSize(This,libNewSize) (This)->lpVtbl->SetSize(This,libNewSize)
|
---|
3620 | #define IStream_CopyTo(This,pstm,cb,pcbRead,pcbWritten) (This)->lpVtbl->CopyTo(This,pstm,cb,pcbRead,pcbWritten)
|
---|
3621 | #define IStream_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags)
|
---|
3622 | #define IStream_Revert(This) (This)->lpVtbl->Revert(This)
|
---|
3623 | #define IStream_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType)
|
---|
3624 | #define IStream_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType)
|
---|
3625 | #define IStream_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag)
|
---|
3626 | #define IStream_Clone(This,ppstm) (This)->lpVtbl->Clone(This,ppstm)
|
---|
3627 | #endif
|
---|
3628 |
|
---|
3629 | #endif
|
---|
3630 |
|
---|
3631 | HRESULT STDMETHODCALLTYPE IStream_RemoteSeek_Proxy(
|
---|
3632 | IStream* This,
|
---|
3633 | LARGE_INTEGER dlibMove,
|
---|
3634 | DWORD dwOrigin,
|
---|
3635 | ULARGE_INTEGER *plibNewPosition);
|
---|
3636 | void __RPC_STUB IStream_RemoteSeek_Stub(
|
---|
3637 | IRpcStubBuffer* This,
|
---|
3638 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3639 | PRPC_MESSAGE pRpcMessage,
|
---|
3640 | DWORD* pdwStubPhase);
|
---|
3641 | HRESULT STDMETHODCALLTYPE IStream_SetSize_Proxy(
|
---|
3642 | IStream* This,
|
---|
3643 | ULARGE_INTEGER libNewSize);
|
---|
3644 | void __RPC_STUB IStream_SetSize_Stub(
|
---|
3645 | IRpcStubBuffer* This,
|
---|
3646 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3647 | PRPC_MESSAGE pRpcMessage,
|
---|
3648 | DWORD* pdwStubPhase);
|
---|
3649 | HRESULT STDMETHODCALLTYPE IStream_RemoteCopyTo_Proxy(
|
---|
3650 | IStream* This,
|
---|
3651 | IStream *pstm,
|
---|
3652 | ULARGE_INTEGER cb,
|
---|
3653 | ULARGE_INTEGER *pcbRead,
|
---|
3654 | ULARGE_INTEGER *pcbWritten);
|
---|
3655 | void __RPC_STUB IStream_RemoteCopyTo_Stub(
|
---|
3656 | IRpcStubBuffer* This,
|
---|
3657 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3658 | PRPC_MESSAGE pRpcMessage,
|
---|
3659 | DWORD* pdwStubPhase);
|
---|
3660 | HRESULT STDMETHODCALLTYPE IStream_Commit_Proxy(
|
---|
3661 | IStream* This,
|
---|
3662 | DWORD grfCommitFlags);
|
---|
3663 | void __RPC_STUB IStream_Commit_Stub(
|
---|
3664 | IRpcStubBuffer* This,
|
---|
3665 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3666 | PRPC_MESSAGE pRpcMessage,
|
---|
3667 | DWORD* pdwStubPhase);
|
---|
3668 | HRESULT STDMETHODCALLTYPE IStream_Revert_Proxy(
|
---|
3669 | IStream* This);
|
---|
3670 | void __RPC_STUB IStream_Revert_Stub(
|
---|
3671 | IRpcStubBuffer* This,
|
---|
3672 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3673 | PRPC_MESSAGE pRpcMessage,
|
---|
3674 | DWORD* pdwStubPhase);
|
---|
3675 | HRESULT STDMETHODCALLTYPE IStream_LockRegion_Proxy(
|
---|
3676 | IStream* This,
|
---|
3677 | ULARGE_INTEGER libOffset,
|
---|
3678 | ULARGE_INTEGER cb,
|
---|
3679 | DWORD dwLockType);
|
---|
3680 | void __RPC_STUB IStream_LockRegion_Stub(
|
---|
3681 | IRpcStubBuffer* This,
|
---|
3682 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3683 | PRPC_MESSAGE pRpcMessage,
|
---|
3684 | DWORD* pdwStubPhase);
|
---|
3685 | HRESULT STDMETHODCALLTYPE IStream_UnlockRegion_Proxy(
|
---|
3686 | IStream* This,
|
---|
3687 | ULARGE_INTEGER libOffset,
|
---|
3688 | ULARGE_INTEGER cb,
|
---|
3689 | DWORD dwLockType);
|
---|
3690 | void __RPC_STUB IStream_UnlockRegion_Stub(
|
---|
3691 | IRpcStubBuffer* This,
|
---|
3692 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3693 | PRPC_MESSAGE pRpcMessage,
|
---|
3694 | DWORD* pdwStubPhase);
|
---|
3695 | HRESULT STDMETHODCALLTYPE IStream_Stat_Proxy(
|
---|
3696 | IStream* This,
|
---|
3697 | STATSTG *pstatstg,
|
---|
3698 | DWORD grfStatFlag);
|
---|
3699 | void __RPC_STUB IStream_Stat_Stub(
|
---|
3700 | IRpcStubBuffer* This,
|
---|
3701 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3702 | PRPC_MESSAGE pRpcMessage,
|
---|
3703 | DWORD* pdwStubPhase);
|
---|
3704 | HRESULT STDMETHODCALLTYPE IStream_Clone_Proxy(
|
---|
3705 | IStream* This,
|
---|
3706 | IStream **ppstm);
|
---|
3707 | void __RPC_STUB IStream_Clone_Stub(
|
---|
3708 | IRpcStubBuffer* This,
|
---|
3709 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3710 | PRPC_MESSAGE pRpcMessage,
|
---|
3711 | DWORD* pdwStubPhase);
|
---|
3712 | HRESULT CALLBACK IStream_Seek_Proxy(
|
---|
3713 | IStream* This,
|
---|
3714 | LARGE_INTEGER dlibMove,
|
---|
3715 | DWORD dwOrigin,
|
---|
3716 | ULARGE_INTEGER *plibNewPosition);
|
---|
3717 | HRESULT __RPC_STUB IStream_Seek_Stub(
|
---|
3718 | IStream* This,
|
---|
3719 | LARGE_INTEGER dlibMove,
|
---|
3720 | DWORD dwOrigin,
|
---|
3721 | ULARGE_INTEGER *plibNewPosition);
|
---|
3722 | HRESULT CALLBACK IStream_CopyTo_Proxy(
|
---|
3723 | IStream* This,
|
---|
3724 | IStream *pstm,
|
---|
3725 | ULARGE_INTEGER cb,
|
---|
3726 | ULARGE_INTEGER *pcbRead,
|
---|
3727 | ULARGE_INTEGER *pcbWritten);
|
---|
3728 | HRESULT __RPC_STUB IStream_CopyTo_Stub(
|
---|
3729 | IStream* This,
|
---|
3730 | IStream *pstm,
|
---|
3731 | ULARGE_INTEGER cb,
|
---|
3732 | ULARGE_INTEGER *pcbRead,
|
---|
3733 | ULARGE_INTEGER *pcbWritten);
|
---|
3734 |
|
---|
3735 | #endif /* __IStream_INTERFACE_DEFINED__ */
|
---|
3736 |
|
---|
3737 | /*****************************************************************************
|
---|
3738 | * IEnumSTATSTG interface
|
---|
3739 | */
|
---|
3740 | #ifndef __IEnumSTATSTG_INTERFACE_DEFINED__
|
---|
3741 | #define __IEnumSTATSTG_INTERFACE_DEFINED__
|
---|
3742 |
|
---|
3743 | typedef IEnumSTATSTG *LPENUMSTATSTG;
|
---|
3744 | DEFINE_GUID(IID_IEnumSTATSTG, 0x0000000d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
3745 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3746 | interface IEnumSTATSTG : public IUnknown
|
---|
3747 | {
|
---|
3748 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
3749 | ULONG celt,
|
---|
3750 | STATSTG *rgelt,
|
---|
3751 | ULONG *pceltFetched) = 0;
|
---|
3752 |
|
---|
3753 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
3754 | ULONG celt) = 0;
|
---|
3755 |
|
---|
3756 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
3757 | ) = 0;
|
---|
3758 |
|
---|
3759 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
3760 | IEnumSTATSTG **ppenum) = 0;
|
---|
3761 |
|
---|
3762 | };
|
---|
3763 | #else
|
---|
3764 | typedef struct IEnumSTATSTGVtbl {
|
---|
3765 | BEGIN_INTERFACE
|
---|
3766 |
|
---|
3767 | /*** IUnknown methods ***/
|
---|
3768 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3769 | IEnumSTATSTG* This,
|
---|
3770 | REFIID riid,
|
---|
3771 | void **ppvObject);
|
---|
3772 |
|
---|
3773 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3774 | IEnumSTATSTG* This);
|
---|
3775 |
|
---|
3776 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3777 | IEnumSTATSTG* This);
|
---|
3778 |
|
---|
3779 | /*** IEnumSTATSTG methods ***/
|
---|
3780 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
3781 | IEnumSTATSTG* This,
|
---|
3782 | ULONG celt,
|
---|
3783 | STATSTG *rgelt,
|
---|
3784 | ULONG *pceltFetched);
|
---|
3785 |
|
---|
3786 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
3787 | IEnumSTATSTG* This,
|
---|
3788 | ULONG celt);
|
---|
3789 |
|
---|
3790 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
3791 | IEnumSTATSTG* This);
|
---|
3792 |
|
---|
3793 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
3794 | IEnumSTATSTG* This,
|
---|
3795 | IEnumSTATSTG **ppenum);
|
---|
3796 |
|
---|
3797 | END_INTERFACE
|
---|
3798 | } IEnumSTATSTGVtbl;
|
---|
3799 | interface IEnumSTATSTG {
|
---|
3800 | CONST_VTBL IEnumSTATSTGVtbl* lpVtbl;
|
---|
3801 | };
|
---|
3802 |
|
---|
3803 | #ifdef COBJMACROS
|
---|
3804 | /*** IUnknown methods ***/
|
---|
3805 | #define IEnumSTATSTG_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3806 | #define IEnumSTATSTG_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3807 | #define IEnumSTATSTG_Release(This) (This)->lpVtbl->Release(This)
|
---|
3808 | /*** IEnumSTATSTG methods ***/
|
---|
3809 | #define IEnumSTATSTG_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
|
---|
3810 | #define IEnumSTATSTG_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
|
---|
3811 | #define IEnumSTATSTG_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
3812 | #define IEnumSTATSTG_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
|
---|
3813 | #endif
|
---|
3814 |
|
---|
3815 | #endif
|
---|
3816 |
|
---|
3817 | HRESULT STDMETHODCALLTYPE IEnumSTATSTG_RemoteNext_Proxy(
|
---|
3818 | IEnumSTATSTG* This,
|
---|
3819 | ULONG celt,
|
---|
3820 | STATSTG *rgelt,
|
---|
3821 | ULONG *pceltFetched);
|
---|
3822 | void __RPC_STUB IEnumSTATSTG_RemoteNext_Stub(
|
---|
3823 | IRpcStubBuffer* This,
|
---|
3824 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3825 | PRPC_MESSAGE pRpcMessage,
|
---|
3826 | DWORD* pdwStubPhase);
|
---|
3827 | HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Skip_Proxy(
|
---|
3828 | IEnumSTATSTG* This,
|
---|
3829 | ULONG celt);
|
---|
3830 | void __RPC_STUB IEnumSTATSTG_Skip_Stub(
|
---|
3831 | IRpcStubBuffer* This,
|
---|
3832 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3833 | PRPC_MESSAGE pRpcMessage,
|
---|
3834 | DWORD* pdwStubPhase);
|
---|
3835 | HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Reset_Proxy(
|
---|
3836 | IEnumSTATSTG* This);
|
---|
3837 | void __RPC_STUB IEnumSTATSTG_Reset_Stub(
|
---|
3838 | IRpcStubBuffer* This,
|
---|
3839 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3840 | PRPC_MESSAGE pRpcMessage,
|
---|
3841 | DWORD* pdwStubPhase);
|
---|
3842 | HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Clone_Proxy(
|
---|
3843 | IEnumSTATSTG* This,
|
---|
3844 | IEnumSTATSTG **ppenum);
|
---|
3845 | void __RPC_STUB IEnumSTATSTG_Clone_Stub(
|
---|
3846 | IRpcStubBuffer* This,
|
---|
3847 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3848 | PRPC_MESSAGE pRpcMessage,
|
---|
3849 | DWORD* pdwStubPhase);
|
---|
3850 | HRESULT CALLBACK IEnumSTATSTG_Next_Proxy(
|
---|
3851 | IEnumSTATSTG* This,
|
---|
3852 | ULONG celt,
|
---|
3853 | STATSTG *rgelt,
|
---|
3854 | ULONG *pceltFetched);
|
---|
3855 | HRESULT __RPC_STUB IEnumSTATSTG_Next_Stub(
|
---|
3856 | IEnumSTATSTG* This,
|
---|
3857 | ULONG celt,
|
---|
3858 | STATSTG *rgelt,
|
---|
3859 | ULONG *pceltFetched);
|
---|
3860 |
|
---|
3861 | #endif /* __IEnumSTATSTG_INTERFACE_DEFINED__ */
|
---|
3862 |
|
---|
3863 | /*****************************************************************************
|
---|
3864 | * IStorage interface
|
---|
3865 | */
|
---|
3866 | #ifndef __IStorage_INTERFACE_DEFINED__
|
---|
3867 | #define __IStorage_INTERFACE_DEFINED__
|
---|
3868 |
|
---|
3869 | typedef IStorage *LPSTORAGE;
|
---|
3870 | typedef struct tagRemSNB {
|
---|
3871 | ULONG ulCntStr;
|
---|
3872 | ULONG ulCntChar;
|
---|
3873 | OLECHAR rgString[1];
|
---|
3874 | } RemSNB;
|
---|
3875 | typedef RemSNB *wireSNB;
|
---|
3876 | typedef OLECHAR **SNB;
|
---|
3877 | DEFINE_GUID(IID_IStorage, 0x0000000b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
3878 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3879 | interface IStorage : public IUnknown
|
---|
3880 | {
|
---|
3881 | virtual HRESULT STDMETHODCALLTYPE CreateStream(
|
---|
3882 | LPCOLESTR pwcsName,
|
---|
3883 | DWORD grfMode,
|
---|
3884 | DWORD reserved1,
|
---|
3885 | DWORD reserved2,
|
---|
3886 | IStream **ppstm) = 0;
|
---|
3887 |
|
---|
3888 | virtual HRESULT STDMETHODCALLTYPE OpenStream(
|
---|
3889 | LPCOLESTR pwcsName,
|
---|
3890 | void *reserved1,
|
---|
3891 | DWORD grfMode,
|
---|
3892 | DWORD reserved2,
|
---|
3893 | IStream **ppstm) = 0;
|
---|
3894 |
|
---|
3895 | virtual HRESULT STDMETHODCALLTYPE CreateStorage(
|
---|
3896 | LPCOLESTR pwcsName,
|
---|
3897 | DWORD grfMode,
|
---|
3898 | DWORD dwStgFmt,
|
---|
3899 | DWORD reserved2,
|
---|
3900 | IStorage **ppstg) = 0;
|
---|
3901 |
|
---|
3902 | virtual HRESULT STDMETHODCALLTYPE OpenStorage(
|
---|
3903 | LPCOLESTR pwcsName,
|
---|
3904 | IStorage *pstgPriority,
|
---|
3905 | DWORD grfMode,
|
---|
3906 | SNB snbExclude,
|
---|
3907 | DWORD reserved,
|
---|
3908 | IStorage **ppstg) = 0;
|
---|
3909 |
|
---|
3910 | virtual HRESULT STDMETHODCALLTYPE CopyTo(
|
---|
3911 | DWORD ciidExclude,
|
---|
3912 | const IID *rgiidExclude,
|
---|
3913 | SNB snbExclude,
|
---|
3914 | IStorage *pstgDest) = 0;
|
---|
3915 |
|
---|
3916 | virtual HRESULT STDMETHODCALLTYPE MoveElementTo(
|
---|
3917 | LPCOLESTR pwcsName,
|
---|
3918 | IStorage *pstgDest,
|
---|
3919 | LPCOLESTR pwcsNewName,
|
---|
3920 | DWORD grfFlags) = 0;
|
---|
3921 |
|
---|
3922 | virtual HRESULT STDMETHODCALLTYPE Commit(
|
---|
3923 | DWORD grfCommitFlags) = 0;
|
---|
3924 |
|
---|
3925 | virtual HRESULT STDMETHODCALLTYPE Revert(
|
---|
3926 | ) = 0;
|
---|
3927 |
|
---|
3928 | virtual HRESULT STDMETHODCALLTYPE EnumElements(
|
---|
3929 | DWORD reserved1,
|
---|
3930 | void *reserved2,
|
---|
3931 | DWORD reserved3,
|
---|
3932 | IEnumSTATSTG **ppenum) = 0;
|
---|
3933 |
|
---|
3934 | virtual HRESULT STDMETHODCALLTYPE DestroyElement(
|
---|
3935 | LPCOLESTR pwcsName) = 0;
|
---|
3936 |
|
---|
3937 | virtual HRESULT STDMETHODCALLTYPE RenameElement(
|
---|
3938 | LPCOLESTR pwcsOldName,
|
---|
3939 | LPCOLESTR pwcsNewName) = 0;
|
---|
3940 |
|
---|
3941 | virtual HRESULT STDMETHODCALLTYPE SetElementTimes(
|
---|
3942 | LPCOLESTR pwcsName,
|
---|
3943 | const FILETIME *pctime,
|
---|
3944 | const FILETIME *patime,
|
---|
3945 | const FILETIME *pmtime) = 0;
|
---|
3946 |
|
---|
3947 | virtual HRESULT STDMETHODCALLTYPE SetClass(
|
---|
3948 | REFCLSID clsid) = 0;
|
---|
3949 |
|
---|
3950 | virtual HRESULT STDMETHODCALLTYPE SetStateBits(
|
---|
3951 | DWORD grfStateBits,
|
---|
3952 | DWORD grfMask) = 0;
|
---|
3953 |
|
---|
3954 | virtual HRESULT STDMETHODCALLTYPE Stat(
|
---|
3955 | STATSTG *pstatstg,
|
---|
3956 | DWORD grfStatFlag) = 0;
|
---|
3957 |
|
---|
3958 | };
|
---|
3959 | #else
|
---|
3960 | typedef struct IStorageVtbl {
|
---|
3961 | BEGIN_INTERFACE
|
---|
3962 |
|
---|
3963 | /*** IUnknown methods ***/
|
---|
3964 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3965 | IStorage* This,
|
---|
3966 | REFIID riid,
|
---|
3967 | void **ppvObject);
|
---|
3968 |
|
---|
3969 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3970 | IStorage* This);
|
---|
3971 |
|
---|
3972 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3973 | IStorage* This);
|
---|
3974 |
|
---|
3975 | /*** IStorage methods ***/
|
---|
3976 | HRESULT (STDMETHODCALLTYPE *CreateStream)(
|
---|
3977 | IStorage* This,
|
---|
3978 | LPCOLESTR pwcsName,
|
---|
3979 | DWORD grfMode,
|
---|
3980 | DWORD reserved1,
|
---|
3981 | DWORD reserved2,
|
---|
3982 | IStream **ppstm);
|
---|
3983 |
|
---|
3984 | HRESULT (STDMETHODCALLTYPE *OpenStream)(
|
---|
3985 | IStorage* This,
|
---|
3986 | LPCOLESTR pwcsName,
|
---|
3987 | void *reserved1,
|
---|
3988 | DWORD grfMode,
|
---|
3989 | DWORD reserved2,
|
---|
3990 | IStream **ppstm);
|
---|
3991 |
|
---|
3992 | HRESULT (STDMETHODCALLTYPE *CreateStorage)(
|
---|
3993 | IStorage* This,
|
---|
3994 | LPCOLESTR pwcsName,
|
---|
3995 | DWORD grfMode,
|
---|
3996 | DWORD dwStgFmt,
|
---|
3997 | DWORD reserved2,
|
---|
3998 | IStorage **ppstg);
|
---|
3999 |
|
---|
4000 | HRESULT (STDMETHODCALLTYPE *OpenStorage)(
|
---|
4001 | IStorage* This,
|
---|
4002 | LPCOLESTR pwcsName,
|
---|
4003 | IStorage *pstgPriority,
|
---|
4004 | DWORD grfMode,
|
---|
4005 | SNB snbExclude,
|
---|
4006 | DWORD reserved,
|
---|
4007 | IStorage **ppstg);
|
---|
4008 |
|
---|
4009 | HRESULT (STDMETHODCALLTYPE *CopyTo)(
|
---|
4010 | IStorage* This,
|
---|
4011 | DWORD ciidExclude,
|
---|
4012 | const IID *rgiidExclude,
|
---|
4013 | SNB snbExclude,
|
---|
4014 | IStorage *pstgDest);
|
---|
4015 |
|
---|
4016 | HRESULT (STDMETHODCALLTYPE *MoveElementTo)(
|
---|
4017 | IStorage* This,
|
---|
4018 | LPCOLESTR pwcsName,
|
---|
4019 | IStorage *pstgDest,
|
---|
4020 | LPCOLESTR pwcsNewName,
|
---|
4021 | DWORD grfFlags);
|
---|
4022 |
|
---|
4023 | HRESULT (STDMETHODCALLTYPE *Commit)(
|
---|
4024 | IStorage* This,
|
---|
4025 | DWORD grfCommitFlags);
|
---|
4026 |
|
---|
4027 | HRESULT (STDMETHODCALLTYPE *Revert)(
|
---|
4028 | IStorage* This);
|
---|
4029 |
|
---|
4030 | HRESULT (STDMETHODCALLTYPE *EnumElements)(
|
---|
4031 | IStorage* This,
|
---|
4032 | DWORD reserved1,
|
---|
4033 | void *reserved2,
|
---|
4034 | DWORD reserved3,
|
---|
4035 | IEnumSTATSTG **ppenum);
|
---|
4036 |
|
---|
4037 | HRESULT (STDMETHODCALLTYPE *DestroyElement)(
|
---|
4038 | IStorage* This,
|
---|
4039 | LPCOLESTR pwcsName);
|
---|
4040 |
|
---|
4041 | HRESULT (STDMETHODCALLTYPE *RenameElement)(
|
---|
4042 | IStorage* This,
|
---|
4043 | LPCOLESTR pwcsOldName,
|
---|
4044 | LPCOLESTR pwcsNewName);
|
---|
4045 |
|
---|
4046 | HRESULT (STDMETHODCALLTYPE *SetElementTimes)(
|
---|
4047 | IStorage* This,
|
---|
4048 | LPCOLESTR pwcsName,
|
---|
4049 | const FILETIME *pctime,
|
---|
4050 | const FILETIME *patime,
|
---|
4051 | const FILETIME *pmtime);
|
---|
4052 |
|
---|
4053 | HRESULT (STDMETHODCALLTYPE *SetClass)(
|
---|
4054 | IStorage* This,
|
---|
4055 | REFCLSID clsid);
|
---|
4056 |
|
---|
4057 | HRESULT (STDMETHODCALLTYPE *SetStateBits)(
|
---|
4058 | IStorage* This,
|
---|
4059 | DWORD grfStateBits,
|
---|
4060 | DWORD grfMask);
|
---|
4061 |
|
---|
4062 | HRESULT (STDMETHODCALLTYPE *Stat)(
|
---|
4063 | IStorage* This,
|
---|
4064 | STATSTG *pstatstg,
|
---|
4065 | DWORD grfStatFlag);
|
---|
4066 |
|
---|
4067 | END_INTERFACE
|
---|
4068 | } IStorageVtbl;
|
---|
4069 | interface IStorage {
|
---|
4070 | CONST_VTBL IStorageVtbl* lpVtbl;
|
---|
4071 | };
|
---|
4072 |
|
---|
4073 | #ifdef COBJMACROS
|
---|
4074 | /*** IUnknown methods ***/
|
---|
4075 | #define IStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4076 | #define IStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4077 | #define IStorage_Release(This) (This)->lpVtbl->Release(This)
|
---|
4078 | /*** IStorage methods ***/
|
---|
4079 | #define IStorage_CreateStream(This,pwcsName,grfMode,reserved1,reserved2,ppstm) (This)->lpVtbl->CreateStream(This,pwcsName,grfMode,reserved1,reserved2,ppstm)
|
---|
4080 | #define IStorage_OpenStream(This,pwcsName,reserved1,grfMode,reserved2,ppstm) (This)->lpVtbl->OpenStream(This,pwcsName,reserved1,grfMode,reserved2,ppstm)
|
---|
4081 | #define IStorage_CreateStorage(This,pwcsName,grfMode,dwStgFmt,reserved2,ppstg) (This)->lpVtbl->CreateStorage(This,pwcsName,grfMode,dwStgFmt,reserved2,ppstg)
|
---|
4082 | #define IStorage_OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg) (This)->lpVtbl->OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg)
|
---|
4083 | #define IStorage_CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest) (This)->lpVtbl->CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest)
|
---|
4084 | #define IStorage_MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags) (This)->lpVtbl->MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags)
|
---|
4085 | #define IStorage_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags)
|
---|
4086 | #define IStorage_Revert(This) (This)->lpVtbl->Revert(This)
|
---|
4087 | #define IStorage_EnumElements(This,reserved1,reserved2,reserved3,ppenum) (This)->lpVtbl->EnumElements(This,reserved1,reserved2,reserved3,ppenum)
|
---|
4088 | #define IStorage_DestroyElement(This,pwcsName) (This)->lpVtbl->DestroyElement(This,pwcsName)
|
---|
4089 | #define IStorage_RenameElement(This,pwcsOldName,pwcsNewName) (This)->lpVtbl->RenameElement(This,pwcsOldName,pwcsNewName)
|
---|
4090 | #define IStorage_SetElementTimes(This,pwcsName,pctime,patime,pmtime) (This)->lpVtbl->SetElementTimes(This,pwcsName,pctime,patime,pmtime)
|
---|
4091 | #define IStorage_SetClass(This,clsid) (This)->lpVtbl->SetClass(This,clsid)
|
---|
4092 | #define IStorage_SetStateBits(This,grfStateBits,grfMask) (This)->lpVtbl->SetStateBits(This,grfStateBits,grfMask)
|
---|
4093 | #define IStorage_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag)
|
---|
4094 | #endif
|
---|
4095 |
|
---|
4096 | #endif
|
---|
4097 |
|
---|
4098 | HRESULT STDMETHODCALLTYPE IStorage_CreateStream_Proxy(
|
---|
4099 | IStorage* This,
|
---|
4100 | LPCOLESTR pwcsName,
|
---|
4101 | DWORD grfMode,
|
---|
4102 | DWORD reserved1,
|
---|
4103 | DWORD reserved2,
|
---|
4104 | IStream **ppstm);
|
---|
4105 | void __RPC_STUB IStorage_CreateStream_Stub(
|
---|
4106 | IRpcStubBuffer* This,
|
---|
4107 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4108 | PRPC_MESSAGE pRpcMessage,
|
---|
4109 | DWORD* pdwStubPhase);
|
---|
4110 | HRESULT STDMETHODCALLTYPE IStorage_RemoteOpenStream_Proxy(
|
---|
4111 | IStorage* This,
|
---|
4112 | LPCOLESTR pwcsName,
|
---|
4113 | ULONG cbReserved1,
|
---|
4114 | byte *reserved1,
|
---|
4115 | DWORD grfMode,
|
---|
4116 | DWORD reserved2,
|
---|
4117 | IStream **ppstm);
|
---|
4118 | void __RPC_STUB IStorage_RemoteOpenStream_Stub(
|
---|
4119 | IRpcStubBuffer* This,
|
---|
4120 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4121 | PRPC_MESSAGE pRpcMessage,
|
---|
4122 | DWORD* pdwStubPhase);
|
---|
4123 | HRESULT STDMETHODCALLTYPE IStorage_CreateStorage_Proxy(
|
---|
4124 | IStorage* This,
|
---|
4125 | LPCOLESTR pwcsName,
|
---|
4126 | DWORD grfMode,
|
---|
4127 | DWORD dwStgFmt,
|
---|
4128 | DWORD reserved2,
|
---|
4129 | IStorage **ppstg);
|
---|
4130 | void __RPC_STUB IStorage_CreateStorage_Stub(
|
---|
4131 | IRpcStubBuffer* This,
|
---|
4132 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4133 | PRPC_MESSAGE pRpcMessage,
|
---|
4134 | DWORD* pdwStubPhase);
|
---|
4135 | HRESULT STDMETHODCALLTYPE IStorage_OpenStorage_Proxy(
|
---|
4136 | IStorage* This,
|
---|
4137 | LPCOLESTR pwcsName,
|
---|
4138 | IStorage *pstgPriority,
|
---|
4139 | DWORD grfMode,
|
---|
4140 | SNB snbExclude,
|
---|
4141 | DWORD reserved,
|
---|
4142 | IStorage **ppstg);
|
---|
4143 | void __RPC_STUB IStorage_OpenStorage_Stub(
|
---|
4144 | IRpcStubBuffer* This,
|
---|
4145 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4146 | PRPC_MESSAGE pRpcMessage,
|
---|
4147 | DWORD* pdwStubPhase);
|
---|
4148 | HRESULT STDMETHODCALLTYPE IStorage_CopyTo_Proxy(
|
---|
4149 | IStorage* This,
|
---|
4150 | DWORD ciidExclude,
|
---|
4151 | const IID *rgiidExclude,
|
---|
4152 | SNB snbExclude,
|
---|
4153 | IStorage *pstgDest);
|
---|
4154 | void __RPC_STUB IStorage_CopyTo_Stub(
|
---|
4155 | IRpcStubBuffer* This,
|
---|
4156 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4157 | PRPC_MESSAGE pRpcMessage,
|
---|
4158 | DWORD* pdwStubPhase);
|
---|
4159 | HRESULT STDMETHODCALLTYPE IStorage_MoveElementTo_Proxy(
|
---|
4160 | IStorage* This,
|
---|
4161 | LPCOLESTR pwcsName,
|
---|
4162 | IStorage *pstgDest,
|
---|
4163 | LPCOLESTR pwcsNewName,
|
---|
4164 | DWORD grfFlags);
|
---|
4165 | void __RPC_STUB IStorage_MoveElementTo_Stub(
|
---|
4166 | IRpcStubBuffer* This,
|
---|
4167 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4168 | PRPC_MESSAGE pRpcMessage,
|
---|
4169 | DWORD* pdwStubPhase);
|
---|
4170 | HRESULT STDMETHODCALLTYPE IStorage_Commit_Proxy(
|
---|
4171 | IStorage* This,
|
---|
4172 | DWORD grfCommitFlags);
|
---|
4173 | void __RPC_STUB IStorage_Commit_Stub(
|
---|
4174 | IRpcStubBuffer* This,
|
---|
4175 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4176 | PRPC_MESSAGE pRpcMessage,
|
---|
4177 | DWORD* pdwStubPhase);
|
---|
4178 | HRESULT STDMETHODCALLTYPE IStorage_Revert_Proxy(
|
---|
4179 | IStorage* This);
|
---|
4180 | void __RPC_STUB IStorage_Revert_Stub(
|
---|
4181 | IRpcStubBuffer* This,
|
---|
4182 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4183 | PRPC_MESSAGE pRpcMessage,
|
---|
4184 | DWORD* pdwStubPhase);
|
---|
4185 | HRESULT STDMETHODCALLTYPE IStorage_RemoteEnumElements_Proxy(
|
---|
4186 | IStorage* This,
|
---|
4187 | DWORD reserved1,
|
---|
4188 | ULONG cbReserved2,
|
---|
4189 | byte *reserved2,
|
---|
4190 | DWORD reserved3,
|
---|
4191 | IEnumSTATSTG **ppenum);
|
---|
4192 | void __RPC_STUB IStorage_RemoteEnumElements_Stub(
|
---|
4193 | IRpcStubBuffer* This,
|
---|
4194 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4195 | PRPC_MESSAGE pRpcMessage,
|
---|
4196 | DWORD* pdwStubPhase);
|
---|
4197 | HRESULT STDMETHODCALLTYPE IStorage_DestroyElement_Proxy(
|
---|
4198 | IStorage* This,
|
---|
4199 | LPCOLESTR pwcsName);
|
---|
4200 | void __RPC_STUB IStorage_DestroyElement_Stub(
|
---|
4201 | IRpcStubBuffer* This,
|
---|
4202 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4203 | PRPC_MESSAGE pRpcMessage,
|
---|
4204 | DWORD* pdwStubPhase);
|
---|
4205 | HRESULT STDMETHODCALLTYPE IStorage_RenameElement_Proxy(
|
---|
4206 | IStorage* This,
|
---|
4207 | LPCOLESTR pwcsOldName,
|
---|
4208 | LPCOLESTR pwcsNewName);
|
---|
4209 | void __RPC_STUB IStorage_RenameElement_Stub(
|
---|
4210 | IRpcStubBuffer* This,
|
---|
4211 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4212 | PRPC_MESSAGE pRpcMessage,
|
---|
4213 | DWORD* pdwStubPhase);
|
---|
4214 | HRESULT STDMETHODCALLTYPE IStorage_SetElementTimes_Proxy(
|
---|
4215 | IStorage* This,
|
---|
4216 | LPCOLESTR pwcsName,
|
---|
4217 | const FILETIME *pctime,
|
---|
4218 | const FILETIME *patime,
|
---|
4219 | const FILETIME *pmtime);
|
---|
4220 | void __RPC_STUB IStorage_SetElementTimes_Stub(
|
---|
4221 | IRpcStubBuffer* This,
|
---|
4222 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4223 | PRPC_MESSAGE pRpcMessage,
|
---|
4224 | DWORD* pdwStubPhase);
|
---|
4225 | HRESULT STDMETHODCALLTYPE IStorage_SetClass_Proxy(
|
---|
4226 | IStorage* This,
|
---|
4227 | REFCLSID clsid);
|
---|
4228 | void __RPC_STUB IStorage_SetClass_Stub(
|
---|
4229 | IRpcStubBuffer* This,
|
---|
4230 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4231 | PRPC_MESSAGE pRpcMessage,
|
---|
4232 | DWORD* pdwStubPhase);
|
---|
4233 | HRESULT STDMETHODCALLTYPE IStorage_SetStateBits_Proxy(
|
---|
4234 | IStorage* This,
|
---|
4235 | DWORD grfStateBits,
|
---|
4236 | DWORD grfMask);
|
---|
4237 | void __RPC_STUB IStorage_SetStateBits_Stub(
|
---|
4238 | IRpcStubBuffer* This,
|
---|
4239 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4240 | PRPC_MESSAGE pRpcMessage,
|
---|
4241 | DWORD* pdwStubPhase);
|
---|
4242 | HRESULT STDMETHODCALLTYPE IStorage_Stat_Proxy(
|
---|
4243 | IStorage* This,
|
---|
4244 | STATSTG *pstatstg,
|
---|
4245 | DWORD grfStatFlag);
|
---|
4246 | void __RPC_STUB IStorage_Stat_Stub(
|
---|
4247 | IRpcStubBuffer* This,
|
---|
4248 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4249 | PRPC_MESSAGE pRpcMessage,
|
---|
4250 | DWORD* pdwStubPhase);
|
---|
4251 | HRESULT CALLBACK IStorage_OpenStream_Proxy(
|
---|
4252 | IStorage* This,
|
---|
4253 | LPCOLESTR pwcsName,
|
---|
4254 | void *reserved1,
|
---|
4255 | DWORD grfMode,
|
---|
4256 | DWORD reserved2,
|
---|
4257 | IStream **ppstm);
|
---|
4258 | HRESULT __RPC_STUB IStorage_OpenStream_Stub(
|
---|
4259 | IStorage* This,
|
---|
4260 | LPCOLESTR pwcsName,
|
---|
4261 | ULONG cbReserved1,
|
---|
4262 | byte *reserved1,
|
---|
4263 | DWORD grfMode,
|
---|
4264 | DWORD reserved2,
|
---|
4265 | IStream **ppstm);
|
---|
4266 | HRESULT CALLBACK IStorage_EnumElements_Proxy(
|
---|
4267 | IStorage* This,
|
---|
4268 | DWORD reserved1,
|
---|
4269 | void *reserved2,
|
---|
4270 | DWORD reserved3,
|
---|
4271 | IEnumSTATSTG **ppenum);
|
---|
4272 | HRESULT __RPC_STUB IStorage_EnumElements_Stub(
|
---|
4273 | IStorage* This,
|
---|
4274 | DWORD reserved1,
|
---|
4275 | ULONG cbReserved2,
|
---|
4276 | byte *reserved2,
|
---|
4277 | DWORD reserved3,
|
---|
4278 | IEnumSTATSTG **ppenum);
|
---|
4279 |
|
---|
4280 | #endif /* __IStorage_INTERFACE_DEFINED__ */
|
---|
4281 |
|
---|
4282 | /*****************************************************************************
|
---|
4283 | * IPersistFile interface
|
---|
4284 | */
|
---|
4285 | #ifndef __IPersistFile_INTERFACE_DEFINED__
|
---|
4286 | #define __IPersistFile_INTERFACE_DEFINED__
|
---|
4287 |
|
---|
4288 | typedef IPersistFile *LPPERSISTFILE;
|
---|
4289 | DEFINE_GUID(IID_IPersistFile, 0x0000010b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
4290 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4291 | interface IPersistFile : public IPersist
|
---|
4292 | {
|
---|
4293 | virtual HRESULT STDMETHODCALLTYPE IsDirty(
|
---|
4294 | ) = 0;
|
---|
4295 |
|
---|
4296 | virtual HRESULT STDMETHODCALLTYPE Load(
|
---|
4297 | LPCOLESTR pszFileName,
|
---|
4298 | DWORD dwMode) = 0;
|
---|
4299 |
|
---|
4300 | virtual HRESULT STDMETHODCALLTYPE Save(
|
---|
4301 | LPCOLESTR pszFileName,
|
---|
4302 | BOOL fRemember) = 0;
|
---|
4303 |
|
---|
4304 | virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
|
---|
4305 | LPCOLESTR pszFileName) = 0;
|
---|
4306 |
|
---|
4307 | virtual HRESULT STDMETHODCALLTYPE GetCurFile(
|
---|
4308 | LPOLESTR *ppszFileName) = 0;
|
---|
4309 |
|
---|
4310 | };
|
---|
4311 | #else
|
---|
4312 | typedef struct IPersistFileVtbl {
|
---|
4313 | BEGIN_INTERFACE
|
---|
4314 |
|
---|
4315 | /*** IUnknown methods ***/
|
---|
4316 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4317 | IPersistFile* This,
|
---|
4318 | REFIID riid,
|
---|
4319 | void **ppvObject);
|
---|
4320 |
|
---|
4321 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4322 | IPersistFile* This);
|
---|
4323 |
|
---|
4324 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4325 | IPersistFile* This);
|
---|
4326 |
|
---|
4327 | /*** IPersist methods ***/
|
---|
4328 | HRESULT (STDMETHODCALLTYPE *GetClassID)(
|
---|
4329 | IPersistFile* This,
|
---|
4330 | CLSID *pClassID);
|
---|
4331 |
|
---|
4332 | /*** IPersistFile methods ***/
|
---|
4333 | HRESULT (STDMETHODCALLTYPE *IsDirty)(
|
---|
4334 | IPersistFile* This);
|
---|
4335 |
|
---|
4336 | HRESULT (STDMETHODCALLTYPE *Load)(
|
---|
4337 | IPersistFile* This,
|
---|
4338 | LPCOLESTR pszFileName,
|
---|
4339 | DWORD dwMode);
|
---|
4340 |
|
---|
4341 | HRESULT (STDMETHODCALLTYPE *Save)(
|
---|
4342 | IPersistFile* This,
|
---|
4343 | LPCOLESTR pszFileName,
|
---|
4344 | BOOL fRemember);
|
---|
4345 |
|
---|
4346 | HRESULT (STDMETHODCALLTYPE *SaveCompleted)(
|
---|
4347 | IPersistFile* This,
|
---|
4348 | LPCOLESTR pszFileName);
|
---|
4349 |
|
---|
4350 | HRESULT (STDMETHODCALLTYPE *GetCurFile)(
|
---|
4351 | IPersistFile* This,
|
---|
4352 | LPOLESTR *ppszFileName);
|
---|
4353 |
|
---|
4354 | END_INTERFACE
|
---|
4355 | } IPersistFileVtbl;
|
---|
4356 | interface IPersistFile {
|
---|
4357 | CONST_VTBL IPersistFileVtbl* lpVtbl;
|
---|
4358 | };
|
---|
4359 |
|
---|
4360 | #ifdef COBJMACROS
|
---|
4361 | /*** IUnknown methods ***/
|
---|
4362 | #define IPersistFile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4363 | #define IPersistFile_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4364 | #define IPersistFile_Release(This) (This)->lpVtbl->Release(This)
|
---|
4365 | /*** IPersist methods ***/
|
---|
4366 | #define IPersistFile_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
|
---|
4367 | /*** IPersistFile methods ***/
|
---|
4368 | #define IPersistFile_IsDirty(This) (This)->lpVtbl->IsDirty(This)
|
---|
4369 | #define IPersistFile_Load(This,pszFileName,dwMode) (This)->lpVtbl->Load(This,pszFileName,dwMode)
|
---|
4370 | #define IPersistFile_Save(This,pszFileName,fRemember) (This)->lpVtbl->Save(This,pszFileName,fRemember)
|
---|
4371 | #define IPersistFile_SaveCompleted(This,pszFileName) (This)->lpVtbl->SaveCompleted(This,pszFileName)
|
---|
4372 | #define IPersistFile_GetCurFile(This,ppszFileName) (This)->lpVtbl->GetCurFile(This,ppszFileName)
|
---|
4373 | #endif
|
---|
4374 |
|
---|
4375 | #endif
|
---|
4376 |
|
---|
4377 | HRESULT STDMETHODCALLTYPE IPersistFile_IsDirty_Proxy(
|
---|
4378 | IPersistFile* This);
|
---|
4379 | void __RPC_STUB IPersistFile_IsDirty_Stub(
|
---|
4380 | IRpcStubBuffer* This,
|
---|
4381 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4382 | PRPC_MESSAGE pRpcMessage,
|
---|
4383 | DWORD* pdwStubPhase);
|
---|
4384 | HRESULT STDMETHODCALLTYPE IPersistFile_Load_Proxy(
|
---|
4385 | IPersistFile* This,
|
---|
4386 | LPCOLESTR pszFileName,
|
---|
4387 | DWORD dwMode);
|
---|
4388 | void __RPC_STUB IPersistFile_Load_Stub(
|
---|
4389 | IRpcStubBuffer* This,
|
---|
4390 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4391 | PRPC_MESSAGE pRpcMessage,
|
---|
4392 | DWORD* pdwStubPhase);
|
---|
4393 | HRESULT STDMETHODCALLTYPE IPersistFile_Save_Proxy(
|
---|
4394 | IPersistFile* This,
|
---|
4395 | LPCOLESTR pszFileName,
|
---|
4396 | BOOL fRemember);
|
---|
4397 | void __RPC_STUB IPersistFile_Save_Stub(
|
---|
4398 | IRpcStubBuffer* This,
|
---|
4399 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4400 | PRPC_MESSAGE pRpcMessage,
|
---|
4401 | DWORD* pdwStubPhase);
|
---|
4402 | HRESULT STDMETHODCALLTYPE IPersistFile_SaveCompleted_Proxy(
|
---|
4403 | IPersistFile* This,
|
---|
4404 | LPCOLESTR pszFileName);
|
---|
4405 | void __RPC_STUB IPersistFile_SaveCompleted_Stub(
|
---|
4406 | IRpcStubBuffer* This,
|
---|
4407 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4408 | PRPC_MESSAGE pRpcMessage,
|
---|
4409 | DWORD* pdwStubPhase);
|
---|
4410 | HRESULT STDMETHODCALLTYPE IPersistFile_GetCurFile_Proxy(
|
---|
4411 | IPersistFile* This,
|
---|
4412 | LPOLESTR *ppszFileName);
|
---|
4413 | void __RPC_STUB IPersistFile_GetCurFile_Stub(
|
---|
4414 | IRpcStubBuffer* This,
|
---|
4415 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4416 | PRPC_MESSAGE pRpcMessage,
|
---|
4417 | DWORD* pdwStubPhase);
|
---|
4418 |
|
---|
4419 | #endif /* __IPersistFile_INTERFACE_DEFINED__ */
|
---|
4420 |
|
---|
4421 | /*****************************************************************************
|
---|
4422 | * IPersistStorage interface
|
---|
4423 | */
|
---|
4424 | #ifndef __IPersistStorage_INTERFACE_DEFINED__
|
---|
4425 | #define __IPersistStorage_INTERFACE_DEFINED__
|
---|
4426 |
|
---|
4427 | typedef IPersistStorage *LPPERSISTSTORAGE;
|
---|
4428 | DEFINE_GUID(IID_IPersistStorage, 0x0000010a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
4429 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4430 | interface IPersistStorage : public IPersist
|
---|
4431 | {
|
---|
4432 | virtual HRESULT STDMETHODCALLTYPE IsDirty(
|
---|
4433 | ) = 0;
|
---|
4434 |
|
---|
4435 | virtual HRESULT STDMETHODCALLTYPE InitNew(
|
---|
4436 | IStorage *pStg) = 0;
|
---|
4437 |
|
---|
4438 | virtual HRESULT STDMETHODCALLTYPE Load(
|
---|
4439 | IStorage *pStg) = 0;
|
---|
4440 |
|
---|
4441 | virtual HRESULT STDMETHODCALLTYPE Save(
|
---|
4442 | IStorage *pStgSave,
|
---|
4443 | BOOL fSameAsLoad) = 0;
|
---|
4444 |
|
---|
4445 | virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
|
---|
4446 | IStorage *pStgNew) = 0;
|
---|
4447 |
|
---|
4448 | virtual HRESULT STDMETHODCALLTYPE HandsOffStorage(
|
---|
4449 | ) = 0;
|
---|
4450 |
|
---|
4451 | };
|
---|
4452 | #else
|
---|
4453 | typedef struct IPersistStorageVtbl {
|
---|
4454 | BEGIN_INTERFACE
|
---|
4455 |
|
---|
4456 | /*** IUnknown methods ***/
|
---|
4457 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4458 | IPersistStorage* This,
|
---|
4459 | REFIID riid,
|
---|
4460 | void **ppvObject);
|
---|
4461 |
|
---|
4462 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4463 | IPersistStorage* This);
|
---|
4464 |
|
---|
4465 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4466 | IPersistStorage* This);
|
---|
4467 |
|
---|
4468 | /*** IPersist methods ***/
|
---|
4469 | HRESULT (STDMETHODCALLTYPE *GetClassID)(
|
---|
4470 | IPersistStorage* This,
|
---|
4471 | CLSID *pClassID);
|
---|
4472 |
|
---|
4473 | /*** IPersistStorage methods ***/
|
---|
4474 | HRESULT (STDMETHODCALLTYPE *IsDirty)(
|
---|
4475 | IPersistStorage* This);
|
---|
4476 |
|
---|
4477 | HRESULT (STDMETHODCALLTYPE *InitNew)(
|
---|
4478 | IPersistStorage* This,
|
---|
4479 | IStorage *pStg);
|
---|
4480 |
|
---|
4481 | HRESULT (STDMETHODCALLTYPE *Load)(
|
---|
4482 | IPersistStorage* This,
|
---|
4483 | IStorage *pStg);
|
---|
4484 |
|
---|
4485 | HRESULT (STDMETHODCALLTYPE *Save)(
|
---|
4486 | IPersistStorage* This,
|
---|
4487 | IStorage *pStgSave,
|
---|
4488 | BOOL fSameAsLoad);
|
---|
4489 |
|
---|
4490 | HRESULT (STDMETHODCALLTYPE *SaveCompleted)(
|
---|
4491 | IPersistStorage* This,
|
---|
4492 | IStorage *pStgNew);
|
---|
4493 |
|
---|
4494 | HRESULT (STDMETHODCALLTYPE *HandsOffStorage)(
|
---|
4495 | IPersistStorage* This);
|
---|
4496 |
|
---|
4497 | END_INTERFACE
|
---|
4498 | } IPersistStorageVtbl;
|
---|
4499 | interface IPersistStorage {
|
---|
4500 | CONST_VTBL IPersistStorageVtbl* lpVtbl;
|
---|
4501 | };
|
---|
4502 |
|
---|
4503 | #ifdef COBJMACROS
|
---|
4504 | /*** IUnknown methods ***/
|
---|
4505 | #define IPersistStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4506 | #define IPersistStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4507 | #define IPersistStorage_Release(This) (This)->lpVtbl->Release(This)
|
---|
4508 | /*** IPersist methods ***/
|
---|
4509 | #define IPersistStorage_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
|
---|
4510 | /*** IPersistStorage methods ***/
|
---|
4511 | #define IPersistStorage_IsDirty(This) (This)->lpVtbl->IsDirty(This)
|
---|
4512 | #define IPersistStorage_InitNew(This,pStg) (This)->lpVtbl->InitNew(This,pStg)
|
---|
4513 | #define IPersistStorage_Load(This,pStg) (This)->lpVtbl->Load(This,pStg)
|
---|
4514 | #define IPersistStorage_Save(This,pStgSave,fSameAsLoad) (This)->lpVtbl->Save(This,pStgSave,fSameAsLoad)
|
---|
4515 | #define IPersistStorage_SaveCompleted(This,pStgNew) (This)->lpVtbl->SaveCompleted(This,pStgNew)
|
---|
4516 | #define IPersistStorage_HandsOffStorage(This) (This)->lpVtbl->HandsOffStorage(This)
|
---|
4517 | #endif
|
---|
4518 |
|
---|
4519 | #endif
|
---|
4520 |
|
---|
4521 | HRESULT STDMETHODCALLTYPE IPersistStorage_IsDirty_Proxy(
|
---|
4522 | IPersistStorage* This);
|
---|
4523 | void __RPC_STUB IPersistStorage_IsDirty_Stub(
|
---|
4524 | IRpcStubBuffer* This,
|
---|
4525 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4526 | PRPC_MESSAGE pRpcMessage,
|
---|
4527 | DWORD* pdwStubPhase);
|
---|
4528 | HRESULT STDMETHODCALLTYPE IPersistStorage_InitNew_Proxy(
|
---|
4529 | IPersistStorage* This,
|
---|
4530 | IStorage *pStg);
|
---|
4531 | void __RPC_STUB IPersistStorage_InitNew_Stub(
|
---|
4532 | IRpcStubBuffer* This,
|
---|
4533 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4534 | PRPC_MESSAGE pRpcMessage,
|
---|
4535 | DWORD* pdwStubPhase);
|
---|
4536 | HRESULT STDMETHODCALLTYPE IPersistStorage_Load_Proxy(
|
---|
4537 | IPersistStorage* This,
|
---|
4538 | IStorage *pStg);
|
---|
4539 | void __RPC_STUB IPersistStorage_Load_Stub(
|
---|
4540 | IRpcStubBuffer* This,
|
---|
4541 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4542 | PRPC_MESSAGE pRpcMessage,
|
---|
4543 | DWORD* pdwStubPhase);
|
---|
4544 | HRESULT STDMETHODCALLTYPE IPersistStorage_Save_Proxy(
|
---|
4545 | IPersistStorage* This,
|
---|
4546 | IStorage *pStgSave,
|
---|
4547 | BOOL fSameAsLoad);
|
---|
4548 | void __RPC_STUB IPersistStorage_Save_Stub(
|
---|
4549 | IRpcStubBuffer* This,
|
---|
4550 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4551 | PRPC_MESSAGE pRpcMessage,
|
---|
4552 | DWORD* pdwStubPhase);
|
---|
4553 | HRESULT STDMETHODCALLTYPE IPersistStorage_SaveCompleted_Proxy(
|
---|
4554 | IPersistStorage* This,
|
---|
4555 | IStorage *pStgNew);
|
---|
4556 | void __RPC_STUB IPersistStorage_SaveCompleted_Stub(
|
---|
4557 | IRpcStubBuffer* This,
|
---|
4558 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4559 | PRPC_MESSAGE pRpcMessage,
|
---|
4560 | DWORD* pdwStubPhase);
|
---|
4561 | HRESULT STDMETHODCALLTYPE IPersistStorage_HandsOffStorage_Proxy(
|
---|
4562 | IPersistStorage* This);
|
---|
4563 | void __RPC_STUB IPersistStorage_HandsOffStorage_Stub(
|
---|
4564 | IRpcStubBuffer* This,
|
---|
4565 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4566 | PRPC_MESSAGE pRpcMessage,
|
---|
4567 | DWORD* pdwStubPhase);
|
---|
4568 |
|
---|
4569 | #endif /* __IPersistStorage_INTERFACE_DEFINED__ */
|
---|
4570 |
|
---|
4571 | /*****************************************************************************
|
---|
4572 | * IRootStorage interface
|
---|
4573 | */
|
---|
4574 | #ifndef __IRootStorage_INTERFACE_DEFINED__
|
---|
4575 | #define __IRootStorage_INTERFACE_DEFINED__
|
---|
4576 |
|
---|
4577 | typedef IRootStorage *LPROOTSTORAGE;
|
---|
4578 | DEFINE_GUID(IID_IRootStorage, 0x00000012, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
4579 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4580 | interface IRootStorage : public IUnknown
|
---|
4581 | {
|
---|
4582 | virtual HRESULT STDMETHODCALLTYPE SwitchToFile(
|
---|
4583 | LPOLESTR pszFile) = 0;
|
---|
4584 |
|
---|
4585 | };
|
---|
4586 | #else
|
---|
4587 | typedef struct IRootStorageVtbl {
|
---|
4588 | BEGIN_INTERFACE
|
---|
4589 |
|
---|
4590 | /*** IUnknown methods ***/
|
---|
4591 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4592 | IRootStorage* This,
|
---|
4593 | REFIID riid,
|
---|
4594 | void **ppvObject);
|
---|
4595 |
|
---|
4596 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4597 | IRootStorage* This);
|
---|
4598 |
|
---|
4599 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4600 | IRootStorage* This);
|
---|
4601 |
|
---|
4602 | /*** IRootStorage methods ***/
|
---|
4603 | HRESULT (STDMETHODCALLTYPE *SwitchToFile)(
|
---|
4604 | IRootStorage* This,
|
---|
4605 | LPOLESTR pszFile);
|
---|
4606 |
|
---|
4607 | END_INTERFACE
|
---|
4608 | } IRootStorageVtbl;
|
---|
4609 | interface IRootStorage {
|
---|
4610 | CONST_VTBL IRootStorageVtbl* lpVtbl;
|
---|
4611 | };
|
---|
4612 |
|
---|
4613 | #ifdef COBJMACROS
|
---|
4614 | /*** IUnknown methods ***/
|
---|
4615 | #define IRootStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4616 | #define IRootStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4617 | #define IRootStorage_Release(This) (This)->lpVtbl->Release(This)
|
---|
4618 | /*** IRootStorage methods ***/
|
---|
4619 | #define IRootStorage_SwitchToFile(This,pszFile) (This)->lpVtbl->SwitchToFile(This,pszFile)
|
---|
4620 | #endif
|
---|
4621 |
|
---|
4622 | #endif
|
---|
4623 |
|
---|
4624 | HRESULT STDMETHODCALLTYPE IRootStorage_SwitchToFile_Proxy(
|
---|
4625 | IRootStorage* This,
|
---|
4626 | LPOLESTR pszFile);
|
---|
4627 | void __RPC_STUB IRootStorage_SwitchToFile_Stub(
|
---|
4628 | IRpcStubBuffer* This,
|
---|
4629 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4630 | PRPC_MESSAGE pRpcMessage,
|
---|
4631 | DWORD* pdwStubPhase);
|
---|
4632 |
|
---|
4633 | #endif /* __IRootStorage_INTERFACE_DEFINED__ */
|
---|
4634 |
|
---|
4635 | /*****************************************************************************
|
---|
4636 | * ILockBytes interface
|
---|
4637 | */
|
---|
4638 | #ifndef __ILockBytes_INTERFACE_DEFINED__
|
---|
4639 | #define __ILockBytes_INTERFACE_DEFINED__
|
---|
4640 |
|
---|
4641 | typedef ILockBytes *LPLOCKBYTES;
|
---|
4642 | DEFINE_GUID(IID_ILockBytes, 0x0000000a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
4643 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4644 | interface ILockBytes : public IUnknown
|
---|
4645 | {
|
---|
4646 | virtual HRESULT STDMETHODCALLTYPE ReadAt(
|
---|
4647 | ULARGE_INTEGER ulOffset,
|
---|
4648 | void *pv,
|
---|
4649 | ULONG cb,
|
---|
4650 | ULONG *pcbRead) = 0;
|
---|
4651 |
|
---|
4652 | virtual HRESULT STDMETHODCALLTYPE WriteAt(
|
---|
4653 | ULARGE_INTEGER ulOffset,
|
---|
4654 | const void *pv,
|
---|
4655 | ULONG cb,
|
---|
4656 | ULONG *pcbWritten) = 0;
|
---|
4657 |
|
---|
4658 | virtual HRESULT STDMETHODCALLTYPE Flush(
|
---|
4659 | ) = 0;
|
---|
4660 |
|
---|
4661 | virtual HRESULT STDMETHODCALLTYPE SetSize(
|
---|
4662 | ULARGE_INTEGER cb) = 0;
|
---|
4663 |
|
---|
4664 | virtual HRESULT STDMETHODCALLTYPE LockRegion(
|
---|
4665 | ULARGE_INTEGER libOffset,
|
---|
4666 | ULARGE_INTEGER cb,
|
---|
4667 | DWORD dwLockType) = 0;
|
---|
4668 |
|
---|
4669 | virtual HRESULT STDMETHODCALLTYPE UnlockRegion(
|
---|
4670 | ULARGE_INTEGER libOffset,
|
---|
4671 | ULARGE_INTEGER cb,
|
---|
4672 | DWORD dwLockType) = 0;
|
---|
4673 |
|
---|
4674 | virtual HRESULT STDMETHODCALLTYPE Stat(
|
---|
4675 | STATSTG *pstatstg,
|
---|
4676 | DWORD grfStatFlag) = 0;
|
---|
4677 |
|
---|
4678 | };
|
---|
4679 | #else
|
---|
4680 | typedef struct ILockBytesVtbl {
|
---|
4681 | BEGIN_INTERFACE
|
---|
4682 |
|
---|
4683 | /*** IUnknown methods ***/
|
---|
4684 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4685 | ILockBytes* This,
|
---|
4686 | REFIID riid,
|
---|
4687 | void **ppvObject);
|
---|
4688 |
|
---|
4689 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4690 | ILockBytes* This);
|
---|
4691 |
|
---|
4692 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4693 | ILockBytes* This);
|
---|
4694 |
|
---|
4695 | /*** ILockBytes methods ***/
|
---|
4696 | HRESULT (STDMETHODCALLTYPE *ReadAt)(
|
---|
4697 | ILockBytes* This,
|
---|
4698 | ULARGE_INTEGER ulOffset,
|
---|
4699 | void *pv,
|
---|
4700 | ULONG cb,
|
---|
4701 | ULONG *pcbRead);
|
---|
4702 |
|
---|
4703 | HRESULT (STDMETHODCALLTYPE *WriteAt)(
|
---|
4704 | ILockBytes* This,
|
---|
4705 | ULARGE_INTEGER ulOffset,
|
---|
4706 | const void *pv,
|
---|
4707 | ULONG cb,
|
---|
4708 | ULONG *pcbWritten);
|
---|
4709 |
|
---|
4710 | HRESULT (STDMETHODCALLTYPE *Flush)(
|
---|
4711 | ILockBytes* This);
|
---|
4712 |
|
---|
4713 | HRESULT (STDMETHODCALLTYPE *SetSize)(
|
---|
4714 | ILockBytes* This,
|
---|
4715 | ULARGE_INTEGER cb);
|
---|
4716 |
|
---|
4717 | HRESULT (STDMETHODCALLTYPE *LockRegion)(
|
---|
4718 | ILockBytes* This,
|
---|
4719 | ULARGE_INTEGER libOffset,
|
---|
4720 | ULARGE_INTEGER cb,
|
---|
4721 | DWORD dwLockType);
|
---|
4722 |
|
---|
4723 | HRESULT (STDMETHODCALLTYPE *UnlockRegion)(
|
---|
4724 | ILockBytes* This,
|
---|
4725 | ULARGE_INTEGER libOffset,
|
---|
4726 | ULARGE_INTEGER cb,
|
---|
4727 | DWORD dwLockType);
|
---|
4728 |
|
---|
4729 | HRESULT (STDMETHODCALLTYPE *Stat)(
|
---|
4730 | ILockBytes* This,
|
---|
4731 | STATSTG *pstatstg,
|
---|
4732 | DWORD grfStatFlag);
|
---|
4733 |
|
---|
4734 | END_INTERFACE
|
---|
4735 | } ILockBytesVtbl;
|
---|
4736 | interface ILockBytes {
|
---|
4737 | CONST_VTBL ILockBytesVtbl* lpVtbl;
|
---|
4738 | };
|
---|
4739 |
|
---|
4740 | #ifdef COBJMACROS
|
---|
4741 | /*** IUnknown methods ***/
|
---|
4742 | #define ILockBytes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4743 | #define ILockBytes_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4744 | #define ILockBytes_Release(This) (This)->lpVtbl->Release(This)
|
---|
4745 | /*** ILockBytes methods ***/
|
---|
4746 | #define ILockBytes_ReadAt(This,ulOffset,pv,cb,pcbRead) (This)->lpVtbl->ReadAt(This,ulOffset,pv,cb,pcbRead)
|
---|
4747 | #define ILockBytes_WriteAt(This,ulOffset,pv,cb,pcbWritten) (This)->lpVtbl->WriteAt(This,ulOffset,pv,cb,pcbWritten)
|
---|
4748 | #define ILockBytes_Flush(This) (This)->lpVtbl->Flush(This)
|
---|
4749 | #define ILockBytes_SetSize(This,cb) (This)->lpVtbl->SetSize(This,cb)
|
---|
4750 | #define ILockBytes_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType)
|
---|
4751 | #define ILockBytes_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType)
|
---|
4752 | #define ILockBytes_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag)
|
---|
4753 | #endif
|
---|
4754 |
|
---|
4755 | #endif
|
---|
4756 |
|
---|
4757 | HRESULT STDMETHODCALLTYPE ILockBytes_RemoteReadAt_Proxy(
|
---|
4758 | ILockBytes* This,
|
---|
4759 | ULARGE_INTEGER ulOffset,
|
---|
4760 | byte *pv,
|
---|
4761 | ULONG cb,
|
---|
4762 | ULONG *pcbRead);
|
---|
4763 | void __RPC_STUB ILockBytes_RemoteReadAt_Stub(
|
---|
4764 | IRpcStubBuffer* This,
|
---|
4765 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4766 | PRPC_MESSAGE pRpcMessage,
|
---|
4767 | DWORD* pdwStubPhase);
|
---|
4768 | HRESULT STDMETHODCALLTYPE ILockBytes_RemoteWriteAt_Proxy(
|
---|
4769 | ILockBytes* This,
|
---|
4770 | ULARGE_INTEGER ulOffset,
|
---|
4771 | const byte *pv,
|
---|
4772 | ULONG cb,
|
---|
4773 | ULONG *pcbWritten);
|
---|
4774 | void __RPC_STUB ILockBytes_RemoteWriteAt_Stub(
|
---|
4775 | IRpcStubBuffer* This,
|
---|
4776 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4777 | PRPC_MESSAGE pRpcMessage,
|
---|
4778 | DWORD* pdwStubPhase);
|
---|
4779 | HRESULT STDMETHODCALLTYPE ILockBytes_Flush_Proxy(
|
---|
4780 | ILockBytes* This);
|
---|
4781 | void __RPC_STUB ILockBytes_Flush_Stub(
|
---|
4782 | IRpcStubBuffer* This,
|
---|
4783 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4784 | PRPC_MESSAGE pRpcMessage,
|
---|
4785 | DWORD* pdwStubPhase);
|
---|
4786 | HRESULT STDMETHODCALLTYPE ILockBytes_SetSize_Proxy(
|
---|
4787 | ILockBytes* This,
|
---|
4788 | ULARGE_INTEGER cb);
|
---|
4789 | void __RPC_STUB ILockBytes_SetSize_Stub(
|
---|
4790 | IRpcStubBuffer* This,
|
---|
4791 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4792 | PRPC_MESSAGE pRpcMessage,
|
---|
4793 | DWORD* pdwStubPhase);
|
---|
4794 | HRESULT STDMETHODCALLTYPE ILockBytes_LockRegion_Proxy(
|
---|
4795 | ILockBytes* This,
|
---|
4796 | ULARGE_INTEGER libOffset,
|
---|
4797 | ULARGE_INTEGER cb,
|
---|
4798 | DWORD dwLockType);
|
---|
4799 | void __RPC_STUB ILockBytes_LockRegion_Stub(
|
---|
4800 | IRpcStubBuffer* This,
|
---|
4801 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4802 | PRPC_MESSAGE pRpcMessage,
|
---|
4803 | DWORD* pdwStubPhase);
|
---|
4804 | HRESULT STDMETHODCALLTYPE ILockBytes_UnlockRegion_Proxy(
|
---|
4805 | ILockBytes* This,
|
---|
4806 | ULARGE_INTEGER libOffset,
|
---|
4807 | ULARGE_INTEGER cb,
|
---|
4808 | DWORD dwLockType);
|
---|
4809 | void __RPC_STUB ILockBytes_UnlockRegion_Stub(
|
---|
4810 | IRpcStubBuffer* This,
|
---|
4811 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4812 | PRPC_MESSAGE pRpcMessage,
|
---|
4813 | DWORD* pdwStubPhase);
|
---|
4814 | HRESULT STDMETHODCALLTYPE ILockBytes_Stat_Proxy(
|
---|
4815 | ILockBytes* This,
|
---|
4816 | STATSTG *pstatstg,
|
---|
4817 | DWORD grfStatFlag);
|
---|
4818 | void __RPC_STUB ILockBytes_Stat_Stub(
|
---|
4819 | IRpcStubBuffer* This,
|
---|
4820 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4821 | PRPC_MESSAGE pRpcMessage,
|
---|
4822 | DWORD* pdwStubPhase);
|
---|
4823 | HRESULT CALLBACK ILockBytes_ReadAt_Proxy(
|
---|
4824 | ILockBytes* This,
|
---|
4825 | ULARGE_INTEGER ulOffset,
|
---|
4826 | void *pv,
|
---|
4827 | ULONG cb,
|
---|
4828 | ULONG *pcbRead);
|
---|
4829 | HRESULT __RPC_STUB ILockBytes_ReadAt_Stub(
|
---|
4830 | ILockBytes* This,
|
---|
4831 | ULARGE_INTEGER ulOffset,
|
---|
4832 | byte *pv,
|
---|
4833 | ULONG cb,
|
---|
4834 | ULONG *pcbRead);
|
---|
4835 | HRESULT CALLBACK ILockBytes_WriteAt_Proxy(
|
---|
4836 | ILockBytes* This,
|
---|
4837 | ULARGE_INTEGER ulOffset,
|
---|
4838 | const void *pv,
|
---|
4839 | ULONG cb,
|
---|
4840 | ULONG *pcbWritten);
|
---|
4841 | HRESULT __RPC_STUB ILockBytes_WriteAt_Stub(
|
---|
4842 | ILockBytes* This,
|
---|
4843 | ULARGE_INTEGER ulOffset,
|
---|
4844 | const byte *pv,
|
---|
4845 | ULONG cb,
|
---|
4846 | ULONG *pcbWritten);
|
---|
4847 |
|
---|
4848 | #endif /* __ILockBytes_INTERFACE_DEFINED__ */
|
---|
4849 |
|
---|
4850 | /*****************************************************************************
|
---|
4851 | * IFillLockBytes interface
|
---|
4852 | */
|
---|
4853 | #ifndef __IFillLockBytes_INTERFACE_DEFINED__
|
---|
4854 | #define __IFillLockBytes_INTERFACE_DEFINED__
|
---|
4855 |
|
---|
4856 | DEFINE_GUID(IID_IFillLockBytes, 0x99caf010, 0x415e, 0x11cf, 0x88,0x14, 0x00,0xaa,0x00,0xb5,0x69,0xf5);
|
---|
4857 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4858 | interface IFillLockBytes : public IUnknown
|
---|
4859 | {
|
---|
4860 | virtual HRESULT STDMETHODCALLTYPE FillAppend(
|
---|
4861 | const void *pv,
|
---|
4862 | ULONG cb,
|
---|
4863 | ULONG *pcbWritten) = 0;
|
---|
4864 |
|
---|
4865 | virtual HRESULT STDMETHODCALLTYPE FillAt(
|
---|
4866 | ULARGE_INTEGER ulOffset,
|
---|
4867 | const void *pv,
|
---|
4868 | ULONG cb,
|
---|
4869 | ULONG *pcbWritten) = 0;
|
---|
4870 |
|
---|
4871 | virtual HRESULT STDMETHODCALLTYPE SetFillSize(
|
---|
4872 | ULARGE_INTEGER ulSize) = 0;
|
---|
4873 |
|
---|
4874 | virtual HRESULT STDMETHODCALLTYPE Terminate(
|
---|
4875 | BOOL bCanceled) = 0;
|
---|
4876 |
|
---|
4877 | };
|
---|
4878 | #else
|
---|
4879 | typedef struct IFillLockBytesVtbl {
|
---|
4880 | BEGIN_INTERFACE
|
---|
4881 |
|
---|
4882 | /*** IUnknown methods ***/
|
---|
4883 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4884 | IFillLockBytes* This,
|
---|
4885 | REFIID riid,
|
---|
4886 | void **ppvObject);
|
---|
4887 |
|
---|
4888 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4889 | IFillLockBytes* This);
|
---|
4890 |
|
---|
4891 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4892 | IFillLockBytes* This);
|
---|
4893 |
|
---|
4894 | /*** IFillLockBytes methods ***/
|
---|
4895 | HRESULT (STDMETHODCALLTYPE *FillAppend)(
|
---|
4896 | IFillLockBytes* This,
|
---|
4897 | const void *pv,
|
---|
4898 | ULONG cb,
|
---|
4899 | ULONG *pcbWritten);
|
---|
4900 |
|
---|
4901 | HRESULT (STDMETHODCALLTYPE *FillAt)(
|
---|
4902 | IFillLockBytes* This,
|
---|
4903 | ULARGE_INTEGER ulOffset,
|
---|
4904 | const void *pv,
|
---|
4905 | ULONG cb,
|
---|
4906 | ULONG *pcbWritten);
|
---|
4907 |
|
---|
4908 | HRESULT (STDMETHODCALLTYPE *SetFillSize)(
|
---|
4909 | IFillLockBytes* This,
|
---|
4910 | ULARGE_INTEGER ulSize);
|
---|
4911 |
|
---|
4912 | HRESULT (STDMETHODCALLTYPE *Terminate)(
|
---|
4913 | IFillLockBytes* This,
|
---|
4914 | BOOL bCanceled);
|
---|
4915 |
|
---|
4916 | END_INTERFACE
|
---|
4917 | } IFillLockBytesVtbl;
|
---|
4918 | interface IFillLockBytes {
|
---|
4919 | CONST_VTBL IFillLockBytesVtbl* lpVtbl;
|
---|
4920 | };
|
---|
4921 |
|
---|
4922 | #ifdef COBJMACROS
|
---|
4923 | /*** IUnknown methods ***/
|
---|
4924 | #define IFillLockBytes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4925 | #define IFillLockBytes_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4926 | #define IFillLockBytes_Release(This) (This)->lpVtbl->Release(This)
|
---|
4927 | /*** IFillLockBytes methods ***/
|
---|
4928 | #define IFillLockBytes_FillAppend(This,pv,cb,pcbWritten) (This)->lpVtbl->FillAppend(This,pv,cb,pcbWritten)
|
---|
4929 | #define IFillLockBytes_FillAt(This,ulOffset,pv,cb,pcbWritten) (This)->lpVtbl->FillAt(This,ulOffset,pv,cb,pcbWritten)
|
---|
4930 | #define IFillLockBytes_SetFillSize(This,ulSize) (This)->lpVtbl->SetFillSize(This,ulSize)
|
---|
4931 | #define IFillLockBytes_Terminate(This,bCanceled) (This)->lpVtbl->Terminate(This,bCanceled)
|
---|
4932 | #endif
|
---|
4933 |
|
---|
4934 | #endif
|
---|
4935 |
|
---|
4936 | HRESULT STDMETHODCALLTYPE IFillLockBytes_RemoteFillAppend_Proxy(
|
---|
4937 | IFillLockBytes* This,
|
---|
4938 | const byte *pv,
|
---|
4939 | ULONG cb,
|
---|
4940 | ULONG *pcbWritten);
|
---|
4941 | void __RPC_STUB IFillLockBytes_RemoteFillAppend_Stub(
|
---|
4942 | IRpcStubBuffer* This,
|
---|
4943 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4944 | PRPC_MESSAGE pRpcMessage,
|
---|
4945 | DWORD* pdwStubPhase);
|
---|
4946 | HRESULT STDMETHODCALLTYPE IFillLockBytes_RemoteFillAt_Proxy(
|
---|
4947 | IFillLockBytes* This,
|
---|
4948 | ULARGE_INTEGER ulOffset,
|
---|
4949 | const byte *pv,
|
---|
4950 | ULONG cb,
|
---|
4951 | ULONG *pcbWritten);
|
---|
4952 | void __RPC_STUB IFillLockBytes_RemoteFillAt_Stub(
|
---|
4953 | IRpcStubBuffer* This,
|
---|
4954 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4955 | PRPC_MESSAGE pRpcMessage,
|
---|
4956 | DWORD* pdwStubPhase);
|
---|
4957 | HRESULT STDMETHODCALLTYPE IFillLockBytes_SetFillSize_Proxy(
|
---|
4958 | IFillLockBytes* This,
|
---|
4959 | ULARGE_INTEGER ulSize);
|
---|
4960 | void __RPC_STUB IFillLockBytes_SetFillSize_Stub(
|
---|
4961 | IRpcStubBuffer* This,
|
---|
4962 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4963 | PRPC_MESSAGE pRpcMessage,
|
---|
4964 | DWORD* pdwStubPhase);
|
---|
4965 | HRESULT STDMETHODCALLTYPE IFillLockBytes_Terminate_Proxy(
|
---|
4966 | IFillLockBytes* This,
|
---|
4967 | BOOL bCanceled);
|
---|
4968 | void __RPC_STUB IFillLockBytes_Terminate_Stub(
|
---|
4969 | IRpcStubBuffer* This,
|
---|
4970 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4971 | PRPC_MESSAGE pRpcMessage,
|
---|
4972 | DWORD* pdwStubPhase);
|
---|
4973 | HRESULT CALLBACK IFillLockBytes_FillAppend_Proxy(
|
---|
4974 | IFillLockBytes* This,
|
---|
4975 | const void *pv,
|
---|
4976 | ULONG cb,
|
---|
4977 | ULONG *pcbWritten);
|
---|
4978 | HRESULT __RPC_STUB IFillLockBytes_FillAppend_Stub(
|
---|
4979 | IFillLockBytes* This,
|
---|
4980 | const byte *pv,
|
---|
4981 | ULONG cb,
|
---|
4982 | ULONG *pcbWritten);
|
---|
4983 | HRESULT CALLBACK IFillLockBytes_FillAt_Proxy(
|
---|
4984 | IFillLockBytes* This,
|
---|
4985 | ULARGE_INTEGER ulOffset,
|
---|
4986 | const void *pv,
|
---|
4987 | ULONG cb,
|
---|
4988 | ULONG *pcbWritten);
|
---|
4989 | HRESULT __RPC_STUB IFillLockBytes_FillAt_Stub(
|
---|
4990 | IFillLockBytes* This,
|
---|
4991 | ULARGE_INTEGER ulOffset,
|
---|
4992 | const byte *pv,
|
---|
4993 | ULONG cb,
|
---|
4994 | ULONG *pcbWritten);
|
---|
4995 |
|
---|
4996 | #endif /* __IFillLockBytes_INTERFACE_DEFINED__ */
|
---|
4997 |
|
---|
4998 | /*****************************************************************************
|
---|
4999 | * IProgressNotify interface
|
---|
5000 | */
|
---|
5001 | #ifndef __IProgressNotify_INTERFACE_DEFINED__
|
---|
5002 | #define __IProgressNotify_INTERFACE_DEFINED__
|
---|
5003 |
|
---|
5004 | DEFINE_GUID(IID_IProgressNotify, 0xa9d758a0, 0x4617, 0x11cf, 0x95,0xfc, 0x00,0xaa,0x00,0x68,0x0d,0xb4);
|
---|
5005 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5006 | interface IProgressNotify : public IUnknown
|
---|
5007 | {
|
---|
5008 | virtual HRESULT STDMETHODCALLTYPE OnProgress(
|
---|
5009 | DWORD dwProgressCurrent,
|
---|
5010 | DWORD dwProgressMaximum,
|
---|
5011 | BOOL fAccurate,
|
---|
5012 | BOOL fOwner) = 0;
|
---|
5013 |
|
---|
5014 | };
|
---|
5015 | #else
|
---|
5016 | typedef struct IProgressNotifyVtbl {
|
---|
5017 | BEGIN_INTERFACE
|
---|
5018 |
|
---|
5019 | /*** IUnknown methods ***/
|
---|
5020 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5021 | IProgressNotify* This,
|
---|
5022 | REFIID riid,
|
---|
5023 | void **ppvObject);
|
---|
5024 |
|
---|
5025 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5026 | IProgressNotify* This);
|
---|
5027 |
|
---|
5028 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5029 | IProgressNotify* This);
|
---|
5030 |
|
---|
5031 | /*** IProgressNotify methods ***/
|
---|
5032 | HRESULT (STDMETHODCALLTYPE *OnProgress)(
|
---|
5033 | IProgressNotify* This,
|
---|
5034 | DWORD dwProgressCurrent,
|
---|
5035 | DWORD dwProgressMaximum,
|
---|
5036 | BOOL fAccurate,
|
---|
5037 | BOOL fOwner);
|
---|
5038 |
|
---|
5039 | END_INTERFACE
|
---|
5040 | } IProgressNotifyVtbl;
|
---|
5041 | interface IProgressNotify {
|
---|
5042 | CONST_VTBL IProgressNotifyVtbl* lpVtbl;
|
---|
5043 | };
|
---|
5044 |
|
---|
5045 | #ifdef COBJMACROS
|
---|
5046 | /*** IUnknown methods ***/
|
---|
5047 | #define IProgressNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5048 | #define IProgressNotify_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5049 | #define IProgressNotify_Release(This) (This)->lpVtbl->Release(This)
|
---|
5050 | /*** IProgressNotify methods ***/
|
---|
5051 | #define IProgressNotify_OnProgress(This,dwProgressCurrent,dwProgressMaximum,fAccurate,fOwner) (This)->lpVtbl->OnProgress(This,dwProgressCurrent,dwProgressMaximum,fAccurate,fOwner)
|
---|
5052 | #endif
|
---|
5053 |
|
---|
5054 | #endif
|
---|
5055 |
|
---|
5056 | HRESULT STDMETHODCALLTYPE IProgressNotify_OnProgress_Proxy(
|
---|
5057 | IProgressNotify* This,
|
---|
5058 | DWORD dwProgressCurrent,
|
---|
5059 | DWORD dwProgressMaximum,
|
---|
5060 | BOOL fAccurate,
|
---|
5061 | BOOL fOwner);
|
---|
5062 | void __RPC_STUB IProgressNotify_OnProgress_Stub(
|
---|
5063 | IRpcStubBuffer* This,
|
---|
5064 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5065 | PRPC_MESSAGE pRpcMessage,
|
---|
5066 | DWORD* pdwStubPhase);
|
---|
5067 |
|
---|
5068 | #endif /* __IProgressNotify_INTERFACE_DEFINED__ */
|
---|
5069 |
|
---|
5070 | /*****************************************************************************
|
---|
5071 | * ILayoutStorage interface
|
---|
5072 | */
|
---|
5073 | #ifndef __ILayoutStorage_INTERFACE_DEFINED__
|
---|
5074 | #define __ILayoutStorage_INTERFACE_DEFINED__
|
---|
5075 |
|
---|
5076 | typedef struct tagStorageLayout {
|
---|
5077 | DWORD LayoutType;
|
---|
5078 | OLECHAR *pwcsElementName;
|
---|
5079 | LARGE_INTEGER cOffset;
|
---|
5080 | LARGE_INTEGER cBytes;
|
---|
5081 | } StorageLayout;
|
---|
5082 | DEFINE_GUID(IID_ILayoutStorage, 0x0e6d4d90, 0x6738, 0x11cf, 0x96,0x08, 0x00,0xaa,0x00,0x68,0x0d,0xb4);
|
---|
5083 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5084 | interface ILayoutStorage : public IUnknown
|
---|
5085 | {
|
---|
5086 | virtual HRESULT STDMETHODCALLTYPE LayoutScript(
|
---|
5087 | StorageLayout *pStorageLayout,
|
---|
5088 | DWORD nEntries,
|
---|
5089 | DWORD glfInterleavedFlag) = 0;
|
---|
5090 |
|
---|
5091 | virtual HRESULT STDMETHODCALLTYPE BeginMonitor(
|
---|
5092 | ) = 0;
|
---|
5093 |
|
---|
5094 | virtual HRESULT STDMETHODCALLTYPE EndMonitor(
|
---|
5095 | ) = 0;
|
---|
5096 |
|
---|
5097 | virtual HRESULT STDMETHODCALLTYPE ReLayoutDocfile(
|
---|
5098 | OLECHAR *pwcsNewDfName) = 0;
|
---|
5099 |
|
---|
5100 | virtual HRESULT STDMETHODCALLTYPE ReLayoutDocfileOnILockBytes(
|
---|
5101 | ILockBytes *pILockBytes) = 0;
|
---|
5102 |
|
---|
5103 | };
|
---|
5104 | #else
|
---|
5105 | typedef struct ILayoutStorageVtbl {
|
---|
5106 | BEGIN_INTERFACE
|
---|
5107 |
|
---|
5108 | /*** IUnknown methods ***/
|
---|
5109 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5110 | ILayoutStorage* This,
|
---|
5111 | REFIID riid,
|
---|
5112 | void **ppvObject);
|
---|
5113 |
|
---|
5114 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5115 | ILayoutStorage* This);
|
---|
5116 |
|
---|
5117 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5118 | ILayoutStorage* This);
|
---|
5119 |
|
---|
5120 | /*** ILayoutStorage methods ***/
|
---|
5121 | HRESULT (STDMETHODCALLTYPE *LayoutScript)(
|
---|
5122 | ILayoutStorage* This,
|
---|
5123 | StorageLayout *pStorageLayout,
|
---|
5124 | DWORD nEntries,
|
---|
5125 | DWORD glfInterleavedFlag);
|
---|
5126 |
|
---|
5127 | HRESULT (STDMETHODCALLTYPE *BeginMonitor)(
|
---|
5128 | ILayoutStorage* This);
|
---|
5129 |
|
---|
5130 | HRESULT (STDMETHODCALLTYPE *EndMonitor)(
|
---|
5131 | ILayoutStorage* This);
|
---|
5132 |
|
---|
5133 | HRESULT (STDMETHODCALLTYPE *ReLayoutDocfile)(
|
---|
5134 | ILayoutStorage* This,
|
---|
5135 | OLECHAR *pwcsNewDfName);
|
---|
5136 |
|
---|
5137 | HRESULT (STDMETHODCALLTYPE *ReLayoutDocfileOnILockBytes)(
|
---|
5138 | ILayoutStorage* This,
|
---|
5139 | ILockBytes *pILockBytes);
|
---|
5140 |
|
---|
5141 | END_INTERFACE
|
---|
5142 | } ILayoutStorageVtbl;
|
---|
5143 | interface ILayoutStorage {
|
---|
5144 | CONST_VTBL ILayoutStorageVtbl* lpVtbl;
|
---|
5145 | };
|
---|
5146 |
|
---|
5147 | #ifdef COBJMACROS
|
---|
5148 | /*** IUnknown methods ***/
|
---|
5149 | #define ILayoutStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5150 | #define ILayoutStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5151 | #define ILayoutStorage_Release(This) (This)->lpVtbl->Release(This)
|
---|
5152 | /*** ILayoutStorage methods ***/
|
---|
5153 | #define ILayoutStorage_LayoutScript(This,pStorageLayout,nEntries,glfInterleavedFlag) (This)->lpVtbl->LayoutScript(This,pStorageLayout,nEntries,glfInterleavedFlag)
|
---|
5154 | #define ILayoutStorage_BeginMonitor(This) (This)->lpVtbl->BeginMonitor(This)
|
---|
5155 | #define ILayoutStorage_EndMonitor(This) (This)->lpVtbl->EndMonitor(This)
|
---|
5156 | #define ILayoutStorage_ReLayoutDocfile(This,pwcsNewDfName) (This)->lpVtbl->ReLayoutDocfile(This,pwcsNewDfName)
|
---|
5157 | #define ILayoutStorage_ReLayoutDocfileOnILockBytes(This,pILockBytes) (This)->lpVtbl->ReLayoutDocfileOnILockBytes(This,pILockBytes)
|
---|
5158 | #endif
|
---|
5159 |
|
---|
5160 | #endif
|
---|
5161 |
|
---|
5162 | HRESULT STDMETHODCALLTYPE ILayoutStorage_LayoutScript_Proxy(
|
---|
5163 | ILayoutStorage* This,
|
---|
5164 | StorageLayout *pStorageLayout,
|
---|
5165 | DWORD nEntries,
|
---|
5166 | DWORD glfInterleavedFlag);
|
---|
5167 | void __RPC_STUB ILayoutStorage_LayoutScript_Stub(
|
---|
5168 | IRpcStubBuffer* This,
|
---|
5169 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5170 | PRPC_MESSAGE pRpcMessage,
|
---|
5171 | DWORD* pdwStubPhase);
|
---|
5172 | HRESULT STDMETHODCALLTYPE ILayoutStorage_BeginMonitor_Proxy(
|
---|
5173 | ILayoutStorage* This);
|
---|
5174 | void __RPC_STUB ILayoutStorage_BeginMonitor_Stub(
|
---|
5175 | IRpcStubBuffer* This,
|
---|
5176 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5177 | PRPC_MESSAGE pRpcMessage,
|
---|
5178 | DWORD* pdwStubPhase);
|
---|
5179 | HRESULT STDMETHODCALLTYPE ILayoutStorage_EndMonitor_Proxy(
|
---|
5180 | ILayoutStorage* This);
|
---|
5181 | void __RPC_STUB ILayoutStorage_EndMonitor_Stub(
|
---|
5182 | IRpcStubBuffer* This,
|
---|
5183 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5184 | PRPC_MESSAGE pRpcMessage,
|
---|
5185 | DWORD* pdwStubPhase);
|
---|
5186 | HRESULT STDMETHODCALLTYPE ILayoutStorage_ReLayoutDocfile_Proxy(
|
---|
5187 | ILayoutStorage* This,
|
---|
5188 | OLECHAR *pwcsNewDfName);
|
---|
5189 | void __RPC_STUB ILayoutStorage_ReLayoutDocfile_Stub(
|
---|
5190 | IRpcStubBuffer* This,
|
---|
5191 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5192 | PRPC_MESSAGE pRpcMessage,
|
---|
5193 | DWORD* pdwStubPhase);
|
---|
5194 | HRESULT STDMETHODCALLTYPE ILayoutStorage_ReLayoutDocfileOnILockBytes_Proxy(
|
---|
5195 | ILayoutStorage* This,
|
---|
5196 | ILockBytes *pILockBytes);
|
---|
5197 | void __RPC_STUB ILayoutStorage_ReLayoutDocfileOnILockBytes_Stub(
|
---|
5198 | IRpcStubBuffer* This,
|
---|
5199 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5200 | PRPC_MESSAGE pRpcMessage,
|
---|
5201 | DWORD* pdwStubPhase);
|
---|
5202 |
|
---|
5203 | #endif /* __ILayoutStorage_INTERFACE_DEFINED__ */
|
---|
5204 |
|
---|
5205 | /*****************************************************************************
|
---|
5206 | * IBlockingLock interface
|
---|
5207 | */
|
---|
5208 | #ifndef __IBlockingLock_INTERFACE_DEFINED__
|
---|
5209 | #define __IBlockingLock_INTERFACE_DEFINED__
|
---|
5210 |
|
---|
5211 | DEFINE_GUID(IID_IBlockingLock, 0x30f3d47a, 0x6447, 0x11d1, 0x8e,0x3c, 0x00,0xc0,0x4f,0xb9,0x38,0x6d);
|
---|
5212 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5213 | interface IBlockingLock : public IUnknown
|
---|
5214 | {
|
---|
5215 | virtual HRESULT STDMETHODCALLTYPE Lock(
|
---|
5216 | DWORD dwTimeout) = 0;
|
---|
5217 |
|
---|
5218 | virtual HRESULT STDMETHODCALLTYPE Unlock(
|
---|
5219 | ) = 0;
|
---|
5220 |
|
---|
5221 | };
|
---|
5222 | #else
|
---|
5223 | typedef struct IBlockingLockVtbl {
|
---|
5224 | BEGIN_INTERFACE
|
---|
5225 |
|
---|
5226 | /*** IUnknown methods ***/
|
---|
5227 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5228 | IBlockingLock* This,
|
---|
5229 | REFIID riid,
|
---|
5230 | void **ppvObject);
|
---|
5231 |
|
---|
5232 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5233 | IBlockingLock* This);
|
---|
5234 |
|
---|
5235 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5236 | IBlockingLock* This);
|
---|
5237 |
|
---|
5238 | /*** IBlockingLock methods ***/
|
---|
5239 | HRESULT (STDMETHODCALLTYPE *Lock)(
|
---|
5240 | IBlockingLock* This,
|
---|
5241 | DWORD dwTimeout);
|
---|
5242 |
|
---|
5243 | HRESULT (STDMETHODCALLTYPE *Unlock)(
|
---|
5244 | IBlockingLock* This);
|
---|
5245 |
|
---|
5246 | END_INTERFACE
|
---|
5247 | } IBlockingLockVtbl;
|
---|
5248 | interface IBlockingLock {
|
---|
5249 | CONST_VTBL IBlockingLockVtbl* lpVtbl;
|
---|
5250 | };
|
---|
5251 |
|
---|
5252 | #ifdef COBJMACROS
|
---|
5253 | /*** IUnknown methods ***/
|
---|
5254 | #define IBlockingLock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5255 | #define IBlockingLock_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5256 | #define IBlockingLock_Release(This) (This)->lpVtbl->Release(This)
|
---|
5257 | /*** IBlockingLock methods ***/
|
---|
5258 | #define IBlockingLock_Lock(This,dwTimeout) (This)->lpVtbl->Lock(This,dwTimeout)
|
---|
5259 | #define IBlockingLock_Unlock(This) (This)->lpVtbl->Unlock(This)
|
---|
5260 | #endif
|
---|
5261 |
|
---|
5262 | #endif
|
---|
5263 |
|
---|
5264 | HRESULT STDMETHODCALLTYPE IBlockingLock_Lock_Proxy(
|
---|
5265 | IBlockingLock* This,
|
---|
5266 | DWORD dwTimeout);
|
---|
5267 | void __RPC_STUB IBlockingLock_Lock_Stub(
|
---|
5268 | IRpcStubBuffer* This,
|
---|
5269 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5270 | PRPC_MESSAGE pRpcMessage,
|
---|
5271 | DWORD* pdwStubPhase);
|
---|
5272 | HRESULT STDMETHODCALLTYPE IBlockingLock_Unlock_Proxy(
|
---|
5273 | IBlockingLock* This);
|
---|
5274 | void __RPC_STUB IBlockingLock_Unlock_Stub(
|
---|
5275 | IRpcStubBuffer* This,
|
---|
5276 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5277 | PRPC_MESSAGE pRpcMessage,
|
---|
5278 | DWORD* pdwStubPhase);
|
---|
5279 |
|
---|
5280 | #endif /* __IBlockingLock_INTERFACE_DEFINED__ */
|
---|
5281 |
|
---|
5282 | /*****************************************************************************
|
---|
5283 | * ITimeAndNoticeControl interface
|
---|
5284 | */
|
---|
5285 | #ifndef __ITimeAndNoticeControl_INTERFACE_DEFINED__
|
---|
5286 | #define __ITimeAndNoticeControl_INTERFACE_DEFINED__
|
---|
5287 |
|
---|
5288 | DEFINE_GUID(IID_ITimeAndNoticeControl, 0xbc0bf6ae, 0x8878, 0x11d1, 0x83,0xe9, 0x00,0xc0,0x4f,0xc2,0xc6,0xd4);
|
---|
5289 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5290 | interface ITimeAndNoticeControl : public IUnknown
|
---|
5291 | {
|
---|
5292 | virtual HRESULT STDMETHODCALLTYPE SuppressChanges(
|
---|
5293 | DWORD res1,
|
---|
5294 | DWORD res2) = 0;
|
---|
5295 |
|
---|
5296 | };
|
---|
5297 | #else
|
---|
5298 | typedef struct ITimeAndNoticeControlVtbl {
|
---|
5299 | BEGIN_INTERFACE
|
---|
5300 |
|
---|
5301 | /*** IUnknown methods ***/
|
---|
5302 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5303 | ITimeAndNoticeControl* This,
|
---|
5304 | REFIID riid,
|
---|
5305 | void **ppvObject);
|
---|
5306 |
|
---|
5307 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5308 | ITimeAndNoticeControl* This);
|
---|
5309 |
|
---|
5310 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5311 | ITimeAndNoticeControl* This);
|
---|
5312 |
|
---|
5313 | /*** ITimeAndNoticeControl methods ***/
|
---|
5314 | HRESULT (STDMETHODCALLTYPE *SuppressChanges)(
|
---|
5315 | ITimeAndNoticeControl* This,
|
---|
5316 | DWORD res1,
|
---|
5317 | DWORD res2);
|
---|
5318 |
|
---|
5319 | END_INTERFACE
|
---|
5320 | } ITimeAndNoticeControlVtbl;
|
---|
5321 | interface ITimeAndNoticeControl {
|
---|
5322 | CONST_VTBL ITimeAndNoticeControlVtbl* lpVtbl;
|
---|
5323 | };
|
---|
5324 |
|
---|
5325 | #ifdef COBJMACROS
|
---|
5326 | /*** IUnknown methods ***/
|
---|
5327 | #define ITimeAndNoticeControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5328 | #define ITimeAndNoticeControl_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5329 | #define ITimeAndNoticeControl_Release(This) (This)->lpVtbl->Release(This)
|
---|
5330 | /*** ITimeAndNoticeControl methods ***/
|
---|
5331 | #define ITimeAndNoticeControl_SuppressChanges(This,res1,res2) (This)->lpVtbl->SuppressChanges(This,res1,res2)
|
---|
5332 | #endif
|
---|
5333 |
|
---|
5334 | #endif
|
---|
5335 |
|
---|
5336 | HRESULT STDMETHODCALLTYPE ITimeAndNoticeControl_SuppressChanges_Proxy(
|
---|
5337 | ITimeAndNoticeControl* This,
|
---|
5338 | DWORD res1,
|
---|
5339 | DWORD res2);
|
---|
5340 | void __RPC_STUB ITimeAndNoticeControl_SuppressChanges_Stub(
|
---|
5341 | IRpcStubBuffer* This,
|
---|
5342 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5343 | PRPC_MESSAGE pRpcMessage,
|
---|
5344 | DWORD* pdwStubPhase);
|
---|
5345 |
|
---|
5346 | #endif /* __ITimeAndNoticeControl_INTERFACE_DEFINED__ */
|
---|
5347 |
|
---|
5348 | /*****************************************************************************
|
---|
5349 | * IOplockStorage interface
|
---|
5350 | */
|
---|
5351 | #ifndef __IOplockStorage_INTERFACE_DEFINED__
|
---|
5352 | #define __IOplockStorage_INTERFACE_DEFINED__
|
---|
5353 |
|
---|
5354 | DEFINE_GUID(IID_IOplockStorage, 0x8d19c834, 0x8879, 0x11d1, 0x83,0xe9, 0x00,0xc0,0x4f,0xc2,0xc6,0xd4);
|
---|
5355 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5356 | interface IOplockStorage : public IUnknown
|
---|
5357 | {
|
---|
5358 | virtual HRESULT STDMETHODCALLTYPE CreateStorageEx(
|
---|
5359 | LPCWSTR pwcsName,
|
---|
5360 | DWORD grfMode,
|
---|
5361 | DWORD stgfmt,
|
---|
5362 | DWORD grfAttrs,
|
---|
5363 | REFIID riid,
|
---|
5364 | void **ppstgOpen) = 0;
|
---|
5365 |
|
---|
5366 | virtual HRESULT STDMETHODCALLTYPE OpenStorageEx(
|
---|
5367 | LPCWSTR pwcsName,
|
---|
5368 | DWORD grfMode,
|
---|
5369 | DWORD stgfmt,
|
---|
5370 | DWORD grfAttrs,
|
---|
5371 | REFIID riid,
|
---|
5372 | void **ppstgOpen) = 0;
|
---|
5373 |
|
---|
5374 | };
|
---|
5375 | #else
|
---|
5376 | typedef struct IOplockStorageVtbl {
|
---|
5377 | BEGIN_INTERFACE
|
---|
5378 |
|
---|
5379 | /*** IUnknown methods ***/
|
---|
5380 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5381 | IOplockStorage* This,
|
---|
5382 | REFIID riid,
|
---|
5383 | void **ppvObject);
|
---|
5384 |
|
---|
5385 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5386 | IOplockStorage* This);
|
---|
5387 |
|
---|
5388 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5389 | IOplockStorage* This);
|
---|
5390 |
|
---|
5391 | /*** IOplockStorage methods ***/
|
---|
5392 | HRESULT (STDMETHODCALLTYPE *CreateStorageEx)(
|
---|
5393 | IOplockStorage* This,
|
---|
5394 | LPCWSTR pwcsName,
|
---|
5395 | DWORD grfMode,
|
---|
5396 | DWORD stgfmt,
|
---|
5397 | DWORD grfAttrs,
|
---|
5398 | REFIID riid,
|
---|
5399 | void **ppstgOpen);
|
---|
5400 |
|
---|
5401 | HRESULT (STDMETHODCALLTYPE *OpenStorageEx)(
|
---|
5402 | IOplockStorage* This,
|
---|
5403 | LPCWSTR pwcsName,
|
---|
5404 | DWORD grfMode,
|
---|
5405 | DWORD stgfmt,
|
---|
5406 | DWORD grfAttrs,
|
---|
5407 | REFIID riid,
|
---|
5408 | void **ppstgOpen);
|
---|
5409 |
|
---|
5410 | END_INTERFACE
|
---|
5411 | } IOplockStorageVtbl;
|
---|
5412 | interface IOplockStorage {
|
---|
5413 | CONST_VTBL IOplockStorageVtbl* lpVtbl;
|
---|
5414 | };
|
---|
5415 |
|
---|
5416 | #ifdef COBJMACROS
|
---|
5417 | /*** IUnknown methods ***/
|
---|
5418 | #define IOplockStorage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5419 | #define IOplockStorage_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5420 | #define IOplockStorage_Release(This) (This)->lpVtbl->Release(This)
|
---|
5421 | /*** IOplockStorage methods ***/
|
---|
5422 | #define IOplockStorage_CreateStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen) (This)->lpVtbl->CreateStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen)
|
---|
5423 | #define IOplockStorage_OpenStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen) (This)->lpVtbl->OpenStorageEx(This,pwcsName,grfMode,stgfmt,grfAttrs,riid,ppstgOpen)
|
---|
5424 | #endif
|
---|
5425 |
|
---|
5426 | #endif
|
---|
5427 |
|
---|
5428 | HRESULT STDMETHODCALLTYPE IOplockStorage_CreateStorageEx_Proxy(
|
---|
5429 | IOplockStorage* This,
|
---|
5430 | LPCWSTR pwcsName,
|
---|
5431 | DWORD grfMode,
|
---|
5432 | DWORD stgfmt,
|
---|
5433 | DWORD grfAttrs,
|
---|
5434 | REFIID riid,
|
---|
5435 | void **ppstgOpen);
|
---|
5436 | void __RPC_STUB IOplockStorage_CreateStorageEx_Stub(
|
---|
5437 | IRpcStubBuffer* This,
|
---|
5438 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5439 | PRPC_MESSAGE pRpcMessage,
|
---|
5440 | DWORD* pdwStubPhase);
|
---|
5441 | HRESULT STDMETHODCALLTYPE IOplockStorage_OpenStorageEx_Proxy(
|
---|
5442 | IOplockStorage* This,
|
---|
5443 | LPCWSTR pwcsName,
|
---|
5444 | DWORD grfMode,
|
---|
5445 | DWORD stgfmt,
|
---|
5446 | DWORD grfAttrs,
|
---|
5447 | REFIID riid,
|
---|
5448 | void **ppstgOpen);
|
---|
5449 | void __RPC_STUB IOplockStorage_OpenStorageEx_Stub(
|
---|
5450 | IRpcStubBuffer* This,
|
---|
5451 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5452 | PRPC_MESSAGE pRpcMessage,
|
---|
5453 | DWORD* pdwStubPhase);
|
---|
5454 |
|
---|
5455 | #endif /* __IOplockStorage_INTERFACE_DEFINED__ */
|
---|
5456 |
|
---|
5457 | /*****************************************************************************
|
---|
5458 | * IEnumFORMATETC interface
|
---|
5459 | */
|
---|
5460 | #ifndef __IEnumFORMATETC_INTERFACE_DEFINED__
|
---|
5461 | #define __IEnumFORMATETC_INTERFACE_DEFINED__
|
---|
5462 |
|
---|
5463 | typedef IEnumFORMATETC *LPENUMFORMATETC;
|
---|
5464 | typedef struct tagDVTARGETDEVICE {
|
---|
5465 | DWORD tdSize;
|
---|
5466 | WORD tdDriverNameOffset;
|
---|
5467 | WORD tdDeviceNameOffset;
|
---|
5468 | WORD tdPortNameOffset;
|
---|
5469 | WORD tdExtDevmodeOffset;
|
---|
5470 | BYTE tdData[1];
|
---|
5471 | } DVTARGETDEVICE;
|
---|
5472 | typedef CLIPFORMAT *LPCLIPFORMAT;
|
---|
5473 | typedef struct tagFORMATETC {
|
---|
5474 | CLIPFORMAT cfFormat;
|
---|
5475 | DVTARGETDEVICE *ptd;
|
---|
5476 | DWORD dwAspect;
|
---|
5477 | LONG lindex;
|
---|
5478 | DWORD tymed;
|
---|
5479 | } FORMATETC;
|
---|
5480 | typedef struct tagFORMATETC *LPFORMATETC;
|
---|
5481 | DEFINE_GUID(IID_IEnumFORMATETC, 0x00000103, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
5482 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5483 | interface IEnumFORMATETC : public IUnknown
|
---|
5484 | {
|
---|
5485 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
5486 | ULONG celt,
|
---|
5487 | FORMATETC *rgelt,
|
---|
5488 | ULONG *pceltFetched) = 0;
|
---|
5489 |
|
---|
5490 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
5491 | ULONG celt) = 0;
|
---|
5492 |
|
---|
5493 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
5494 | ) = 0;
|
---|
5495 |
|
---|
5496 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
5497 | IEnumFORMATETC **ppenum) = 0;
|
---|
5498 |
|
---|
5499 | };
|
---|
5500 | #else
|
---|
5501 | typedef struct IEnumFORMATETCVtbl {
|
---|
5502 | BEGIN_INTERFACE
|
---|
5503 |
|
---|
5504 | /*** IUnknown methods ***/
|
---|
5505 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5506 | IEnumFORMATETC* This,
|
---|
5507 | REFIID riid,
|
---|
5508 | void **ppvObject);
|
---|
5509 |
|
---|
5510 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5511 | IEnumFORMATETC* This);
|
---|
5512 |
|
---|
5513 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5514 | IEnumFORMATETC* This);
|
---|
5515 |
|
---|
5516 | /*** IEnumFORMATETC methods ***/
|
---|
5517 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
5518 | IEnumFORMATETC* This,
|
---|
5519 | ULONG celt,
|
---|
5520 | FORMATETC *rgelt,
|
---|
5521 | ULONG *pceltFetched);
|
---|
5522 |
|
---|
5523 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
5524 | IEnumFORMATETC* This,
|
---|
5525 | ULONG celt);
|
---|
5526 |
|
---|
5527 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
5528 | IEnumFORMATETC* This);
|
---|
5529 |
|
---|
5530 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
5531 | IEnumFORMATETC* This,
|
---|
5532 | IEnumFORMATETC **ppenum);
|
---|
5533 |
|
---|
5534 | END_INTERFACE
|
---|
5535 | } IEnumFORMATETCVtbl;
|
---|
5536 | interface IEnumFORMATETC {
|
---|
5537 | CONST_VTBL IEnumFORMATETCVtbl* lpVtbl;
|
---|
5538 | };
|
---|
5539 |
|
---|
5540 | #ifdef COBJMACROS
|
---|
5541 | /*** IUnknown methods ***/
|
---|
5542 | #define IEnumFORMATETC_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5543 | #define IEnumFORMATETC_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5544 | #define IEnumFORMATETC_Release(This) (This)->lpVtbl->Release(This)
|
---|
5545 | /*** IEnumFORMATETC methods ***/
|
---|
5546 | #define IEnumFORMATETC_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
|
---|
5547 | #define IEnumFORMATETC_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
|
---|
5548 | #define IEnumFORMATETC_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
5549 | #define IEnumFORMATETC_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
|
---|
5550 | #endif
|
---|
5551 |
|
---|
5552 | #endif
|
---|
5553 |
|
---|
5554 | HRESULT STDMETHODCALLTYPE IEnumFORMATETC_RemoteNext_Proxy(
|
---|
5555 | IEnumFORMATETC* This,
|
---|
5556 | ULONG celt,
|
---|
5557 | FORMATETC *rgelt,
|
---|
5558 | ULONG *pceltFetched);
|
---|
5559 | void __RPC_STUB IEnumFORMATETC_RemoteNext_Stub(
|
---|
5560 | IRpcStubBuffer* This,
|
---|
5561 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5562 | PRPC_MESSAGE pRpcMessage,
|
---|
5563 | DWORD* pdwStubPhase);
|
---|
5564 | HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Skip_Proxy(
|
---|
5565 | IEnumFORMATETC* This,
|
---|
5566 | ULONG celt);
|
---|
5567 | void __RPC_STUB IEnumFORMATETC_Skip_Stub(
|
---|
5568 | IRpcStubBuffer* This,
|
---|
5569 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5570 | PRPC_MESSAGE pRpcMessage,
|
---|
5571 | DWORD* pdwStubPhase);
|
---|
5572 | HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Reset_Proxy(
|
---|
5573 | IEnumFORMATETC* This);
|
---|
5574 | void __RPC_STUB IEnumFORMATETC_Reset_Stub(
|
---|
5575 | IRpcStubBuffer* This,
|
---|
5576 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5577 | PRPC_MESSAGE pRpcMessage,
|
---|
5578 | DWORD* pdwStubPhase);
|
---|
5579 | HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Clone_Proxy(
|
---|
5580 | IEnumFORMATETC* This,
|
---|
5581 | IEnumFORMATETC **ppenum);
|
---|
5582 | void __RPC_STUB IEnumFORMATETC_Clone_Stub(
|
---|
5583 | IRpcStubBuffer* This,
|
---|
5584 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5585 | PRPC_MESSAGE pRpcMessage,
|
---|
5586 | DWORD* pdwStubPhase);
|
---|
5587 | HRESULT CALLBACK IEnumFORMATETC_Next_Proxy(
|
---|
5588 | IEnumFORMATETC* This,
|
---|
5589 | ULONG celt,
|
---|
5590 | FORMATETC *rgelt,
|
---|
5591 | ULONG *pceltFetched);
|
---|
5592 | HRESULT __RPC_STUB IEnumFORMATETC_Next_Stub(
|
---|
5593 | IEnumFORMATETC* This,
|
---|
5594 | ULONG celt,
|
---|
5595 | FORMATETC *rgelt,
|
---|
5596 | ULONG *pceltFetched);
|
---|
5597 |
|
---|
5598 | #endif /* __IEnumFORMATETC_INTERFACE_DEFINED__ */
|
---|
5599 |
|
---|
5600 | /*****************************************************************************
|
---|
5601 | * IEnumSTATDATA interface
|
---|
5602 | */
|
---|
5603 | #ifndef __IEnumSTATDATA_INTERFACE_DEFINED__
|
---|
5604 | #define __IEnumSTATDATA_INTERFACE_DEFINED__
|
---|
5605 |
|
---|
5606 | typedef IEnumSTATDATA *LPENUMSTATDATA;
|
---|
5607 | typedef enum tagADVF {
|
---|
5608 | ADVF_NODATA = 1,
|
---|
5609 | ADVF_PRIMEFIRST = 2,
|
---|
5610 | ADVF_ONLYONCE = 4,
|
---|
5611 | ADVF_DATAONSTOP = 64,
|
---|
5612 | ADVFCACHE_NOHANDLER = 8,
|
---|
5613 | ADVFCACHE_FORCEBUILTIN = 16,
|
---|
5614 | ADVFCACHE_ONSAVE = 32
|
---|
5615 | } ADVF;
|
---|
5616 | typedef struct tagSTATDATA {
|
---|
5617 | FORMATETC formatetc;
|
---|
5618 | DWORD advf;
|
---|
5619 | IAdviseSink *pAdvSink;
|
---|
5620 | DWORD dwConnection;
|
---|
5621 | } STATDATA;
|
---|
5622 | typedef struct tagSTATDATA *LPSTATDATA;
|
---|
5623 | DEFINE_GUID(IID_IEnumSTATDATA, 0x00000105, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
5624 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5625 | interface IEnumSTATDATA : public IUnknown
|
---|
5626 | {
|
---|
5627 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
5628 | ULONG celt,
|
---|
5629 | STATDATA *rgelt,
|
---|
5630 | ULONG *pceltFetched) = 0;
|
---|
5631 |
|
---|
5632 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
5633 | ULONG celt) = 0;
|
---|
5634 |
|
---|
5635 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
5636 | ) = 0;
|
---|
5637 |
|
---|
5638 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
5639 | IEnumSTATDATA **ppenum) = 0;
|
---|
5640 |
|
---|
5641 | };
|
---|
5642 | #else
|
---|
5643 | typedef struct IEnumSTATDATAVtbl {
|
---|
5644 | BEGIN_INTERFACE
|
---|
5645 |
|
---|
5646 | /*** IUnknown methods ***/
|
---|
5647 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5648 | IEnumSTATDATA* This,
|
---|
5649 | REFIID riid,
|
---|
5650 | void **ppvObject);
|
---|
5651 |
|
---|
5652 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5653 | IEnumSTATDATA* This);
|
---|
5654 |
|
---|
5655 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5656 | IEnumSTATDATA* This);
|
---|
5657 |
|
---|
5658 | /*** IEnumSTATDATA methods ***/
|
---|
5659 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
5660 | IEnumSTATDATA* This,
|
---|
5661 | ULONG celt,
|
---|
5662 | STATDATA *rgelt,
|
---|
5663 | ULONG *pceltFetched);
|
---|
5664 |
|
---|
5665 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
5666 | IEnumSTATDATA* This,
|
---|
5667 | ULONG celt);
|
---|
5668 |
|
---|
5669 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
5670 | IEnumSTATDATA* This);
|
---|
5671 |
|
---|
5672 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
5673 | IEnumSTATDATA* This,
|
---|
5674 | IEnumSTATDATA **ppenum);
|
---|
5675 |
|
---|
5676 | END_INTERFACE
|
---|
5677 | } IEnumSTATDATAVtbl;
|
---|
5678 | interface IEnumSTATDATA {
|
---|
5679 | CONST_VTBL IEnumSTATDATAVtbl* lpVtbl;
|
---|
5680 | };
|
---|
5681 |
|
---|
5682 | #ifdef COBJMACROS
|
---|
5683 | /*** IUnknown methods ***/
|
---|
5684 | #define IEnumSTATDATA_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5685 | #define IEnumSTATDATA_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5686 | #define IEnumSTATDATA_Release(This) (This)->lpVtbl->Release(This)
|
---|
5687 | /*** IEnumSTATDATA methods ***/
|
---|
5688 | #define IEnumSTATDATA_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
|
---|
5689 | #define IEnumSTATDATA_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
|
---|
5690 | #define IEnumSTATDATA_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
5691 | #define IEnumSTATDATA_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
|
---|
5692 | #endif
|
---|
5693 |
|
---|
5694 | #endif
|
---|
5695 |
|
---|
5696 | HRESULT STDMETHODCALLTYPE IEnumSTATDATA_RemoteNext_Proxy(
|
---|
5697 | IEnumSTATDATA* This,
|
---|
5698 | ULONG celt,
|
---|
5699 | STATDATA *rgelt,
|
---|
5700 | ULONG *pceltFetched);
|
---|
5701 | void __RPC_STUB IEnumSTATDATA_RemoteNext_Stub(
|
---|
5702 | IRpcStubBuffer* This,
|
---|
5703 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5704 | PRPC_MESSAGE pRpcMessage,
|
---|
5705 | DWORD* pdwStubPhase);
|
---|
5706 | HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Skip_Proxy(
|
---|
5707 | IEnumSTATDATA* This,
|
---|
5708 | ULONG celt);
|
---|
5709 | void __RPC_STUB IEnumSTATDATA_Skip_Stub(
|
---|
5710 | IRpcStubBuffer* This,
|
---|
5711 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5712 | PRPC_MESSAGE pRpcMessage,
|
---|
5713 | DWORD* pdwStubPhase);
|
---|
5714 | HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Reset_Proxy(
|
---|
5715 | IEnumSTATDATA* This);
|
---|
5716 | void __RPC_STUB IEnumSTATDATA_Reset_Stub(
|
---|
5717 | IRpcStubBuffer* This,
|
---|
5718 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5719 | PRPC_MESSAGE pRpcMessage,
|
---|
5720 | DWORD* pdwStubPhase);
|
---|
5721 | HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Clone_Proxy(
|
---|
5722 | IEnumSTATDATA* This,
|
---|
5723 | IEnumSTATDATA **ppenum);
|
---|
5724 | void __RPC_STUB IEnumSTATDATA_Clone_Stub(
|
---|
5725 | IRpcStubBuffer* This,
|
---|
5726 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5727 | PRPC_MESSAGE pRpcMessage,
|
---|
5728 | DWORD* pdwStubPhase);
|
---|
5729 | HRESULT CALLBACK IEnumSTATDATA_Next_Proxy(
|
---|
5730 | IEnumSTATDATA* This,
|
---|
5731 | ULONG celt,
|
---|
5732 | STATDATA *rgelt,
|
---|
5733 | ULONG *pceltFetched);
|
---|
5734 | HRESULT __RPC_STUB IEnumSTATDATA_Next_Stub(
|
---|
5735 | IEnumSTATDATA* This,
|
---|
5736 | ULONG celt,
|
---|
5737 | STATDATA *rgelt,
|
---|
5738 | ULONG *pceltFetched);
|
---|
5739 |
|
---|
5740 | #endif /* __IEnumSTATDATA_INTERFACE_DEFINED__ */
|
---|
5741 |
|
---|
5742 | /*****************************************************************************
|
---|
5743 | * IAdviseSink interface
|
---|
5744 | */
|
---|
5745 | #ifndef __IAdviseSink_INTERFACE_DEFINED__
|
---|
5746 | #define __IAdviseSink_INTERFACE_DEFINED__
|
---|
5747 |
|
---|
5748 | typedef IAdviseSink *LPADVISESINK;
|
---|
5749 | typedef enum tagTYMED {
|
---|
5750 | TYMED_HGLOBAL = 1,
|
---|
5751 | TYMED_FILE = 2,
|
---|
5752 | TYMED_ISTREAM = 4,
|
---|
5753 | TYMED_ISTORAGE = 8,
|
---|
5754 | TYMED_GDI = 16,
|
---|
5755 | TYMED_MFPICT = 32,
|
---|
5756 | TYMED_ENHMF = 64,
|
---|
5757 | TYMED_NULL = 0
|
---|
5758 | } TYMED;
|
---|
5759 | typedef struct tagRemSTGMEDIUM {
|
---|
5760 | DWORD tymed;
|
---|
5761 | DWORD dwHandleType;
|
---|
5762 | ULONG pData;
|
---|
5763 | ULONG pUnkForRelease;
|
---|
5764 | ULONG cbData;
|
---|
5765 | byte data[1];
|
---|
5766 | } RemSTGMEDIUM;
|
---|
5767 | typedef struct tagSTGMEDIUM {
|
---|
5768 | DWORD tymed;
|
---|
5769 | union {
|
---|
5770 | HBITMAP hBitmap;
|
---|
5771 | HMETAFILEPICT hMetaFilePict;
|
---|
5772 | HENHMETAFILE hEnhMetaFile;
|
---|
5773 | HGLOBAL hGlobal;
|
---|
5774 | LPOLESTR lpszFileName;
|
---|
5775 | IStream *pstm;
|
---|
5776 | IStorage *pstg;
|
---|
5777 | } DUMMYUNIONNAME;
|
---|
5778 | IUnknown *pUnkForRelease;
|
---|
5779 | } uSTGMEDIUM;
|
---|
5780 | typedef struct _GDI_OBJECT {
|
---|
5781 | DWORD ObjectType;
|
---|
5782 | union {
|
---|
5783 | wireHBITMAP hBitmap;
|
---|
5784 | wireHPALETTE hPalette;
|
---|
5785 | wireHGLOBAL hGeneric;
|
---|
5786 | } u;
|
---|
5787 | } GDI_OBJECT;
|
---|
5788 | typedef struct _userSTGMEDIUM {
|
---|
5789 | struct {
|
---|
5790 | DWORD tymed;
|
---|
5791 | union {
|
---|
5792 | wireHMETAFILEPICT hMetaFilePict;
|
---|
5793 | wireHENHMETAFILE hHEnhMetaFile;
|
---|
5794 | GDI_OBJECT *hGdiHandle;
|
---|
5795 | wireHGLOBAL hGlobal;
|
---|
5796 | LPOLESTR lpszFileName;
|
---|
5797 | BYTE_BLOB *pstm;
|
---|
5798 | BYTE_BLOB *pstg;
|
---|
5799 | } u;
|
---|
5800 | } DUMMYUNIONNAME;
|
---|
5801 | IUnknown *pUnkForRelease;
|
---|
5802 | } userSTGMEDIUM;
|
---|
5803 | typedef userSTGMEDIUM *wireSTGMEDIUM;
|
---|
5804 | typedef uSTGMEDIUM STGMEDIUM;
|
---|
5805 | typedef userSTGMEDIUM *wireASYNC_STGMEDIUM;
|
---|
5806 | typedef STGMEDIUM ASYNC_STGMEDIUM;
|
---|
5807 | typedef STGMEDIUM *LPSTGMEDIUM;
|
---|
5808 | typedef struct _userFLAG_STGMEDIUM {
|
---|
5809 | LONG ContextFlags;
|
---|
5810 | LONG fPassOwnership;
|
---|
5811 | userSTGMEDIUM Stgmed;
|
---|
5812 | } userFLAG_STGMEDIUM;
|
---|
5813 | typedef userFLAG_STGMEDIUM *wireFLAG_STGMEDIUM;
|
---|
5814 | typedef struct _FLAG_STGMEDIUM {
|
---|
5815 | LONG ContextFlags;
|
---|
5816 | LONG fPassOwnership;
|
---|
5817 | STGMEDIUM Stgmed;
|
---|
5818 | } FLAG_STGMEDIUM;
|
---|
5819 | DEFINE_GUID(IID_IAdviseSink, 0x0000010f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
5820 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5821 | interface IAdviseSink : public IUnknown
|
---|
5822 | {
|
---|
5823 | virtual void STDMETHODCALLTYPE OnDataChange(
|
---|
5824 | FORMATETC *pFormatetc,
|
---|
5825 | STGMEDIUM *pStgmed) = 0;
|
---|
5826 |
|
---|
5827 | virtual void STDMETHODCALLTYPE OnViewChange(
|
---|
5828 | DWORD dwAspect,
|
---|
5829 | LONG lindex) = 0;
|
---|
5830 |
|
---|
5831 | virtual void STDMETHODCALLTYPE OnRename(
|
---|
5832 | IMoniker *pmk) = 0;
|
---|
5833 |
|
---|
5834 | virtual void STDMETHODCALLTYPE OnSave(
|
---|
5835 | ) = 0;
|
---|
5836 |
|
---|
5837 | virtual void STDMETHODCALLTYPE OnClose(
|
---|
5838 | ) = 0;
|
---|
5839 |
|
---|
5840 | };
|
---|
5841 | #else
|
---|
5842 | typedef struct IAdviseSinkVtbl {
|
---|
5843 | BEGIN_INTERFACE
|
---|
5844 |
|
---|
5845 | /*** IUnknown methods ***/
|
---|
5846 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5847 | IAdviseSink* This,
|
---|
5848 | REFIID riid,
|
---|
5849 | void **ppvObject);
|
---|
5850 |
|
---|
5851 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5852 | IAdviseSink* This);
|
---|
5853 |
|
---|
5854 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5855 | IAdviseSink* This);
|
---|
5856 |
|
---|
5857 | /*** IAdviseSink methods ***/
|
---|
5858 | void (STDMETHODCALLTYPE *OnDataChange)(
|
---|
5859 | IAdviseSink* This,
|
---|
5860 | FORMATETC *pFormatetc,
|
---|
5861 | STGMEDIUM *pStgmed);
|
---|
5862 |
|
---|
5863 | void (STDMETHODCALLTYPE *OnViewChange)(
|
---|
5864 | IAdviseSink* This,
|
---|
5865 | DWORD dwAspect,
|
---|
5866 | LONG lindex);
|
---|
5867 |
|
---|
5868 | void (STDMETHODCALLTYPE *OnRename)(
|
---|
5869 | IAdviseSink* This,
|
---|
5870 | IMoniker *pmk);
|
---|
5871 |
|
---|
5872 | void (STDMETHODCALLTYPE *OnSave)(
|
---|
5873 | IAdviseSink* This);
|
---|
5874 |
|
---|
5875 | void (STDMETHODCALLTYPE *OnClose)(
|
---|
5876 | IAdviseSink* This);
|
---|
5877 |
|
---|
5878 | END_INTERFACE
|
---|
5879 | } IAdviseSinkVtbl;
|
---|
5880 | interface IAdviseSink {
|
---|
5881 | CONST_VTBL IAdviseSinkVtbl* lpVtbl;
|
---|
5882 | };
|
---|
5883 |
|
---|
5884 | #ifdef COBJMACROS
|
---|
5885 | /*** IUnknown methods ***/
|
---|
5886 | #define IAdviseSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5887 | #define IAdviseSink_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5888 | #define IAdviseSink_Release(This) (This)->lpVtbl->Release(This)
|
---|
5889 | /*** IAdviseSink methods ***/
|
---|
5890 | #define IAdviseSink_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed)
|
---|
5891 | #define IAdviseSink_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex)
|
---|
5892 | #define IAdviseSink_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk)
|
---|
5893 | #define IAdviseSink_OnSave(This) (This)->lpVtbl->OnSave(This)
|
---|
5894 | #define IAdviseSink_OnClose(This) (This)->lpVtbl->OnClose(This)
|
---|
5895 | #endif
|
---|
5896 |
|
---|
5897 | #endif
|
---|
5898 |
|
---|
5899 | HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnDataChange_Proxy(
|
---|
5900 | IAdviseSink* This,
|
---|
5901 | FORMATETC *pFormatetc,
|
---|
5902 | ASYNC_STGMEDIUM *pStgmed);
|
---|
5903 | void __RPC_STUB IAdviseSink_RemoteOnDataChange_Stub(
|
---|
5904 | IRpcStubBuffer* This,
|
---|
5905 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5906 | PRPC_MESSAGE pRpcMessage,
|
---|
5907 | DWORD* pdwStubPhase);
|
---|
5908 | HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnViewChange_Proxy(
|
---|
5909 | IAdviseSink* This,
|
---|
5910 | DWORD dwAspect,
|
---|
5911 | LONG lindex);
|
---|
5912 | void __RPC_STUB IAdviseSink_RemoteOnViewChange_Stub(
|
---|
5913 | IRpcStubBuffer* This,
|
---|
5914 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5915 | PRPC_MESSAGE pRpcMessage,
|
---|
5916 | DWORD* pdwStubPhase);
|
---|
5917 | HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnRename_Proxy(
|
---|
5918 | IAdviseSink* This,
|
---|
5919 | IMoniker *pmk);
|
---|
5920 | void __RPC_STUB IAdviseSink_RemoteOnRename_Stub(
|
---|
5921 | IRpcStubBuffer* This,
|
---|
5922 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5923 | PRPC_MESSAGE pRpcMessage,
|
---|
5924 | DWORD* pdwStubPhase);
|
---|
5925 | HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnSave_Proxy(
|
---|
5926 | IAdviseSink* This);
|
---|
5927 | void __RPC_STUB IAdviseSink_RemoteOnSave_Stub(
|
---|
5928 | IRpcStubBuffer* This,
|
---|
5929 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5930 | PRPC_MESSAGE pRpcMessage,
|
---|
5931 | DWORD* pdwStubPhase);
|
---|
5932 | HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnClose_Proxy(
|
---|
5933 | IAdviseSink* This);
|
---|
5934 | void __RPC_STUB IAdviseSink_RemoteOnClose_Stub(
|
---|
5935 | IRpcStubBuffer* This,
|
---|
5936 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5937 | PRPC_MESSAGE pRpcMessage,
|
---|
5938 | DWORD* pdwStubPhase);
|
---|
5939 | void CALLBACK IAdviseSink_OnDataChange_Proxy(
|
---|
5940 | IAdviseSink* This,
|
---|
5941 | FORMATETC *pFormatetc,
|
---|
5942 | STGMEDIUM *pStgmed);
|
---|
5943 | HRESULT __RPC_STUB IAdviseSink_OnDataChange_Stub(
|
---|
5944 | IAdviseSink* This,
|
---|
5945 | FORMATETC *pFormatetc,
|
---|
5946 | ASYNC_STGMEDIUM *pStgmed);
|
---|
5947 | void CALLBACK IAdviseSink_OnViewChange_Proxy(
|
---|
5948 | IAdviseSink* This,
|
---|
5949 | DWORD dwAspect,
|
---|
5950 | LONG lindex);
|
---|
5951 | HRESULT __RPC_STUB IAdviseSink_OnViewChange_Stub(
|
---|
5952 | IAdviseSink* This,
|
---|
5953 | DWORD dwAspect,
|
---|
5954 | LONG lindex);
|
---|
5955 | void CALLBACK IAdviseSink_OnRename_Proxy(
|
---|
5956 | IAdviseSink* This,
|
---|
5957 | IMoniker *pmk);
|
---|
5958 | HRESULT __RPC_STUB IAdviseSink_OnRename_Stub(
|
---|
5959 | IAdviseSink* This,
|
---|
5960 | IMoniker *pmk);
|
---|
5961 | void CALLBACK IAdviseSink_OnSave_Proxy(
|
---|
5962 | IAdviseSink* This);
|
---|
5963 | HRESULT __RPC_STUB IAdviseSink_OnSave_Stub(
|
---|
5964 | IAdviseSink* This);
|
---|
5965 | void CALLBACK IAdviseSink_OnClose_Proxy(
|
---|
5966 | IAdviseSink* This);
|
---|
5967 | HRESULT __RPC_STUB IAdviseSink_OnClose_Stub(
|
---|
5968 | IAdviseSink* This);
|
---|
5969 |
|
---|
5970 | #endif /* __IAdviseSink_INTERFACE_DEFINED__ */
|
---|
5971 |
|
---|
5972 | /*****************************************************************************
|
---|
5973 | * IAdviseSink2 interface
|
---|
5974 | */
|
---|
5975 | #ifndef __IAdviseSink2_INTERFACE_DEFINED__
|
---|
5976 | #define __IAdviseSink2_INTERFACE_DEFINED__
|
---|
5977 |
|
---|
5978 | typedef IAdviseSink2 *LPADVISESINK2;
|
---|
5979 | DEFINE_GUID(IID_IAdviseSink2, 0x00000125, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
5980 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5981 | interface IAdviseSink2 : public IAdviseSink
|
---|
5982 | {
|
---|
5983 | virtual void STDMETHODCALLTYPE OnLinkSrcChange(
|
---|
5984 | IMoniker *pmk) = 0;
|
---|
5985 |
|
---|
5986 | };
|
---|
5987 | #else
|
---|
5988 | typedef struct IAdviseSink2Vtbl {
|
---|
5989 | BEGIN_INTERFACE
|
---|
5990 |
|
---|
5991 | /*** IUnknown methods ***/
|
---|
5992 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5993 | IAdviseSink2* This,
|
---|
5994 | REFIID riid,
|
---|
5995 | void **ppvObject);
|
---|
5996 |
|
---|
5997 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5998 | IAdviseSink2* This);
|
---|
5999 |
|
---|
6000 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6001 | IAdviseSink2* This);
|
---|
6002 |
|
---|
6003 | /*** IAdviseSink methods ***/
|
---|
6004 | void (STDMETHODCALLTYPE *OnDataChange)(
|
---|
6005 | IAdviseSink2* This,
|
---|
6006 | FORMATETC *pFormatetc,
|
---|
6007 | STGMEDIUM *pStgmed);
|
---|
6008 |
|
---|
6009 | void (STDMETHODCALLTYPE *OnViewChange)(
|
---|
6010 | IAdviseSink2* This,
|
---|
6011 | DWORD dwAspect,
|
---|
6012 | LONG lindex);
|
---|
6013 |
|
---|
6014 | void (STDMETHODCALLTYPE *OnRename)(
|
---|
6015 | IAdviseSink2* This,
|
---|
6016 | IMoniker *pmk);
|
---|
6017 |
|
---|
6018 | void (STDMETHODCALLTYPE *OnSave)(
|
---|
6019 | IAdviseSink2* This);
|
---|
6020 |
|
---|
6021 | void (STDMETHODCALLTYPE *OnClose)(
|
---|
6022 | IAdviseSink2* This);
|
---|
6023 |
|
---|
6024 | /*** IAdviseSink2 methods ***/
|
---|
6025 | void (STDMETHODCALLTYPE *OnLinkSrcChange)(
|
---|
6026 | IAdviseSink2* This,
|
---|
6027 | IMoniker *pmk);
|
---|
6028 |
|
---|
6029 | END_INTERFACE
|
---|
6030 | } IAdviseSink2Vtbl;
|
---|
6031 | interface IAdviseSink2 {
|
---|
6032 | CONST_VTBL IAdviseSink2Vtbl* lpVtbl;
|
---|
6033 | };
|
---|
6034 |
|
---|
6035 | #ifdef COBJMACROS
|
---|
6036 | /*** IUnknown methods ***/
|
---|
6037 | #define IAdviseSink2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6038 | #define IAdviseSink2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6039 | #define IAdviseSink2_Release(This) (This)->lpVtbl->Release(This)
|
---|
6040 | /*** IAdviseSink methods ***/
|
---|
6041 | #define IAdviseSink2_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed)
|
---|
6042 | #define IAdviseSink2_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex)
|
---|
6043 | #define IAdviseSink2_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk)
|
---|
6044 | #define IAdviseSink2_OnSave(This) (This)->lpVtbl->OnSave(This)
|
---|
6045 | #define IAdviseSink2_OnClose(This) (This)->lpVtbl->OnClose(This)
|
---|
6046 | /*** IAdviseSink2 methods ***/
|
---|
6047 | #define IAdviseSink2_OnLinkSrcChange(This,pmk) (This)->lpVtbl->OnLinkSrcChange(This,pmk)
|
---|
6048 | #endif
|
---|
6049 |
|
---|
6050 | #endif
|
---|
6051 |
|
---|
6052 | HRESULT STDMETHODCALLTYPE IAdviseSink2_RemoteOnLinkSrcChange_Proxy(
|
---|
6053 | IAdviseSink2* This,
|
---|
6054 | IMoniker *pmk);
|
---|
6055 | void __RPC_STUB IAdviseSink2_RemoteOnLinkSrcChange_Stub(
|
---|
6056 | IRpcStubBuffer* This,
|
---|
6057 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6058 | PRPC_MESSAGE pRpcMessage,
|
---|
6059 | DWORD* pdwStubPhase);
|
---|
6060 | void CALLBACK IAdviseSink2_OnLinkSrcChange_Proxy(
|
---|
6061 | IAdviseSink2* This,
|
---|
6062 | IMoniker *pmk);
|
---|
6063 | HRESULT __RPC_STUB IAdviseSink2_OnLinkSrcChange_Stub(
|
---|
6064 | IAdviseSink2* This,
|
---|
6065 | IMoniker *pmk);
|
---|
6066 |
|
---|
6067 | #endif /* __IAdviseSink2_INTERFACE_DEFINED__ */
|
---|
6068 |
|
---|
6069 | /*****************************************************************************
|
---|
6070 | * IDataObject interface
|
---|
6071 | */
|
---|
6072 | #ifndef __IDataObject_INTERFACE_DEFINED__
|
---|
6073 | #define __IDataObject_INTERFACE_DEFINED__
|
---|
6074 |
|
---|
6075 | typedef IDataObject *LPDATAOBJECT;
|
---|
6076 | typedef enum tagDATADIR {
|
---|
6077 | DATADIR_GET = 1,
|
---|
6078 | DATADIR_SET = 2
|
---|
6079 | } DATADIR;
|
---|
6080 | DEFINE_GUID(IID_IDataObject, 0x0000010e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
6081 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6082 | interface IDataObject : public IUnknown
|
---|
6083 | {
|
---|
6084 | virtual HRESULT STDMETHODCALLTYPE GetData(
|
---|
6085 | FORMATETC *pformatetcIn,
|
---|
6086 | STGMEDIUM *pmedium) = 0;
|
---|
6087 |
|
---|
6088 | virtual HRESULT STDMETHODCALLTYPE GetDataHere(
|
---|
6089 | FORMATETC *pformatetc,
|
---|
6090 | STGMEDIUM *pmedium) = 0;
|
---|
6091 |
|
---|
6092 | virtual HRESULT STDMETHODCALLTYPE QueryGetData(
|
---|
6093 | FORMATETC *pformatetc) = 0;
|
---|
6094 |
|
---|
6095 | virtual HRESULT STDMETHODCALLTYPE GetCanonicalFormatEtc(
|
---|
6096 | FORMATETC *pformatectIn,
|
---|
6097 | FORMATETC *pformatetcOut) = 0;
|
---|
6098 |
|
---|
6099 | virtual HRESULT STDMETHODCALLTYPE SetData(
|
---|
6100 | FORMATETC *pformatetc,
|
---|
6101 | STGMEDIUM *pmedium,
|
---|
6102 | BOOL fRelease) = 0;
|
---|
6103 |
|
---|
6104 | virtual HRESULT STDMETHODCALLTYPE EnumFormatEtc(
|
---|
6105 | DWORD dwDirection,
|
---|
6106 | IEnumFORMATETC **ppenumFormatEtc) = 0;
|
---|
6107 |
|
---|
6108 | virtual HRESULT STDMETHODCALLTYPE DAdvise(
|
---|
6109 | FORMATETC *pformatetc,
|
---|
6110 | DWORD advf,
|
---|
6111 | IAdviseSink *pAdvSink,
|
---|
6112 | DWORD *pdwConnection) = 0;
|
---|
6113 |
|
---|
6114 | virtual HRESULT STDMETHODCALLTYPE DUnadvise(
|
---|
6115 | DWORD dwConnection) = 0;
|
---|
6116 |
|
---|
6117 | virtual HRESULT STDMETHODCALLTYPE EnumDAdvise(
|
---|
6118 | IEnumSTATDATA **ppenumAdvise) = 0;
|
---|
6119 |
|
---|
6120 | };
|
---|
6121 | #else
|
---|
6122 | typedef struct IDataObjectVtbl {
|
---|
6123 | BEGIN_INTERFACE
|
---|
6124 |
|
---|
6125 | /*** IUnknown methods ***/
|
---|
6126 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6127 | IDataObject* This,
|
---|
6128 | REFIID riid,
|
---|
6129 | void **ppvObject);
|
---|
6130 |
|
---|
6131 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6132 | IDataObject* This);
|
---|
6133 |
|
---|
6134 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6135 | IDataObject* This);
|
---|
6136 |
|
---|
6137 | /*** IDataObject methods ***/
|
---|
6138 | HRESULT (STDMETHODCALLTYPE *GetData)(
|
---|
6139 | IDataObject* This,
|
---|
6140 | FORMATETC *pformatetcIn,
|
---|
6141 | STGMEDIUM *pmedium);
|
---|
6142 |
|
---|
6143 | HRESULT (STDMETHODCALLTYPE *GetDataHere)(
|
---|
6144 | IDataObject* This,
|
---|
6145 | FORMATETC *pformatetc,
|
---|
6146 | STGMEDIUM *pmedium);
|
---|
6147 |
|
---|
6148 | HRESULT (STDMETHODCALLTYPE *QueryGetData)(
|
---|
6149 | IDataObject* This,
|
---|
6150 | FORMATETC *pformatetc);
|
---|
6151 |
|
---|
6152 | HRESULT (STDMETHODCALLTYPE *GetCanonicalFormatEtc)(
|
---|
6153 | IDataObject* This,
|
---|
6154 | FORMATETC *pformatectIn,
|
---|
6155 | FORMATETC *pformatetcOut);
|
---|
6156 |
|
---|
6157 | HRESULT (STDMETHODCALLTYPE *SetData)(
|
---|
6158 | IDataObject* This,
|
---|
6159 | FORMATETC *pformatetc,
|
---|
6160 | STGMEDIUM *pmedium,
|
---|
6161 | BOOL fRelease);
|
---|
6162 |
|
---|
6163 | HRESULT (STDMETHODCALLTYPE *EnumFormatEtc)(
|
---|
6164 | IDataObject* This,
|
---|
6165 | DWORD dwDirection,
|
---|
6166 | IEnumFORMATETC **ppenumFormatEtc);
|
---|
6167 |
|
---|
6168 | HRESULT (STDMETHODCALLTYPE *DAdvise)(
|
---|
6169 | IDataObject* This,
|
---|
6170 | FORMATETC *pformatetc,
|
---|
6171 | DWORD advf,
|
---|
6172 | IAdviseSink *pAdvSink,
|
---|
6173 | DWORD *pdwConnection);
|
---|
6174 |
|
---|
6175 | HRESULT (STDMETHODCALLTYPE *DUnadvise)(
|
---|
6176 | IDataObject* This,
|
---|
6177 | DWORD dwConnection);
|
---|
6178 |
|
---|
6179 | HRESULT (STDMETHODCALLTYPE *EnumDAdvise)(
|
---|
6180 | IDataObject* This,
|
---|
6181 | IEnumSTATDATA **ppenumAdvise);
|
---|
6182 |
|
---|
6183 | END_INTERFACE
|
---|
6184 | } IDataObjectVtbl;
|
---|
6185 | interface IDataObject {
|
---|
6186 | CONST_VTBL IDataObjectVtbl* lpVtbl;
|
---|
6187 | };
|
---|
6188 |
|
---|
6189 | #ifdef COBJMACROS
|
---|
6190 | /*** IUnknown methods ***/
|
---|
6191 | #define IDataObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6192 | #define IDataObject_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6193 | #define IDataObject_Release(This) (This)->lpVtbl->Release(This)
|
---|
6194 | /*** IDataObject methods ***/
|
---|
6195 | #define IDataObject_GetData(This,pformatetcIn,pmedium) (This)->lpVtbl->GetData(This,pformatetcIn,pmedium)
|
---|
6196 | #define IDataObject_GetDataHere(This,pformatetc,pmedium) (This)->lpVtbl->GetDataHere(This,pformatetc,pmedium)
|
---|
6197 | #define IDataObject_QueryGetData(This,pformatetc) (This)->lpVtbl->QueryGetData(This,pformatetc)
|
---|
6198 | #define IDataObject_GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut) (This)->lpVtbl->GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut)
|
---|
6199 | #define IDataObject_SetData(This,pformatetc,pmedium,fRelease) (This)->lpVtbl->SetData(This,pformatetc,pmedium,fRelease)
|
---|
6200 | #define IDataObject_EnumFormatEtc(This,dwDirection,ppenumFormatEtc) (This)->lpVtbl->EnumFormatEtc(This,dwDirection,ppenumFormatEtc)
|
---|
6201 | #define IDataObject_DAdvise(This,pformatetc,advf,pAdvSink,pdwConnection) (This)->lpVtbl->DAdvise(This,pformatetc,advf,pAdvSink,pdwConnection)
|
---|
6202 | #define IDataObject_DUnadvise(This,dwConnection) (This)->lpVtbl->DUnadvise(This,dwConnection)
|
---|
6203 | #define IDataObject_EnumDAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumDAdvise(This,ppenumAdvise)
|
---|
6204 | #endif
|
---|
6205 |
|
---|
6206 | #endif
|
---|
6207 |
|
---|
6208 | HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetData_Proxy(
|
---|
6209 | IDataObject* This,
|
---|
6210 | FORMATETC *pformatetcIn,
|
---|
6211 | STGMEDIUM *pRemoteMedium);
|
---|
6212 | void __RPC_STUB IDataObject_RemoteGetData_Stub(
|
---|
6213 | IRpcStubBuffer* This,
|
---|
6214 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6215 | PRPC_MESSAGE pRpcMessage,
|
---|
6216 | DWORD* pdwStubPhase);
|
---|
6217 | HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetDataHere_Proxy(
|
---|
6218 | IDataObject* This,
|
---|
6219 | FORMATETC *pformatetc,
|
---|
6220 | STGMEDIUM *pRemoteMedium);
|
---|
6221 | void __RPC_STUB IDataObject_RemoteGetDataHere_Stub(
|
---|
6222 | IRpcStubBuffer* This,
|
---|
6223 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6224 | PRPC_MESSAGE pRpcMessage,
|
---|
6225 | DWORD* pdwStubPhase);
|
---|
6226 | HRESULT STDMETHODCALLTYPE IDataObject_QueryGetData_Proxy(
|
---|
6227 | IDataObject* This,
|
---|
6228 | FORMATETC *pformatetc);
|
---|
6229 | void __RPC_STUB IDataObject_QueryGetData_Stub(
|
---|
6230 | IRpcStubBuffer* This,
|
---|
6231 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6232 | PRPC_MESSAGE pRpcMessage,
|
---|
6233 | DWORD* pdwStubPhase);
|
---|
6234 | HRESULT STDMETHODCALLTYPE IDataObject_GetCanonicalFormatEtc_Proxy(
|
---|
6235 | IDataObject* This,
|
---|
6236 | FORMATETC *pformatectIn,
|
---|
6237 | FORMATETC *pformatetcOut);
|
---|
6238 | void __RPC_STUB IDataObject_GetCanonicalFormatEtc_Stub(
|
---|
6239 | IRpcStubBuffer* This,
|
---|
6240 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6241 | PRPC_MESSAGE pRpcMessage,
|
---|
6242 | DWORD* pdwStubPhase);
|
---|
6243 | HRESULT STDMETHODCALLTYPE IDataObject_RemoteSetData_Proxy(
|
---|
6244 | IDataObject* This,
|
---|
6245 | FORMATETC *pformatetc,
|
---|
6246 | FLAG_STGMEDIUM *pmedium,
|
---|
6247 | BOOL fRelease);
|
---|
6248 | void __RPC_STUB IDataObject_RemoteSetData_Stub(
|
---|
6249 | IRpcStubBuffer* This,
|
---|
6250 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6251 | PRPC_MESSAGE pRpcMessage,
|
---|
6252 | DWORD* pdwStubPhase);
|
---|
6253 | HRESULT STDMETHODCALLTYPE IDataObject_EnumFormatEtc_Proxy(
|
---|
6254 | IDataObject* This,
|
---|
6255 | DWORD dwDirection,
|
---|
6256 | IEnumFORMATETC **ppenumFormatEtc);
|
---|
6257 | void __RPC_STUB IDataObject_EnumFormatEtc_Stub(
|
---|
6258 | IRpcStubBuffer* This,
|
---|
6259 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6260 | PRPC_MESSAGE pRpcMessage,
|
---|
6261 | DWORD* pdwStubPhase);
|
---|
6262 | HRESULT STDMETHODCALLTYPE IDataObject_DAdvise_Proxy(
|
---|
6263 | IDataObject* This,
|
---|
6264 | FORMATETC *pformatetc,
|
---|
6265 | DWORD advf,
|
---|
6266 | IAdviseSink *pAdvSink,
|
---|
6267 | DWORD *pdwConnection);
|
---|
6268 | void __RPC_STUB IDataObject_DAdvise_Stub(
|
---|
6269 | IRpcStubBuffer* This,
|
---|
6270 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6271 | PRPC_MESSAGE pRpcMessage,
|
---|
6272 | DWORD* pdwStubPhase);
|
---|
6273 | HRESULT STDMETHODCALLTYPE IDataObject_DUnadvise_Proxy(
|
---|
6274 | IDataObject* This,
|
---|
6275 | DWORD dwConnection);
|
---|
6276 | void __RPC_STUB IDataObject_DUnadvise_Stub(
|
---|
6277 | IRpcStubBuffer* This,
|
---|
6278 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6279 | PRPC_MESSAGE pRpcMessage,
|
---|
6280 | DWORD* pdwStubPhase);
|
---|
6281 | HRESULT STDMETHODCALLTYPE IDataObject_EnumDAdvise_Proxy(
|
---|
6282 | IDataObject* This,
|
---|
6283 | IEnumSTATDATA **ppenumAdvise);
|
---|
6284 | void __RPC_STUB IDataObject_EnumDAdvise_Stub(
|
---|
6285 | IRpcStubBuffer* This,
|
---|
6286 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6287 | PRPC_MESSAGE pRpcMessage,
|
---|
6288 | DWORD* pdwStubPhase);
|
---|
6289 | HRESULT CALLBACK IDataObject_GetData_Proxy(
|
---|
6290 | IDataObject* This,
|
---|
6291 | FORMATETC *pformatetcIn,
|
---|
6292 | STGMEDIUM *pmedium);
|
---|
6293 | HRESULT __RPC_STUB IDataObject_GetData_Stub(
|
---|
6294 | IDataObject* This,
|
---|
6295 | FORMATETC *pformatetcIn,
|
---|
6296 | STGMEDIUM *pRemoteMedium);
|
---|
6297 | HRESULT CALLBACK IDataObject_GetDataHere_Proxy(
|
---|
6298 | IDataObject* This,
|
---|
6299 | FORMATETC *pformatetc,
|
---|
6300 | STGMEDIUM *pmedium);
|
---|
6301 | HRESULT __RPC_STUB IDataObject_GetDataHere_Stub(
|
---|
6302 | IDataObject* This,
|
---|
6303 | FORMATETC *pformatetc,
|
---|
6304 | STGMEDIUM *pRemoteMedium);
|
---|
6305 | HRESULT CALLBACK IDataObject_SetData_Proxy(
|
---|
6306 | IDataObject* This,
|
---|
6307 | FORMATETC *pformatetc,
|
---|
6308 | STGMEDIUM *pmedium,
|
---|
6309 | BOOL fRelease);
|
---|
6310 | HRESULT __RPC_STUB IDataObject_SetData_Stub(
|
---|
6311 | IDataObject* This,
|
---|
6312 | FORMATETC *pformatetc,
|
---|
6313 | FLAG_STGMEDIUM *pmedium,
|
---|
6314 | BOOL fRelease);
|
---|
6315 |
|
---|
6316 | #endif /* __IDataObject_INTERFACE_DEFINED__ */
|
---|
6317 |
|
---|
6318 | /*****************************************************************************
|
---|
6319 | * IDataAdviseHolder interface
|
---|
6320 | */
|
---|
6321 | #ifndef __IDataAdviseHolder_INTERFACE_DEFINED__
|
---|
6322 | #define __IDataAdviseHolder_INTERFACE_DEFINED__
|
---|
6323 |
|
---|
6324 | typedef IDataAdviseHolder *LPDATAADVISEHOLDER;
|
---|
6325 | DEFINE_GUID(IID_IDataAdviseHolder, 0x00000110, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
6326 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6327 | interface IDataAdviseHolder : public IUnknown
|
---|
6328 | {
|
---|
6329 | virtual HRESULT STDMETHODCALLTYPE Advise(
|
---|
6330 | IDataObject *pDataObject,
|
---|
6331 | FORMATETC *pFetc,
|
---|
6332 | DWORD advf,
|
---|
6333 | IAdviseSink *pAdvise,
|
---|
6334 | DWORD *pdwConnection) = 0;
|
---|
6335 |
|
---|
6336 | virtual HRESULT STDMETHODCALLTYPE Unadvise(
|
---|
6337 | DWORD dwConnection) = 0;
|
---|
6338 |
|
---|
6339 | virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
|
---|
6340 | IEnumSTATDATA **ppenumAdvise) = 0;
|
---|
6341 |
|
---|
6342 | virtual HRESULT STDMETHODCALLTYPE SendOnDataChange(
|
---|
6343 | IDataObject *pDataObject,
|
---|
6344 | DWORD dwReserved,
|
---|
6345 | DWORD advf) = 0;
|
---|
6346 |
|
---|
6347 | };
|
---|
6348 | #else
|
---|
6349 | typedef struct IDataAdviseHolderVtbl {
|
---|
6350 | BEGIN_INTERFACE
|
---|
6351 |
|
---|
6352 | /*** IUnknown methods ***/
|
---|
6353 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6354 | IDataAdviseHolder* This,
|
---|
6355 | REFIID riid,
|
---|
6356 | void **ppvObject);
|
---|
6357 |
|
---|
6358 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6359 | IDataAdviseHolder* This);
|
---|
6360 |
|
---|
6361 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6362 | IDataAdviseHolder* This);
|
---|
6363 |
|
---|
6364 | /*** IDataAdviseHolder methods ***/
|
---|
6365 | HRESULT (STDMETHODCALLTYPE *Advise)(
|
---|
6366 | IDataAdviseHolder* This,
|
---|
6367 | IDataObject *pDataObject,
|
---|
6368 | FORMATETC *pFetc,
|
---|
6369 | DWORD advf,
|
---|
6370 | IAdviseSink *pAdvise,
|
---|
6371 | DWORD *pdwConnection);
|
---|
6372 |
|
---|
6373 | HRESULT (STDMETHODCALLTYPE *Unadvise)(
|
---|
6374 | IDataAdviseHolder* This,
|
---|
6375 | DWORD dwConnection);
|
---|
6376 |
|
---|
6377 | HRESULT (STDMETHODCALLTYPE *EnumAdvise)(
|
---|
6378 | IDataAdviseHolder* This,
|
---|
6379 | IEnumSTATDATA **ppenumAdvise);
|
---|
6380 |
|
---|
6381 | HRESULT (STDMETHODCALLTYPE *SendOnDataChange)(
|
---|
6382 | IDataAdviseHolder* This,
|
---|
6383 | IDataObject *pDataObject,
|
---|
6384 | DWORD dwReserved,
|
---|
6385 | DWORD advf);
|
---|
6386 |
|
---|
6387 | END_INTERFACE
|
---|
6388 | } IDataAdviseHolderVtbl;
|
---|
6389 | interface IDataAdviseHolder {
|
---|
6390 | CONST_VTBL IDataAdviseHolderVtbl* lpVtbl;
|
---|
6391 | };
|
---|
6392 |
|
---|
6393 | #ifdef COBJMACROS
|
---|
6394 | /*** IUnknown methods ***/
|
---|
6395 | #define IDataAdviseHolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6396 | #define IDataAdviseHolder_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6397 | #define IDataAdviseHolder_Release(This) (This)->lpVtbl->Release(This)
|
---|
6398 | /*** IDataAdviseHolder methods ***/
|
---|
6399 | #define IDataAdviseHolder_Advise(This,pDataObject,pFetc,advf,pAdvise,pdwConnection) (This)->lpVtbl->Advise(This,pDataObject,pFetc,advf,pAdvise,pdwConnection)
|
---|
6400 | #define IDataAdviseHolder_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection)
|
---|
6401 | #define IDataAdviseHolder_EnumAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumAdvise(This,ppenumAdvise)
|
---|
6402 | #define IDataAdviseHolder_SendOnDataChange(This,pDataObject,dwReserved,advf) (This)->lpVtbl->SendOnDataChange(This,pDataObject,dwReserved,advf)
|
---|
6403 | #endif
|
---|
6404 |
|
---|
6405 | #endif
|
---|
6406 |
|
---|
6407 | HRESULT STDMETHODCALLTYPE IDataAdviseHolder_Advise_Proxy(
|
---|
6408 | IDataAdviseHolder* This,
|
---|
6409 | IDataObject *pDataObject,
|
---|
6410 | FORMATETC *pFetc,
|
---|
6411 | DWORD advf,
|
---|
6412 | IAdviseSink *pAdvise,
|
---|
6413 | DWORD *pdwConnection);
|
---|
6414 | void __RPC_STUB IDataAdviseHolder_Advise_Stub(
|
---|
6415 | IRpcStubBuffer* This,
|
---|
6416 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6417 | PRPC_MESSAGE pRpcMessage,
|
---|
6418 | DWORD* pdwStubPhase);
|
---|
6419 | HRESULT STDMETHODCALLTYPE IDataAdviseHolder_Unadvise_Proxy(
|
---|
6420 | IDataAdviseHolder* This,
|
---|
6421 | DWORD dwConnection);
|
---|
6422 | void __RPC_STUB IDataAdviseHolder_Unadvise_Stub(
|
---|
6423 | IRpcStubBuffer* This,
|
---|
6424 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6425 | PRPC_MESSAGE pRpcMessage,
|
---|
6426 | DWORD* pdwStubPhase);
|
---|
6427 | HRESULT STDMETHODCALLTYPE IDataAdviseHolder_EnumAdvise_Proxy(
|
---|
6428 | IDataAdviseHolder* This,
|
---|
6429 | IEnumSTATDATA **ppenumAdvise);
|
---|
6430 | void __RPC_STUB IDataAdviseHolder_EnumAdvise_Stub(
|
---|
6431 | IRpcStubBuffer* This,
|
---|
6432 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6433 | PRPC_MESSAGE pRpcMessage,
|
---|
6434 | DWORD* pdwStubPhase);
|
---|
6435 | HRESULT STDMETHODCALLTYPE IDataAdviseHolder_SendOnDataChange_Proxy(
|
---|
6436 | IDataAdviseHolder* This,
|
---|
6437 | IDataObject *pDataObject,
|
---|
6438 | DWORD dwReserved,
|
---|
6439 | DWORD advf);
|
---|
6440 | void __RPC_STUB IDataAdviseHolder_SendOnDataChange_Stub(
|
---|
6441 | IRpcStubBuffer* This,
|
---|
6442 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6443 | PRPC_MESSAGE pRpcMessage,
|
---|
6444 | DWORD* pdwStubPhase);
|
---|
6445 |
|
---|
6446 | #endif /* __IDataAdviseHolder_INTERFACE_DEFINED__ */
|
---|
6447 |
|
---|
6448 | /*****************************************************************************
|
---|
6449 | * IMessageFilter interface
|
---|
6450 | */
|
---|
6451 | #ifndef __IMessageFilter_INTERFACE_DEFINED__
|
---|
6452 | #define __IMessageFilter_INTERFACE_DEFINED__
|
---|
6453 |
|
---|
6454 | typedef IMessageFilter *LPMESSAGEFILTER;
|
---|
6455 | typedef enum tagCALLTYPE {
|
---|
6456 | CALLTYPE_TOPLEVEL = 1,
|
---|
6457 | CALLTYPE_NESTED = 2,
|
---|
6458 | CALLTYPE_ASYNC = 3,
|
---|
6459 | CALLTYPE_TOPLEVEL_CALLPENDING = 4,
|
---|
6460 | CALLTYPE_ASYNC_CALLPENDING = 5
|
---|
6461 | } CALLTYPE;
|
---|
6462 | typedef enum tagSERVERCALL {
|
---|
6463 | SERVERCALL_ISHANDLED = 0,
|
---|
6464 | SERVERCALL_REJECTED = 1,
|
---|
6465 | SERVERCALL_RETRYLATER = 2
|
---|
6466 | } SERVERCALL;
|
---|
6467 | typedef enum tagPENDINGTYPE {
|
---|
6468 | PENDINGTYPE_TOPLEVEL = 1,
|
---|
6469 | PENDINGTYPE_NESTED = 2
|
---|
6470 | } PENDINGTYPE;
|
---|
6471 | typedef enum tagPENDINGMSG {
|
---|
6472 | PENDINGMSG_CANCELCALL = 0,
|
---|
6473 | PENDINGMSG_WAITNOPROCESS = 1,
|
---|
6474 | PENDINGMSG_WAITDEFPROCESS = 2
|
---|
6475 | } PENDINGMSG;
|
---|
6476 | typedef struct tagINTERFACEINFO {
|
---|
6477 | IUnknown *pUnk;
|
---|
6478 | IID iid;
|
---|
6479 | WORD wMethod;
|
---|
6480 | } INTERFACEINFO;
|
---|
6481 | typedef struct tagINTERFACEINFO *LPINTERFACEINFO;
|
---|
6482 | DEFINE_GUID(IID_IMessageFilter, 0x00000016, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
6483 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6484 | interface IMessageFilter : public IUnknown
|
---|
6485 | {
|
---|
6486 | virtual DWORD STDMETHODCALLTYPE HandleInComingCall(
|
---|
6487 | DWORD dwCallType,
|
---|
6488 | HTASK htaskCaller,
|
---|
6489 | DWORD dwTickCount,
|
---|
6490 | LPINTERFACEINFO lpInterfaceInfo) = 0;
|
---|
6491 |
|
---|
6492 | virtual DWORD STDMETHODCALLTYPE RetryRejectedCall(
|
---|
6493 | HTASK htaskCallee,
|
---|
6494 | DWORD dwTickCount,
|
---|
6495 | DWORD dwRejectType) = 0;
|
---|
6496 |
|
---|
6497 | virtual DWORD STDMETHODCALLTYPE MessagePending(
|
---|
6498 | HTASK htaskCallee,
|
---|
6499 | DWORD dwTickCount,
|
---|
6500 | DWORD dwPendingType) = 0;
|
---|
6501 |
|
---|
6502 | };
|
---|
6503 | #else
|
---|
6504 | typedef struct IMessageFilterVtbl {
|
---|
6505 | BEGIN_INTERFACE
|
---|
6506 |
|
---|
6507 | /*** IUnknown methods ***/
|
---|
6508 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6509 | IMessageFilter* This,
|
---|
6510 | REFIID riid,
|
---|
6511 | void **ppvObject);
|
---|
6512 |
|
---|
6513 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6514 | IMessageFilter* This);
|
---|
6515 |
|
---|
6516 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6517 | IMessageFilter* This);
|
---|
6518 |
|
---|
6519 | /*** IMessageFilter methods ***/
|
---|
6520 | DWORD (STDMETHODCALLTYPE *HandleInComingCall)(
|
---|
6521 | IMessageFilter* This,
|
---|
6522 | DWORD dwCallType,
|
---|
6523 | HTASK htaskCaller,
|
---|
6524 | DWORD dwTickCount,
|
---|
6525 | LPINTERFACEINFO lpInterfaceInfo);
|
---|
6526 |
|
---|
6527 | DWORD (STDMETHODCALLTYPE *RetryRejectedCall)(
|
---|
6528 | IMessageFilter* This,
|
---|
6529 | HTASK htaskCallee,
|
---|
6530 | DWORD dwTickCount,
|
---|
6531 | DWORD dwRejectType);
|
---|
6532 |
|
---|
6533 | DWORD (STDMETHODCALLTYPE *MessagePending)(
|
---|
6534 | IMessageFilter* This,
|
---|
6535 | HTASK htaskCallee,
|
---|
6536 | DWORD dwTickCount,
|
---|
6537 | DWORD dwPendingType);
|
---|
6538 |
|
---|
6539 | END_INTERFACE
|
---|
6540 | } IMessageFilterVtbl;
|
---|
6541 | interface IMessageFilter {
|
---|
6542 | CONST_VTBL IMessageFilterVtbl* lpVtbl;
|
---|
6543 | };
|
---|
6544 |
|
---|
6545 | #ifdef COBJMACROS
|
---|
6546 | /*** IUnknown methods ***/
|
---|
6547 | #define IMessageFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6548 | #define IMessageFilter_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6549 | #define IMessageFilter_Release(This) (This)->lpVtbl->Release(This)
|
---|
6550 | /*** IMessageFilter methods ***/
|
---|
6551 | #define IMessageFilter_HandleInComingCall(This,dwCallType,htaskCaller,dwTickCount,lpInterfaceInfo) (This)->lpVtbl->HandleInComingCall(This,dwCallType,htaskCaller,dwTickCount,lpInterfaceInfo)
|
---|
6552 | #define IMessageFilter_RetryRejectedCall(This,htaskCallee,dwTickCount,dwRejectType) (This)->lpVtbl->RetryRejectedCall(This,htaskCallee,dwTickCount,dwRejectType)
|
---|
6553 | #define IMessageFilter_MessagePending(This,htaskCallee,dwTickCount,dwPendingType) (This)->lpVtbl->MessagePending(This,htaskCallee,dwTickCount,dwPendingType)
|
---|
6554 | #endif
|
---|
6555 |
|
---|
6556 | #endif
|
---|
6557 |
|
---|
6558 | DWORD STDMETHODCALLTYPE IMessageFilter_HandleInComingCall_Proxy(
|
---|
6559 | IMessageFilter* This,
|
---|
6560 | DWORD dwCallType,
|
---|
6561 | HTASK htaskCaller,
|
---|
6562 | DWORD dwTickCount,
|
---|
6563 | LPINTERFACEINFO lpInterfaceInfo);
|
---|
6564 | void __RPC_STUB IMessageFilter_HandleInComingCall_Stub(
|
---|
6565 | IRpcStubBuffer* This,
|
---|
6566 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6567 | PRPC_MESSAGE pRpcMessage,
|
---|
6568 | DWORD* pdwStubPhase);
|
---|
6569 | DWORD STDMETHODCALLTYPE IMessageFilter_RetryRejectedCall_Proxy(
|
---|
6570 | IMessageFilter* This,
|
---|
6571 | HTASK htaskCallee,
|
---|
6572 | DWORD dwTickCount,
|
---|
6573 | DWORD dwRejectType);
|
---|
6574 | void __RPC_STUB IMessageFilter_RetryRejectedCall_Stub(
|
---|
6575 | IRpcStubBuffer* This,
|
---|
6576 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6577 | PRPC_MESSAGE pRpcMessage,
|
---|
6578 | DWORD* pdwStubPhase);
|
---|
6579 | DWORD STDMETHODCALLTYPE IMessageFilter_MessagePending_Proxy(
|
---|
6580 | IMessageFilter* This,
|
---|
6581 | HTASK htaskCallee,
|
---|
6582 | DWORD dwTickCount,
|
---|
6583 | DWORD dwPendingType);
|
---|
6584 | void __RPC_STUB IMessageFilter_MessagePending_Stub(
|
---|
6585 | IRpcStubBuffer* This,
|
---|
6586 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6587 | PRPC_MESSAGE pRpcMessage,
|
---|
6588 | DWORD* pdwStubPhase);
|
---|
6589 |
|
---|
6590 | #endif /* __IMessageFilter_INTERFACE_DEFINED__ */
|
---|
6591 |
|
---|
6592 | /*****************************************************************************
|
---|
6593 | * IRpcChannelBuffer interface
|
---|
6594 | */
|
---|
6595 | #ifndef __IRpcChannelBuffer_INTERFACE_DEFINED__
|
---|
6596 | #define __IRpcChannelBuffer_INTERFACE_DEFINED__
|
---|
6597 |
|
---|
6598 | typedef IRpcChannelBuffer *LPRPCCHANNELBUFFER;
|
---|
6599 | typedef ULONG RPCOLEDATAREP;
|
---|
6600 | typedef struct tagRPCOLEMESSAGE {
|
---|
6601 | void *reserved1;
|
---|
6602 | RPCOLEDATAREP dataRepresentation;
|
---|
6603 | void *Buffer;
|
---|
6604 | ULONG cbBuffer;
|
---|
6605 | ULONG iMethod;
|
---|
6606 | void * reserved2[5];
|
---|
6607 | ULONG rpcFlags;
|
---|
6608 | } RPCOLEMESSAGE;
|
---|
6609 | typedef RPCOLEMESSAGE *PRPCOLEMESSAGE;
|
---|
6610 | DEFINE_GUID(IID_IRpcChannelBuffer, 0xd5f56b60, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a);
|
---|
6611 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6612 | interface IRpcChannelBuffer : public IUnknown
|
---|
6613 | {
|
---|
6614 | virtual HRESULT STDMETHODCALLTYPE GetBuffer(
|
---|
6615 | RPCOLEMESSAGE *pMessage,
|
---|
6616 | REFIID riid) = 0;
|
---|
6617 |
|
---|
6618 | virtual HRESULT STDMETHODCALLTYPE SendReceive(
|
---|
6619 | RPCOLEMESSAGE *pMessage,
|
---|
6620 | ULONG *pStatus) = 0;
|
---|
6621 |
|
---|
6622 | virtual HRESULT STDMETHODCALLTYPE FreeBuffer(
|
---|
6623 | RPCOLEMESSAGE *pMessage) = 0;
|
---|
6624 |
|
---|
6625 | virtual HRESULT STDMETHODCALLTYPE GetDestCtx(
|
---|
6626 | DWORD *pdwDestContext,
|
---|
6627 | void **ppvDestContext) = 0;
|
---|
6628 |
|
---|
6629 | virtual HRESULT STDMETHODCALLTYPE IsConnected(
|
---|
6630 | ) = 0;
|
---|
6631 |
|
---|
6632 | };
|
---|
6633 | #else
|
---|
6634 | typedef struct IRpcChannelBufferVtbl {
|
---|
6635 | BEGIN_INTERFACE
|
---|
6636 |
|
---|
6637 | /*** IUnknown methods ***/
|
---|
6638 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6639 | IRpcChannelBuffer* This,
|
---|
6640 | REFIID riid,
|
---|
6641 | void **ppvObject);
|
---|
6642 |
|
---|
6643 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6644 | IRpcChannelBuffer* This);
|
---|
6645 |
|
---|
6646 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6647 | IRpcChannelBuffer* This);
|
---|
6648 |
|
---|
6649 | /*** IRpcChannelBuffer methods ***/
|
---|
6650 | HRESULT (STDMETHODCALLTYPE *GetBuffer)(
|
---|
6651 | IRpcChannelBuffer* This,
|
---|
6652 | RPCOLEMESSAGE *pMessage,
|
---|
6653 | REFIID riid);
|
---|
6654 |
|
---|
6655 | HRESULT (STDMETHODCALLTYPE *SendReceive)(
|
---|
6656 | IRpcChannelBuffer* This,
|
---|
6657 | RPCOLEMESSAGE *pMessage,
|
---|
6658 | ULONG *pStatus);
|
---|
6659 |
|
---|
6660 | HRESULT (STDMETHODCALLTYPE *FreeBuffer)(
|
---|
6661 | IRpcChannelBuffer* This,
|
---|
6662 | RPCOLEMESSAGE *pMessage);
|
---|
6663 |
|
---|
6664 | HRESULT (STDMETHODCALLTYPE *GetDestCtx)(
|
---|
6665 | IRpcChannelBuffer* This,
|
---|
6666 | DWORD *pdwDestContext,
|
---|
6667 | void **ppvDestContext);
|
---|
6668 |
|
---|
6669 | HRESULT (STDMETHODCALLTYPE *IsConnected)(
|
---|
6670 | IRpcChannelBuffer* This);
|
---|
6671 |
|
---|
6672 | END_INTERFACE
|
---|
6673 | } IRpcChannelBufferVtbl;
|
---|
6674 | interface IRpcChannelBuffer {
|
---|
6675 | CONST_VTBL IRpcChannelBufferVtbl* lpVtbl;
|
---|
6676 | };
|
---|
6677 |
|
---|
6678 | #ifdef COBJMACROS
|
---|
6679 | /*** IUnknown methods ***/
|
---|
6680 | #define IRpcChannelBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6681 | #define IRpcChannelBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6682 | #define IRpcChannelBuffer_Release(This) (This)->lpVtbl->Release(This)
|
---|
6683 | /*** IRpcChannelBuffer methods ***/
|
---|
6684 | #define IRpcChannelBuffer_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid)
|
---|
6685 | #define IRpcChannelBuffer_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus)
|
---|
6686 | #define IRpcChannelBuffer_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage)
|
---|
6687 | #define IRpcChannelBuffer_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext)
|
---|
6688 | #define IRpcChannelBuffer_IsConnected(This) (This)->lpVtbl->IsConnected(This)
|
---|
6689 | #endif
|
---|
6690 |
|
---|
6691 | #endif
|
---|
6692 |
|
---|
6693 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetBuffer_Proxy(
|
---|
6694 | IRpcChannelBuffer* This,
|
---|
6695 | RPCOLEMESSAGE *pMessage,
|
---|
6696 | REFIID riid);
|
---|
6697 | void __RPC_STUB IRpcChannelBuffer_GetBuffer_Stub(
|
---|
6698 | IRpcStubBuffer* This,
|
---|
6699 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6700 | PRPC_MESSAGE pRpcMessage,
|
---|
6701 | DWORD* pdwStubPhase);
|
---|
6702 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_SendReceive_Proxy(
|
---|
6703 | IRpcChannelBuffer* This,
|
---|
6704 | RPCOLEMESSAGE *pMessage,
|
---|
6705 | ULONG *pStatus);
|
---|
6706 | void __RPC_STUB IRpcChannelBuffer_SendReceive_Stub(
|
---|
6707 | IRpcStubBuffer* This,
|
---|
6708 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6709 | PRPC_MESSAGE pRpcMessage,
|
---|
6710 | DWORD* pdwStubPhase);
|
---|
6711 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_FreeBuffer_Proxy(
|
---|
6712 | IRpcChannelBuffer* This,
|
---|
6713 | RPCOLEMESSAGE *pMessage);
|
---|
6714 | void __RPC_STUB IRpcChannelBuffer_FreeBuffer_Stub(
|
---|
6715 | IRpcStubBuffer* This,
|
---|
6716 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6717 | PRPC_MESSAGE pRpcMessage,
|
---|
6718 | DWORD* pdwStubPhase);
|
---|
6719 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetDestCtx_Proxy(
|
---|
6720 | IRpcChannelBuffer* This,
|
---|
6721 | DWORD *pdwDestContext,
|
---|
6722 | void **ppvDestContext);
|
---|
6723 | void __RPC_STUB IRpcChannelBuffer_GetDestCtx_Stub(
|
---|
6724 | IRpcStubBuffer* This,
|
---|
6725 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6726 | PRPC_MESSAGE pRpcMessage,
|
---|
6727 | DWORD* pdwStubPhase);
|
---|
6728 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_IsConnected_Proxy(
|
---|
6729 | IRpcChannelBuffer* This);
|
---|
6730 | void __RPC_STUB IRpcChannelBuffer_IsConnected_Stub(
|
---|
6731 | IRpcStubBuffer* This,
|
---|
6732 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6733 | PRPC_MESSAGE pRpcMessage,
|
---|
6734 | DWORD* pdwStubPhase);
|
---|
6735 |
|
---|
6736 | #endif /* __IRpcChannelBuffer_INTERFACE_DEFINED__ */
|
---|
6737 |
|
---|
6738 | /*****************************************************************************
|
---|
6739 | * IRpcChannelBuffer2 interface
|
---|
6740 | */
|
---|
6741 | #ifndef __IRpcChannelBuffer2_INTERFACE_DEFINED__
|
---|
6742 | #define __IRpcChannelBuffer2_INTERFACE_DEFINED__
|
---|
6743 |
|
---|
6744 | typedef IRpcChannelBuffer2 *LPRPCCHANNELBUFFER2;
|
---|
6745 | DEFINE_GUID(IID_IRpcChannelBuffer2, 0x594f31d0, 0x7f19, 0x11d0, 0xb1,0x94, 0x00,0xa0,0xc9,0x0d,0xc8,0xbf);
|
---|
6746 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6747 | interface IRpcChannelBuffer2 : public IRpcChannelBuffer
|
---|
6748 | {
|
---|
6749 | virtual HRESULT STDMETHODCALLTYPE GetProtocolVersion(
|
---|
6750 | DWORD *pdwVersion) = 0;
|
---|
6751 |
|
---|
6752 | };
|
---|
6753 | #else
|
---|
6754 | typedef struct IRpcChannelBuffer2Vtbl {
|
---|
6755 | BEGIN_INTERFACE
|
---|
6756 |
|
---|
6757 | /*** IUnknown methods ***/
|
---|
6758 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6759 | IRpcChannelBuffer2* This,
|
---|
6760 | REFIID riid,
|
---|
6761 | void **ppvObject);
|
---|
6762 |
|
---|
6763 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6764 | IRpcChannelBuffer2* This);
|
---|
6765 |
|
---|
6766 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6767 | IRpcChannelBuffer2* This);
|
---|
6768 |
|
---|
6769 | /*** IRpcChannelBuffer methods ***/
|
---|
6770 | HRESULT (STDMETHODCALLTYPE *GetBuffer)(
|
---|
6771 | IRpcChannelBuffer2* This,
|
---|
6772 | RPCOLEMESSAGE *pMessage,
|
---|
6773 | REFIID riid);
|
---|
6774 |
|
---|
6775 | HRESULT (STDMETHODCALLTYPE *SendReceive)(
|
---|
6776 | IRpcChannelBuffer2* This,
|
---|
6777 | RPCOLEMESSAGE *pMessage,
|
---|
6778 | ULONG *pStatus);
|
---|
6779 |
|
---|
6780 | HRESULT (STDMETHODCALLTYPE *FreeBuffer)(
|
---|
6781 | IRpcChannelBuffer2* This,
|
---|
6782 | RPCOLEMESSAGE *pMessage);
|
---|
6783 |
|
---|
6784 | HRESULT (STDMETHODCALLTYPE *GetDestCtx)(
|
---|
6785 | IRpcChannelBuffer2* This,
|
---|
6786 | DWORD *pdwDestContext,
|
---|
6787 | void **ppvDestContext);
|
---|
6788 |
|
---|
6789 | HRESULT (STDMETHODCALLTYPE *IsConnected)(
|
---|
6790 | IRpcChannelBuffer2* This);
|
---|
6791 |
|
---|
6792 | /*** IRpcChannelBuffer2 methods ***/
|
---|
6793 | HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)(
|
---|
6794 | IRpcChannelBuffer2* This,
|
---|
6795 | DWORD *pdwVersion);
|
---|
6796 |
|
---|
6797 | END_INTERFACE
|
---|
6798 | } IRpcChannelBuffer2Vtbl;
|
---|
6799 | interface IRpcChannelBuffer2 {
|
---|
6800 | CONST_VTBL IRpcChannelBuffer2Vtbl* lpVtbl;
|
---|
6801 | };
|
---|
6802 |
|
---|
6803 | #ifdef COBJMACROS
|
---|
6804 | /*** IUnknown methods ***/
|
---|
6805 | #define IRpcChannelBuffer2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6806 | #define IRpcChannelBuffer2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6807 | #define IRpcChannelBuffer2_Release(This) (This)->lpVtbl->Release(This)
|
---|
6808 | /*** IRpcChannelBuffer methods ***/
|
---|
6809 | #define IRpcChannelBuffer2_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid)
|
---|
6810 | #define IRpcChannelBuffer2_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus)
|
---|
6811 | #define IRpcChannelBuffer2_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage)
|
---|
6812 | #define IRpcChannelBuffer2_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext)
|
---|
6813 | #define IRpcChannelBuffer2_IsConnected(This) (This)->lpVtbl->IsConnected(This)
|
---|
6814 | /*** IRpcChannelBuffer2 methods ***/
|
---|
6815 | #define IRpcChannelBuffer2_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion)
|
---|
6816 | #endif
|
---|
6817 |
|
---|
6818 | #endif
|
---|
6819 |
|
---|
6820 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer2_GetProtocolVersion_Proxy(
|
---|
6821 | IRpcChannelBuffer2* This,
|
---|
6822 | DWORD *pdwVersion);
|
---|
6823 | void __RPC_STUB IRpcChannelBuffer2_GetProtocolVersion_Stub(
|
---|
6824 | IRpcStubBuffer* This,
|
---|
6825 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6826 | PRPC_MESSAGE pRpcMessage,
|
---|
6827 | DWORD* pdwStubPhase);
|
---|
6828 |
|
---|
6829 | #endif /* __IRpcChannelBuffer2_INTERFACE_DEFINED__ */
|
---|
6830 |
|
---|
6831 | /*****************************************************************************
|
---|
6832 | * IRpcChannelBuffer3 interface
|
---|
6833 | */
|
---|
6834 | #ifndef __IRpcChannelBuffer3_INTERFACE_DEFINED__
|
---|
6835 | #define __IRpcChannelBuffer3_INTERFACE_DEFINED__
|
---|
6836 |
|
---|
6837 | typedef IRpcChannelBuffer3 *LPRPCCHANNELBUFFER3;
|
---|
6838 | DEFINE_GUID(IID_IRpcChannelBuffer3, 0x25b15600, 0x0115, 0x11d0, 0xbf,0x0d, 0x00,0xaa,0x00,0xb8,0xdf,0xd2);
|
---|
6839 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6840 | interface IRpcChannelBuffer3 : public IRpcChannelBuffer2
|
---|
6841 | {
|
---|
6842 | virtual HRESULT STDMETHODCALLTYPE Send(
|
---|
6843 | RPCOLEMESSAGE *pMsg,
|
---|
6844 | ULONG *pulStatus) = 0;
|
---|
6845 |
|
---|
6846 | virtual HRESULT STDMETHODCALLTYPE Receive(
|
---|
6847 | RPCOLEMESSAGE *pMsg,
|
---|
6848 | ULONG ulSize,
|
---|
6849 | ULONG *pulStatus) = 0;
|
---|
6850 |
|
---|
6851 | virtual HRESULT STDMETHODCALLTYPE Cancel(
|
---|
6852 | RPCOLEMESSAGE *pMsg) = 0;
|
---|
6853 |
|
---|
6854 | virtual HRESULT STDMETHODCALLTYPE GetCallContext(
|
---|
6855 | RPCOLEMESSAGE *pMsg,
|
---|
6856 | REFIID riid,
|
---|
6857 | void **pInterface) = 0;
|
---|
6858 |
|
---|
6859 | virtual HRESULT STDMETHODCALLTYPE GetDestCtxEx(
|
---|
6860 | RPCOLEMESSAGE *pMsg,
|
---|
6861 | DWORD *pdwDestContext,
|
---|
6862 | void **ppvDestContext) = 0;
|
---|
6863 |
|
---|
6864 | virtual HRESULT STDMETHODCALLTYPE GetState(
|
---|
6865 | RPCOLEMESSAGE *pMsg,
|
---|
6866 | DWORD *pState) = 0;
|
---|
6867 |
|
---|
6868 | virtual HRESULT STDMETHODCALLTYPE RegisterAsync(
|
---|
6869 | RPCOLEMESSAGE *pMsg,
|
---|
6870 | IAsyncManager *pAsyncMgr) = 0;
|
---|
6871 |
|
---|
6872 | };
|
---|
6873 | #else
|
---|
6874 | typedef struct IRpcChannelBuffer3Vtbl {
|
---|
6875 | BEGIN_INTERFACE
|
---|
6876 |
|
---|
6877 | /*** IUnknown methods ***/
|
---|
6878 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6879 | IRpcChannelBuffer3* This,
|
---|
6880 | REFIID riid,
|
---|
6881 | void **ppvObject);
|
---|
6882 |
|
---|
6883 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6884 | IRpcChannelBuffer3* This);
|
---|
6885 |
|
---|
6886 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6887 | IRpcChannelBuffer3* This);
|
---|
6888 |
|
---|
6889 | /*** IRpcChannelBuffer methods ***/
|
---|
6890 | HRESULT (STDMETHODCALLTYPE *GetBuffer)(
|
---|
6891 | IRpcChannelBuffer3* This,
|
---|
6892 | RPCOLEMESSAGE *pMessage,
|
---|
6893 | REFIID riid);
|
---|
6894 |
|
---|
6895 | HRESULT (STDMETHODCALLTYPE *SendReceive)(
|
---|
6896 | IRpcChannelBuffer3* This,
|
---|
6897 | RPCOLEMESSAGE *pMessage,
|
---|
6898 | ULONG *pStatus);
|
---|
6899 |
|
---|
6900 | HRESULT (STDMETHODCALLTYPE *FreeBuffer)(
|
---|
6901 | IRpcChannelBuffer3* This,
|
---|
6902 | RPCOLEMESSAGE *pMessage);
|
---|
6903 |
|
---|
6904 | HRESULT (STDMETHODCALLTYPE *GetDestCtx)(
|
---|
6905 | IRpcChannelBuffer3* This,
|
---|
6906 | DWORD *pdwDestContext,
|
---|
6907 | void **ppvDestContext);
|
---|
6908 |
|
---|
6909 | HRESULT (STDMETHODCALLTYPE *IsConnected)(
|
---|
6910 | IRpcChannelBuffer3* This);
|
---|
6911 |
|
---|
6912 | /*** IRpcChannelBuffer2 methods ***/
|
---|
6913 | HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)(
|
---|
6914 | IRpcChannelBuffer3* This,
|
---|
6915 | DWORD *pdwVersion);
|
---|
6916 |
|
---|
6917 | /*** IRpcChannelBuffer3 methods ***/
|
---|
6918 | HRESULT (STDMETHODCALLTYPE *Send)(
|
---|
6919 | IRpcChannelBuffer3* This,
|
---|
6920 | RPCOLEMESSAGE *pMsg,
|
---|
6921 | ULONG *pulStatus);
|
---|
6922 |
|
---|
6923 | HRESULT (STDMETHODCALLTYPE *Receive)(
|
---|
6924 | IRpcChannelBuffer3* This,
|
---|
6925 | RPCOLEMESSAGE *pMsg,
|
---|
6926 | ULONG ulSize,
|
---|
6927 | ULONG *pulStatus);
|
---|
6928 |
|
---|
6929 | HRESULT (STDMETHODCALLTYPE *Cancel)(
|
---|
6930 | IRpcChannelBuffer3* This,
|
---|
6931 | RPCOLEMESSAGE *pMsg);
|
---|
6932 |
|
---|
6933 | HRESULT (STDMETHODCALLTYPE *GetCallContext)(
|
---|
6934 | IRpcChannelBuffer3* This,
|
---|
6935 | RPCOLEMESSAGE *pMsg,
|
---|
6936 | REFIID riid,
|
---|
6937 | void **pInterface);
|
---|
6938 |
|
---|
6939 | HRESULT (STDMETHODCALLTYPE *GetDestCtxEx)(
|
---|
6940 | IRpcChannelBuffer3* This,
|
---|
6941 | RPCOLEMESSAGE *pMsg,
|
---|
6942 | DWORD *pdwDestContext,
|
---|
6943 | void **ppvDestContext);
|
---|
6944 |
|
---|
6945 | HRESULT (STDMETHODCALLTYPE *GetState)(
|
---|
6946 | IRpcChannelBuffer3* This,
|
---|
6947 | RPCOLEMESSAGE *pMsg,
|
---|
6948 | DWORD *pState);
|
---|
6949 |
|
---|
6950 | HRESULT (STDMETHODCALLTYPE *RegisterAsync)(
|
---|
6951 | IRpcChannelBuffer3* This,
|
---|
6952 | RPCOLEMESSAGE *pMsg,
|
---|
6953 | IAsyncManager *pAsyncMgr);
|
---|
6954 |
|
---|
6955 | END_INTERFACE
|
---|
6956 | } IRpcChannelBuffer3Vtbl;
|
---|
6957 | interface IRpcChannelBuffer3 {
|
---|
6958 | CONST_VTBL IRpcChannelBuffer3Vtbl* lpVtbl;
|
---|
6959 | };
|
---|
6960 |
|
---|
6961 | #ifdef COBJMACROS
|
---|
6962 | /*** IUnknown methods ***/
|
---|
6963 | #define IRpcChannelBuffer3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6964 | #define IRpcChannelBuffer3_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6965 | #define IRpcChannelBuffer3_Release(This) (This)->lpVtbl->Release(This)
|
---|
6966 | /*** IRpcChannelBuffer methods ***/
|
---|
6967 | #define IRpcChannelBuffer3_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid)
|
---|
6968 | #define IRpcChannelBuffer3_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus)
|
---|
6969 | #define IRpcChannelBuffer3_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage)
|
---|
6970 | #define IRpcChannelBuffer3_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext)
|
---|
6971 | #define IRpcChannelBuffer3_IsConnected(This) (This)->lpVtbl->IsConnected(This)
|
---|
6972 | /*** IRpcChannelBuffer2 methods ***/
|
---|
6973 | #define IRpcChannelBuffer3_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion)
|
---|
6974 | /*** IRpcChannelBuffer3 methods ***/
|
---|
6975 | #define IRpcChannelBuffer3_Send(This,pMsg,pulStatus) (This)->lpVtbl->Send(This,pMsg,pulStatus)
|
---|
6976 | #define IRpcChannelBuffer3_Receive(This,pMsg,ulSize,pulStatus) (This)->lpVtbl->Receive(This,pMsg,ulSize,pulStatus)
|
---|
6977 | #define IRpcChannelBuffer3_Cancel(This,pMsg) (This)->lpVtbl->Cancel(This,pMsg)
|
---|
6978 | #define IRpcChannelBuffer3_GetCallContext(This,pMsg,riid,pInterface) (This)->lpVtbl->GetCallContext(This,pMsg,riid,pInterface)
|
---|
6979 | #define IRpcChannelBuffer3_GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext)
|
---|
6980 | #define IRpcChannelBuffer3_GetState(This,pMsg,pState) (This)->lpVtbl->GetState(This,pMsg,pState)
|
---|
6981 | #define IRpcChannelBuffer3_RegisterAsync(This,pMsg,pAsyncMgr) (This)->lpVtbl->RegisterAsync(This,pMsg,pAsyncMgr)
|
---|
6982 | #endif
|
---|
6983 |
|
---|
6984 | #endif
|
---|
6985 |
|
---|
6986 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_Send_Proxy(
|
---|
6987 | IRpcChannelBuffer3* This,
|
---|
6988 | RPCOLEMESSAGE *pMsg,
|
---|
6989 | ULONG *pulStatus);
|
---|
6990 | void __RPC_STUB IRpcChannelBuffer3_Send_Stub(
|
---|
6991 | IRpcStubBuffer* This,
|
---|
6992 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6993 | PRPC_MESSAGE pRpcMessage,
|
---|
6994 | DWORD* pdwStubPhase);
|
---|
6995 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_Receive_Proxy(
|
---|
6996 | IRpcChannelBuffer3* This,
|
---|
6997 | RPCOLEMESSAGE *pMsg,
|
---|
6998 | ULONG ulSize,
|
---|
6999 | ULONG *pulStatus);
|
---|
7000 | void __RPC_STUB IRpcChannelBuffer3_Receive_Stub(
|
---|
7001 | IRpcStubBuffer* This,
|
---|
7002 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7003 | PRPC_MESSAGE pRpcMessage,
|
---|
7004 | DWORD* pdwStubPhase);
|
---|
7005 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_Cancel_Proxy(
|
---|
7006 | IRpcChannelBuffer3* This,
|
---|
7007 | RPCOLEMESSAGE *pMsg);
|
---|
7008 | void __RPC_STUB IRpcChannelBuffer3_Cancel_Stub(
|
---|
7009 | IRpcStubBuffer* This,
|
---|
7010 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7011 | PRPC_MESSAGE pRpcMessage,
|
---|
7012 | DWORD* pdwStubPhase);
|
---|
7013 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_GetCallContext_Proxy(
|
---|
7014 | IRpcChannelBuffer3* This,
|
---|
7015 | RPCOLEMESSAGE *pMsg,
|
---|
7016 | REFIID riid,
|
---|
7017 | void **pInterface);
|
---|
7018 | void __RPC_STUB IRpcChannelBuffer3_GetCallContext_Stub(
|
---|
7019 | IRpcStubBuffer* This,
|
---|
7020 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7021 | PRPC_MESSAGE pRpcMessage,
|
---|
7022 | DWORD* pdwStubPhase);
|
---|
7023 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_GetDestCtxEx_Proxy(
|
---|
7024 | IRpcChannelBuffer3* This,
|
---|
7025 | RPCOLEMESSAGE *pMsg,
|
---|
7026 | DWORD *pdwDestContext,
|
---|
7027 | void **ppvDestContext);
|
---|
7028 | void __RPC_STUB IRpcChannelBuffer3_GetDestCtxEx_Stub(
|
---|
7029 | IRpcStubBuffer* This,
|
---|
7030 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7031 | PRPC_MESSAGE pRpcMessage,
|
---|
7032 | DWORD* pdwStubPhase);
|
---|
7033 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_GetState_Proxy(
|
---|
7034 | IRpcChannelBuffer3* This,
|
---|
7035 | RPCOLEMESSAGE *pMsg,
|
---|
7036 | DWORD *pState);
|
---|
7037 | void __RPC_STUB IRpcChannelBuffer3_GetState_Stub(
|
---|
7038 | IRpcStubBuffer* This,
|
---|
7039 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7040 | PRPC_MESSAGE pRpcMessage,
|
---|
7041 | DWORD* pdwStubPhase);
|
---|
7042 | HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_RegisterAsync_Proxy(
|
---|
7043 | IRpcChannelBuffer3* This,
|
---|
7044 | RPCOLEMESSAGE *pMsg,
|
---|
7045 | IAsyncManager *pAsyncMgr);
|
---|
7046 | void __RPC_STUB IRpcChannelBuffer3_RegisterAsync_Stub(
|
---|
7047 | IRpcStubBuffer* This,
|
---|
7048 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7049 | PRPC_MESSAGE pRpcMessage,
|
---|
7050 | DWORD* pdwStubPhase);
|
---|
7051 |
|
---|
7052 | #endif /* __IRpcChannelBuffer3_INTERFACE_DEFINED__ */
|
---|
7053 |
|
---|
7054 | /*****************************************************************************
|
---|
7055 | * IAsyncRpcChannelBuffer interface
|
---|
7056 | */
|
---|
7057 | #ifndef __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__
|
---|
7058 | #define __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__
|
---|
7059 |
|
---|
7060 | DEFINE_GUID(IID_IAsyncRpcChannelBuffer, 0xa5029fb6, 0x3c34, 0x11d1, 0x9c,0x99, 0x00,0xc0,0x4f,0xb9,0x98,0xaa);
|
---|
7061 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
7062 | interface IAsyncRpcChannelBuffer : public IRpcChannelBuffer2
|
---|
7063 | {
|
---|
7064 | virtual HRESULT STDMETHODCALLTYPE Send(
|
---|
7065 | RPCOLEMESSAGE *pMsg,
|
---|
7066 | ISynchronize *pSync,
|
---|
7067 | ULONG *pulStatus) = 0;
|
---|
7068 |
|
---|
7069 | virtual HRESULT STDMETHODCALLTYPE Receive(
|
---|
7070 | RPCOLEMESSAGE *pMsg,
|
---|
7071 | ULONG *pulStatus) = 0;
|
---|
7072 |
|
---|
7073 | virtual HRESULT STDMETHODCALLTYPE GetDestCtxEx(
|
---|
7074 | RPCOLEMESSAGE *pMsg,
|
---|
7075 | DWORD *pdwDestContext,
|
---|
7076 | void **ppvDestContext) = 0;
|
---|
7077 |
|
---|
7078 | };
|
---|
7079 | #else
|
---|
7080 | typedef struct IAsyncRpcChannelBufferVtbl {
|
---|
7081 | BEGIN_INTERFACE
|
---|
7082 |
|
---|
7083 | /*** IUnknown methods ***/
|
---|
7084 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
7085 | IAsyncRpcChannelBuffer* This,
|
---|
7086 | REFIID riid,
|
---|
7087 | void **ppvObject);
|
---|
7088 |
|
---|
7089 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
7090 | IAsyncRpcChannelBuffer* This);
|
---|
7091 |
|
---|
7092 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
7093 | IAsyncRpcChannelBuffer* This);
|
---|
7094 |
|
---|
7095 | /*** IRpcChannelBuffer methods ***/
|
---|
7096 | HRESULT (STDMETHODCALLTYPE *GetBuffer)(
|
---|
7097 | IAsyncRpcChannelBuffer* This,
|
---|
7098 | RPCOLEMESSAGE *pMessage,
|
---|
7099 | REFIID riid);
|
---|
7100 |
|
---|
7101 | HRESULT (STDMETHODCALLTYPE *SendReceive)(
|
---|
7102 | IAsyncRpcChannelBuffer* This,
|
---|
7103 | RPCOLEMESSAGE *pMessage,
|
---|
7104 | ULONG *pStatus);
|
---|
7105 |
|
---|
7106 | HRESULT (STDMETHODCALLTYPE *FreeBuffer)(
|
---|
7107 | IAsyncRpcChannelBuffer* This,
|
---|
7108 | RPCOLEMESSAGE *pMessage);
|
---|
7109 |
|
---|
7110 | HRESULT (STDMETHODCALLTYPE *GetDestCtx)(
|
---|
7111 | IAsyncRpcChannelBuffer* This,
|
---|
7112 | DWORD *pdwDestContext,
|
---|
7113 | void **ppvDestContext);
|
---|
7114 |
|
---|
7115 | HRESULT (STDMETHODCALLTYPE *IsConnected)(
|
---|
7116 | IAsyncRpcChannelBuffer* This);
|
---|
7117 |
|
---|
7118 | /*** IRpcChannelBuffer2 methods ***/
|
---|
7119 | HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)(
|
---|
7120 | IAsyncRpcChannelBuffer* This,
|
---|
7121 | DWORD *pdwVersion);
|
---|
7122 |
|
---|
7123 | /*** IAsyncRpcChannelBuffer methods ***/
|
---|
7124 | HRESULT (STDMETHODCALLTYPE *Send)(
|
---|
7125 | IAsyncRpcChannelBuffer* This,
|
---|
7126 | RPCOLEMESSAGE *pMsg,
|
---|
7127 | ISynchronize *pSync,
|
---|
7128 | ULONG *pulStatus);
|
---|
7129 |
|
---|
7130 | HRESULT (STDMETHODCALLTYPE *Receive)(
|
---|
7131 | IAsyncRpcChannelBuffer* This,
|
---|
7132 | RPCOLEMESSAGE *pMsg,
|
---|
7133 | ULONG *pulStatus);
|
---|
7134 |
|
---|
7135 | HRESULT (STDMETHODCALLTYPE *GetDestCtxEx)(
|
---|
7136 | IAsyncRpcChannelBuffer* This,
|
---|
7137 | RPCOLEMESSAGE *pMsg,
|
---|
7138 | DWORD *pdwDestContext,
|
---|
7139 | void **ppvDestContext);
|
---|
7140 |
|
---|
7141 | END_INTERFACE
|
---|
7142 | } IAsyncRpcChannelBufferVtbl;
|
---|
7143 | interface IAsyncRpcChannelBuffer {
|
---|
7144 | CONST_VTBL IAsyncRpcChannelBufferVtbl* lpVtbl;
|
---|
7145 | };
|
---|
7146 |
|
---|
7147 | #ifdef COBJMACROS
|
---|
7148 | /*** IUnknown methods ***/
|
---|
7149 | #define IAsyncRpcChannelBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
7150 | #define IAsyncRpcChannelBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
7151 | #define IAsyncRpcChannelBuffer_Release(This) (This)->lpVtbl->Release(This)
|
---|
7152 | /*** IRpcChannelBuffer methods ***/
|
---|
7153 | #define IAsyncRpcChannelBuffer_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid)
|
---|
7154 | #define IAsyncRpcChannelBuffer_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus)
|
---|
7155 | #define IAsyncRpcChannelBuffer_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage)
|
---|
7156 | #define IAsyncRpcChannelBuffer_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext)
|
---|
7157 | #define IAsyncRpcChannelBuffer_IsConnected(This) (This)->lpVtbl->IsConnected(This)
|
---|
7158 | /*** IRpcChannelBuffer2 methods ***/
|
---|
7159 | #define IAsyncRpcChannelBuffer_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion)
|
---|
7160 | /*** IAsyncRpcChannelBuffer methods ***/
|
---|
7161 | #define IAsyncRpcChannelBuffer_Send(This,pMsg,pSync,pulStatus) (This)->lpVtbl->Send(This,pMsg,pSync,pulStatus)
|
---|
7162 | #define IAsyncRpcChannelBuffer_Receive(This,pMsg,pulStatus) (This)->lpVtbl->Receive(This,pMsg,pulStatus)
|
---|
7163 | #define IAsyncRpcChannelBuffer_GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext)
|
---|
7164 | #endif
|
---|
7165 |
|
---|
7166 | #endif
|
---|
7167 |
|
---|
7168 | HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_Send_Proxy(
|
---|
7169 | IAsyncRpcChannelBuffer* This,
|
---|
7170 | RPCOLEMESSAGE *pMsg,
|
---|
7171 | ISynchronize *pSync,
|
---|
7172 | ULONG *pulStatus);
|
---|
7173 | void __RPC_STUB IAsyncRpcChannelBuffer_Send_Stub(
|
---|
7174 | IRpcStubBuffer* This,
|
---|
7175 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7176 | PRPC_MESSAGE pRpcMessage,
|
---|
7177 | DWORD* pdwStubPhase);
|
---|
7178 | HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_Receive_Proxy(
|
---|
7179 | IAsyncRpcChannelBuffer* This,
|
---|
7180 | RPCOLEMESSAGE *pMsg,
|
---|
7181 | ULONG *pulStatus);
|
---|
7182 | void __RPC_STUB IAsyncRpcChannelBuffer_Receive_Stub(
|
---|
7183 | IRpcStubBuffer* This,
|
---|
7184 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7185 | PRPC_MESSAGE pRpcMessage,
|
---|
7186 | DWORD* pdwStubPhase);
|
---|
7187 | HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_GetDestCtxEx_Proxy(
|
---|
7188 | IAsyncRpcChannelBuffer* This,
|
---|
7189 | RPCOLEMESSAGE *pMsg,
|
---|
7190 | DWORD *pdwDestContext,
|
---|
7191 | void **ppvDestContext);
|
---|
7192 | void __RPC_STUB IAsyncRpcChannelBuffer_GetDestCtxEx_Stub(
|
---|
7193 | IRpcStubBuffer* This,
|
---|
7194 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7195 | PRPC_MESSAGE pRpcMessage,
|
---|
7196 | DWORD* pdwStubPhase);
|
---|
7197 |
|
---|
7198 | #endif /* __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__ */
|
---|
7199 |
|
---|
7200 | /*****************************************************************************
|
---|
7201 | * IRpcSyntaxNegotiate interface
|
---|
7202 | */
|
---|
7203 | #ifndef __IRpcSyntaxNegotiate_INTERFACE_DEFINED__
|
---|
7204 | #define __IRpcSyntaxNegotiate_INTERFACE_DEFINED__
|
---|
7205 |
|
---|
7206 | DEFINE_GUID(IID_IRpcSyntaxNegotiate, 0x58a08519, 0x24c8, 0x4935, 0xb4,0x82, 0x3f,0xd8,0x23,0x33,0x3a,0x4f);
|
---|
7207 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
7208 | interface IRpcSyntaxNegotiate : public IUnknown
|
---|
7209 | {
|
---|
7210 | virtual HRESULT STDMETHODCALLTYPE NegotiateSyntax(
|
---|
7211 | RPCOLEMESSAGE *pMsg) = 0;
|
---|
7212 |
|
---|
7213 | };
|
---|
7214 | #else
|
---|
7215 | typedef struct IRpcSyntaxNegotiateVtbl {
|
---|
7216 | BEGIN_INTERFACE
|
---|
7217 |
|
---|
7218 | /*** IUnknown methods ***/
|
---|
7219 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
7220 | IRpcSyntaxNegotiate* This,
|
---|
7221 | REFIID riid,
|
---|
7222 | void **ppvObject);
|
---|
7223 |
|
---|
7224 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
7225 | IRpcSyntaxNegotiate* This);
|
---|
7226 |
|
---|
7227 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
7228 | IRpcSyntaxNegotiate* This);
|
---|
7229 |
|
---|
7230 | /*** IRpcSyntaxNegotiate methods ***/
|
---|
7231 | HRESULT (STDMETHODCALLTYPE *NegotiateSyntax)(
|
---|
7232 | IRpcSyntaxNegotiate* This,
|
---|
7233 | RPCOLEMESSAGE *pMsg);
|
---|
7234 |
|
---|
7235 | END_INTERFACE
|
---|
7236 | } IRpcSyntaxNegotiateVtbl;
|
---|
7237 | interface IRpcSyntaxNegotiate {
|
---|
7238 | CONST_VTBL IRpcSyntaxNegotiateVtbl* lpVtbl;
|
---|
7239 | };
|
---|
7240 |
|
---|
7241 | #ifdef COBJMACROS
|
---|
7242 | /*** IUnknown methods ***/
|
---|
7243 | #define IRpcSyntaxNegotiate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
7244 | #define IRpcSyntaxNegotiate_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
7245 | #define IRpcSyntaxNegotiate_Release(This) (This)->lpVtbl->Release(This)
|
---|
7246 | /*** IRpcSyntaxNegotiate methods ***/
|
---|
7247 | #define IRpcSyntaxNegotiate_NegotiateSyntax(This,pMsg) (This)->lpVtbl->NegotiateSyntax(This,pMsg)
|
---|
7248 | #endif
|
---|
7249 |
|
---|
7250 | #endif
|
---|
7251 |
|
---|
7252 | HRESULT STDMETHODCALLTYPE IRpcSyntaxNegotiate_NegotiateSyntax_Proxy(
|
---|
7253 | IRpcSyntaxNegotiate* This,
|
---|
7254 | RPCOLEMESSAGE *pMsg);
|
---|
7255 | void __RPC_STUB IRpcSyntaxNegotiate_NegotiateSyntax_Stub(
|
---|
7256 | IRpcStubBuffer* This,
|
---|
7257 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7258 | PRPC_MESSAGE pRpcMessage,
|
---|
7259 | DWORD* pdwStubPhase);
|
---|
7260 |
|
---|
7261 | #endif /* __IRpcSyntaxNegotiate_INTERFACE_DEFINED__ */
|
---|
7262 |
|
---|
7263 | /*****************************************************************************
|
---|
7264 | * IRpcProxyBuffer interface
|
---|
7265 | */
|
---|
7266 | #ifndef __IRpcProxyBuffer_INTERFACE_DEFINED__
|
---|
7267 | #define __IRpcProxyBuffer_INTERFACE_DEFINED__
|
---|
7268 |
|
---|
7269 | typedef IRpcProxyBuffer *LPRPCPROXYBUFFER;
|
---|
7270 | DEFINE_GUID(IID_IRpcProxyBuffer, 0xd5f56a34, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a);
|
---|
7271 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
7272 | interface IRpcProxyBuffer : public IUnknown
|
---|
7273 | {
|
---|
7274 | virtual HRESULT STDMETHODCALLTYPE Connect(
|
---|
7275 | IRpcChannelBuffer *pRpcChannelBuffer) = 0;
|
---|
7276 |
|
---|
7277 | virtual void STDMETHODCALLTYPE Disconnect(
|
---|
7278 | ) = 0;
|
---|
7279 |
|
---|
7280 | };
|
---|
7281 | #else
|
---|
7282 | typedef struct IRpcProxyBufferVtbl {
|
---|
7283 | BEGIN_INTERFACE
|
---|
7284 |
|
---|
7285 | /*** IUnknown methods ***/
|
---|
7286 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
7287 | IRpcProxyBuffer* This,
|
---|
7288 | REFIID riid,
|
---|
7289 | void **ppvObject);
|
---|
7290 |
|
---|
7291 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
7292 | IRpcProxyBuffer* This);
|
---|
7293 |
|
---|
7294 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
7295 | IRpcProxyBuffer* This);
|
---|
7296 |
|
---|
7297 | /*** IRpcProxyBuffer methods ***/
|
---|
7298 | HRESULT (STDMETHODCALLTYPE *Connect)(
|
---|
7299 | IRpcProxyBuffer* This,
|
---|
7300 | IRpcChannelBuffer *pRpcChannelBuffer);
|
---|
7301 |
|
---|
7302 | void (STDMETHODCALLTYPE *Disconnect)(
|
---|
7303 | IRpcProxyBuffer* This);
|
---|
7304 |
|
---|
7305 | END_INTERFACE
|
---|
7306 | } IRpcProxyBufferVtbl;
|
---|
7307 | interface IRpcProxyBuffer {
|
---|
7308 | CONST_VTBL IRpcProxyBufferVtbl* lpVtbl;
|
---|
7309 | };
|
---|
7310 |
|
---|
7311 | #ifdef COBJMACROS
|
---|
7312 | /*** IUnknown methods ***/
|
---|
7313 | #define IRpcProxyBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
7314 | #define IRpcProxyBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
7315 | #define IRpcProxyBuffer_Release(This) (This)->lpVtbl->Release(This)
|
---|
7316 | /*** IRpcProxyBuffer methods ***/
|
---|
7317 | #define IRpcProxyBuffer_Connect(This,pRpcChannelBuffer) (This)->lpVtbl->Connect(This,pRpcChannelBuffer)
|
---|
7318 | #define IRpcProxyBuffer_Disconnect(This) (This)->lpVtbl->Disconnect(This)
|
---|
7319 | #endif
|
---|
7320 |
|
---|
7321 | #endif
|
---|
7322 |
|
---|
7323 | HRESULT STDMETHODCALLTYPE IRpcProxyBuffer_Connect_Proxy(
|
---|
7324 | IRpcProxyBuffer* This,
|
---|
7325 | IRpcChannelBuffer *pRpcChannelBuffer);
|
---|
7326 | void __RPC_STUB IRpcProxyBuffer_Connect_Stub(
|
---|
7327 | IRpcStubBuffer* This,
|
---|
7328 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7329 | PRPC_MESSAGE pRpcMessage,
|
---|
7330 | DWORD* pdwStubPhase);
|
---|
7331 | void STDMETHODCALLTYPE IRpcProxyBuffer_Disconnect_Proxy(
|
---|
7332 | IRpcProxyBuffer* This);
|
---|
7333 | void __RPC_STUB IRpcProxyBuffer_Disconnect_Stub(
|
---|
7334 | IRpcStubBuffer* This,
|
---|
7335 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7336 | PRPC_MESSAGE pRpcMessage,
|
---|
7337 | DWORD* pdwStubPhase);
|
---|
7338 |
|
---|
7339 | #endif /* __IRpcProxyBuffer_INTERFACE_DEFINED__ */
|
---|
7340 |
|
---|
7341 | /*****************************************************************************
|
---|
7342 | * IRpcStubBuffer interface
|
---|
7343 | */
|
---|
7344 | #ifndef __IRpcStubBuffer_INTERFACE_DEFINED__
|
---|
7345 | #define __IRpcStubBuffer_INTERFACE_DEFINED__
|
---|
7346 |
|
---|
7347 | typedef IRpcStubBuffer *LPRPCSTUBBUFFER;
|
---|
7348 | DEFINE_GUID(IID_IRpcStubBuffer, 0xd5f56afc, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a);
|
---|
7349 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
7350 | interface IRpcStubBuffer : public IUnknown
|
---|
7351 | {
|
---|
7352 | virtual HRESULT STDMETHODCALLTYPE Connect(
|
---|
7353 | IUnknown *pUnkServer) = 0;
|
---|
7354 |
|
---|
7355 | virtual void STDMETHODCALLTYPE Disconnect(
|
---|
7356 | ) = 0;
|
---|
7357 |
|
---|
7358 | virtual HRESULT STDMETHODCALLTYPE Invoke(
|
---|
7359 | RPCOLEMESSAGE *_prpcmsg,
|
---|
7360 | IRpcChannelBuffer *_pRpcChannelBuffer) = 0;
|
---|
7361 |
|
---|
7362 | virtual IRpcStubBuffer * STDMETHODCALLTYPE IsIIDSupported(
|
---|
7363 | REFIID riid) = 0;
|
---|
7364 |
|
---|
7365 | virtual ULONG STDMETHODCALLTYPE CountRefs(
|
---|
7366 | ) = 0;
|
---|
7367 |
|
---|
7368 | virtual HRESULT STDMETHODCALLTYPE DebugServerQueryInterface(
|
---|
7369 | void **ppv) = 0;
|
---|
7370 |
|
---|
7371 | virtual void STDMETHODCALLTYPE DebugServerRelease(
|
---|
7372 | void *pv) = 0;
|
---|
7373 |
|
---|
7374 | };
|
---|
7375 | #else
|
---|
7376 | typedef struct IRpcStubBufferVtbl {
|
---|
7377 | BEGIN_INTERFACE
|
---|
7378 |
|
---|
7379 | /*** IUnknown methods ***/
|
---|
7380 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
7381 | IRpcStubBuffer* This,
|
---|
7382 | REFIID riid,
|
---|
7383 | void **ppvObject);
|
---|
7384 |
|
---|
7385 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
7386 | IRpcStubBuffer* This);
|
---|
7387 |
|
---|
7388 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
7389 | IRpcStubBuffer* This);
|
---|
7390 |
|
---|
7391 | /*** IRpcStubBuffer methods ***/
|
---|
7392 | HRESULT (STDMETHODCALLTYPE *Connect)(
|
---|
7393 | IRpcStubBuffer* This,
|
---|
7394 | IUnknown *pUnkServer);
|
---|
7395 |
|
---|
7396 | void (STDMETHODCALLTYPE *Disconnect)(
|
---|
7397 | IRpcStubBuffer* This);
|
---|
7398 |
|
---|
7399 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
7400 | IRpcStubBuffer* This,
|
---|
7401 | RPCOLEMESSAGE *_prpcmsg,
|
---|
7402 | IRpcChannelBuffer *_pRpcChannelBuffer);
|
---|
7403 |
|
---|
7404 | IRpcStubBuffer * (STDMETHODCALLTYPE *IsIIDSupported)(
|
---|
7405 | IRpcStubBuffer* This,
|
---|
7406 | REFIID riid);
|
---|
7407 |
|
---|
7408 | ULONG (STDMETHODCALLTYPE *CountRefs)(
|
---|
7409 | IRpcStubBuffer* This);
|
---|
7410 |
|
---|
7411 | HRESULT (STDMETHODCALLTYPE *DebugServerQueryInterface)(
|
---|
7412 | IRpcStubBuffer* This,
|
---|
7413 | void **ppv);
|
---|
7414 |
|
---|
7415 | void (STDMETHODCALLTYPE *DebugServerRelease)(
|
---|
7416 | IRpcStubBuffer* This,
|
---|
7417 | void *pv);
|
---|
7418 |
|
---|
7419 | END_INTERFACE
|
---|
7420 | } IRpcStubBufferVtbl;
|
---|
7421 | interface IRpcStubBuffer {
|
---|
7422 | CONST_VTBL IRpcStubBufferVtbl* lpVtbl;
|
---|
7423 | };
|
---|
7424 |
|
---|
7425 | #ifdef COBJMACROS
|
---|
7426 | /*** IUnknown methods ***/
|
---|
7427 | #define IRpcStubBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
7428 | #define IRpcStubBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
7429 | #define IRpcStubBuffer_Release(This) (This)->lpVtbl->Release(This)
|
---|
7430 | /*** IRpcStubBuffer methods ***/
|
---|
7431 | #define IRpcStubBuffer_Connect(This,pUnkServer) (This)->lpVtbl->Connect(This,pUnkServer)
|
---|
7432 | #define IRpcStubBuffer_Disconnect(This) (This)->lpVtbl->Disconnect(This)
|
---|
7433 | #define IRpcStubBuffer_Invoke(This,_prpcmsg,_pRpcChannelBuffer) (This)->lpVtbl->Invoke(This,_prpcmsg,_pRpcChannelBuffer)
|
---|
7434 | #define IRpcStubBuffer_IsIIDSupported(This,riid) (This)->lpVtbl->IsIIDSupported(This,riid)
|
---|
7435 | #define IRpcStubBuffer_CountRefs(This) (This)->lpVtbl->CountRefs(This)
|
---|
7436 | #define IRpcStubBuffer_DebugServerQueryInterface(This,ppv) (This)->lpVtbl->DebugServerQueryInterface(This,ppv)
|
---|
7437 | #define IRpcStubBuffer_DebugServerRelease(This,pv) (This)->lpVtbl->DebugServerRelease(This,pv)
|
---|
7438 | #endif
|
---|
7439 |
|
---|
7440 | #endif
|
---|
7441 |
|
---|
7442 | HRESULT STDMETHODCALLTYPE IRpcStubBuffer_Connect_Proxy(
|
---|
7443 | IRpcStubBuffer* This,
|
---|
7444 | IUnknown *pUnkServer);
|
---|
7445 | void __RPC_STUB IRpcStubBuffer_Connect_Stub(
|
---|
7446 | IRpcStubBuffer* This,
|
---|
7447 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7448 | PRPC_MESSAGE pRpcMessage,
|
---|
7449 | DWORD* pdwStubPhase);
|
---|
7450 | void STDMETHODCALLTYPE IRpcStubBuffer_Disconnect_Proxy(
|
---|
7451 | IRpcStubBuffer* This);
|
---|
7452 | void __RPC_STUB IRpcStubBuffer_Disconnect_Stub(
|
---|
7453 | IRpcStubBuffer* This,
|
---|
7454 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7455 | PRPC_MESSAGE pRpcMessage,
|
---|
7456 | DWORD* pdwStubPhase);
|
---|
7457 | HRESULT STDMETHODCALLTYPE IRpcStubBuffer_Invoke_Proxy(
|
---|
7458 | IRpcStubBuffer* This,
|
---|
7459 | RPCOLEMESSAGE *_prpcmsg,
|
---|
7460 | IRpcChannelBuffer *_pRpcChannelBuffer);
|
---|
7461 | void __RPC_STUB IRpcStubBuffer_Invoke_Stub(
|
---|
7462 | IRpcStubBuffer* This,
|
---|
7463 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7464 | PRPC_MESSAGE pRpcMessage,
|
---|
7465 | DWORD* pdwStubPhase);
|
---|
7466 | IRpcStubBuffer * STDMETHODCALLTYPE IRpcStubBuffer_IsIIDSupported_Proxy(
|
---|
7467 | IRpcStubBuffer* This,
|
---|
7468 | REFIID riid);
|
---|
7469 | void __RPC_STUB IRpcStubBuffer_IsIIDSupported_Stub(
|
---|
7470 | IRpcStubBuffer* This,
|
---|
7471 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7472 | PRPC_MESSAGE pRpcMessage,
|
---|
7473 | DWORD* pdwStubPhase);
|
---|
7474 | ULONG STDMETHODCALLTYPE IRpcStubBuffer_CountRefs_Proxy(
|
---|
7475 | IRpcStubBuffer* This);
|
---|
7476 | void __RPC_STUB IRpcStubBuffer_CountRefs_Stub(
|
---|
7477 | IRpcStubBuffer* This,
|
---|
7478 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7479 | PRPC_MESSAGE pRpcMessage,
|
---|
7480 | DWORD* pdwStubPhase);
|
---|
7481 | HRESULT STDMETHODCALLTYPE IRpcStubBuffer_DebugServerQueryInterface_Proxy(
|
---|
7482 | IRpcStubBuffer* This,
|
---|
7483 | void **ppv);
|
---|
7484 | void __RPC_STUB IRpcStubBuffer_DebugServerQueryInterface_Stub(
|
---|
7485 | IRpcStubBuffer* This,
|
---|
7486 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7487 | PRPC_MESSAGE pRpcMessage,
|
---|
7488 | DWORD* pdwStubPhase);
|
---|
7489 | void STDMETHODCALLTYPE IRpcStubBuffer_DebugServerRelease_Proxy(
|
---|
7490 | IRpcStubBuffer* This,
|
---|
7491 | void *pv);
|
---|
7492 | void __RPC_STUB IRpcStubBuffer_DebugServerRelease_Stub(
|
---|
7493 | IRpcStubBuffer* This,
|
---|
7494 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7495 | PRPC_MESSAGE pRpcMessage,
|
---|
7496 | DWORD* pdwStubPhase);
|
---|
7497 |
|
---|
7498 | #endif /* __IRpcStubBuffer_INTERFACE_DEFINED__ */
|
---|
7499 |
|
---|
7500 | /*****************************************************************************
|
---|
7501 | * IPSFactoryBuffer interface
|
---|
7502 | */
|
---|
7503 | #ifndef __IPSFactoryBuffer_INTERFACE_DEFINED__
|
---|
7504 | #define __IPSFactoryBuffer_INTERFACE_DEFINED__
|
---|
7505 |
|
---|
7506 | typedef IPSFactoryBuffer *LPPSFACTORYBUFFER;
|
---|
7507 | DEFINE_GUID(IID_IPSFactoryBuffer, 0xd5f569d0, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a);
|
---|
7508 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
7509 | interface IPSFactoryBuffer : public IUnknown
|
---|
7510 | {
|
---|
7511 | virtual HRESULT STDMETHODCALLTYPE CreateProxy(
|
---|
7512 | IUnknown *pUnkOuter,
|
---|
7513 | REFIID riid,
|
---|
7514 | IRpcProxyBuffer **ppProxy,
|
---|
7515 | void **ppv) = 0;
|
---|
7516 |
|
---|
7517 | virtual HRESULT STDMETHODCALLTYPE CreateStub(
|
---|
7518 | REFIID riid,
|
---|
7519 | IUnknown *pUnkServer,
|
---|
7520 | IRpcStubBuffer **ppStub) = 0;
|
---|
7521 |
|
---|
7522 | };
|
---|
7523 | #else
|
---|
7524 | typedef struct IPSFactoryBufferVtbl {
|
---|
7525 | BEGIN_INTERFACE
|
---|
7526 |
|
---|
7527 | /*** IUnknown methods ***/
|
---|
7528 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
7529 | IPSFactoryBuffer* This,
|
---|
7530 | REFIID riid,
|
---|
7531 | void **ppvObject);
|
---|
7532 |
|
---|
7533 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
7534 | IPSFactoryBuffer* This);
|
---|
7535 |
|
---|
7536 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
7537 | IPSFactoryBuffer* This);
|
---|
7538 |
|
---|
7539 | /*** IPSFactoryBuffer methods ***/
|
---|
7540 | HRESULT (STDMETHODCALLTYPE *CreateProxy)(
|
---|
7541 | IPSFactoryBuffer* This,
|
---|
7542 | IUnknown *pUnkOuter,
|
---|
7543 | REFIID riid,
|
---|
7544 | IRpcProxyBuffer **ppProxy,
|
---|
7545 | void **ppv);
|
---|
7546 |
|
---|
7547 | HRESULT (STDMETHODCALLTYPE *CreateStub)(
|
---|
7548 | IPSFactoryBuffer* This,
|
---|
7549 | REFIID riid,
|
---|
7550 | IUnknown *pUnkServer,
|
---|
7551 | IRpcStubBuffer **ppStub);
|
---|
7552 |
|
---|
7553 | END_INTERFACE
|
---|
7554 | } IPSFactoryBufferVtbl;
|
---|
7555 | interface IPSFactoryBuffer {
|
---|
7556 | CONST_VTBL IPSFactoryBufferVtbl* lpVtbl;
|
---|
7557 | };
|
---|
7558 |
|
---|
7559 | #ifdef COBJMACROS
|
---|
7560 | /*** IUnknown methods ***/
|
---|
7561 | #define IPSFactoryBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
7562 | #define IPSFactoryBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
7563 | #define IPSFactoryBuffer_Release(This) (This)->lpVtbl->Release(This)
|
---|
7564 | /*** IPSFactoryBuffer methods ***/
|
---|
7565 | #define IPSFactoryBuffer_CreateProxy(This,pUnkOuter,riid,ppProxy,ppv) (This)->lpVtbl->CreateProxy(This,pUnkOuter,riid,ppProxy,ppv)
|
---|
7566 | #define IPSFactoryBuffer_CreateStub(This,riid,pUnkServer,ppStub) (This)->lpVtbl->CreateStub(This,riid,pUnkServer,ppStub)
|
---|
7567 | #endif
|
---|
7568 |
|
---|
7569 | #endif
|
---|
7570 |
|
---|
7571 | HRESULT STDMETHODCALLTYPE IPSFactoryBuffer_CreateProxy_Proxy(
|
---|
7572 | IPSFactoryBuffer* This,
|
---|
7573 | IUnknown *pUnkOuter,
|
---|
7574 | REFIID riid,
|
---|
7575 | IRpcProxyBuffer **ppProxy,
|
---|
7576 | void **ppv);
|
---|
7577 | void __RPC_STUB IPSFactoryBuffer_CreateProxy_Stub(
|
---|
7578 | IRpcStubBuffer* This,
|
---|
7579 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7580 | PRPC_MESSAGE pRpcMessage,
|
---|
7581 | DWORD* pdwStubPhase);
|
---|
7582 | HRESULT STDMETHODCALLTYPE IPSFactoryBuffer_CreateStub_Proxy(
|
---|
7583 | IPSFactoryBuffer* This,
|
---|
7584 | REFIID riid,
|
---|
7585 | IUnknown *pUnkServer,
|
---|
7586 | IRpcStubBuffer **ppStub);
|
---|
7587 | void __RPC_STUB IPSFactoryBuffer_CreateStub_Stub(
|
---|
7588 | IRpcStubBuffer* This,
|
---|
7589 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7590 | PRPC_MESSAGE pRpcMessage,
|
---|
7591 | DWORD* pdwStubPhase);
|
---|
7592 |
|
---|
7593 | #endif /* __IPSFactoryBuffer_INTERFACE_DEFINED__ */
|
---|
7594 |
|
---|
7595 | /*****************************************************************************
|
---|
7596 | * IChannelHook interface
|
---|
7597 | */
|
---|
7598 | #ifndef __IChannelHook_INTERFACE_DEFINED__
|
---|
7599 | #define __IChannelHook_INTERFACE_DEFINED__
|
---|
7600 |
|
---|
7601 | typedef IChannelHook *LPCHANNELHOOK;
|
---|
7602 | typedef struct SChannelHookCallInfo {
|
---|
7603 | IID iid;
|
---|
7604 | DWORD cbSize;
|
---|
7605 | GUID uCausality;
|
---|
7606 | DWORD dwServerPid;
|
---|
7607 | DWORD iMethod;
|
---|
7608 | void *pObject;
|
---|
7609 | } SChannelHookCallInfo;
|
---|
7610 | DEFINE_GUID(IID_IChannelHook, 0x1008c4a0, 0x7613, 0x11cf, 0x9a,0xf1, 0x00,0x20,0xaf,0x6e,0x72,0xf4);
|
---|
7611 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
7612 | interface IChannelHook : public IUnknown
|
---|
7613 | {
|
---|
7614 | virtual void STDMETHODCALLTYPE ClientGetSize(
|
---|
7615 | REFGUID uExtent,
|
---|
7616 | REFIID riid,
|
---|
7617 | ULONG *pDataSize) = 0;
|
---|
7618 |
|
---|
7619 | virtual void STDMETHODCALLTYPE ClientFillBuffer(
|
---|
7620 | REFGUID uExtent,
|
---|
7621 | REFIID riid,
|
---|
7622 | ULONG *pDataSize,
|
---|
7623 | void *pDataBuffer) = 0;
|
---|
7624 |
|
---|
7625 | virtual void STDMETHODCALLTYPE ClientNotify(
|
---|
7626 | REFGUID uExtent,
|
---|
7627 | REFIID riid,
|
---|
7628 | ULONG cbDataSize,
|
---|
7629 | void *pDataBuffer,
|
---|
7630 | DWORD lDataRep,
|
---|
7631 | HRESULT hrFault) = 0;
|
---|
7632 |
|
---|
7633 | virtual void STDMETHODCALLTYPE ServerNotify(
|
---|
7634 | REFGUID uExtent,
|
---|
7635 | REFIID riid,
|
---|
7636 | ULONG cbDataSize,
|
---|
7637 | void *pDataBuffer,
|
---|
7638 | DWORD lDataRep) = 0;
|
---|
7639 |
|
---|
7640 | virtual void STDMETHODCALLTYPE ServerGetSize(
|
---|
7641 | REFGUID uExtent,
|
---|
7642 | REFIID riid,
|
---|
7643 | HRESULT hrFault,
|
---|
7644 | ULONG *pDataSize) = 0;
|
---|
7645 |
|
---|
7646 | virtual void STDMETHODCALLTYPE ServerFillBuffer(
|
---|
7647 | REFGUID uExtent,
|
---|
7648 | REFIID riid,
|
---|
7649 | ULONG *pDataSize,
|
---|
7650 | void *pDataBuffer,
|
---|
7651 | HRESULT hrFault) = 0;
|
---|
7652 |
|
---|
7653 | };
|
---|
7654 | #else
|
---|
7655 | typedef struct IChannelHookVtbl {
|
---|
7656 | BEGIN_INTERFACE
|
---|
7657 |
|
---|
7658 | /*** IUnknown methods ***/
|
---|
7659 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
7660 | IChannelHook* This,
|
---|
7661 | REFIID riid,
|
---|
7662 | void **ppvObject);
|
---|
7663 |
|
---|
7664 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
7665 | IChannelHook* This);
|
---|
7666 |
|
---|
7667 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
7668 | IChannelHook* This);
|
---|
7669 |
|
---|
7670 | /*** IChannelHook methods ***/
|
---|
7671 | void (STDMETHODCALLTYPE *ClientGetSize)(
|
---|
7672 | IChannelHook* This,
|
---|
7673 | REFGUID uExtent,
|
---|
7674 | REFIID riid,
|
---|
7675 | ULONG *pDataSize);
|
---|
7676 |
|
---|
7677 | void (STDMETHODCALLTYPE *ClientFillBuffer)(
|
---|
7678 | IChannelHook* This,
|
---|
7679 | REFGUID uExtent,
|
---|
7680 | REFIID riid,
|
---|
7681 | ULONG *pDataSize,
|
---|
7682 | void *pDataBuffer);
|
---|
7683 |
|
---|
7684 | void (STDMETHODCALLTYPE *ClientNotify)(
|
---|
7685 | IChannelHook* This,
|
---|
7686 | REFGUID uExtent,
|
---|
7687 | REFIID riid,
|
---|
7688 | ULONG cbDataSize,
|
---|
7689 | void *pDataBuffer,
|
---|
7690 | DWORD lDataRep,
|
---|
7691 | HRESULT hrFault);
|
---|
7692 |
|
---|
7693 | void (STDMETHODCALLTYPE *ServerNotify)(
|
---|
7694 | IChannelHook* This,
|
---|
7695 | REFGUID uExtent,
|
---|
7696 | REFIID riid,
|
---|
7697 | ULONG cbDataSize,
|
---|
7698 | void *pDataBuffer,
|
---|
7699 | DWORD lDataRep);
|
---|
7700 |
|
---|
7701 | void (STDMETHODCALLTYPE *ServerGetSize)(
|
---|
7702 | IChannelHook* This,
|
---|
7703 | REFGUID uExtent,
|
---|
7704 | REFIID riid,
|
---|
7705 | HRESULT hrFault,
|
---|
7706 | ULONG *pDataSize);
|
---|
7707 |
|
---|
7708 | void (STDMETHODCALLTYPE *ServerFillBuffer)(
|
---|
7709 | IChannelHook* This,
|
---|
7710 | REFGUID uExtent,
|
---|
7711 | REFIID riid,
|
---|
7712 | ULONG *pDataSize,
|
---|
7713 | void *pDataBuffer,
|
---|
7714 | HRESULT hrFault);
|
---|
7715 |
|
---|
7716 | END_INTERFACE
|
---|
7717 | } IChannelHookVtbl;
|
---|
7718 | interface IChannelHook {
|
---|
7719 | CONST_VTBL IChannelHookVtbl* lpVtbl;
|
---|
7720 | };
|
---|
7721 |
|
---|
7722 | #ifdef COBJMACROS
|
---|
7723 | /*** IUnknown methods ***/
|
---|
7724 | #define IChannelHook_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
7725 | #define IChannelHook_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
7726 | #define IChannelHook_Release(This) (This)->lpVtbl->Release(This)
|
---|
7727 | /*** IChannelHook methods ***/
|
---|
7728 | #define IChannelHook_ClientGetSize(This,uExtent,riid,pDataSize) (This)->lpVtbl->ClientGetSize(This,uExtent,riid,pDataSize)
|
---|
7729 | #define IChannelHook_ClientFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer) (This)->lpVtbl->ClientFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer)
|
---|
7730 | #define IChannelHook_ClientNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep,hrFault) (This)->lpVtbl->ClientNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep,hrFault)
|
---|
7731 | #define IChannelHook_ServerNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep) (This)->lpVtbl->ServerNotify(This,uExtent,riid,cbDataSize,pDataBuffer,lDataRep)
|
---|
7732 | #define IChannelHook_ServerGetSize(This,uExtent,riid,hrFault,pDataSize) (This)->lpVtbl->ServerGetSize(This,uExtent,riid,hrFault,pDataSize)
|
---|
7733 | #define IChannelHook_ServerFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer,hrFault) (This)->lpVtbl->ServerFillBuffer(This,uExtent,riid,pDataSize,pDataBuffer,hrFault)
|
---|
7734 | #endif
|
---|
7735 |
|
---|
7736 | #endif
|
---|
7737 |
|
---|
7738 | void STDMETHODCALLTYPE IChannelHook_ClientGetSize_Proxy(
|
---|
7739 | IChannelHook* This,
|
---|
7740 | REFGUID uExtent,
|
---|
7741 | REFIID riid,
|
---|
7742 | ULONG *pDataSize);
|
---|
7743 | void __RPC_STUB IChannelHook_ClientGetSize_Stub(
|
---|
7744 | IRpcStubBuffer* This,
|
---|
7745 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7746 | PRPC_MESSAGE pRpcMessage,
|
---|
7747 | DWORD* pdwStubPhase);
|
---|
7748 | void STDMETHODCALLTYPE IChannelHook_ClientFillBuffer_Proxy(
|
---|
7749 | IChannelHook* This,
|
---|
7750 | REFGUID uExtent,
|
---|
7751 | REFIID riid,
|
---|
7752 | ULONG *pDataSize,
|
---|
7753 | void *pDataBuffer);
|
---|
7754 | void __RPC_STUB IChannelHook_ClientFillBuffer_Stub(
|
---|
7755 | IRpcStubBuffer* This,
|
---|
7756 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7757 | PRPC_MESSAGE pRpcMessage,
|
---|
7758 | DWORD* pdwStubPhase);
|
---|
7759 | void STDMETHODCALLTYPE IChannelHook_ClientNotify_Proxy(
|
---|
7760 | IChannelHook* This,
|
---|
7761 | REFGUID uExtent,
|
---|
7762 | REFIID riid,
|
---|
7763 | ULONG cbDataSize,
|
---|
7764 | void *pDataBuffer,
|
---|
7765 | DWORD lDataRep,
|
---|
7766 | HRESULT hrFault);
|
---|
7767 | void __RPC_STUB IChannelHook_ClientNotify_Stub(
|
---|
7768 | IRpcStubBuffer* This,
|
---|
7769 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7770 | PRPC_MESSAGE pRpcMessage,
|
---|
7771 | DWORD* pdwStubPhase);
|
---|
7772 | void STDMETHODCALLTYPE IChannelHook_ServerNotify_Proxy(
|
---|
7773 | IChannelHook* This,
|
---|
7774 | REFGUID uExtent,
|
---|
7775 | REFIID riid,
|
---|
7776 | ULONG cbDataSize,
|
---|
7777 | void *pDataBuffer,
|
---|
7778 | DWORD lDataRep);
|
---|
7779 | void __RPC_STUB IChannelHook_ServerNotify_Stub(
|
---|
7780 | IRpcStubBuffer* This,
|
---|
7781 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7782 | PRPC_MESSAGE pRpcMessage,
|
---|
7783 | DWORD* pdwStubPhase);
|
---|
7784 | void STDMETHODCALLTYPE IChannelHook_ServerGetSize_Proxy(
|
---|
7785 | IChannelHook* This,
|
---|
7786 | REFGUID uExtent,
|
---|
7787 | REFIID riid,
|
---|
7788 | HRESULT hrFault,
|
---|
7789 | ULONG *pDataSize);
|
---|
7790 | void __RPC_STUB IChannelHook_ServerGetSize_Stub(
|
---|
7791 | IRpcStubBuffer* This,
|
---|
7792 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7793 | PRPC_MESSAGE pRpcMessage,
|
---|
7794 | DWORD* pdwStubPhase);
|
---|
7795 | void STDMETHODCALLTYPE IChannelHook_ServerFillBuffer_Proxy(
|
---|
7796 | IChannelHook* This,
|
---|
7797 | REFGUID uExtent,
|
---|
7798 | REFIID riid,
|
---|
7799 | ULONG *pDataSize,
|
---|
7800 | void *pDataBuffer,
|
---|
7801 | HRESULT hrFault);
|
---|
7802 | void __RPC_STUB IChannelHook_ServerFillBuffer_Stub(
|
---|
7803 | IRpcStubBuffer* This,
|
---|
7804 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7805 | PRPC_MESSAGE pRpcMessage,
|
---|
7806 | DWORD* pdwStubPhase);
|
---|
7807 |
|
---|
7808 | #endif /* __IChannelHook_INTERFACE_DEFINED__ */
|
---|
7809 |
|
---|
7810 | extern const FMTID FMTID_SummaryInformation;
|
---|
7811 |
|
---|
7812 | extern const FMTID FMTID_DocSummaryInformation;
|
---|
7813 |
|
---|
7814 | extern const FMTID FMTID_UserDefinedProperties;
|
---|
7815 |
|
---|
7816 | /*****************************************************************************
|
---|
7817 | * IClientSecurity interface
|
---|
7818 | */
|
---|
7819 | #ifndef __IClientSecurity_INTERFACE_DEFINED__
|
---|
7820 | #define __IClientSecurity_INTERFACE_DEFINED__
|
---|
7821 |
|
---|
7822 | typedef struct tagSOLE_AUTHENTICATION_SERVICE {
|
---|
7823 | DWORD dwAuthnSvc;
|
---|
7824 | DWORD dwAuthzSvc;
|
---|
7825 | OLECHAR *pPrincipalName;
|
---|
7826 | HRESULT hr;
|
---|
7827 | } SOLE_AUTHENTICATION_SERVICE;
|
---|
7828 | typedef SOLE_AUTHENTICATION_SERVICE *PSOLE_AUTHENTICATION_SERVICE;
|
---|
7829 | typedef struct tagSOLE_AUTHENTICATION_INFO {
|
---|
7830 | DWORD dwAuthnSvc;
|
---|
7831 | DWORD dwAuthzSvc;
|
---|
7832 | void *pAuthInfo;
|
---|
7833 | } SOLE_AUTHENTICATION_INFO;
|
---|
7834 | #define COLE_DEFAULT_PRINCIPAL ((OLECHAR *)-1)
|
---|
7835 |
|
---|
7836 | #define COLE_DEFAULT_AUTHINFO ((void *)-1)
|
---|
7837 |
|
---|
7838 | typedef struct tagSOLE_AUTHENTICATION_LIST {
|
---|
7839 | DWORD cAuthInfo;
|
---|
7840 | SOLE_AUTHENTICATION_INFO *aAuthInfo;
|
---|
7841 | } SOLE_AUTHENTICATION_LIST;
|
---|
7842 | typedef enum tagEOLE_AUTHENTICATION_CAPABILITIES {
|
---|
7843 | EOAC_NONE = 0x0,
|
---|
7844 | EOAC_MUTUAL_AUTH = 0x1,
|
---|
7845 | EOAC_SECURE_REFS = 0x2,
|
---|
7846 | EOAC_ACCESS_CONTROL = 0x4,
|
---|
7847 | EOAC_APPID = 0x8,
|
---|
7848 | EOAC_DYNAMIC = 0x10,
|
---|
7849 | EOAC_STATIC_CLOAKING = 0x20,
|
---|
7850 | EOAC_DYNAMIC_CLOAKING = 0x40,
|
---|
7851 | EOAC_ANY_AUTHORITY = 0x80,
|
---|
7852 | EOAC_MAKE_FULLSIC = 0x100,
|
---|
7853 | EOAC_REQUIRE_FULLSIC = 0x200,
|
---|
7854 | EOAC_AUTO_IMPERSONATE = 0x400,
|
---|
7855 | EOAC_DEFAULT = 0x800,
|
---|
7856 | EOAC_DISABLE_AAA = 0x1000,
|
---|
7857 | EOAC_NO_CUSTOM_MARSHAL = 0x2000
|
---|
7858 | } EOLE_AUTHENTICATION_CAPABILITIES;
|
---|
7859 | DEFINE_GUID(IID_IClientSecurity, 0x0000013d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
7860 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
7861 | interface IClientSecurity : public IUnknown
|
---|
7862 | {
|
---|
7863 | virtual HRESULT STDMETHODCALLTYPE QueryBlanket(
|
---|
7864 | IUnknown *pProxy,
|
---|
7865 | DWORD *pAuthnSvc,
|
---|
7866 | DWORD *pAuthzSvc,
|
---|
7867 | OLECHAR **pServerPrincName,
|
---|
7868 | DWORD *pAuthnLevel,
|
---|
7869 | DWORD *pImpLevel,
|
---|
7870 | void **pAuthInfo,
|
---|
7871 | DWORD *pCapabilities) = 0;
|
---|
7872 |
|
---|
7873 | virtual HRESULT STDMETHODCALLTYPE SetBlanket(
|
---|
7874 | IUnknown *pProxy,
|
---|
7875 | DWORD AuthnSvc,
|
---|
7876 | DWORD AuthzSvc,
|
---|
7877 | OLECHAR *pServerPrincName,
|
---|
7878 | DWORD AuthnLevel,
|
---|
7879 | DWORD ImpLevel,
|
---|
7880 | void *pAuthInfo,
|
---|
7881 | DWORD Capabilities) = 0;
|
---|
7882 |
|
---|
7883 | virtual HRESULT STDMETHODCALLTYPE CopyProxy(
|
---|
7884 | IUnknown *pProxy,
|
---|
7885 | IUnknown **ppCopy) = 0;
|
---|
7886 |
|
---|
7887 | };
|
---|
7888 | #else
|
---|
7889 | typedef struct IClientSecurityVtbl {
|
---|
7890 | BEGIN_INTERFACE
|
---|
7891 |
|
---|
7892 | /*** IUnknown methods ***/
|
---|
7893 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
7894 | IClientSecurity* This,
|
---|
7895 | REFIID riid,
|
---|
7896 | void **ppvObject);
|
---|
7897 |
|
---|
7898 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
7899 | IClientSecurity* This);
|
---|
7900 |
|
---|
7901 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
7902 | IClientSecurity* This);
|
---|
7903 |
|
---|
7904 | /*** IClientSecurity methods ***/
|
---|
7905 | HRESULT (STDMETHODCALLTYPE *QueryBlanket)(
|
---|
7906 | IClientSecurity* This,
|
---|
7907 | IUnknown *pProxy,
|
---|
7908 | DWORD *pAuthnSvc,
|
---|
7909 | DWORD *pAuthzSvc,
|
---|
7910 | OLECHAR **pServerPrincName,
|
---|
7911 | DWORD *pAuthnLevel,
|
---|
7912 | DWORD *pImpLevel,
|
---|
7913 | void **pAuthInfo,
|
---|
7914 | DWORD *pCapabilities);
|
---|
7915 |
|
---|
7916 | HRESULT (STDMETHODCALLTYPE *SetBlanket)(
|
---|
7917 | IClientSecurity* This,
|
---|
7918 | IUnknown *pProxy,
|
---|
7919 | DWORD AuthnSvc,
|
---|
7920 | DWORD AuthzSvc,
|
---|
7921 | OLECHAR *pServerPrincName,
|
---|
7922 | DWORD AuthnLevel,
|
---|
7923 | DWORD ImpLevel,
|
---|
7924 | void *pAuthInfo,
|
---|
7925 | DWORD Capabilities);
|
---|
7926 |
|
---|
7927 | HRESULT (STDMETHODCALLTYPE *CopyProxy)(
|
---|
7928 | IClientSecurity* This,
|
---|
7929 | IUnknown *pProxy,
|
---|
7930 | IUnknown **ppCopy);
|
---|
7931 |
|
---|
7932 | END_INTERFACE
|
---|
7933 | } IClientSecurityVtbl;
|
---|
7934 | interface IClientSecurity {
|
---|
7935 | CONST_VTBL IClientSecurityVtbl* lpVtbl;
|
---|
7936 | };
|
---|
7937 |
|
---|
7938 | #ifdef COBJMACROS
|
---|
7939 | /*** IUnknown methods ***/
|
---|
7940 | #define IClientSecurity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
7941 | #define IClientSecurity_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
7942 | #define IClientSecurity_Release(This) (This)->lpVtbl->Release(This)
|
---|
7943 | /*** IClientSecurity methods ***/
|
---|
7944 | #define IClientSecurity_QueryBlanket(This,pProxy,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pAuthInfo,pCapabilities) (This)->lpVtbl->QueryBlanket(This,pProxy,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pAuthInfo,pCapabilities)
|
---|
7945 | #define IClientSecurity_SetBlanket(This,pProxy,AuthnSvc,AuthzSvc,pServerPrincName,AuthnLevel,ImpLevel,pAuthInfo,Capabilities) (This)->lpVtbl->SetBlanket(This,pProxy,AuthnSvc,AuthzSvc,pServerPrincName,AuthnLevel,ImpLevel,pAuthInfo,Capabilities)
|
---|
7946 | #define IClientSecurity_CopyProxy(This,pProxy,ppCopy) (This)->lpVtbl->CopyProxy(This,pProxy,ppCopy)
|
---|
7947 | #endif
|
---|
7948 |
|
---|
7949 | #endif
|
---|
7950 |
|
---|
7951 | HRESULT STDMETHODCALLTYPE IClientSecurity_QueryBlanket_Proxy(
|
---|
7952 | IClientSecurity* This,
|
---|
7953 | IUnknown *pProxy,
|
---|
7954 | DWORD *pAuthnSvc,
|
---|
7955 | DWORD *pAuthzSvc,
|
---|
7956 | OLECHAR **pServerPrincName,
|
---|
7957 | DWORD *pAuthnLevel,
|
---|
7958 | DWORD *pImpLevel,
|
---|
7959 | void **pAuthInfo,
|
---|
7960 | DWORD *pCapabilities);
|
---|
7961 | void __RPC_STUB IClientSecurity_QueryBlanket_Stub(
|
---|
7962 | IRpcStubBuffer* This,
|
---|
7963 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7964 | PRPC_MESSAGE pRpcMessage,
|
---|
7965 | DWORD* pdwStubPhase);
|
---|
7966 | HRESULT STDMETHODCALLTYPE IClientSecurity_SetBlanket_Proxy(
|
---|
7967 | IClientSecurity* This,
|
---|
7968 | IUnknown *pProxy,
|
---|
7969 | DWORD AuthnSvc,
|
---|
7970 | DWORD AuthzSvc,
|
---|
7971 | OLECHAR *pServerPrincName,
|
---|
7972 | DWORD AuthnLevel,
|
---|
7973 | DWORD ImpLevel,
|
---|
7974 | void *pAuthInfo,
|
---|
7975 | DWORD Capabilities);
|
---|
7976 | void __RPC_STUB IClientSecurity_SetBlanket_Stub(
|
---|
7977 | IRpcStubBuffer* This,
|
---|
7978 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7979 | PRPC_MESSAGE pRpcMessage,
|
---|
7980 | DWORD* pdwStubPhase);
|
---|
7981 | HRESULT STDMETHODCALLTYPE IClientSecurity_CopyProxy_Proxy(
|
---|
7982 | IClientSecurity* This,
|
---|
7983 | IUnknown *pProxy,
|
---|
7984 | IUnknown **ppCopy);
|
---|
7985 | void __RPC_STUB IClientSecurity_CopyProxy_Stub(
|
---|
7986 | IRpcStubBuffer* This,
|
---|
7987 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
7988 | PRPC_MESSAGE pRpcMessage,
|
---|
7989 | DWORD* pdwStubPhase);
|
---|
7990 |
|
---|
7991 | #endif /* __IClientSecurity_INTERFACE_DEFINED__ */
|
---|
7992 |
|
---|
7993 | /*****************************************************************************
|
---|
7994 | * IServerSecurity interface
|
---|
7995 | */
|
---|
7996 | #ifndef __IServerSecurity_INTERFACE_DEFINED__
|
---|
7997 | #define __IServerSecurity_INTERFACE_DEFINED__
|
---|
7998 |
|
---|
7999 | DEFINE_GUID(IID_IServerSecurity, 0x0000013e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8000 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8001 | interface IServerSecurity : public IUnknown
|
---|
8002 | {
|
---|
8003 | virtual HRESULT STDMETHODCALLTYPE QueryBlanket(
|
---|
8004 | DWORD *pAuthnSvc,
|
---|
8005 | DWORD *pAuthzSvc,
|
---|
8006 | OLECHAR **pServerPrincName,
|
---|
8007 | DWORD *pAuthnLevel,
|
---|
8008 | DWORD *pImpLevel,
|
---|
8009 | void **pPrivs,
|
---|
8010 | DWORD *pCapabilities) = 0;
|
---|
8011 |
|
---|
8012 | virtual HRESULT STDMETHODCALLTYPE ImpersonateClient(
|
---|
8013 | ) = 0;
|
---|
8014 |
|
---|
8015 | virtual HRESULT STDMETHODCALLTYPE RevertToSelf(
|
---|
8016 | ) = 0;
|
---|
8017 |
|
---|
8018 | virtual BOOL STDMETHODCALLTYPE IsImpersonating(
|
---|
8019 | ) = 0;
|
---|
8020 |
|
---|
8021 | };
|
---|
8022 | #else
|
---|
8023 | typedef struct IServerSecurityVtbl {
|
---|
8024 | BEGIN_INTERFACE
|
---|
8025 |
|
---|
8026 | /*** IUnknown methods ***/
|
---|
8027 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8028 | IServerSecurity* This,
|
---|
8029 | REFIID riid,
|
---|
8030 | void **ppvObject);
|
---|
8031 |
|
---|
8032 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8033 | IServerSecurity* This);
|
---|
8034 |
|
---|
8035 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8036 | IServerSecurity* This);
|
---|
8037 |
|
---|
8038 | /*** IServerSecurity methods ***/
|
---|
8039 | HRESULT (STDMETHODCALLTYPE *QueryBlanket)(
|
---|
8040 | IServerSecurity* This,
|
---|
8041 | DWORD *pAuthnSvc,
|
---|
8042 | DWORD *pAuthzSvc,
|
---|
8043 | OLECHAR **pServerPrincName,
|
---|
8044 | DWORD *pAuthnLevel,
|
---|
8045 | DWORD *pImpLevel,
|
---|
8046 | void **pPrivs,
|
---|
8047 | DWORD *pCapabilities);
|
---|
8048 |
|
---|
8049 | HRESULT (STDMETHODCALLTYPE *ImpersonateClient)(
|
---|
8050 | IServerSecurity* This);
|
---|
8051 |
|
---|
8052 | HRESULT (STDMETHODCALLTYPE *RevertToSelf)(
|
---|
8053 | IServerSecurity* This);
|
---|
8054 |
|
---|
8055 | BOOL (STDMETHODCALLTYPE *IsImpersonating)(
|
---|
8056 | IServerSecurity* This);
|
---|
8057 |
|
---|
8058 | END_INTERFACE
|
---|
8059 | } IServerSecurityVtbl;
|
---|
8060 | interface IServerSecurity {
|
---|
8061 | CONST_VTBL IServerSecurityVtbl* lpVtbl;
|
---|
8062 | };
|
---|
8063 |
|
---|
8064 | #ifdef COBJMACROS
|
---|
8065 | /*** IUnknown methods ***/
|
---|
8066 | #define IServerSecurity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8067 | #define IServerSecurity_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8068 | #define IServerSecurity_Release(This) (This)->lpVtbl->Release(This)
|
---|
8069 | /*** IServerSecurity methods ***/
|
---|
8070 | #define IServerSecurity_QueryBlanket(This,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pPrivs,pCapabilities) (This)->lpVtbl->QueryBlanket(This,pAuthnSvc,pAuthzSvc,pServerPrincName,pAuthnLevel,pImpLevel,pPrivs,pCapabilities)
|
---|
8071 | #define IServerSecurity_ImpersonateClient(This) (This)->lpVtbl->ImpersonateClient(This)
|
---|
8072 | #define IServerSecurity_RevertToSelf(This) (This)->lpVtbl->RevertToSelf(This)
|
---|
8073 | #define IServerSecurity_IsImpersonating(This) (This)->lpVtbl->IsImpersonating(This)
|
---|
8074 | #endif
|
---|
8075 |
|
---|
8076 | #endif
|
---|
8077 |
|
---|
8078 | HRESULT STDMETHODCALLTYPE IServerSecurity_QueryBlanket_Proxy(
|
---|
8079 | IServerSecurity* This,
|
---|
8080 | DWORD *pAuthnSvc,
|
---|
8081 | DWORD *pAuthzSvc,
|
---|
8082 | OLECHAR **pServerPrincName,
|
---|
8083 | DWORD *pAuthnLevel,
|
---|
8084 | DWORD *pImpLevel,
|
---|
8085 | void **pPrivs,
|
---|
8086 | DWORD *pCapabilities);
|
---|
8087 | void __RPC_STUB IServerSecurity_QueryBlanket_Stub(
|
---|
8088 | IRpcStubBuffer* This,
|
---|
8089 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8090 | PRPC_MESSAGE pRpcMessage,
|
---|
8091 | DWORD* pdwStubPhase);
|
---|
8092 | HRESULT STDMETHODCALLTYPE IServerSecurity_ImpersonateClient_Proxy(
|
---|
8093 | IServerSecurity* This);
|
---|
8094 | void __RPC_STUB IServerSecurity_ImpersonateClient_Stub(
|
---|
8095 | IRpcStubBuffer* This,
|
---|
8096 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8097 | PRPC_MESSAGE pRpcMessage,
|
---|
8098 | DWORD* pdwStubPhase);
|
---|
8099 | HRESULT STDMETHODCALLTYPE IServerSecurity_RevertToSelf_Proxy(
|
---|
8100 | IServerSecurity* This);
|
---|
8101 | void __RPC_STUB IServerSecurity_RevertToSelf_Stub(
|
---|
8102 | IRpcStubBuffer* This,
|
---|
8103 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8104 | PRPC_MESSAGE pRpcMessage,
|
---|
8105 | DWORD* pdwStubPhase);
|
---|
8106 | BOOL STDMETHODCALLTYPE IServerSecurity_IsImpersonating_Proxy(
|
---|
8107 | IServerSecurity* This);
|
---|
8108 | void __RPC_STUB IServerSecurity_IsImpersonating_Stub(
|
---|
8109 | IRpcStubBuffer* This,
|
---|
8110 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8111 | PRPC_MESSAGE pRpcMessage,
|
---|
8112 | DWORD* pdwStubPhase);
|
---|
8113 |
|
---|
8114 | #endif /* __IServerSecurity_INTERFACE_DEFINED__ */
|
---|
8115 |
|
---|
8116 | /*****************************************************************************
|
---|
8117 | * IAsyncSetup interface
|
---|
8118 | */
|
---|
8119 | #ifndef __IAsyncSetup_INTERFACE_DEFINED__
|
---|
8120 | #define __IAsyncSetup_INTERFACE_DEFINED__
|
---|
8121 |
|
---|
8122 | DEFINE_GUID(IID_IAsyncSetup, 0x00000024, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8123 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8124 | interface IAsyncSetup : public IUnknown
|
---|
8125 | {
|
---|
8126 | virtual HRESULT STDMETHODCALLTYPE GetAsyncManager(
|
---|
8127 | REFIID riid,
|
---|
8128 | IUnknown *pOuter,
|
---|
8129 | DWORD dwFlags,
|
---|
8130 | IUnknown **ppInner,
|
---|
8131 | IAsyncManager **ppAsyncMgr) = 0;
|
---|
8132 |
|
---|
8133 | };
|
---|
8134 | #else
|
---|
8135 | typedef struct IAsyncSetupVtbl {
|
---|
8136 | BEGIN_INTERFACE
|
---|
8137 |
|
---|
8138 | /*** IUnknown methods ***/
|
---|
8139 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8140 | IAsyncSetup* This,
|
---|
8141 | REFIID riid,
|
---|
8142 | void **ppvObject);
|
---|
8143 |
|
---|
8144 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8145 | IAsyncSetup* This);
|
---|
8146 |
|
---|
8147 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8148 | IAsyncSetup* This);
|
---|
8149 |
|
---|
8150 | /*** IAsyncSetup methods ***/
|
---|
8151 | HRESULT (STDMETHODCALLTYPE *GetAsyncManager)(
|
---|
8152 | IAsyncSetup* This,
|
---|
8153 | REFIID riid,
|
---|
8154 | IUnknown *pOuter,
|
---|
8155 | DWORD dwFlags,
|
---|
8156 | IUnknown **ppInner,
|
---|
8157 | IAsyncManager **ppAsyncMgr);
|
---|
8158 |
|
---|
8159 | END_INTERFACE
|
---|
8160 | } IAsyncSetupVtbl;
|
---|
8161 | interface IAsyncSetup {
|
---|
8162 | CONST_VTBL IAsyncSetupVtbl* lpVtbl;
|
---|
8163 | };
|
---|
8164 |
|
---|
8165 | #ifdef COBJMACROS
|
---|
8166 | /*** IUnknown methods ***/
|
---|
8167 | #define IAsyncSetup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8168 | #define IAsyncSetup_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8169 | #define IAsyncSetup_Release(This) (This)->lpVtbl->Release(This)
|
---|
8170 | /*** IAsyncSetup methods ***/
|
---|
8171 | #define IAsyncSetup_GetAsyncManager(This,riid,pOuter,dwFlags,ppInner,ppAsyncMgr) (This)->lpVtbl->GetAsyncManager(This,riid,pOuter,dwFlags,ppInner,ppAsyncMgr)
|
---|
8172 | #endif
|
---|
8173 |
|
---|
8174 | #endif
|
---|
8175 |
|
---|
8176 | HRESULT STDMETHODCALLTYPE IAsyncSetup_GetAsyncManager_Proxy(
|
---|
8177 | IAsyncSetup* This,
|
---|
8178 | REFIID riid,
|
---|
8179 | IUnknown *pOuter,
|
---|
8180 | DWORD dwFlags,
|
---|
8181 | IUnknown **ppInner,
|
---|
8182 | IAsyncManager **ppAsyncMgr);
|
---|
8183 | void __RPC_STUB IAsyncSetup_GetAsyncManager_Stub(
|
---|
8184 | IRpcStubBuffer* This,
|
---|
8185 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8186 | PRPC_MESSAGE pRpcMessage,
|
---|
8187 | DWORD* pdwStubPhase);
|
---|
8188 |
|
---|
8189 | #endif /* __IAsyncSetup_INTERFACE_DEFINED__ */
|
---|
8190 |
|
---|
8191 | /*****************************************************************************
|
---|
8192 | * IDirectWriterLock interface
|
---|
8193 | */
|
---|
8194 | #ifndef __IDirectWriterLock_INTERFACE_DEFINED__
|
---|
8195 | #define __IDirectWriterLock_INTERFACE_DEFINED__
|
---|
8196 |
|
---|
8197 | DEFINE_GUID(IID_IDirectWriterLock, 0x0e6d4d92, 0x6738, 0x11cf, 0x96,0x08, 0x00,0xaa,0x00,0x68,0x0d,0xb4);
|
---|
8198 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8199 | interface IDirectWriterLock : public IUnknown
|
---|
8200 | {
|
---|
8201 | virtual HRESULT STDMETHODCALLTYPE WaitForWriteAccess(
|
---|
8202 | DWORD dwTimeout) = 0;
|
---|
8203 |
|
---|
8204 | virtual HRESULT STDMETHODCALLTYPE ReleaseWriteAccess(
|
---|
8205 | ) = 0;
|
---|
8206 |
|
---|
8207 | virtual HRESULT STDMETHODCALLTYPE HaveWriteAccess(
|
---|
8208 | ) = 0;
|
---|
8209 |
|
---|
8210 | };
|
---|
8211 | #else
|
---|
8212 | typedef struct IDirectWriterLockVtbl {
|
---|
8213 | BEGIN_INTERFACE
|
---|
8214 |
|
---|
8215 | /*** IUnknown methods ***/
|
---|
8216 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8217 | IDirectWriterLock* This,
|
---|
8218 | REFIID riid,
|
---|
8219 | void **ppvObject);
|
---|
8220 |
|
---|
8221 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8222 | IDirectWriterLock* This);
|
---|
8223 |
|
---|
8224 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8225 | IDirectWriterLock* This);
|
---|
8226 |
|
---|
8227 | /*** IDirectWriterLock methods ***/
|
---|
8228 | HRESULT (STDMETHODCALLTYPE *WaitForWriteAccess)(
|
---|
8229 | IDirectWriterLock* This,
|
---|
8230 | DWORD dwTimeout);
|
---|
8231 |
|
---|
8232 | HRESULT (STDMETHODCALLTYPE *ReleaseWriteAccess)(
|
---|
8233 | IDirectWriterLock* This);
|
---|
8234 |
|
---|
8235 | HRESULT (STDMETHODCALLTYPE *HaveWriteAccess)(
|
---|
8236 | IDirectWriterLock* This);
|
---|
8237 |
|
---|
8238 | END_INTERFACE
|
---|
8239 | } IDirectWriterLockVtbl;
|
---|
8240 | interface IDirectWriterLock {
|
---|
8241 | CONST_VTBL IDirectWriterLockVtbl* lpVtbl;
|
---|
8242 | };
|
---|
8243 |
|
---|
8244 | #ifdef COBJMACROS
|
---|
8245 | /*** IUnknown methods ***/
|
---|
8246 | #define IDirectWriterLock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8247 | #define IDirectWriterLock_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8248 | #define IDirectWriterLock_Release(This) (This)->lpVtbl->Release(This)
|
---|
8249 | /*** IDirectWriterLock methods ***/
|
---|
8250 | #define IDirectWriterLock_WaitForWriteAccess(This,dwTimeout) (This)->lpVtbl->WaitForWriteAccess(This,dwTimeout)
|
---|
8251 | #define IDirectWriterLock_ReleaseWriteAccess(This) (This)->lpVtbl->ReleaseWriteAccess(This)
|
---|
8252 | #define IDirectWriterLock_HaveWriteAccess(This) (This)->lpVtbl->HaveWriteAccess(This)
|
---|
8253 | #endif
|
---|
8254 |
|
---|
8255 | #endif
|
---|
8256 |
|
---|
8257 | HRESULT STDMETHODCALLTYPE IDirectWriterLock_WaitForWriteAccess_Proxy(
|
---|
8258 | IDirectWriterLock* This,
|
---|
8259 | DWORD dwTimeout);
|
---|
8260 | void __RPC_STUB IDirectWriterLock_WaitForWriteAccess_Stub(
|
---|
8261 | IRpcStubBuffer* This,
|
---|
8262 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8263 | PRPC_MESSAGE pRpcMessage,
|
---|
8264 | DWORD* pdwStubPhase);
|
---|
8265 | HRESULT STDMETHODCALLTYPE IDirectWriterLock_ReleaseWriteAccess_Proxy(
|
---|
8266 | IDirectWriterLock* This);
|
---|
8267 | void __RPC_STUB IDirectWriterLock_ReleaseWriteAccess_Stub(
|
---|
8268 | IRpcStubBuffer* This,
|
---|
8269 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8270 | PRPC_MESSAGE pRpcMessage,
|
---|
8271 | DWORD* pdwStubPhase);
|
---|
8272 | HRESULT STDMETHODCALLTYPE IDirectWriterLock_HaveWriteAccess_Proxy(
|
---|
8273 | IDirectWriterLock* This);
|
---|
8274 | void __RPC_STUB IDirectWriterLock_HaveWriteAccess_Stub(
|
---|
8275 | IRpcStubBuffer* This,
|
---|
8276 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8277 | PRPC_MESSAGE pRpcMessage,
|
---|
8278 | DWORD* pdwStubPhase);
|
---|
8279 |
|
---|
8280 | #endif /* __IDirectWriterLock_INTERFACE_DEFINED__ */
|
---|
8281 |
|
---|
8282 | /*****************************************************************************
|
---|
8283 | * ISynchronize interface
|
---|
8284 | */
|
---|
8285 | #ifndef __ISynchronize_INTERFACE_DEFINED__
|
---|
8286 | #define __ISynchronize_INTERFACE_DEFINED__
|
---|
8287 |
|
---|
8288 | DEFINE_GUID(IID_ISynchronize, 0x00000030, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8289 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8290 | interface ISynchronize : public IUnknown
|
---|
8291 | {
|
---|
8292 | virtual HRESULT STDMETHODCALLTYPE Wait(
|
---|
8293 | DWORD dwFlags,
|
---|
8294 | DWORD dwMilliseconds) = 0;
|
---|
8295 |
|
---|
8296 | virtual HRESULT STDMETHODCALLTYPE Signal(
|
---|
8297 | ) = 0;
|
---|
8298 |
|
---|
8299 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
8300 | ) = 0;
|
---|
8301 |
|
---|
8302 | };
|
---|
8303 | #else
|
---|
8304 | typedef struct ISynchronizeVtbl {
|
---|
8305 | BEGIN_INTERFACE
|
---|
8306 |
|
---|
8307 | /*** IUnknown methods ***/
|
---|
8308 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8309 | ISynchronize* This,
|
---|
8310 | REFIID riid,
|
---|
8311 | void **ppvObject);
|
---|
8312 |
|
---|
8313 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8314 | ISynchronize* This);
|
---|
8315 |
|
---|
8316 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8317 | ISynchronize* This);
|
---|
8318 |
|
---|
8319 | /*** ISynchronize methods ***/
|
---|
8320 | HRESULT (STDMETHODCALLTYPE *Wait)(
|
---|
8321 | ISynchronize* This,
|
---|
8322 | DWORD dwFlags,
|
---|
8323 | DWORD dwMilliseconds);
|
---|
8324 |
|
---|
8325 | HRESULT (STDMETHODCALLTYPE *Signal)(
|
---|
8326 | ISynchronize* This);
|
---|
8327 |
|
---|
8328 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
8329 | ISynchronize* This);
|
---|
8330 |
|
---|
8331 | END_INTERFACE
|
---|
8332 | } ISynchronizeVtbl;
|
---|
8333 | interface ISynchronize {
|
---|
8334 | CONST_VTBL ISynchronizeVtbl* lpVtbl;
|
---|
8335 | };
|
---|
8336 |
|
---|
8337 | #ifdef COBJMACROS
|
---|
8338 | /*** IUnknown methods ***/
|
---|
8339 | #define ISynchronize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8340 | #define ISynchronize_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8341 | #define ISynchronize_Release(This) (This)->lpVtbl->Release(This)
|
---|
8342 | /*** ISynchronize methods ***/
|
---|
8343 | #define ISynchronize_Wait(This,dwFlags,dwMilliseconds) (This)->lpVtbl->Wait(This,dwFlags,dwMilliseconds)
|
---|
8344 | #define ISynchronize_Signal(This) (This)->lpVtbl->Signal(This)
|
---|
8345 | #define ISynchronize_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
8346 | #endif
|
---|
8347 |
|
---|
8348 | #endif
|
---|
8349 |
|
---|
8350 | HRESULT STDMETHODCALLTYPE ISynchronize_Wait_Proxy(
|
---|
8351 | ISynchronize* This,
|
---|
8352 | DWORD dwFlags,
|
---|
8353 | DWORD dwMilliseconds);
|
---|
8354 | void __RPC_STUB ISynchronize_Wait_Stub(
|
---|
8355 | IRpcStubBuffer* This,
|
---|
8356 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8357 | PRPC_MESSAGE pRpcMessage,
|
---|
8358 | DWORD* pdwStubPhase);
|
---|
8359 | HRESULT STDMETHODCALLTYPE ISynchronize_Signal_Proxy(
|
---|
8360 | ISynchronize* This);
|
---|
8361 | void __RPC_STUB ISynchronize_Signal_Stub(
|
---|
8362 | IRpcStubBuffer* This,
|
---|
8363 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8364 | PRPC_MESSAGE pRpcMessage,
|
---|
8365 | DWORD* pdwStubPhase);
|
---|
8366 | HRESULT STDMETHODCALLTYPE ISynchronize_Reset_Proxy(
|
---|
8367 | ISynchronize* This);
|
---|
8368 | void __RPC_STUB ISynchronize_Reset_Stub(
|
---|
8369 | IRpcStubBuffer* This,
|
---|
8370 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8371 | PRPC_MESSAGE pRpcMessage,
|
---|
8372 | DWORD* pdwStubPhase);
|
---|
8373 |
|
---|
8374 | #endif /* __ISynchronize_INTERFACE_DEFINED__ */
|
---|
8375 |
|
---|
8376 | /*****************************************************************************
|
---|
8377 | * ISynchronizeHandle interface
|
---|
8378 | */
|
---|
8379 | #ifndef __ISynchronizeHandle_INTERFACE_DEFINED__
|
---|
8380 | #define __ISynchronizeHandle_INTERFACE_DEFINED__
|
---|
8381 |
|
---|
8382 | DEFINE_GUID(IID_ISynchronizeHandle, 0x00000031, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8383 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8384 | interface ISynchronizeHandle : public IUnknown
|
---|
8385 | {
|
---|
8386 | virtual HRESULT STDMETHODCALLTYPE GetHandle(
|
---|
8387 | HANDLE *ph) = 0;
|
---|
8388 |
|
---|
8389 | };
|
---|
8390 | #else
|
---|
8391 | typedef struct ISynchronizeHandleVtbl {
|
---|
8392 | BEGIN_INTERFACE
|
---|
8393 |
|
---|
8394 | /*** IUnknown methods ***/
|
---|
8395 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8396 | ISynchronizeHandle* This,
|
---|
8397 | REFIID riid,
|
---|
8398 | void **ppvObject);
|
---|
8399 |
|
---|
8400 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8401 | ISynchronizeHandle* This);
|
---|
8402 |
|
---|
8403 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8404 | ISynchronizeHandle* This);
|
---|
8405 |
|
---|
8406 | /*** ISynchronizeHandle methods ***/
|
---|
8407 | HRESULT (STDMETHODCALLTYPE *GetHandle)(
|
---|
8408 | ISynchronizeHandle* This,
|
---|
8409 | HANDLE *ph);
|
---|
8410 |
|
---|
8411 | END_INTERFACE
|
---|
8412 | } ISynchronizeHandleVtbl;
|
---|
8413 | interface ISynchronizeHandle {
|
---|
8414 | CONST_VTBL ISynchronizeHandleVtbl* lpVtbl;
|
---|
8415 | };
|
---|
8416 |
|
---|
8417 | #ifdef COBJMACROS
|
---|
8418 | /*** IUnknown methods ***/
|
---|
8419 | #define ISynchronizeHandle_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8420 | #define ISynchronizeHandle_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8421 | #define ISynchronizeHandle_Release(This) (This)->lpVtbl->Release(This)
|
---|
8422 | /*** ISynchronizeHandle methods ***/
|
---|
8423 | #define ISynchronizeHandle_GetHandle(This,ph) (This)->lpVtbl->GetHandle(This,ph)
|
---|
8424 | #endif
|
---|
8425 |
|
---|
8426 | #endif
|
---|
8427 |
|
---|
8428 | HRESULT STDMETHODCALLTYPE ISynchronizeHandle_GetHandle_Proxy(
|
---|
8429 | ISynchronizeHandle* This,
|
---|
8430 | HANDLE *ph);
|
---|
8431 | void __RPC_STUB ISynchronizeHandle_GetHandle_Stub(
|
---|
8432 | IRpcStubBuffer* This,
|
---|
8433 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8434 | PRPC_MESSAGE pRpcMessage,
|
---|
8435 | DWORD* pdwStubPhase);
|
---|
8436 |
|
---|
8437 | #endif /* __ISynchronizeHandle_INTERFACE_DEFINED__ */
|
---|
8438 |
|
---|
8439 | /*****************************************************************************
|
---|
8440 | * ISynchronizeEvent interface
|
---|
8441 | */
|
---|
8442 | #ifndef __ISynchronizeEvent_INTERFACE_DEFINED__
|
---|
8443 | #define __ISynchronizeEvent_INTERFACE_DEFINED__
|
---|
8444 |
|
---|
8445 | DEFINE_GUID(IID_ISynchronizeEvent, 0x00000032, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8446 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8447 | interface ISynchronizeEvent : public ISynchronizeHandle
|
---|
8448 | {
|
---|
8449 | virtual HRESULT STDMETHODCALLTYPE SetEventHandle(
|
---|
8450 | HANDLE *ph) = 0;
|
---|
8451 |
|
---|
8452 | };
|
---|
8453 | #else
|
---|
8454 | typedef struct ISynchronizeEventVtbl {
|
---|
8455 | BEGIN_INTERFACE
|
---|
8456 |
|
---|
8457 | /*** IUnknown methods ***/
|
---|
8458 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8459 | ISynchronizeEvent* This,
|
---|
8460 | REFIID riid,
|
---|
8461 | void **ppvObject);
|
---|
8462 |
|
---|
8463 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8464 | ISynchronizeEvent* This);
|
---|
8465 |
|
---|
8466 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8467 | ISynchronizeEvent* This);
|
---|
8468 |
|
---|
8469 | /*** ISynchronizeHandle methods ***/
|
---|
8470 | HRESULT (STDMETHODCALLTYPE *GetHandle)(
|
---|
8471 | ISynchronizeEvent* This,
|
---|
8472 | HANDLE *ph);
|
---|
8473 |
|
---|
8474 | /*** ISynchronizeEvent methods ***/
|
---|
8475 | HRESULT (STDMETHODCALLTYPE *SetEventHandle)(
|
---|
8476 | ISynchronizeEvent* This,
|
---|
8477 | HANDLE *ph);
|
---|
8478 |
|
---|
8479 | END_INTERFACE
|
---|
8480 | } ISynchronizeEventVtbl;
|
---|
8481 | interface ISynchronizeEvent {
|
---|
8482 | CONST_VTBL ISynchronizeEventVtbl* lpVtbl;
|
---|
8483 | };
|
---|
8484 |
|
---|
8485 | #ifdef COBJMACROS
|
---|
8486 | /*** IUnknown methods ***/
|
---|
8487 | #define ISynchronizeEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8488 | #define ISynchronizeEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8489 | #define ISynchronizeEvent_Release(This) (This)->lpVtbl->Release(This)
|
---|
8490 | /*** ISynchronizeHandle methods ***/
|
---|
8491 | #define ISynchronizeEvent_GetHandle(This,ph) (This)->lpVtbl->GetHandle(This,ph)
|
---|
8492 | /*** ISynchronizeEvent methods ***/
|
---|
8493 | #define ISynchronizeEvent_SetEventHandle(This,ph) (This)->lpVtbl->SetEventHandle(This,ph)
|
---|
8494 | #endif
|
---|
8495 |
|
---|
8496 | #endif
|
---|
8497 |
|
---|
8498 | HRESULT STDMETHODCALLTYPE ISynchronizeEvent_SetEventHandle_Proxy(
|
---|
8499 | ISynchronizeEvent* This,
|
---|
8500 | HANDLE *ph);
|
---|
8501 | void __RPC_STUB ISynchronizeEvent_SetEventHandle_Stub(
|
---|
8502 | IRpcStubBuffer* This,
|
---|
8503 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8504 | PRPC_MESSAGE pRpcMessage,
|
---|
8505 | DWORD* pdwStubPhase);
|
---|
8506 |
|
---|
8507 | #endif /* __ISynchronizeEvent_INTERFACE_DEFINED__ */
|
---|
8508 |
|
---|
8509 | /*****************************************************************************
|
---|
8510 | * ISynchronizeContainer interface
|
---|
8511 | */
|
---|
8512 | #ifndef __ISynchronizeContainer_INTERFACE_DEFINED__
|
---|
8513 | #define __ISynchronizeContainer_INTERFACE_DEFINED__
|
---|
8514 |
|
---|
8515 | DEFINE_GUID(IID_ISynchronizeContainer, 0x00000033, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8516 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8517 | interface ISynchronizeContainer : public IUnknown
|
---|
8518 | {
|
---|
8519 | virtual HRESULT STDMETHODCALLTYPE AddSynchronize(
|
---|
8520 | ISynchronize *pSync) = 0;
|
---|
8521 |
|
---|
8522 | virtual HRESULT STDMETHODCALLTYPE WaitMultiple(
|
---|
8523 | DWORD dwFlags,
|
---|
8524 | DWORD dwTimeOut,
|
---|
8525 | ISynchronize **ppSync) = 0;
|
---|
8526 |
|
---|
8527 | };
|
---|
8528 | #else
|
---|
8529 | typedef struct ISynchronizeContainerVtbl {
|
---|
8530 | BEGIN_INTERFACE
|
---|
8531 |
|
---|
8532 | /*** IUnknown methods ***/
|
---|
8533 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8534 | ISynchronizeContainer* This,
|
---|
8535 | REFIID riid,
|
---|
8536 | void **ppvObject);
|
---|
8537 |
|
---|
8538 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8539 | ISynchronizeContainer* This);
|
---|
8540 |
|
---|
8541 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8542 | ISynchronizeContainer* This);
|
---|
8543 |
|
---|
8544 | /*** ISynchronizeContainer methods ***/
|
---|
8545 | HRESULT (STDMETHODCALLTYPE *AddSynchronize)(
|
---|
8546 | ISynchronizeContainer* This,
|
---|
8547 | ISynchronize *pSync);
|
---|
8548 |
|
---|
8549 | HRESULT (STDMETHODCALLTYPE *WaitMultiple)(
|
---|
8550 | ISynchronizeContainer* This,
|
---|
8551 | DWORD dwFlags,
|
---|
8552 | DWORD dwTimeOut,
|
---|
8553 | ISynchronize **ppSync);
|
---|
8554 |
|
---|
8555 | END_INTERFACE
|
---|
8556 | } ISynchronizeContainerVtbl;
|
---|
8557 | interface ISynchronizeContainer {
|
---|
8558 | CONST_VTBL ISynchronizeContainerVtbl* lpVtbl;
|
---|
8559 | };
|
---|
8560 |
|
---|
8561 | #ifdef COBJMACROS
|
---|
8562 | /*** IUnknown methods ***/
|
---|
8563 | #define ISynchronizeContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8564 | #define ISynchronizeContainer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8565 | #define ISynchronizeContainer_Release(This) (This)->lpVtbl->Release(This)
|
---|
8566 | /*** ISynchronizeContainer methods ***/
|
---|
8567 | #define ISynchronizeContainer_AddSynchronize(This,pSync) (This)->lpVtbl->AddSynchronize(This,pSync)
|
---|
8568 | #define ISynchronizeContainer_WaitMultiple(This,dwFlags,dwTimeOut,ppSync) (This)->lpVtbl->WaitMultiple(This,dwFlags,dwTimeOut,ppSync)
|
---|
8569 | #endif
|
---|
8570 |
|
---|
8571 | #endif
|
---|
8572 |
|
---|
8573 | HRESULT STDMETHODCALLTYPE ISynchronizeContainer_AddSynchronize_Proxy(
|
---|
8574 | ISynchronizeContainer* This,
|
---|
8575 | ISynchronize *pSync);
|
---|
8576 | void __RPC_STUB ISynchronizeContainer_AddSynchronize_Stub(
|
---|
8577 | IRpcStubBuffer* This,
|
---|
8578 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8579 | PRPC_MESSAGE pRpcMessage,
|
---|
8580 | DWORD* pdwStubPhase);
|
---|
8581 | HRESULT STDMETHODCALLTYPE ISynchronizeContainer_WaitMultiple_Proxy(
|
---|
8582 | ISynchronizeContainer* This,
|
---|
8583 | DWORD dwFlags,
|
---|
8584 | DWORD dwTimeOut,
|
---|
8585 | ISynchronize **ppSync);
|
---|
8586 | void __RPC_STUB ISynchronizeContainer_WaitMultiple_Stub(
|
---|
8587 | IRpcStubBuffer* This,
|
---|
8588 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8589 | PRPC_MESSAGE pRpcMessage,
|
---|
8590 | DWORD* pdwStubPhase);
|
---|
8591 |
|
---|
8592 | #endif /* __ISynchronizeContainer_INTERFACE_DEFINED__ */
|
---|
8593 |
|
---|
8594 | /*****************************************************************************
|
---|
8595 | * ISynchronizeMutex interface
|
---|
8596 | */
|
---|
8597 | #ifndef __ISynchronizeMutex_INTERFACE_DEFINED__
|
---|
8598 | #define __ISynchronizeMutex_INTERFACE_DEFINED__
|
---|
8599 |
|
---|
8600 | DEFINE_GUID(IID_ISynchronizeMutex, 0x00000025, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8601 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8602 | interface ISynchronizeMutex : public ISynchronize
|
---|
8603 | {
|
---|
8604 | virtual HRESULT STDMETHODCALLTYPE ReleaseMutex(
|
---|
8605 | ) = 0;
|
---|
8606 |
|
---|
8607 | };
|
---|
8608 | #else
|
---|
8609 | typedef struct ISynchronizeMutexVtbl {
|
---|
8610 | BEGIN_INTERFACE
|
---|
8611 |
|
---|
8612 | /*** IUnknown methods ***/
|
---|
8613 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8614 | ISynchronizeMutex* This,
|
---|
8615 | REFIID riid,
|
---|
8616 | void **ppvObject);
|
---|
8617 |
|
---|
8618 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8619 | ISynchronizeMutex* This);
|
---|
8620 |
|
---|
8621 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8622 | ISynchronizeMutex* This);
|
---|
8623 |
|
---|
8624 | /*** ISynchronize methods ***/
|
---|
8625 | HRESULT (STDMETHODCALLTYPE *Wait)(
|
---|
8626 | ISynchronizeMutex* This,
|
---|
8627 | DWORD dwFlags,
|
---|
8628 | DWORD dwMilliseconds);
|
---|
8629 |
|
---|
8630 | HRESULT (STDMETHODCALLTYPE *Signal)(
|
---|
8631 | ISynchronizeMutex* This);
|
---|
8632 |
|
---|
8633 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
8634 | ISynchronizeMutex* This);
|
---|
8635 |
|
---|
8636 | /*** ISynchronizeMutex methods ***/
|
---|
8637 | HRESULT (STDMETHODCALLTYPE *ReleaseMutex)(
|
---|
8638 | ISynchronizeMutex* This);
|
---|
8639 |
|
---|
8640 | END_INTERFACE
|
---|
8641 | } ISynchronizeMutexVtbl;
|
---|
8642 | interface ISynchronizeMutex {
|
---|
8643 | CONST_VTBL ISynchronizeMutexVtbl* lpVtbl;
|
---|
8644 | };
|
---|
8645 |
|
---|
8646 | #ifdef COBJMACROS
|
---|
8647 | /*** IUnknown methods ***/
|
---|
8648 | #define ISynchronizeMutex_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8649 | #define ISynchronizeMutex_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8650 | #define ISynchronizeMutex_Release(This) (This)->lpVtbl->Release(This)
|
---|
8651 | /*** ISynchronize methods ***/
|
---|
8652 | #define ISynchronizeMutex_Wait(This,dwFlags,dwMilliseconds) (This)->lpVtbl->Wait(This,dwFlags,dwMilliseconds)
|
---|
8653 | #define ISynchronizeMutex_Signal(This) (This)->lpVtbl->Signal(This)
|
---|
8654 | #define ISynchronizeMutex_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
8655 | /*** ISynchronizeMutex methods ***/
|
---|
8656 | #define ISynchronizeMutex_ReleaseMutex(This) (This)->lpVtbl->ReleaseMutex(This)
|
---|
8657 | #endif
|
---|
8658 |
|
---|
8659 | #endif
|
---|
8660 |
|
---|
8661 | HRESULT STDMETHODCALLTYPE ISynchronizeMutex_ReleaseMutex_Proxy(
|
---|
8662 | ISynchronizeMutex* This);
|
---|
8663 | void __RPC_STUB ISynchronizeMutex_ReleaseMutex_Stub(
|
---|
8664 | IRpcStubBuffer* This,
|
---|
8665 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8666 | PRPC_MESSAGE pRpcMessage,
|
---|
8667 | DWORD* pdwStubPhase);
|
---|
8668 |
|
---|
8669 | #endif /* __ISynchronizeMutex_INTERFACE_DEFINED__ */
|
---|
8670 |
|
---|
8671 | /*****************************************************************************
|
---|
8672 | * ICancelMethodCalls interface
|
---|
8673 | */
|
---|
8674 | #ifndef __ICancelMethodCalls_INTERFACE_DEFINED__
|
---|
8675 | #define __ICancelMethodCalls_INTERFACE_DEFINED__
|
---|
8676 |
|
---|
8677 | typedef ICancelMethodCalls *LPCANCELMETHODCALLS;
|
---|
8678 | DEFINE_GUID(IID_ICancelMethodCalls, 0x00000029, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8679 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8680 | interface ICancelMethodCalls : public IUnknown
|
---|
8681 | {
|
---|
8682 | virtual HRESULT STDMETHODCALLTYPE Cancel(
|
---|
8683 | ULONG ulSeconds) = 0;
|
---|
8684 |
|
---|
8685 | virtual HRESULT STDMETHODCALLTYPE TestCancel(
|
---|
8686 | ) = 0;
|
---|
8687 |
|
---|
8688 | };
|
---|
8689 | #else
|
---|
8690 | typedef struct ICancelMethodCallsVtbl {
|
---|
8691 | BEGIN_INTERFACE
|
---|
8692 |
|
---|
8693 | /*** IUnknown methods ***/
|
---|
8694 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8695 | ICancelMethodCalls* This,
|
---|
8696 | REFIID riid,
|
---|
8697 | void **ppvObject);
|
---|
8698 |
|
---|
8699 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8700 | ICancelMethodCalls* This);
|
---|
8701 |
|
---|
8702 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8703 | ICancelMethodCalls* This);
|
---|
8704 |
|
---|
8705 | /*** ICancelMethodCalls methods ***/
|
---|
8706 | HRESULT (STDMETHODCALLTYPE *Cancel)(
|
---|
8707 | ICancelMethodCalls* This,
|
---|
8708 | ULONG ulSeconds);
|
---|
8709 |
|
---|
8710 | HRESULT (STDMETHODCALLTYPE *TestCancel)(
|
---|
8711 | ICancelMethodCalls* This);
|
---|
8712 |
|
---|
8713 | END_INTERFACE
|
---|
8714 | } ICancelMethodCallsVtbl;
|
---|
8715 | interface ICancelMethodCalls {
|
---|
8716 | CONST_VTBL ICancelMethodCallsVtbl* lpVtbl;
|
---|
8717 | };
|
---|
8718 |
|
---|
8719 | #ifdef COBJMACROS
|
---|
8720 | /*** IUnknown methods ***/
|
---|
8721 | #define ICancelMethodCalls_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8722 | #define ICancelMethodCalls_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8723 | #define ICancelMethodCalls_Release(This) (This)->lpVtbl->Release(This)
|
---|
8724 | /*** ICancelMethodCalls methods ***/
|
---|
8725 | #define ICancelMethodCalls_Cancel(This,ulSeconds) (This)->lpVtbl->Cancel(This,ulSeconds)
|
---|
8726 | #define ICancelMethodCalls_TestCancel(This) (This)->lpVtbl->TestCancel(This)
|
---|
8727 | #endif
|
---|
8728 |
|
---|
8729 | #endif
|
---|
8730 |
|
---|
8731 | HRESULT STDMETHODCALLTYPE ICancelMethodCalls_Cancel_Proxy(
|
---|
8732 | ICancelMethodCalls* This,
|
---|
8733 | ULONG ulSeconds);
|
---|
8734 | void __RPC_STUB ICancelMethodCalls_Cancel_Stub(
|
---|
8735 | IRpcStubBuffer* This,
|
---|
8736 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8737 | PRPC_MESSAGE pRpcMessage,
|
---|
8738 | DWORD* pdwStubPhase);
|
---|
8739 | HRESULT STDMETHODCALLTYPE ICancelMethodCalls_TestCancel_Proxy(
|
---|
8740 | ICancelMethodCalls* This);
|
---|
8741 | void __RPC_STUB ICancelMethodCalls_TestCancel_Stub(
|
---|
8742 | IRpcStubBuffer* This,
|
---|
8743 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8744 | PRPC_MESSAGE pRpcMessage,
|
---|
8745 | DWORD* pdwStubPhase);
|
---|
8746 |
|
---|
8747 | #endif /* __ICancelMethodCalls_INTERFACE_DEFINED__ */
|
---|
8748 |
|
---|
8749 | /*****************************************************************************
|
---|
8750 | * IAsyncManager interface
|
---|
8751 | */
|
---|
8752 | #ifndef __IAsyncManager_INTERFACE_DEFINED__
|
---|
8753 | #define __IAsyncManager_INTERFACE_DEFINED__
|
---|
8754 |
|
---|
8755 | typedef enum tagDCOM_CALL_STATE {
|
---|
8756 | DCOM_NONE = 0,
|
---|
8757 | DCOM_CALL_COMPLETE = 1,
|
---|
8758 | DCOM_CALL_CANCELED = 2
|
---|
8759 | } DCOM_CALL_STATE;
|
---|
8760 | DEFINE_GUID(IID_IAsyncManager, 0x0000002a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8761 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8762 | interface IAsyncManager : public IUnknown
|
---|
8763 | {
|
---|
8764 | virtual HRESULT STDMETHODCALLTYPE CompleteCall(
|
---|
8765 | HRESULT Result) = 0;
|
---|
8766 |
|
---|
8767 | virtual HRESULT STDMETHODCALLTYPE GetCallContext(
|
---|
8768 | REFIID riid,
|
---|
8769 | void **pInterface) = 0;
|
---|
8770 |
|
---|
8771 | virtual HRESULT STDMETHODCALLTYPE GetState(
|
---|
8772 | ULONG *pulStateFlags) = 0;
|
---|
8773 |
|
---|
8774 | };
|
---|
8775 | #else
|
---|
8776 | typedef struct IAsyncManagerVtbl {
|
---|
8777 | BEGIN_INTERFACE
|
---|
8778 |
|
---|
8779 | /*** IUnknown methods ***/
|
---|
8780 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8781 | IAsyncManager* This,
|
---|
8782 | REFIID riid,
|
---|
8783 | void **ppvObject);
|
---|
8784 |
|
---|
8785 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8786 | IAsyncManager* This);
|
---|
8787 |
|
---|
8788 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8789 | IAsyncManager* This);
|
---|
8790 |
|
---|
8791 | /*** IAsyncManager methods ***/
|
---|
8792 | HRESULT (STDMETHODCALLTYPE *CompleteCall)(
|
---|
8793 | IAsyncManager* This,
|
---|
8794 | HRESULT Result);
|
---|
8795 |
|
---|
8796 | HRESULT (STDMETHODCALLTYPE *GetCallContext)(
|
---|
8797 | IAsyncManager* This,
|
---|
8798 | REFIID riid,
|
---|
8799 | void **pInterface);
|
---|
8800 |
|
---|
8801 | HRESULT (STDMETHODCALLTYPE *GetState)(
|
---|
8802 | IAsyncManager* This,
|
---|
8803 | ULONG *pulStateFlags);
|
---|
8804 |
|
---|
8805 | END_INTERFACE
|
---|
8806 | } IAsyncManagerVtbl;
|
---|
8807 | interface IAsyncManager {
|
---|
8808 | CONST_VTBL IAsyncManagerVtbl* lpVtbl;
|
---|
8809 | };
|
---|
8810 |
|
---|
8811 | #ifdef COBJMACROS
|
---|
8812 | /*** IUnknown methods ***/
|
---|
8813 | #define IAsyncManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8814 | #define IAsyncManager_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8815 | #define IAsyncManager_Release(This) (This)->lpVtbl->Release(This)
|
---|
8816 | /*** IAsyncManager methods ***/
|
---|
8817 | #define IAsyncManager_CompleteCall(This,Result) (This)->lpVtbl->CompleteCall(This,Result)
|
---|
8818 | #define IAsyncManager_GetCallContext(This,riid,pInterface) (This)->lpVtbl->GetCallContext(This,riid,pInterface)
|
---|
8819 | #define IAsyncManager_GetState(This,pulStateFlags) (This)->lpVtbl->GetState(This,pulStateFlags)
|
---|
8820 | #endif
|
---|
8821 |
|
---|
8822 | #endif
|
---|
8823 |
|
---|
8824 | HRESULT STDMETHODCALLTYPE IAsyncManager_CompleteCall_Proxy(
|
---|
8825 | IAsyncManager* This,
|
---|
8826 | HRESULT Result);
|
---|
8827 | void __RPC_STUB IAsyncManager_CompleteCall_Stub(
|
---|
8828 | IRpcStubBuffer* This,
|
---|
8829 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8830 | PRPC_MESSAGE pRpcMessage,
|
---|
8831 | DWORD* pdwStubPhase);
|
---|
8832 | HRESULT STDMETHODCALLTYPE IAsyncManager_GetCallContext_Proxy(
|
---|
8833 | IAsyncManager* This,
|
---|
8834 | REFIID riid,
|
---|
8835 | void **pInterface);
|
---|
8836 | void __RPC_STUB IAsyncManager_GetCallContext_Stub(
|
---|
8837 | IRpcStubBuffer* This,
|
---|
8838 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8839 | PRPC_MESSAGE pRpcMessage,
|
---|
8840 | DWORD* pdwStubPhase);
|
---|
8841 | HRESULT STDMETHODCALLTYPE IAsyncManager_GetState_Proxy(
|
---|
8842 | IAsyncManager* This,
|
---|
8843 | ULONG *pulStateFlags);
|
---|
8844 | void __RPC_STUB IAsyncManager_GetState_Stub(
|
---|
8845 | IRpcStubBuffer* This,
|
---|
8846 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8847 | PRPC_MESSAGE pRpcMessage,
|
---|
8848 | DWORD* pdwStubPhase);
|
---|
8849 |
|
---|
8850 | #endif /* __IAsyncManager_INTERFACE_DEFINED__ */
|
---|
8851 |
|
---|
8852 | /*****************************************************************************
|
---|
8853 | * ICallFactory interface
|
---|
8854 | */
|
---|
8855 | #ifndef __ICallFactory_INTERFACE_DEFINED__
|
---|
8856 | #define __ICallFactory_INTERFACE_DEFINED__
|
---|
8857 |
|
---|
8858 | DEFINE_GUID(IID_ICallFactory, 0x1c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
|
---|
8859 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8860 | interface ICallFactory : public IUnknown
|
---|
8861 | {
|
---|
8862 | virtual HRESULT STDMETHODCALLTYPE CreateCall(
|
---|
8863 | REFIID riid,
|
---|
8864 | IUnknown *pCtrlUnk,
|
---|
8865 | REFIID riid2,
|
---|
8866 | IUnknown **ppv) = 0;
|
---|
8867 |
|
---|
8868 | };
|
---|
8869 | #else
|
---|
8870 | typedef struct ICallFactoryVtbl {
|
---|
8871 | BEGIN_INTERFACE
|
---|
8872 |
|
---|
8873 | /*** IUnknown methods ***/
|
---|
8874 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8875 | ICallFactory* This,
|
---|
8876 | REFIID riid,
|
---|
8877 | void **ppvObject);
|
---|
8878 |
|
---|
8879 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8880 | ICallFactory* This);
|
---|
8881 |
|
---|
8882 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8883 | ICallFactory* This);
|
---|
8884 |
|
---|
8885 | /*** ICallFactory methods ***/
|
---|
8886 | HRESULT (STDMETHODCALLTYPE *CreateCall)(
|
---|
8887 | ICallFactory* This,
|
---|
8888 | REFIID riid,
|
---|
8889 | IUnknown *pCtrlUnk,
|
---|
8890 | REFIID riid2,
|
---|
8891 | IUnknown **ppv);
|
---|
8892 |
|
---|
8893 | END_INTERFACE
|
---|
8894 | } ICallFactoryVtbl;
|
---|
8895 | interface ICallFactory {
|
---|
8896 | CONST_VTBL ICallFactoryVtbl* lpVtbl;
|
---|
8897 | };
|
---|
8898 |
|
---|
8899 | #ifdef COBJMACROS
|
---|
8900 | /*** IUnknown methods ***/
|
---|
8901 | #define ICallFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8902 | #define ICallFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8903 | #define ICallFactory_Release(This) (This)->lpVtbl->Release(This)
|
---|
8904 | /*** ICallFactory methods ***/
|
---|
8905 | #define ICallFactory_CreateCall(This,riid,pCtrlUnk,riid2,ppv) (This)->lpVtbl->CreateCall(This,riid,pCtrlUnk,riid2,ppv)
|
---|
8906 | #endif
|
---|
8907 |
|
---|
8908 | #endif
|
---|
8909 |
|
---|
8910 | HRESULT STDMETHODCALLTYPE ICallFactory_CreateCall_Proxy(
|
---|
8911 | ICallFactory* This,
|
---|
8912 | REFIID riid,
|
---|
8913 | IUnknown *pCtrlUnk,
|
---|
8914 | REFIID riid2,
|
---|
8915 | IUnknown **ppv);
|
---|
8916 | void __RPC_STUB ICallFactory_CreateCall_Stub(
|
---|
8917 | IRpcStubBuffer* This,
|
---|
8918 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8919 | PRPC_MESSAGE pRpcMessage,
|
---|
8920 | DWORD* pdwStubPhase);
|
---|
8921 |
|
---|
8922 | #endif /* __ICallFactory_INTERFACE_DEFINED__ */
|
---|
8923 |
|
---|
8924 | /*****************************************************************************
|
---|
8925 | * IRpcOptions interface
|
---|
8926 | */
|
---|
8927 | #ifndef __IRpcOptions_INTERFACE_DEFINED__
|
---|
8928 | #define __IRpcOptions_INTERFACE_DEFINED__
|
---|
8929 |
|
---|
8930 | DEFINE_GUID(IID_IRpcOptions, 0x00000144, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
8931 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
8932 | interface IRpcOptions : public IUnknown
|
---|
8933 | {
|
---|
8934 | virtual HRESULT STDMETHODCALLTYPE Set(
|
---|
8935 | IUnknown *pPrx,
|
---|
8936 | DWORD dwProperty,
|
---|
8937 | ULONG_PTR dwValue) = 0;
|
---|
8938 |
|
---|
8939 | virtual HRESULT STDMETHODCALLTYPE Query(
|
---|
8940 | IUnknown *pPrx,
|
---|
8941 | DWORD dwProperty,
|
---|
8942 | ULONG_PTR *pdwValue) = 0;
|
---|
8943 |
|
---|
8944 | };
|
---|
8945 | #else
|
---|
8946 | typedef struct IRpcOptionsVtbl {
|
---|
8947 | BEGIN_INTERFACE
|
---|
8948 |
|
---|
8949 | /*** IUnknown methods ***/
|
---|
8950 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
8951 | IRpcOptions* This,
|
---|
8952 | REFIID riid,
|
---|
8953 | void **ppvObject);
|
---|
8954 |
|
---|
8955 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
8956 | IRpcOptions* This);
|
---|
8957 |
|
---|
8958 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
8959 | IRpcOptions* This);
|
---|
8960 |
|
---|
8961 | /*** IRpcOptions methods ***/
|
---|
8962 | HRESULT (STDMETHODCALLTYPE *Set)(
|
---|
8963 | IRpcOptions* This,
|
---|
8964 | IUnknown *pPrx,
|
---|
8965 | DWORD dwProperty,
|
---|
8966 | ULONG_PTR dwValue);
|
---|
8967 |
|
---|
8968 | HRESULT (STDMETHODCALLTYPE *Query)(
|
---|
8969 | IRpcOptions* This,
|
---|
8970 | IUnknown *pPrx,
|
---|
8971 | DWORD dwProperty,
|
---|
8972 | ULONG_PTR *pdwValue);
|
---|
8973 |
|
---|
8974 | END_INTERFACE
|
---|
8975 | } IRpcOptionsVtbl;
|
---|
8976 | interface IRpcOptions {
|
---|
8977 | CONST_VTBL IRpcOptionsVtbl* lpVtbl;
|
---|
8978 | };
|
---|
8979 |
|
---|
8980 | #ifdef COBJMACROS
|
---|
8981 | /*** IUnknown methods ***/
|
---|
8982 | #define IRpcOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8983 | #define IRpcOptions_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8984 | #define IRpcOptions_Release(This) (This)->lpVtbl->Release(This)
|
---|
8985 | /*** IRpcOptions methods ***/
|
---|
8986 | #define IRpcOptions_Set(This,pPrx,dwProperty,dwValue) (This)->lpVtbl->Set(This,pPrx,dwProperty,dwValue)
|
---|
8987 | #define IRpcOptions_Query(This,pPrx,dwProperty,pdwValue) (This)->lpVtbl->Query(This,pPrx,dwProperty,pdwValue)
|
---|
8988 | #endif
|
---|
8989 |
|
---|
8990 | #endif
|
---|
8991 |
|
---|
8992 | HRESULT STDMETHODCALLTYPE IRpcOptions_Set_Proxy(
|
---|
8993 | IRpcOptions* This,
|
---|
8994 | IUnknown *pPrx,
|
---|
8995 | DWORD dwProperty,
|
---|
8996 | ULONG_PTR dwValue);
|
---|
8997 | void __RPC_STUB IRpcOptions_Set_Stub(
|
---|
8998 | IRpcStubBuffer* This,
|
---|
8999 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9000 | PRPC_MESSAGE pRpcMessage,
|
---|
9001 | DWORD* pdwStubPhase);
|
---|
9002 | HRESULT STDMETHODCALLTYPE IRpcOptions_Query_Proxy(
|
---|
9003 | IRpcOptions* This,
|
---|
9004 | IUnknown *pPrx,
|
---|
9005 | DWORD dwProperty,
|
---|
9006 | ULONG_PTR *pdwValue);
|
---|
9007 | void __RPC_STUB IRpcOptions_Query_Stub(
|
---|
9008 | IRpcStubBuffer* This,
|
---|
9009 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9010 | PRPC_MESSAGE pRpcMessage,
|
---|
9011 | DWORD* pdwStubPhase);
|
---|
9012 |
|
---|
9013 | #endif /* __IRpcOptions_INTERFACE_DEFINED__ */
|
---|
9014 |
|
---|
9015 | enum {
|
---|
9016 | COMBND_RPCTIMEOUT = 1,
|
---|
9017 | COMBND_SERVER_LOCALITY = 2
|
---|
9018 | };
|
---|
9019 |
|
---|
9020 | enum {
|
---|
9021 | SERVER_LOCALITY_PROCESS_LOCAL = 0,
|
---|
9022 | SERVER_LOCALITY_MACHINE_LOCAL = 1,
|
---|
9023 | SERVER_LOCALITY_REMOTE = 2
|
---|
9024 | };
|
---|
9025 |
|
---|
9026 | /*****************************************************************************
|
---|
9027 | * IRpcHelper interface
|
---|
9028 | */
|
---|
9029 | #ifndef __IRpcHelper_INTERFACE_DEFINED__
|
---|
9030 | #define __IRpcHelper_INTERFACE_DEFINED__
|
---|
9031 |
|
---|
9032 | DEFINE_GUID(IID_IRpcHelper, 0x00000149, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
9033 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9034 | interface IRpcHelper : public IUnknown
|
---|
9035 | {
|
---|
9036 | virtual HRESULT STDMETHODCALLTYPE GetDCOMProtocolVersion(
|
---|
9037 | DWORD *pComVersion) = 0;
|
---|
9038 |
|
---|
9039 | virtual HRESULT STDMETHODCALLTYPE GetIIDFromOBJREF(
|
---|
9040 | void *pObjRef,
|
---|
9041 | IID **piid) = 0;
|
---|
9042 |
|
---|
9043 | };
|
---|
9044 | #else
|
---|
9045 | typedef struct IRpcHelperVtbl {
|
---|
9046 | BEGIN_INTERFACE
|
---|
9047 |
|
---|
9048 | /*** IUnknown methods ***/
|
---|
9049 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9050 | IRpcHelper* This,
|
---|
9051 | REFIID riid,
|
---|
9052 | void **ppvObject);
|
---|
9053 |
|
---|
9054 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9055 | IRpcHelper* This);
|
---|
9056 |
|
---|
9057 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9058 | IRpcHelper* This);
|
---|
9059 |
|
---|
9060 | /*** IRpcHelper methods ***/
|
---|
9061 | HRESULT (STDMETHODCALLTYPE *GetDCOMProtocolVersion)(
|
---|
9062 | IRpcHelper* This,
|
---|
9063 | DWORD *pComVersion);
|
---|
9064 |
|
---|
9065 | HRESULT (STDMETHODCALLTYPE *GetIIDFromOBJREF)(
|
---|
9066 | IRpcHelper* This,
|
---|
9067 | void *pObjRef,
|
---|
9068 | IID **piid);
|
---|
9069 |
|
---|
9070 | END_INTERFACE
|
---|
9071 | } IRpcHelperVtbl;
|
---|
9072 | interface IRpcHelper {
|
---|
9073 | CONST_VTBL IRpcHelperVtbl* lpVtbl;
|
---|
9074 | };
|
---|
9075 |
|
---|
9076 | #ifdef COBJMACROS
|
---|
9077 | /*** IUnknown methods ***/
|
---|
9078 | #define IRpcHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9079 | #define IRpcHelper_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9080 | #define IRpcHelper_Release(This) (This)->lpVtbl->Release(This)
|
---|
9081 | /*** IRpcHelper methods ***/
|
---|
9082 | #define IRpcHelper_GetDCOMProtocolVersion(This,pComVersion) (This)->lpVtbl->GetDCOMProtocolVersion(This,pComVersion)
|
---|
9083 | #define IRpcHelper_GetIIDFromOBJREF(This,pObjRef,piid) (This)->lpVtbl->GetIIDFromOBJREF(This,pObjRef,piid)
|
---|
9084 | #endif
|
---|
9085 |
|
---|
9086 | #endif
|
---|
9087 |
|
---|
9088 | HRESULT STDMETHODCALLTYPE IRpcHelper_GetDCOMProtocolVersion_Proxy(
|
---|
9089 | IRpcHelper* This,
|
---|
9090 | DWORD *pComVersion);
|
---|
9091 | void __RPC_STUB IRpcHelper_GetDCOMProtocolVersion_Stub(
|
---|
9092 | IRpcStubBuffer* This,
|
---|
9093 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9094 | PRPC_MESSAGE pRpcMessage,
|
---|
9095 | DWORD* pdwStubPhase);
|
---|
9096 | HRESULT STDMETHODCALLTYPE IRpcHelper_GetIIDFromOBJREF_Proxy(
|
---|
9097 | IRpcHelper* This,
|
---|
9098 | void *pObjRef,
|
---|
9099 | IID **piid);
|
---|
9100 | void __RPC_STUB IRpcHelper_GetIIDFromOBJREF_Stub(
|
---|
9101 | IRpcStubBuffer* This,
|
---|
9102 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9103 | PRPC_MESSAGE pRpcMessage,
|
---|
9104 | DWORD* pdwStubPhase);
|
---|
9105 |
|
---|
9106 | #endif /* __IRpcHelper_INTERFACE_DEFINED__ */
|
---|
9107 |
|
---|
9108 | /*****************************************************************************
|
---|
9109 | * IReleaseMarshalBuffers interface
|
---|
9110 | */
|
---|
9111 | #ifndef __IReleaseMarshalBuffers_INTERFACE_DEFINED__
|
---|
9112 | #define __IReleaseMarshalBuffers_INTERFACE_DEFINED__
|
---|
9113 |
|
---|
9114 | DEFINE_GUID(IID_IReleaseMarshalBuffers, 0xeb0cb9e8, 0x7996, 0x11d2, 0x87,0x2e, 0x00,0x00,0xf8,0x08,0x08,0x59);
|
---|
9115 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9116 | interface IReleaseMarshalBuffers : public IUnknown
|
---|
9117 | {
|
---|
9118 | virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalBuffer(
|
---|
9119 | RPCOLEMESSAGE *pMsg,
|
---|
9120 | DWORD dwFlags,
|
---|
9121 | IUnknown *pChnl) = 0;
|
---|
9122 |
|
---|
9123 | };
|
---|
9124 | #else
|
---|
9125 | typedef struct IReleaseMarshalBuffersVtbl {
|
---|
9126 | BEGIN_INTERFACE
|
---|
9127 |
|
---|
9128 | /*** IUnknown methods ***/
|
---|
9129 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9130 | IReleaseMarshalBuffers* This,
|
---|
9131 | REFIID riid,
|
---|
9132 | void **ppvObject);
|
---|
9133 |
|
---|
9134 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9135 | IReleaseMarshalBuffers* This);
|
---|
9136 |
|
---|
9137 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9138 | IReleaseMarshalBuffers* This);
|
---|
9139 |
|
---|
9140 | /*** IReleaseMarshalBuffers methods ***/
|
---|
9141 | HRESULT (STDMETHODCALLTYPE *ReleaseMarshalBuffer)(
|
---|
9142 | IReleaseMarshalBuffers* This,
|
---|
9143 | RPCOLEMESSAGE *pMsg,
|
---|
9144 | DWORD dwFlags,
|
---|
9145 | IUnknown *pChnl);
|
---|
9146 |
|
---|
9147 | END_INTERFACE
|
---|
9148 | } IReleaseMarshalBuffersVtbl;
|
---|
9149 | interface IReleaseMarshalBuffers {
|
---|
9150 | CONST_VTBL IReleaseMarshalBuffersVtbl* lpVtbl;
|
---|
9151 | };
|
---|
9152 |
|
---|
9153 | #ifdef COBJMACROS
|
---|
9154 | /*** IUnknown methods ***/
|
---|
9155 | #define IReleaseMarshalBuffers_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9156 | #define IReleaseMarshalBuffers_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9157 | #define IReleaseMarshalBuffers_Release(This) (This)->lpVtbl->Release(This)
|
---|
9158 | /*** IReleaseMarshalBuffers methods ***/
|
---|
9159 | #define IReleaseMarshalBuffers_ReleaseMarshalBuffer(This,pMsg,dwFlags,pChnl) (This)->lpVtbl->ReleaseMarshalBuffer(This,pMsg,dwFlags,pChnl)
|
---|
9160 | #endif
|
---|
9161 |
|
---|
9162 | #endif
|
---|
9163 |
|
---|
9164 | HRESULT STDMETHODCALLTYPE IReleaseMarshalBuffers_ReleaseMarshalBuffer_Proxy(
|
---|
9165 | IReleaseMarshalBuffers* This,
|
---|
9166 | RPCOLEMESSAGE *pMsg,
|
---|
9167 | DWORD dwFlags,
|
---|
9168 | IUnknown *pChnl);
|
---|
9169 | void __RPC_STUB IReleaseMarshalBuffers_ReleaseMarshalBuffer_Stub(
|
---|
9170 | IRpcStubBuffer* This,
|
---|
9171 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9172 | PRPC_MESSAGE pRpcMessage,
|
---|
9173 | DWORD* pdwStubPhase);
|
---|
9174 |
|
---|
9175 | #endif /* __IReleaseMarshalBuffers_INTERFACE_DEFINED__ */
|
---|
9176 |
|
---|
9177 | /*****************************************************************************
|
---|
9178 | * IWaitMultiple interface
|
---|
9179 | */
|
---|
9180 | #ifndef __IWaitMultiple_INTERFACE_DEFINED__
|
---|
9181 | #define __IWaitMultiple_INTERFACE_DEFINED__
|
---|
9182 |
|
---|
9183 | DEFINE_GUID(IID_IWaitMultiple, 0x0000002b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
9184 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9185 | interface IWaitMultiple : public IUnknown
|
---|
9186 | {
|
---|
9187 | virtual HRESULT STDMETHODCALLTYPE WaitMultiple(
|
---|
9188 | DWORD timeout,
|
---|
9189 | ISynchronize **pSync) = 0;
|
---|
9190 |
|
---|
9191 | virtual HRESULT STDMETHODCALLTYPE AddSynchronize(
|
---|
9192 | ISynchronize *pSync) = 0;
|
---|
9193 |
|
---|
9194 | };
|
---|
9195 | #else
|
---|
9196 | typedef struct IWaitMultipleVtbl {
|
---|
9197 | BEGIN_INTERFACE
|
---|
9198 |
|
---|
9199 | /*** IUnknown methods ***/
|
---|
9200 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9201 | IWaitMultiple* This,
|
---|
9202 | REFIID riid,
|
---|
9203 | void **ppvObject);
|
---|
9204 |
|
---|
9205 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9206 | IWaitMultiple* This);
|
---|
9207 |
|
---|
9208 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9209 | IWaitMultiple* This);
|
---|
9210 |
|
---|
9211 | /*** IWaitMultiple methods ***/
|
---|
9212 | HRESULT (STDMETHODCALLTYPE *WaitMultiple)(
|
---|
9213 | IWaitMultiple* This,
|
---|
9214 | DWORD timeout,
|
---|
9215 | ISynchronize **pSync);
|
---|
9216 |
|
---|
9217 | HRESULT (STDMETHODCALLTYPE *AddSynchronize)(
|
---|
9218 | IWaitMultiple* This,
|
---|
9219 | ISynchronize *pSync);
|
---|
9220 |
|
---|
9221 | END_INTERFACE
|
---|
9222 | } IWaitMultipleVtbl;
|
---|
9223 | interface IWaitMultiple {
|
---|
9224 | CONST_VTBL IWaitMultipleVtbl* lpVtbl;
|
---|
9225 | };
|
---|
9226 |
|
---|
9227 | #ifdef COBJMACROS
|
---|
9228 | /*** IUnknown methods ***/
|
---|
9229 | #define IWaitMultiple_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9230 | #define IWaitMultiple_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9231 | #define IWaitMultiple_Release(This) (This)->lpVtbl->Release(This)
|
---|
9232 | /*** IWaitMultiple methods ***/
|
---|
9233 | #define IWaitMultiple_WaitMultiple(This,timeout,pSync) (This)->lpVtbl->WaitMultiple(This,timeout,pSync)
|
---|
9234 | #define IWaitMultiple_AddSynchronize(This,pSync) (This)->lpVtbl->AddSynchronize(This,pSync)
|
---|
9235 | #endif
|
---|
9236 |
|
---|
9237 | #endif
|
---|
9238 |
|
---|
9239 | HRESULT STDMETHODCALLTYPE IWaitMultiple_WaitMultiple_Proxy(
|
---|
9240 | IWaitMultiple* This,
|
---|
9241 | DWORD timeout,
|
---|
9242 | ISynchronize **pSync);
|
---|
9243 | void __RPC_STUB IWaitMultiple_WaitMultiple_Stub(
|
---|
9244 | IRpcStubBuffer* This,
|
---|
9245 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9246 | PRPC_MESSAGE pRpcMessage,
|
---|
9247 | DWORD* pdwStubPhase);
|
---|
9248 | HRESULT STDMETHODCALLTYPE IWaitMultiple_AddSynchronize_Proxy(
|
---|
9249 | IWaitMultiple* This,
|
---|
9250 | ISynchronize *pSync);
|
---|
9251 | void __RPC_STUB IWaitMultiple_AddSynchronize_Stub(
|
---|
9252 | IRpcStubBuffer* This,
|
---|
9253 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9254 | PRPC_MESSAGE pRpcMessage,
|
---|
9255 | DWORD* pdwStubPhase);
|
---|
9256 |
|
---|
9257 | #endif /* __IWaitMultiple_INTERFACE_DEFINED__ */
|
---|
9258 |
|
---|
9259 | /*****************************************************************************
|
---|
9260 | * IUrlMon interface
|
---|
9261 | */
|
---|
9262 | #ifndef __IUrlMon_INTERFACE_DEFINED__
|
---|
9263 | #define __IUrlMon_INTERFACE_DEFINED__
|
---|
9264 |
|
---|
9265 | DEFINE_GUID(IID_IUrlMon, 0x00000026, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
9266 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9267 | interface IUrlMon : public IUnknown
|
---|
9268 | {
|
---|
9269 | virtual HRESULT STDMETHODCALLTYPE AsyncGetClassBits(
|
---|
9270 | REFCLSID rclsid,
|
---|
9271 | LPCWSTR pszTYPE,
|
---|
9272 | LPCWSTR pszExt,
|
---|
9273 | DWORD dwFileVersionMS,
|
---|
9274 | DWORD dwFileVersionLS,
|
---|
9275 | LPCWSTR pszCodeBase,
|
---|
9276 | IBindCtx *pbc,
|
---|
9277 | DWORD dwClassContext,
|
---|
9278 | REFIID riid,
|
---|
9279 | DWORD flags) = 0;
|
---|
9280 |
|
---|
9281 | };
|
---|
9282 | #else
|
---|
9283 | typedef struct IUrlMonVtbl {
|
---|
9284 | BEGIN_INTERFACE
|
---|
9285 |
|
---|
9286 | /*** IUnknown methods ***/
|
---|
9287 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9288 | IUrlMon* This,
|
---|
9289 | REFIID riid,
|
---|
9290 | void **ppvObject);
|
---|
9291 |
|
---|
9292 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9293 | IUrlMon* This);
|
---|
9294 |
|
---|
9295 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9296 | IUrlMon* This);
|
---|
9297 |
|
---|
9298 | /*** IUrlMon methods ***/
|
---|
9299 | HRESULT (STDMETHODCALLTYPE *AsyncGetClassBits)(
|
---|
9300 | IUrlMon* This,
|
---|
9301 | REFCLSID rclsid,
|
---|
9302 | LPCWSTR pszTYPE,
|
---|
9303 | LPCWSTR pszExt,
|
---|
9304 | DWORD dwFileVersionMS,
|
---|
9305 | DWORD dwFileVersionLS,
|
---|
9306 | LPCWSTR pszCodeBase,
|
---|
9307 | IBindCtx *pbc,
|
---|
9308 | DWORD dwClassContext,
|
---|
9309 | REFIID riid,
|
---|
9310 | DWORD flags);
|
---|
9311 |
|
---|
9312 | END_INTERFACE
|
---|
9313 | } IUrlMonVtbl;
|
---|
9314 | interface IUrlMon {
|
---|
9315 | CONST_VTBL IUrlMonVtbl* lpVtbl;
|
---|
9316 | };
|
---|
9317 |
|
---|
9318 | #ifdef COBJMACROS
|
---|
9319 | /*** IUnknown methods ***/
|
---|
9320 | #define IUrlMon_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9321 | #define IUrlMon_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9322 | #define IUrlMon_Release(This) (This)->lpVtbl->Release(This)
|
---|
9323 | /*** IUrlMon methods ***/
|
---|
9324 | #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)
|
---|
9325 | #endif
|
---|
9326 |
|
---|
9327 | #endif
|
---|
9328 |
|
---|
9329 | HRESULT STDMETHODCALLTYPE IUrlMon_AsyncGetClassBits_Proxy(
|
---|
9330 | IUrlMon* This,
|
---|
9331 | REFCLSID rclsid,
|
---|
9332 | LPCWSTR pszTYPE,
|
---|
9333 | LPCWSTR pszExt,
|
---|
9334 | DWORD dwFileVersionMS,
|
---|
9335 | DWORD dwFileVersionLS,
|
---|
9336 | LPCWSTR pszCodeBase,
|
---|
9337 | IBindCtx *pbc,
|
---|
9338 | DWORD dwClassContext,
|
---|
9339 | REFIID riid,
|
---|
9340 | DWORD flags);
|
---|
9341 | void __RPC_STUB IUrlMon_AsyncGetClassBits_Stub(
|
---|
9342 | IRpcStubBuffer* This,
|
---|
9343 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9344 | PRPC_MESSAGE pRpcMessage,
|
---|
9345 | DWORD* pdwStubPhase);
|
---|
9346 |
|
---|
9347 | #endif /* __IUrlMon_INTERFACE_DEFINED__ */
|
---|
9348 |
|
---|
9349 | /*****************************************************************************
|
---|
9350 | * IForegroundTransfer interface
|
---|
9351 | */
|
---|
9352 | #ifndef __IForegroundTransfer_INTERFACE_DEFINED__
|
---|
9353 | #define __IForegroundTransfer_INTERFACE_DEFINED__
|
---|
9354 |
|
---|
9355 | DEFINE_GUID(IID_IForegroundTransfer, 0x00000145, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
9356 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9357 | interface IForegroundTransfer : public IUnknown
|
---|
9358 | {
|
---|
9359 | virtual HRESULT STDMETHODCALLTYPE AllowForegroundTransfer(
|
---|
9360 | void *lpvReserved) = 0;
|
---|
9361 |
|
---|
9362 | };
|
---|
9363 | #else
|
---|
9364 | typedef struct IForegroundTransferVtbl {
|
---|
9365 | BEGIN_INTERFACE
|
---|
9366 |
|
---|
9367 | /*** IUnknown methods ***/
|
---|
9368 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9369 | IForegroundTransfer* This,
|
---|
9370 | REFIID riid,
|
---|
9371 | void **ppvObject);
|
---|
9372 |
|
---|
9373 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9374 | IForegroundTransfer* This);
|
---|
9375 |
|
---|
9376 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9377 | IForegroundTransfer* This);
|
---|
9378 |
|
---|
9379 | /*** IForegroundTransfer methods ***/
|
---|
9380 | HRESULT (STDMETHODCALLTYPE *AllowForegroundTransfer)(
|
---|
9381 | IForegroundTransfer* This,
|
---|
9382 | void *lpvReserved);
|
---|
9383 |
|
---|
9384 | END_INTERFACE
|
---|
9385 | } IForegroundTransferVtbl;
|
---|
9386 | interface IForegroundTransfer {
|
---|
9387 | CONST_VTBL IForegroundTransferVtbl* lpVtbl;
|
---|
9388 | };
|
---|
9389 |
|
---|
9390 | #ifdef COBJMACROS
|
---|
9391 | /*** IUnknown methods ***/
|
---|
9392 | #define IForegroundTransfer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9393 | #define IForegroundTransfer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9394 | #define IForegroundTransfer_Release(This) (This)->lpVtbl->Release(This)
|
---|
9395 | /*** IForegroundTransfer methods ***/
|
---|
9396 | #define IForegroundTransfer_AllowForegroundTransfer(This,lpvReserved) (This)->lpVtbl->AllowForegroundTransfer(This,lpvReserved)
|
---|
9397 | #endif
|
---|
9398 |
|
---|
9399 | #endif
|
---|
9400 |
|
---|
9401 | HRESULT STDMETHODCALLTYPE IForegroundTransfer_AllowForegroundTransfer_Proxy(
|
---|
9402 | IForegroundTransfer* This,
|
---|
9403 | void *lpvReserved);
|
---|
9404 | void __RPC_STUB IForegroundTransfer_AllowForegroundTransfer_Stub(
|
---|
9405 | IRpcStubBuffer* This,
|
---|
9406 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9407 | PRPC_MESSAGE pRpcMessage,
|
---|
9408 | DWORD* pdwStubPhase);
|
---|
9409 |
|
---|
9410 | #endif /* __IForegroundTransfer_INTERFACE_DEFINED__ */
|
---|
9411 |
|
---|
9412 | /*****************************************************************************
|
---|
9413 | * IAddrTrackingControl interface
|
---|
9414 | */
|
---|
9415 | #ifndef __IAddrTrackingControl_INTERFACE_DEFINED__
|
---|
9416 | #define __IAddrTrackingControl_INTERFACE_DEFINED__
|
---|
9417 |
|
---|
9418 | typedef IAddrTrackingControl *LPADDRTRACKINGCONTROL;
|
---|
9419 | DEFINE_GUID(IID_IAddrTrackingControl, 0x00000147, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
9420 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9421 | interface IAddrTrackingControl : public IUnknown
|
---|
9422 | {
|
---|
9423 | virtual HRESULT STDMETHODCALLTYPE EnableCOMDynamicAddrTracking(
|
---|
9424 | ) = 0;
|
---|
9425 |
|
---|
9426 | virtual HRESULT STDMETHODCALLTYPE DisableCOMDynamicAddrTracking(
|
---|
9427 | ) = 0;
|
---|
9428 |
|
---|
9429 | };
|
---|
9430 | #else
|
---|
9431 | typedef struct IAddrTrackingControlVtbl {
|
---|
9432 | BEGIN_INTERFACE
|
---|
9433 |
|
---|
9434 | /*** IUnknown methods ***/
|
---|
9435 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9436 | IAddrTrackingControl* This,
|
---|
9437 | REFIID riid,
|
---|
9438 | void **ppvObject);
|
---|
9439 |
|
---|
9440 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9441 | IAddrTrackingControl* This);
|
---|
9442 |
|
---|
9443 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9444 | IAddrTrackingControl* This);
|
---|
9445 |
|
---|
9446 | /*** IAddrTrackingControl methods ***/
|
---|
9447 | HRESULT (STDMETHODCALLTYPE *EnableCOMDynamicAddrTracking)(
|
---|
9448 | IAddrTrackingControl* This);
|
---|
9449 |
|
---|
9450 | HRESULT (STDMETHODCALLTYPE *DisableCOMDynamicAddrTracking)(
|
---|
9451 | IAddrTrackingControl* This);
|
---|
9452 |
|
---|
9453 | END_INTERFACE
|
---|
9454 | } IAddrTrackingControlVtbl;
|
---|
9455 | interface IAddrTrackingControl {
|
---|
9456 | CONST_VTBL IAddrTrackingControlVtbl* lpVtbl;
|
---|
9457 | };
|
---|
9458 |
|
---|
9459 | #ifdef COBJMACROS
|
---|
9460 | /*** IUnknown methods ***/
|
---|
9461 | #define IAddrTrackingControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9462 | #define IAddrTrackingControl_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9463 | #define IAddrTrackingControl_Release(This) (This)->lpVtbl->Release(This)
|
---|
9464 | /*** IAddrTrackingControl methods ***/
|
---|
9465 | #define IAddrTrackingControl_EnableCOMDynamicAddrTracking(This) (This)->lpVtbl->EnableCOMDynamicAddrTracking(This)
|
---|
9466 | #define IAddrTrackingControl_DisableCOMDynamicAddrTracking(This) (This)->lpVtbl->DisableCOMDynamicAddrTracking(This)
|
---|
9467 | #endif
|
---|
9468 |
|
---|
9469 | #endif
|
---|
9470 |
|
---|
9471 | HRESULT STDMETHODCALLTYPE IAddrTrackingControl_EnableCOMDynamicAddrTracking_Proxy(
|
---|
9472 | IAddrTrackingControl* This);
|
---|
9473 | void __RPC_STUB IAddrTrackingControl_EnableCOMDynamicAddrTracking_Stub(
|
---|
9474 | IRpcStubBuffer* This,
|
---|
9475 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9476 | PRPC_MESSAGE pRpcMessage,
|
---|
9477 | DWORD* pdwStubPhase);
|
---|
9478 | HRESULT STDMETHODCALLTYPE IAddrTrackingControl_DisableCOMDynamicAddrTracking_Proxy(
|
---|
9479 | IAddrTrackingControl* This);
|
---|
9480 | void __RPC_STUB IAddrTrackingControl_DisableCOMDynamicAddrTracking_Stub(
|
---|
9481 | IRpcStubBuffer* This,
|
---|
9482 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9483 | PRPC_MESSAGE pRpcMessage,
|
---|
9484 | DWORD* pdwStubPhase);
|
---|
9485 |
|
---|
9486 | #endif /* __IAddrTrackingControl_INTERFACE_DEFINED__ */
|
---|
9487 |
|
---|
9488 | /*****************************************************************************
|
---|
9489 | * IAddrExclusionControl interface
|
---|
9490 | */
|
---|
9491 | #ifndef __IAddrExclusionControl_INTERFACE_DEFINED__
|
---|
9492 | #define __IAddrExclusionControl_INTERFACE_DEFINED__
|
---|
9493 |
|
---|
9494 | typedef IAddrExclusionControl *LPADDREXCLUSIONCONTROL;
|
---|
9495 | DEFINE_GUID(IID_IAddrExclusionControl, 0x00000148, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
9496 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9497 | interface IAddrExclusionControl : public IUnknown
|
---|
9498 | {
|
---|
9499 | virtual HRESULT STDMETHODCALLTYPE GetCurrentAddrExclusionList(
|
---|
9500 | REFIID riid,
|
---|
9501 | void **ppEnumerator) = 0;
|
---|
9502 |
|
---|
9503 | virtual HRESULT STDMETHODCALLTYPE UpdateAddrExclusionList(
|
---|
9504 | IUnknown *pEnumerator) = 0;
|
---|
9505 |
|
---|
9506 | };
|
---|
9507 | #else
|
---|
9508 | typedef struct IAddrExclusionControlVtbl {
|
---|
9509 | BEGIN_INTERFACE
|
---|
9510 |
|
---|
9511 | /*** IUnknown methods ***/
|
---|
9512 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9513 | IAddrExclusionControl* This,
|
---|
9514 | REFIID riid,
|
---|
9515 | void **ppvObject);
|
---|
9516 |
|
---|
9517 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9518 | IAddrExclusionControl* This);
|
---|
9519 |
|
---|
9520 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9521 | IAddrExclusionControl* This);
|
---|
9522 |
|
---|
9523 | /*** IAddrExclusionControl methods ***/
|
---|
9524 | HRESULT (STDMETHODCALLTYPE *GetCurrentAddrExclusionList)(
|
---|
9525 | IAddrExclusionControl* This,
|
---|
9526 | REFIID riid,
|
---|
9527 | void **ppEnumerator);
|
---|
9528 |
|
---|
9529 | HRESULT (STDMETHODCALLTYPE *UpdateAddrExclusionList)(
|
---|
9530 | IAddrExclusionControl* This,
|
---|
9531 | IUnknown *pEnumerator);
|
---|
9532 |
|
---|
9533 | END_INTERFACE
|
---|
9534 | } IAddrExclusionControlVtbl;
|
---|
9535 | interface IAddrExclusionControl {
|
---|
9536 | CONST_VTBL IAddrExclusionControlVtbl* lpVtbl;
|
---|
9537 | };
|
---|
9538 |
|
---|
9539 | #ifdef COBJMACROS
|
---|
9540 | /*** IUnknown methods ***/
|
---|
9541 | #define IAddrExclusionControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9542 | #define IAddrExclusionControl_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9543 | #define IAddrExclusionControl_Release(This) (This)->lpVtbl->Release(This)
|
---|
9544 | /*** IAddrExclusionControl methods ***/
|
---|
9545 | #define IAddrExclusionControl_GetCurrentAddrExclusionList(This,riid,ppEnumerator) (This)->lpVtbl->GetCurrentAddrExclusionList(This,riid,ppEnumerator)
|
---|
9546 | #define IAddrExclusionControl_UpdateAddrExclusionList(This,pEnumerator) (This)->lpVtbl->UpdateAddrExclusionList(This,pEnumerator)
|
---|
9547 | #endif
|
---|
9548 |
|
---|
9549 | #endif
|
---|
9550 |
|
---|
9551 | HRESULT STDMETHODCALLTYPE IAddrExclusionControl_GetCurrentAddrExclusionList_Proxy(
|
---|
9552 | IAddrExclusionControl* This,
|
---|
9553 | REFIID riid,
|
---|
9554 | void **ppEnumerator);
|
---|
9555 | void __RPC_STUB IAddrExclusionControl_GetCurrentAddrExclusionList_Stub(
|
---|
9556 | IRpcStubBuffer* This,
|
---|
9557 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9558 | PRPC_MESSAGE pRpcMessage,
|
---|
9559 | DWORD* pdwStubPhase);
|
---|
9560 | HRESULT STDMETHODCALLTYPE IAddrExclusionControl_UpdateAddrExclusionList_Proxy(
|
---|
9561 | IAddrExclusionControl* This,
|
---|
9562 | IUnknown *pEnumerator);
|
---|
9563 | void __RPC_STUB IAddrExclusionControl_UpdateAddrExclusionList_Stub(
|
---|
9564 | IRpcStubBuffer* This,
|
---|
9565 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9566 | PRPC_MESSAGE pRpcMessage,
|
---|
9567 | DWORD* pdwStubPhase);
|
---|
9568 |
|
---|
9569 | #endif /* __IAddrExclusionControl_INTERFACE_DEFINED__ */
|
---|
9570 |
|
---|
9571 | typedef enum _APTTYPE {
|
---|
9572 | APTTYPE_CURRENT = -1,
|
---|
9573 | APTTYPE_STA = 0,
|
---|
9574 | APTTYPE_MTA = 1,
|
---|
9575 | APTTYPE_NA = 2,
|
---|
9576 | APTTYPE_MAINSTA = 3
|
---|
9577 | } APTTYPE;
|
---|
9578 | typedef enum _THDTYPE {
|
---|
9579 | THDTYPE_BLOCKMESSAGES = 0,
|
---|
9580 | THDTYPE_PROCESSMESSAGES = 1
|
---|
9581 | } THDTYPE;
|
---|
9582 | /*****************************************************************************
|
---|
9583 | * IComThreadingInfo interface
|
---|
9584 | */
|
---|
9585 | #ifndef __IComThreadingInfo_INTERFACE_DEFINED__
|
---|
9586 | #define __IComThreadingInfo_INTERFACE_DEFINED__
|
---|
9587 |
|
---|
9588 | DEFINE_GUID(IID_IComThreadingInfo, 0x000001ce, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
9589 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9590 | interface IComThreadingInfo : public IUnknown
|
---|
9591 | {
|
---|
9592 | virtual HRESULT STDMETHODCALLTYPE GetCurrentApartmentType(
|
---|
9593 | APTTYPE *pAptType) = 0;
|
---|
9594 |
|
---|
9595 | virtual HRESULT STDMETHODCALLTYPE GetCurrentThreadType(
|
---|
9596 | THDTYPE *pThreadType) = 0;
|
---|
9597 |
|
---|
9598 | virtual HRESULT STDMETHODCALLTYPE GetCurrentLogicalThreadId(
|
---|
9599 | GUID *pguidLogicalThreadId) = 0;
|
---|
9600 |
|
---|
9601 | virtual HRESULT STDMETHODCALLTYPE SetCurrentLogicalThreadId(
|
---|
9602 | REFGUID rguid) = 0;
|
---|
9603 |
|
---|
9604 | };
|
---|
9605 | #else
|
---|
9606 | typedef struct IComThreadingInfoVtbl {
|
---|
9607 | BEGIN_INTERFACE
|
---|
9608 |
|
---|
9609 | /*** IUnknown methods ***/
|
---|
9610 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9611 | IComThreadingInfo* This,
|
---|
9612 | REFIID riid,
|
---|
9613 | void **ppvObject);
|
---|
9614 |
|
---|
9615 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9616 | IComThreadingInfo* This);
|
---|
9617 |
|
---|
9618 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9619 | IComThreadingInfo* This);
|
---|
9620 |
|
---|
9621 | /*** IComThreadingInfo methods ***/
|
---|
9622 | HRESULT (STDMETHODCALLTYPE *GetCurrentApartmentType)(
|
---|
9623 | IComThreadingInfo* This,
|
---|
9624 | APTTYPE *pAptType);
|
---|
9625 |
|
---|
9626 | HRESULT (STDMETHODCALLTYPE *GetCurrentThreadType)(
|
---|
9627 | IComThreadingInfo* This,
|
---|
9628 | THDTYPE *pThreadType);
|
---|
9629 |
|
---|
9630 | HRESULT (STDMETHODCALLTYPE *GetCurrentLogicalThreadId)(
|
---|
9631 | IComThreadingInfo* This,
|
---|
9632 | GUID *pguidLogicalThreadId);
|
---|
9633 |
|
---|
9634 | HRESULT (STDMETHODCALLTYPE *SetCurrentLogicalThreadId)(
|
---|
9635 | IComThreadingInfo* This,
|
---|
9636 | REFGUID rguid);
|
---|
9637 |
|
---|
9638 | END_INTERFACE
|
---|
9639 | } IComThreadingInfoVtbl;
|
---|
9640 | interface IComThreadingInfo {
|
---|
9641 | CONST_VTBL IComThreadingInfoVtbl* lpVtbl;
|
---|
9642 | };
|
---|
9643 |
|
---|
9644 | #ifdef COBJMACROS
|
---|
9645 | /*** IUnknown methods ***/
|
---|
9646 | #define IComThreadingInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9647 | #define IComThreadingInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9648 | #define IComThreadingInfo_Release(This) (This)->lpVtbl->Release(This)
|
---|
9649 | /*** IComThreadingInfo methods ***/
|
---|
9650 | #define IComThreadingInfo_GetCurrentApartmentType(This,pAptType) (This)->lpVtbl->GetCurrentApartmentType(This,pAptType)
|
---|
9651 | #define IComThreadingInfo_GetCurrentThreadType(This,pThreadType) (This)->lpVtbl->GetCurrentThreadType(This,pThreadType)
|
---|
9652 | #define IComThreadingInfo_GetCurrentLogicalThreadId(This,pguidLogicalThreadId) (This)->lpVtbl->GetCurrentLogicalThreadId(This,pguidLogicalThreadId)
|
---|
9653 | #define IComThreadingInfo_SetCurrentLogicalThreadId(This,rguid) (This)->lpVtbl->SetCurrentLogicalThreadId(This,rguid)
|
---|
9654 | #endif
|
---|
9655 |
|
---|
9656 | #endif
|
---|
9657 |
|
---|
9658 | HRESULT STDMETHODCALLTYPE IComThreadingInfo_GetCurrentApartmentType_Proxy(
|
---|
9659 | IComThreadingInfo* This,
|
---|
9660 | APTTYPE *pAptType);
|
---|
9661 | void __RPC_STUB IComThreadingInfo_GetCurrentApartmentType_Stub(
|
---|
9662 | IRpcStubBuffer* This,
|
---|
9663 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9664 | PRPC_MESSAGE pRpcMessage,
|
---|
9665 | DWORD* pdwStubPhase);
|
---|
9666 | HRESULT STDMETHODCALLTYPE IComThreadingInfo_GetCurrentThreadType_Proxy(
|
---|
9667 | IComThreadingInfo* This,
|
---|
9668 | THDTYPE *pThreadType);
|
---|
9669 | void __RPC_STUB IComThreadingInfo_GetCurrentThreadType_Stub(
|
---|
9670 | IRpcStubBuffer* This,
|
---|
9671 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9672 | PRPC_MESSAGE pRpcMessage,
|
---|
9673 | DWORD* pdwStubPhase);
|
---|
9674 | HRESULT STDMETHODCALLTYPE IComThreadingInfo_GetCurrentLogicalThreadId_Proxy(
|
---|
9675 | IComThreadingInfo* This,
|
---|
9676 | GUID *pguidLogicalThreadId);
|
---|
9677 | void __RPC_STUB IComThreadingInfo_GetCurrentLogicalThreadId_Stub(
|
---|
9678 | IRpcStubBuffer* This,
|
---|
9679 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9680 | PRPC_MESSAGE pRpcMessage,
|
---|
9681 | DWORD* pdwStubPhase);
|
---|
9682 | HRESULT STDMETHODCALLTYPE IComThreadingInfo_SetCurrentLogicalThreadId_Proxy(
|
---|
9683 | IComThreadingInfo* This,
|
---|
9684 | REFGUID rguid);
|
---|
9685 | void __RPC_STUB IComThreadingInfo_SetCurrentLogicalThreadId_Stub(
|
---|
9686 | IRpcStubBuffer* This,
|
---|
9687 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9688 | PRPC_MESSAGE pRpcMessage,
|
---|
9689 | DWORD* pdwStubPhase);
|
---|
9690 |
|
---|
9691 | #endif /* __IComThreadingInfo_INTERFACE_DEFINED__ */
|
---|
9692 |
|
---|
9693 | /*****************************************************************************
|
---|
9694 | * IProcessInitControl interface
|
---|
9695 | */
|
---|
9696 | #ifndef __IProcessInitControl_INTERFACE_DEFINED__
|
---|
9697 | #define __IProcessInitControl_INTERFACE_DEFINED__
|
---|
9698 |
|
---|
9699 | DEFINE_GUID(IID_IProcessInitControl, 0x72380d55, 0x8d2b, 0x43a3, 0x85,0x13, 0x2b,0x6e,0xf3,0x14,0x34,0xe9);
|
---|
9700 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9701 | interface IProcessInitControl : public IUnknown
|
---|
9702 | {
|
---|
9703 | virtual HRESULT STDMETHODCALLTYPE ResetInitializerTimeout(
|
---|
9704 | DWORD dwSecondsRemaining) = 0;
|
---|
9705 |
|
---|
9706 | };
|
---|
9707 | #else
|
---|
9708 | typedef struct IProcessInitControlVtbl {
|
---|
9709 | BEGIN_INTERFACE
|
---|
9710 |
|
---|
9711 | /*** IUnknown methods ***/
|
---|
9712 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9713 | IProcessInitControl* This,
|
---|
9714 | REFIID riid,
|
---|
9715 | void **ppvObject);
|
---|
9716 |
|
---|
9717 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9718 | IProcessInitControl* This);
|
---|
9719 |
|
---|
9720 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9721 | IProcessInitControl* This);
|
---|
9722 |
|
---|
9723 | /*** IProcessInitControl methods ***/
|
---|
9724 | HRESULT (STDMETHODCALLTYPE *ResetInitializerTimeout)(
|
---|
9725 | IProcessInitControl* This,
|
---|
9726 | DWORD dwSecondsRemaining);
|
---|
9727 |
|
---|
9728 | END_INTERFACE
|
---|
9729 | } IProcessInitControlVtbl;
|
---|
9730 | interface IProcessInitControl {
|
---|
9731 | CONST_VTBL IProcessInitControlVtbl* lpVtbl;
|
---|
9732 | };
|
---|
9733 |
|
---|
9734 | #ifdef COBJMACROS
|
---|
9735 | /*** IUnknown methods ***/
|
---|
9736 | #define IProcessInitControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9737 | #define IProcessInitControl_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9738 | #define IProcessInitControl_Release(This) (This)->lpVtbl->Release(This)
|
---|
9739 | /*** IProcessInitControl methods ***/
|
---|
9740 | #define IProcessInitControl_ResetInitializerTimeout(This,dwSecondsRemaining) (This)->lpVtbl->ResetInitializerTimeout(This,dwSecondsRemaining)
|
---|
9741 | #endif
|
---|
9742 |
|
---|
9743 | #endif
|
---|
9744 |
|
---|
9745 | HRESULT STDMETHODCALLTYPE IProcessInitControl_ResetInitializerTimeout_Proxy(
|
---|
9746 | IProcessInitControl* This,
|
---|
9747 | DWORD dwSecondsRemaining);
|
---|
9748 | void __RPC_STUB IProcessInitControl_ResetInitializerTimeout_Stub(
|
---|
9749 | IRpcStubBuffer* This,
|
---|
9750 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9751 | PRPC_MESSAGE pRpcMessage,
|
---|
9752 | DWORD* pdwStubPhase);
|
---|
9753 |
|
---|
9754 | #endif /* __IProcessInitControl_INTERFACE_DEFINED__ */
|
---|
9755 |
|
---|
9756 | /*****************************************************************************
|
---|
9757 | * IInitializeSpy interface
|
---|
9758 | */
|
---|
9759 | #ifndef __IInitializeSpy_INTERFACE_DEFINED__
|
---|
9760 | #define __IInitializeSpy_INTERFACE_DEFINED__
|
---|
9761 |
|
---|
9762 | typedef IInitializeSpy *LPINITIALIZESPY;
|
---|
9763 | DEFINE_GUID(IID_IInitializeSpy, 0x00000034, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
9764 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9765 | interface IInitializeSpy : public IUnknown
|
---|
9766 | {
|
---|
9767 | virtual HRESULT STDMETHODCALLTYPE PreInitialize(
|
---|
9768 | DWORD dwCoInit,
|
---|
9769 | DWORD dwCurThreadAptRefs) = 0;
|
---|
9770 |
|
---|
9771 | virtual HRESULT STDMETHODCALLTYPE PostInitialize(
|
---|
9772 | HRESULT hrCoInit,
|
---|
9773 | DWORD dwCoInit,
|
---|
9774 | DWORD dwNewThreadAptRefs) = 0;
|
---|
9775 |
|
---|
9776 | virtual HRESULT STDMETHODCALLTYPE PreUninitialize(
|
---|
9777 | DWORD dwCurThreadAptRefs) = 0;
|
---|
9778 |
|
---|
9779 | virtual HRESULT STDMETHODCALLTYPE PostUninitialize(
|
---|
9780 | DWORD dwNewThreadAptRefs) = 0;
|
---|
9781 |
|
---|
9782 | };
|
---|
9783 | #else
|
---|
9784 | typedef struct IInitializeSpyVtbl {
|
---|
9785 | BEGIN_INTERFACE
|
---|
9786 |
|
---|
9787 | /*** IUnknown methods ***/
|
---|
9788 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9789 | IInitializeSpy* This,
|
---|
9790 | REFIID riid,
|
---|
9791 | void **ppvObject);
|
---|
9792 |
|
---|
9793 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9794 | IInitializeSpy* This);
|
---|
9795 |
|
---|
9796 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9797 | IInitializeSpy* This);
|
---|
9798 |
|
---|
9799 | /*** IInitializeSpy methods ***/
|
---|
9800 | HRESULT (STDMETHODCALLTYPE *PreInitialize)(
|
---|
9801 | IInitializeSpy* This,
|
---|
9802 | DWORD dwCoInit,
|
---|
9803 | DWORD dwCurThreadAptRefs);
|
---|
9804 |
|
---|
9805 | HRESULT (STDMETHODCALLTYPE *PostInitialize)(
|
---|
9806 | IInitializeSpy* This,
|
---|
9807 | HRESULT hrCoInit,
|
---|
9808 | DWORD dwCoInit,
|
---|
9809 | DWORD dwNewThreadAptRefs);
|
---|
9810 |
|
---|
9811 | HRESULT (STDMETHODCALLTYPE *PreUninitialize)(
|
---|
9812 | IInitializeSpy* This,
|
---|
9813 | DWORD dwCurThreadAptRefs);
|
---|
9814 |
|
---|
9815 | HRESULT (STDMETHODCALLTYPE *PostUninitialize)(
|
---|
9816 | IInitializeSpy* This,
|
---|
9817 | DWORD dwNewThreadAptRefs);
|
---|
9818 |
|
---|
9819 | END_INTERFACE
|
---|
9820 | } IInitializeSpyVtbl;
|
---|
9821 | interface IInitializeSpy {
|
---|
9822 | CONST_VTBL IInitializeSpyVtbl* lpVtbl;
|
---|
9823 | };
|
---|
9824 |
|
---|
9825 | #ifdef COBJMACROS
|
---|
9826 | /*** IUnknown methods ***/
|
---|
9827 | #define IInitializeSpy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9828 | #define IInitializeSpy_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9829 | #define IInitializeSpy_Release(This) (This)->lpVtbl->Release(This)
|
---|
9830 | /*** IInitializeSpy methods ***/
|
---|
9831 | #define IInitializeSpy_PreInitialize(This,dwCoInit,dwCurThreadAptRefs) (This)->lpVtbl->PreInitialize(This,dwCoInit,dwCurThreadAptRefs)
|
---|
9832 | #define IInitializeSpy_PostInitialize(This,hrCoInit,dwCoInit,dwNewThreadAptRefs) (This)->lpVtbl->PostInitialize(This,hrCoInit,dwCoInit,dwNewThreadAptRefs)
|
---|
9833 | #define IInitializeSpy_PreUninitialize(This,dwCurThreadAptRefs) (This)->lpVtbl->PreUninitialize(This,dwCurThreadAptRefs)
|
---|
9834 | #define IInitializeSpy_PostUninitialize(This,dwNewThreadAptRefs) (This)->lpVtbl->PostUninitialize(This,dwNewThreadAptRefs)
|
---|
9835 | #endif
|
---|
9836 |
|
---|
9837 | #endif
|
---|
9838 |
|
---|
9839 | HRESULT STDMETHODCALLTYPE IInitializeSpy_PreInitialize_Proxy(
|
---|
9840 | IInitializeSpy* This,
|
---|
9841 | DWORD dwCoInit,
|
---|
9842 | DWORD dwCurThreadAptRefs);
|
---|
9843 | void __RPC_STUB IInitializeSpy_PreInitialize_Stub(
|
---|
9844 | IRpcStubBuffer* This,
|
---|
9845 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9846 | PRPC_MESSAGE pRpcMessage,
|
---|
9847 | DWORD* pdwStubPhase);
|
---|
9848 | HRESULT STDMETHODCALLTYPE IInitializeSpy_PostInitialize_Proxy(
|
---|
9849 | IInitializeSpy* This,
|
---|
9850 | HRESULT hrCoInit,
|
---|
9851 | DWORD dwCoInit,
|
---|
9852 | DWORD dwNewThreadAptRefs);
|
---|
9853 | void __RPC_STUB IInitializeSpy_PostInitialize_Stub(
|
---|
9854 | IRpcStubBuffer* This,
|
---|
9855 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9856 | PRPC_MESSAGE pRpcMessage,
|
---|
9857 | DWORD* pdwStubPhase);
|
---|
9858 | HRESULT STDMETHODCALLTYPE IInitializeSpy_PreUninitialize_Proxy(
|
---|
9859 | IInitializeSpy* This,
|
---|
9860 | DWORD dwCurThreadAptRefs);
|
---|
9861 | void __RPC_STUB IInitializeSpy_PreUninitialize_Stub(
|
---|
9862 | IRpcStubBuffer* This,
|
---|
9863 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9864 | PRPC_MESSAGE pRpcMessage,
|
---|
9865 | DWORD* pdwStubPhase);
|
---|
9866 | HRESULT STDMETHODCALLTYPE IInitializeSpy_PostUninitialize_Proxy(
|
---|
9867 | IInitializeSpy* This,
|
---|
9868 | DWORD dwNewThreadAptRefs);
|
---|
9869 | void __RPC_STUB IInitializeSpy_PostUninitialize_Stub(
|
---|
9870 | IRpcStubBuffer* This,
|
---|
9871 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9872 | PRPC_MESSAGE pRpcMessage,
|
---|
9873 | DWORD* pdwStubPhase);
|
---|
9874 |
|
---|
9875 | #endif /* __IInitializeSpy_INTERFACE_DEFINED__ */
|
---|
9876 |
|
---|
9877 | /*****************************************************************************
|
---|
9878 | * IThumbnailExtractor interface
|
---|
9879 | */
|
---|
9880 | #ifndef __IThumbnailExtractor_INTERFACE_DEFINED__
|
---|
9881 | #define __IThumbnailExtractor_INTERFACE_DEFINED__
|
---|
9882 |
|
---|
9883 | DEFINE_GUID(IID_IThumbnailExtractor, 0x969dc708, 0x5c76, 0x11d1, 0x8d,0x86, 0x00,0x00,0xf8,0x04,0xb0,0x57);
|
---|
9884 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9885 | interface IThumbnailExtractor : public IUnknown
|
---|
9886 | {
|
---|
9887 | virtual HRESULT STDMETHODCALLTYPE ExtractThumbnail(
|
---|
9888 | IStorage *pStg,
|
---|
9889 | ULONG ulLength,
|
---|
9890 | ULONG ulHeight,
|
---|
9891 | ULONG *pulOutputLength,
|
---|
9892 | ULONG *pulOutputHeight,
|
---|
9893 | HBITMAP *phOutputBitmap) = 0;
|
---|
9894 |
|
---|
9895 | virtual HRESULT STDMETHODCALLTYPE OnFileUpdated(
|
---|
9896 | IStorage *pStg) = 0;
|
---|
9897 |
|
---|
9898 | };
|
---|
9899 | #else
|
---|
9900 | typedef struct IThumbnailExtractorVtbl {
|
---|
9901 | BEGIN_INTERFACE
|
---|
9902 |
|
---|
9903 | /*** IUnknown methods ***/
|
---|
9904 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
9905 | IThumbnailExtractor* This,
|
---|
9906 | REFIID riid,
|
---|
9907 | void **ppvObject);
|
---|
9908 |
|
---|
9909 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
9910 | IThumbnailExtractor* This);
|
---|
9911 |
|
---|
9912 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
9913 | IThumbnailExtractor* This);
|
---|
9914 |
|
---|
9915 | /*** IThumbnailExtractor methods ***/
|
---|
9916 | HRESULT (STDMETHODCALLTYPE *ExtractThumbnail)(
|
---|
9917 | IThumbnailExtractor* This,
|
---|
9918 | IStorage *pStg,
|
---|
9919 | ULONG ulLength,
|
---|
9920 | ULONG ulHeight,
|
---|
9921 | ULONG *pulOutputLength,
|
---|
9922 | ULONG *pulOutputHeight,
|
---|
9923 | HBITMAP *phOutputBitmap);
|
---|
9924 |
|
---|
9925 | HRESULT (STDMETHODCALLTYPE *OnFileUpdated)(
|
---|
9926 | IThumbnailExtractor* This,
|
---|
9927 | IStorage *pStg);
|
---|
9928 |
|
---|
9929 | END_INTERFACE
|
---|
9930 | } IThumbnailExtractorVtbl;
|
---|
9931 | interface IThumbnailExtractor {
|
---|
9932 | CONST_VTBL IThumbnailExtractorVtbl* lpVtbl;
|
---|
9933 | };
|
---|
9934 |
|
---|
9935 | #ifdef COBJMACROS
|
---|
9936 | /*** IUnknown methods ***/
|
---|
9937 | #define IThumbnailExtractor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
9938 | #define IThumbnailExtractor_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
9939 | #define IThumbnailExtractor_Release(This) (This)->lpVtbl->Release(This)
|
---|
9940 | /*** IThumbnailExtractor methods ***/
|
---|
9941 | #define IThumbnailExtractor_ExtractThumbnail(This,pStg,ulLength,ulHeight,pulOutputLength,pulOutputHeight,phOutputBitmap) (This)->lpVtbl->ExtractThumbnail(This,pStg,ulLength,ulHeight,pulOutputLength,pulOutputHeight,phOutputBitmap)
|
---|
9942 | #define IThumbnailExtractor_OnFileUpdated(This,pStg) (This)->lpVtbl->OnFileUpdated(This,pStg)
|
---|
9943 | #endif
|
---|
9944 |
|
---|
9945 | #endif
|
---|
9946 |
|
---|
9947 | HRESULT STDMETHODCALLTYPE IThumbnailExtractor_ExtractThumbnail_Proxy(
|
---|
9948 | IThumbnailExtractor* This,
|
---|
9949 | IStorage *pStg,
|
---|
9950 | ULONG ulLength,
|
---|
9951 | ULONG ulHeight,
|
---|
9952 | ULONG *pulOutputLength,
|
---|
9953 | ULONG *pulOutputHeight,
|
---|
9954 | HBITMAP *phOutputBitmap);
|
---|
9955 | void __RPC_STUB IThumbnailExtractor_ExtractThumbnail_Stub(
|
---|
9956 | IRpcStubBuffer* This,
|
---|
9957 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9958 | PRPC_MESSAGE pRpcMessage,
|
---|
9959 | DWORD* pdwStubPhase);
|
---|
9960 | HRESULT STDMETHODCALLTYPE IThumbnailExtractor_OnFileUpdated_Proxy(
|
---|
9961 | IThumbnailExtractor* This,
|
---|
9962 | IStorage *pStg);
|
---|
9963 | void __RPC_STUB IThumbnailExtractor_OnFileUpdated_Stub(
|
---|
9964 | IRpcStubBuffer* This,
|
---|
9965 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9966 | PRPC_MESSAGE pRpcMessage,
|
---|
9967 | DWORD* pdwStubPhase);
|
---|
9968 |
|
---|
9969 | #endif /* __IThumbnailExtractor_INTERFACE_DEFINED__ */
|
---|
9970 |
|
---|
9971 | #ifdef USE_COM_CONTEXT_DEF
|
---|
9972 | typedef DWORD CPFLAGS;
|
---|
9973 | typedef struct tagContextProperty {
|
---|
9974 | GUID policyId;
|
---|
9975 | CPFLAGS flags;
|
---|
9976 | IUnknown *pUnk;
|
---|
9977 | } ContextProperty;
|
---|
9978 | /*****************************************************************************
|
---|
9979 | * IEnumContextProps interface
|
---|
9980 | */
|
---|
9981 | #ifndef __IEnumContextProps_INTERFACE_DEFINED__
|
---|
9982 | #define __IEnumContextProps_INTERFACE_DEFINED__
|
---|
9983 |
|
---|
9984 | typedef IEnumContextProps *LPENUMCONTEXTPROPS;
|
---|
9985 | DEFINE_GUID(IID_IEnumContextProps, 0x000001c1, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
9986 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
9987 | interface IEnumContextProps : public IUnknown
|
---|
9988 | {
|
---|
9989 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
9990 | ULONG celt,
|
---|
9991 | ContextProperty *pContextProperties,
|
---|
9992 | ULONG *pceltFetched) = 0;
|
---|
9993 |
|
---|
9994 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
9995 | ULONG celt) = 0;
|
---|
9996 |
|
---|
9997 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
9998 | ) = 0;
|
---|
9999 |
|
---|
10000 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
10001 | IEnumContextProps **ppEnumContextProps) = 0;
|
---|
10002 |
|
---|
10003 | virtual HRESULT STDMETHODCALLTYPE Count(
|
---|
10004 | ULONG *pcelt) = 0;
|
---|
10005 |
|
---|
10006 | };
|
---|
10007 | #else
|
---|
10008 | typedef struct IEnumContextPropsVtbl {
|
---|
10009 | BEGIN_INTERFACE
|
---|
10010 |
|
---|
10011 | /*** IUnknown methods ***/
|
---|
10012 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
10013 | IEnumContextProps* This,
|
---|
10014 | REFIID riid,
|
---|
10015 | void **ppvObject);
|
---|
10016 |
|
---|
10017 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
10018 | IEnumContextProps* This);
|
---|
10019 |
|
---|
10020 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
10021 | IEnumContextProps* This);
|
---|
10022 |
|
---|
10023 | /*** IEnumContextProps methods ***/
|
---|
10024 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
10025 | IEnumContextProps* This,
|
---|
10026 | ULONG celt,
|
---|
10027 | ContextProperty *pContextProperties,
|
---|
10028 | ULONG *pceltFetched);
|
---|
10029 |
|
---|
10030 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
10031 | IEnumContextProps* This,
|
---|
10032 | ULONG celt);
|
---|
10033 |
|
---|
10034 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
10035 | IEnumContextProps* This);
|
---|
10036 |
|
---|
10037 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
10038 | IEnumContextProps* This,
|
---|
10039 | IEnumContextProps **ppEnumContextProps);
|
---|
10040 |
|
---|
10041 | HRESULT (STDMETHODCALLTYPE *Count)(
|
---|
10042 | IEnumContextProps* This,
|
---|
10043 | ULONG *pcelt);
|
---|
10044 |
|
---|
10045 | END_INTERFACE
|
---|
10046 | } IEnumContextPropsVtbl;
|
---|
10047 | interface IEnumContextProps {
|
---|
10048 | CONST_VTBL IEnumContextPropsVtbl* lpVtbl;
|
---|
10049 | };
|
---|
10050 |
|
---|
10051 | #ifdef COBJMACROS
|
---|
10052 | /*** IUnknown methods ***/
|
---|
10053 | #define IEnumContextProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
10054 | #define IEnumContextProps_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
10055 | #define IEnumContextProps_Release(This) (This)->lpVtbl->Release(This)
|
---|
10056 | /*** IEnumContextProps methods ***/
|
---|
10057 | #define IEnumContextProps_Next(This,celt,pContextProperties,pceltFetched) (This)->lpVtbl->Next(This,celt,pContextProperties,pceltFetched)
|
---|
10058 | #define IEnumContextProps_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
|
---|
10059 | #define IEnumContextProps_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
10060 | #define IEnumContextProps_Clone(This,ppEnumContextProps) (This)->lpVtbl->Clone(This,ppEnumContextProps)
|
---|
10061 | #define IEnumContextProps_Count(This,pcelt) (This)->lpVtbl->Count(This,pcelt)
|
---|
10062 | #endif
|
---|
10063 |
|
---|
10064 | #endif
|
---|
10065 |
|
---|
10066 | HRESULT STDMETHODCALLTYPE IEnumContextProps_Next_Proxy(
|
---|
10067 | IEnumContextProps* This,
|
---|
10068 | ULONG celt,
|
---|
10069 | ContextProperty *pContextProperties,
|
---|
10070 | ULONG *pceltFetched);
|
---|
10071 | void __RPC_STUB IEnumContextProps_Next_Stub(
|
---|
10072 | IRpcStubBuffer* This,
|
---|
10073 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10074 | PRPC_MESSAGE pRpcMessage,
|
---|
10075 | DWORD* pdwStubPhase);
|
---|
10076 | HRESULT STDMETHODCALLTYPE IEnumContextProps_Skip_Proxy(
|
---|
10077 | IEnumContextProps* This,
|
---|
10078 | ULONG celt);
|
---|
10079 | void __RPC_STUB IEnumContextProps_Skip_Stub(
|
---|
10080 | IRpcStubBuffer* This,
|
---|
10081 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10082 | PRPC_MESSAGE pRpcMessage,
|
---|
10083 | DWORD* pdwStubPhase);
|
---|
10084 | HRESULT STDMETHODCALLTYPE IEnumContextProps_Reset_Proxy(
|
---|
10085 | IEnumContextProps* This);
|
---|
10086 | void __RPC_STUB IEnumContextProps_Reset_Stub(
|
---|
10087 | IRpcStubBuffer* This,
|
---|
10088 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10089 | PRPC_MESSAGE pRpcMessage,
|
---|
10090 | DWORD* pdwStubPhase);
|
---|
10091 | HRESULT STDMETHODCALLTYPE IEnumContextProps_Clone_Proxy(
|
---|
10092 | IEnumContextProps* This,
|
---|
10093 | IEnumContextProps **ppEnumContextProps);
|
---|
10094 | void __RPC_STUB IEnumContextProps_Clone_Stub(
|
---|
10095 | IRpcStubBuffer* This,
|
---|
10096 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10097 | PRPC_MESSAGE pRpcMessage,
|
---|
10098 | DWORD* pdwStubPhase);
|
---|
10099 | HRESULT STDMETHODCALLTYPE IEnumContextProps_Count_Proxy(
|
---|
10100 | IEnumContextProps* This,
|
---|
10101 | ULONG *pcelt);
|
---|
10102 | void __RPC_STUB IEnumContextProps_Count_Stub(
|
---|
10103 | IRpcStubBuffer* This,
|
---|
10104 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10105 | PRPC_MESSAGE pRpcMessage,
|
---|
10106 | DWORD* pdwStubPhase);
|
---|
10107 |
|
---|
10108 | #endif /* __IEnumContextProps_INTERFACE_DEFINED__ */
|
---|
10109 |
|
---|
10110 | /*****************************************************************************
|
---|
10111 | * IContext interface
|
---|
10112 | */
|
---|
10113 | #ifndef __IContext_INTERFACE_DEFINED__
|
---|
10114 | #define __IContext_INTERFACE_DEFINED__
|
---|
10115 |
|
---|
10116 | DEFINE_GUID(IID_IContext, 0x000001c0, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
10117 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
10118 | interface IContext : public IUnknown
|
---|
10119 | {
|
---|
10120 | virtual HRESULT STDMETHODCALLTYPE SetProperty(
|
---|
10121 | REFGUID policyId,
|
---|
10122 | CPFLAGS flags,
|
---|
10123 | IUnknown *pUnk) = 0;
|
---|
10124 |
|
---|
10125 | virtual HRESULT STDMETHODCALLTYPE RemoveProperty(
|
---|
10126 | REFGUID policyId) = 0;
|
---|
10127 |
|
---|
10128 | virtual HRESULT STDMETHODCALLTYPE GetProperty(
|
---|
10129 | REFGUID guid,
|
---|
10130 | CPFLAGS *pFlags,
|
---|
10131 | IUnknown **ppUnk) = 0;
|
---|
10132 |
|
---|
10133 | virtual HRESULT STDMETHODCALLTYPE EnumContextProps(
|
---|
10134 | IEnumContextProps **ppEnumContextProps) = 0;
|
---|
10135 |
|
---|
10136 | };
|
---|
10137 | #else
|
---|
10138 | typedef struct IContextVtbl {
|
---|
10139 | BEGIN_INTERFACE
|
---|
10140 |
|
---|
10141 | /*** IUnknown methods ***/
|
---|
10142 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
10143 | IContext* This,
|
---|
10144 | REFIID riid,
|
---|
10145 | void **ppvObject);
|
---|
10146 |
|
---|
10147 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
10148 | IContext* This);
|
---|
10149 |
|
---|
10150 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
10151 | IContext* This);
|
---|
10152 |
|
---|
10153 | /*** IContext methods ***/
|
---|
10154 | HRESULT (STDMETHODCALLTYPE *SetProperty)(
|
---|
10155 | IContext* This,
|
---|
10156 | REFGUID policyId,
|
---|
10157 | CPFLAGS flags,
|
---|
10158 | IUnknown *pUnk);
|
---|
10159 |
|
---|
10160 | HRESULT (STDMETHODCALLTYPE *RemoveProperty)(
|
---|
10161 | IContext* This,
|
---|
10162 | REFGUID policyId);
|
---|
10163 |
|
---|
10164 | HRESULT (STDMETHODCALLTYPE *GetProperty)(
|
---|
10165 | IContext* This,
|
---|
10166 | REFGUID guid,
|
---|
10167 | CPFLAGS *pFlags,
|
---|
10168 | IUnknown **ppUnk);
|
---|
10169 |
|
---|
10170 | HRESULT (STDMETHODCALLTYPE *EnumContextProps)(
|
---|
10171 | IContext* This,
|
---|
10172 | IEnumContextProps **ppEnumContextProps);
|
---|
10173 |
|
---|
10174 | END_INTERFACE
|
---|
10175 | } IContextVtbl;
|
---|
10176 | interface IContext {
|
---|
10177 | CONST_VTBL IContextVtbl* lpVtbl;
|
---|
10178 | };
|
---|
10179 |
|
---|
10180 | #ifdef COBJMACROS
|
---|
10181 | /*** IUnknown methods ***/
|
---|
10182 | #define IContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
10183 | #define IContext_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
10184 | #define IContext_Release(This) (This)->lpVtbl->Release(This)
|
---|
10185 | /*** IContext methods ***/
|
---|
10186 | #define IContext_SetProperty(This,policyId,flags,pUnk) (This)->lpVtbl->SetProperty(This,policyId,flags,pUnk)
|
---|
10187 | #define IContext_RemoveProperty(This,policyId) (This)->lpVtbl->RemoveProperty(This,policyId)
|
---|
10188 | #define IContext_GetProperty(This,guid,pFlags,ppUnk) (This)->lpVtbl->GetProperty(This,guid,pFlags,ppUnk)
|
---|
10189 | #define IContext_EnumContextProps(This,ppEnumContextProps) (This)->lpVtbl->EnumContextProps(This,ppEnumContextProps)
|
---|
10190 | #endif
|
---|
10191 |
|
---|
10192 | #endif
|
---|
10193 |
|
---|
10194 | HRESULT STDMETHODCALLTYPE IContext_SetProperty_Proxy(
|
---|
10195 | IContext* This,
|
---|
10196 | REFGUID policyId,
|
---|
10197 | CPFLAGS flags,
|
---|
10198 | IUnknown *pUnk);
|
---|
10199 | void __RPC_STUB IContext_SetProperty_Stub(
|
---|
10200 | IRpcStubBuffer* This,
|
---|
10201 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10202 | PRPC_MESSAGE pRpcMessage,
|
---|
10203 | DWORD* pdwStubPhase);
|
---|
10204 | HRESULT STDMETHODCALLTYPE IContext_RemoveProperty_Proxy(
|
---|
10205 | IContext* This,
|
---|
10206 | REFGUID policyId);
|
---|
10207 | void __RPC_STUB IContext_RemoveProperty_Stub(
|
---|
10208 | IRpcStubBuffer* This,
|
---|
10209 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10210 | PRPC_MESSAGE pRpcMessage,
|
---|
10211 | DWORD* pdwStubPhase);
|
---|
10212 | HRESULT STDMETHODCALLTYPE IContext_GetProperty_Proxy(
|
---|
10213 | IContext* This,
|
---|
10214 | REFGUID guid,
|
---|
10215 | CPFLAGS *pFlags,
|
---|
10216 | IUnknown **ppUnk);
|
---|
10217 | void __RPC_STUB IContext_GetProperty_Stub(
|
---|
10218 | IRpcStubBuffer* This,
|
---|
10219 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10220 | PRPC_MESSAGE pRpcMessage,
|
---|
10221 | DWORD* pdwStubPhase);
|
---|
10222 | HRESULT STDMETHODCALLTYPE IContext_EnumContextProps_Proxy(
|
---|
10223 | IContext* This,
|
---|
10224 | IEnumContextProps **ppEnumContextProps);
|
---|
10225 | void __RPC_STUB IContext_EnumContextProps_Stub(
|
---|
10226 | IRpcStubBuffer* This,
|
---|
10227 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10228 | PRPC_MESSAGE pRpcMessage,
|
---|
10229 | DWORD* pdwStubPhase);
|
---|
10230 |
|
---|
10231 | #endif /* __IContext_INTERFACE_DEFINED__ */
|
---|
10232 |
|
---|
10233 | /*****************************************************************************
|
---|
10234 | * IObjContext interface
|
---|
10235 | */
|
---|
10236 | #ifndef __IObjContext_INTERFACE_DEFINED__
|
---|
10237 | #define __IObjContext_INTERFACE_DEFINED__
|
---|
10238 |
|
---|
10239 | DEFINE_GUID(IID_IObjContext, 0x000001c6, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
10240 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
10241 | interface IObjContext : public IContext
|
---|
10242 | {
|
---|
10243 | virtual void STDMETHODCALLTYPE Reserved1(
|
---|
10244 | ) = 0;
|
---|
10245 |
|
---|
10246 | virtual void STDMETHODCALLTYPE Reserved2(
|
---|
10247 | ) = 0;
|
---|
10248 |
|
---|
10249 | virtual void STDMETHODCALLTYPE Reserved3(
|
---|
10250 | ) = 0;
|
---|
10251 |
|
---|
10252 | virtual void STDMETHODCALLTYPE Reserved4(
|
---|
10253 | ) = 0;
|
---|
10254 |
|
---|
10255 | virtual void STDMETHODCALLTYPE Reserved5(
|
---|
10256 | ) = 0;
|
---|
10257 |
|
---|
10258 | virtual void STDMETHODCALLTYPE Reserved6(
|
---|
10259 | ) = 0;
|
---|
10260 |
|
---|
10261 | virtual void STDMETHODCALLTYPE Reserved7(
|
---|
10262 | ) = 0;
|
---|
10263 |
|
---|
10264 | };
|
---|
10265 | #else
|
---|
10266 | typedef struct IObjContextVtbl {
|
---|
10267 | BEGIN_INTERFACE
|
---|
10268 |
|
---|
10269 | /*** IUnknown methods ***/
|
---|
10270 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
10271 | IObjContext* This,
|
---|
10272 | REFIID riid,
|
---|
10273 | void **ppvObject);
|
---|
10274 |
|
---|
10275 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
10276 | IObjContext* This);
|
---|
10277 |
|
---|
10278 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
10279 | IObjContext* This);
|
---|
10280 |
|
---|
10281 | /*** IContext methods ***/
|
---|
10282 | HRESULT (STDMETHODCALLTYPE *SetProperty)(
|
---|
10283 | IObjContext* This,
|
---|
10284 | REFGUID policyId,
|
---|
10285 | CPFLAGS flags,
|
---|
10286 | IUnknown *pUnk);
|
---|
10287 |
|
---|
10288 | HRESULT (STDMETHODCALLTYPE *RemoveProperty)(
|
---|
10289 | IObjContext* This,
|
---|
10290 | REFGUID policyId);
|
---|
10291 |
|
---|
10292 | HRESULT (STDMETHODCALLTYPE *GetProperty)(
|
---|
10293 | IObjContext* This,
|
---|
10294 | REFGUID guid,
|
---|
10295 | CPFLAGS *pFlags,
|
---|
10296 | IUnknown **ppUnk);
|
---|
10297 |
|
---|
10298 | HRESULT (STDMETHODCALLTYPE *EnumContextProps)(
|
---|
10299 | IObjContext* This,
|
---|
10300 | IEnumContextProps **ppEnumContextProps);
|
---|
10301 |
|
---|
10302 | /*** IObjContext methods ***/
|
---|
10303 | void (STDMETHODCALLTYPE *Reserved1)(
|
---|
10304 | IObjContext* This);
|
---|
10305 |
|
---|
10306 | void (STDMETHODCALLTYPE *Reserved2)(
|
---|
10307 | IObjContext* This);
|
---|
10308 |
|
---|
10309 | void (STDMETHODCALLTYPE *Reserved3)(
|
---|
10310 | IObjContext* This);
|
---|
10311 |
|
---|
10312 | void (STDMETHODCALLTYPE *Reserved4)(
|
---|
10313 | IObjContext* This);
|
---|
10314 |
|
---|
10315 | void (STDMETHODCALLTYPE *Reserved5)(
|
---|
10316 | IObjContext* This);
|
---|
10317 |
|
---|
10318 | void (STDMETHODCALLTYPE *Reserved6)(
|
---|
10319 | IObjContext* This);
|
---|
10320 |
|
---|
10321 | void (STDMETHODCALLTYPE *Reserved7)(
|
---|
10322 | IObjContext* This);
|
---|
10323 |
|
---|
10324 | END_INTERFACE
|
---|
10325 | } IObjContextVtbl;
|
---|
10326 | interface IObjContext {
|
---|
10327 | CONST_VTBL IObjContextVtbl* lpVtbl;
|
---|
10328 | };
|
---|
10329 |
|
---|
10330 | #ifdef COBJMACROS
|
---|
10331 | /*** IUnknown methods ***/
|
---|
10332 | #define IObjContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
10333 | #define IObjContext_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
10334 | #define IObjContext_Release(This) (This)->lpVtbl->Release(This)
|
---|
10335 | /*** IContext methods ***/
|
---|
10336 | #define IObjContext_SetProperty(This,policyId,flags,pUnk) (This)->lpVtbl->SetProperty(This,policyId,flags,pUnk)
|
---|
10337 | #define IObjContext_RemoveProperty(This,policyId) (This)->lpVtbl->RemoveProperty(This,policyId)
|
---|
10338 | #define IObjContext_GetProperty(This,guid,pFlags,ppUnk) (This)->lpVtbl->GetProperty(This,guid,pFlags,ppUnk)
|
---|
10339 | #define IObjContext_EnumContextProps(This,ppEnumContextProps) (This)->lpVtbl->EnumContextProps(This,ppEnumContextProps)
|
---|
10340 | /*** IObjContext methods ***/
|
---|
10341 | #define IObjContext_Reserved1(This) (This)->lpVtbl->Reserved1(This)
|
---|
10342 | #define IObjContext_Reserved2(This) (This)->lpVtbl->Reserved2(This)
|
---|
10343 | #define IObjContext_Reserved3(This) (This)->lpVtbl->Reserved3(This)
|
---|
10344 | #define IObjContext_Reserved4(This) (This)->lpVtbl->Reserved4(This)
|
---|
10345 | #define IObjContext_Reserved5(This) (This)->lpVtbl->Reserved5(This)
|
---|
10346 | #define IObjContext_Reserved6(This) (This)->lpVtbl->Reserved6(This)
|
---|
10347 | #define IObjContext_Reserved7(This) (This)->lpVtbl->Reserved7(This)
|
---|
10348 | #endif
|
---|
10349 |
|
---|
10350 | #endif
|
---|
10351 |
|
---|
10352 | void STDMETHODCALLTYPE IObjContext_Reserved1_Proxy(
|
---|
10353 | IObjContext* This);
|
---|
10354 | void __RPC_STUB IObjContext_Reserved1_Stub(
|
---|
10355 | IRpcStubBuffer* This,
|
---|
10356 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10357 | PRPC_MESSAGE pRpcMessage,
|
---|
10358 | DWORD* pdwStubPhase);
|
---|
10359 | void STDMETHODCALLTYPE IObjContext_Reserved2_Proxy(
|
---|
10360 | IObjContext* This);
|
---|
10361 | void __RPC_STUB IObjContext_Reserved2_Stub(
|
---|
10362 | IRpcStubBuffer* This,
|
---|
10363 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10364 | PRPC_MESSAGE pRpcMessage,
|
---|
10365 | DWORD* pdwStubPhase);
|
---|
10366 | void STDMETHODCALLTYPE IObjContext_Reserved3_Proxy(
|
---|
10367 | IObjContext* This);
|
---|
10368 | void __RPC_STUB IObjContext_Reserved3_Stub(
|
---|
10369 | IRpcStubBuffer* This,
|
---|
10370 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10371 | PRPC_MESSAGE pRpcMessage,
|
---|
10372 | DWORD* pdwStubPhase);
|
---|
10373 | void STDMETHODCALLTYPE IObjContext_Reserved4_Proxy(
|
---|
10374 | IObjContext* This);
|
---|
10375 | void __RPC_STUB IObjContext_Reserved4_Stub(
|
---|
10376 | IRpcStubBuffer* This,
|
---|
10377 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10378 | PRPC_MESSAGE pRpcMessage,
|
---|
10379 | DWORD* pdwStubPhase);
|
---|
10380 | void STDMETHODCALLTYPE IObjContext_Reserved5_Proxy(
|
---|
10381 | IObjContext* This);
|
---|
10382 | void __RPC_STUB IObjContext_Reserved5_Stub(
|
---|
10383 | IRpcStubBuffer* This,
|
---|
10384 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10385 | PRPC_MESSAGE pRpcMessage,
|
---|
10386 | DWORD* pdwStubPhase);
|
---|
10387 | void STDMETHODCALLTYPE IObjContext_Reserved6_Proxy(
|
---|
10388 | IObjContext* This);
|
---|
10389 | void __RPC_STUB IObjContext_Reserved6_Stub(
|
---|
10390 | IRpcStubBuffer* This,
|
---|
10391 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10392 | PRPC_MESSAGE pRpcMessage,
|
---|
10393 | DWORD* pdwStubPhase);
|
---|
10394 | void STDMETHODCALLTYPE IObjContext_Reserved7_Proxy(
|
---|
10395 | IObjContext* This);
|
---|
10396 | void __RPC_STUB IObjContext_Reserved7_Stub(
|
---|
10397 | IRpcStubBuffer* This,
|
---|
10398 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
10399 | PRPC_MESSAGE pRpcMessage,
|
---|
10400 | DWORD* pdwStubPhase);
|
---|
10401 |
|
---|
10402 | #endif /* __IObjContext_INTERFACE_DEFINED__ */
|
---|
10403 |
|
---|
10404 | #endif /* defined USE_COM_CONTEXT_DEF */
|
---|
10405 | /* Begin additional prototypes for all interfaces */
|
---|
10406 |
|
---|
10407 | ULONG __RPC_USER SNB_UserSize (ULONG *, ULONG, SNB *);
|
---|
10408 | unsigned char * __RPC_USER SNB_UserMarshal (ULONG *, unsigned char *, SNB *);
|
---|
10409 | unsigned char * __RPC_USER SNB_UserUnmarshal(ULONG *, unsigned char *, SNB *);
|
---|
10410 | void __RPC_USER SNB_UserFree (ULONG *, SNB *);
|
---|
10411 | ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *);
|
---|
10412 | unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *);
|
---|
10413 | unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
|
---|
10414 | void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *);
|
---|
10415 | ULONG __RPC_USER STGMEDIUM_UserSize (ULONG *, ULONG, STGMEDIUM *);
|
---|
10416 | unsigned char * __RPC_USER STGMEDIUM_UserMarshal (ULONG *, unsigned char *, STGMEDIUM *);
|
---|
10417 | unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
|
---|
10418 | void __RPC_USER STGMEDIUM_UserFree (ULONG *, STGMEDIUM *);
|
---|
10419 | ULONG __RPC_USER ASYNC_STGMEDIUM_UserSize (ULONG *, ULONG, ASYNC_STGMEDIUM *);
|
---|
10420 | unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserMarshal (ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
|
---|
10421 | unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
|
---|
10422 | void __RPC_USER ASYNC_STGMEDIUM_UserFree (ULONG *, ASYNC_STGMEDIUM *);
|
---|
10423 | ULONG __RPC_USER FLAG_STGMEDIUM_UserSize (ULONG *, ULONG, FLAG_STGMEDIUM *);
|
---|
10424 | unsigned char * __RPC_USER FLAG_STGMEDIUM_UserMarshal (ULONG *, unsigned char *, FLAG_STGMEDIUM *);
|
---|
10425 | unsigned char * __RPC_USER FLAG_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, FLAG_STGMEDIUM *);
|
---|
10426 | void __RPC_USER FLAG_STGMEDIUM_UserFree (ULONG *, FLAG_STGMEDIUM *);
|
---|
10427 | ULONG __RPC_USER HBITMAP_UserSize (ULONG *, ULONG, HBITMAP *);
|
---|
10428 | unsigned char * __RPC_USER HBITMAP_UserMarshal (ULONG *, unsigned char *, HBITMAP *);
|
---|
10429 | unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *);
|
---|
10430 | void __RPC_USER HBITMAP_UserFree (ULONG *, HBITMAP *);
|
---|
10431 |
|
---|
10432 | /* End additional prototypes */
|
---|
10433 |
|
---|
10434 | #ifdef __cplusplus
|
---|
10435 | }
|
---|
10436 | #endif
|
---|
10437 |
|
---|
10438 | #endif /* __WIDL_OBJIDL_H */
|
---|