comparison fuhtark_test/include/winapi/ocidl.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef __REQUIRED_RPCNDR_H_VERSION__
7 #define __REQUIRED_RPCNDR_H_VERSION__ 475
8 #endif
9
10 #include "rpc.h"
11 #include "rpcndr.h"
12
13 #ifndef __RPCNDR_H_VERSION__
14 #error This stub requires an updated version of <rpcndr.h>
15 #endif
16
17 #ifndef COM_NO_WINDOWS_H
18 #include "windows.h"
19 #include "ole2.h"
20 #endif
21
22 #ifndef __ocidl_h__
23 #define __ocidl_h__
24
25 #ifndef __IEnumConnections_FWD_DEFINED__
26 #define __IEnumConnections_FWD_DEFINED__
27 typedef struct IEnumConnections IEnumConnections;
28 #endif
29
30 #ifndef __IConnectionPoint_FWD_DEFINED__
31 #define __IConnectionPoint_FWD_DEFINED__
32 typedef struct IConnectionPoint IConnectionPoint;
33 #endif
34
35 #ifndef __IEnumConnectionPoints_FWD_DEFINED__
36 #define __IEnumConnectionPoints_FWD_DEFINED__
37 typedef struct IEnumConnectionPoints IEnumConnectionPoints;
38 #endif
39
40 #ifndef __IConnectionPointContainer_FWD_DEFINED__
41 #define __IConnectionPointContainer_FWD_DEFINED__
42 typedef struct IConnectionPointContainer IConnectionPointContainer;
43 #endif
44
45 #ifndef __IClassFactory2_FWD_DEFINED__
46 #define __IClassFactory2_FWD_DEFINED__
47 typedef struct IClassFactory2 IClassFactory2;
48 #endif
49
50 #ifndef __IProvideClassInfo_FWD_DEFINED__
51 #define __IProvideClassInfo_FWD_DEFINED__
52 typedef struct IProvideClassInfo IProvideClassInfo;
53 #endif
54
55 #ifndef __IProvideClassInfo2_FWD_DEFINED__
56 #define __IProvideClassInfo2_FWD_DEFINED__
57 typedef struct IProvideClassInfo2 IProvideClassInfo2;
58 #endif
59
60 #ifndef __IProvideMultipleClassInfo_FWD_DEFINED__
61 #define __IProvideMultipleClassInfo_FWD_DEFINED__
62 typedef struct IProvideMultipleClassInfo IProvideMultipleClassInfo;
63 #endif
64
65 #ifndef __IOleControl_FWD_DEFINED__
66 #define __IOleControl_FWD_DEFINED__
67 typedef struct IOleControl IOleControl;
68 #endif
69
70 #ifndef __IOleControlSite_FWD_DEFINED__
71 #define __IOleControlSite_FWD_DEFINED__
72 typedef struct IOleControlSite IOleControlSite;
73 #endif
74
75 #ifndef __IPropertyPage_FWD_DEFINED__
76 #define __IPropertyPage_FWD_DEFINED__
77 typedef struct IPropertyPage IPropertyPage;
78 #endif
79
80 #ifndef __IPropertyPage2_FWD_DEFINED__
81 #define __IPropertyPage2_FWD_DEFINED__
82 typedef struct IPropertyPage2 IPropertyPage2;
83 #endif
84
85 #ifndef __IPropertyPageSite_FWD_DEFINED__
86 #define __IPropertyPageSite_FWD_DEFINED__
87 typedef struct IPropertyPageSite IPropertyPageSite;
88 #endif
89
90 #ifndef __IPropertyNotifySink_FWD_DEFINED__
91 #define __IPropertyNotifySink_FWD_DEFINED__
92 typedef struct IPropertyNotifySink IPropertyNotifySink;
93 #endif
94
95 #ifndef __ISpecifyPropertyPages_FWD_DEFINED__
96 #define __ISpecifyPropertyPages_FWD_DEFINED__
97 typedef struct ISpecifyPropertyPages ISpecifyPropertyPages;
98 #endif
99
100 #ifndef __IPersistMemory_FWD_DEFINED__
101 #define __IPersistMemory_FWD_DEFINED__
102 typedef struct IPersistMemory IPersistMemory;
103 #endif
104
105 #ifndef __IPersistStreamInit_FWD_DEFINED__
106 #define __IPersistStreamInit_FWD_DEFINED__
107 typedef struct IPersistStreamInit IPersistStreamInit;
108 #endif
109
110 #ifndef __IPersistPropertyBag_FWD_DEFINED__
111 #define __IPersistPropertyBag_FWD_DEFINED__
112 typedef struct IPersistPropertyBag IPersistPropertyBag;
113 #endif
114
115 #ifndef __ISimpleFrameSite_FWD_DEFINED__
116 #define __ISimpleFrameSite_FWD_DEFINED__
117 typedef struct ISimpleFrameSite ISimpleFrameSite;
118 #endif
119
120 #ifndef __IFont_FWD_DEFINED__
121 #define __IFont_FWD_DEFINED__
122 typedef struct IFont IFont;
123 #endif
124
125 #ifndef __IPicture_FWD_DEFINED__
126 #define __IPicture_FWD_DEFINED__
127 typedef struct IPicture IPicture;
128 #endif
129
130 #ifndef __IFontEventsDisp_FWD_DEFINED__
131 #define __IFontEventsDisp_FWD_DEFINED__
132 typedef struct IFontEventsDisp IFontEventsDisp;
133 #endif
134
135 #ifndef __IFontDisp_FWD_DEFINED__
136 #define __IFontDisp_FWD_DEFINED__
137 typedef struct IFontDisp IFontDisp;
138 #endif
139
140 #ifndef __IPictureDisp_FWD_DEFINED__
141 #define __IPictureDisp_FWD_DEFINED__
142 typedef struct IPictureDisp IPictureDisp;
143 #endif
144
145 #ifndef __IOleInPlaceObjectWindowless_FWD_DEFINED__
146 #define __IOleInPlaceObjectWindowless_FWD_DEFINED__
147 typedef struct IOleInPlaceObjectWindowless IOleInPlaceObjectWindowless;
148 #endif
149
150 #ifndef __IOleInPlaceSiteEx_FWD_DEFINED__
151 #define __IOleInPlaceSiteEx_FWD_DEFINED__
152 typedef struct IOleInPlaceSiteEx IOleInPlaceSiteEx;
153 #endif
154
155 #ifndef __IOleInPlaceSiteWindowless_FWD_DEFINED__
156 #define __IOleInPlaceSiteWindowless_FWD_DEFINED__
157 typedef struct IOleInPlaceSiteWindowless IOleInPlaceSiteWindowless;
158 #endif
159
160 #ifndef __IViewObjectEx_FWD_DEFINED__
161 #define __IViewObjectEx_FWD_DEFINED__
162 typedef struct IViewObjectEx IViewObjectEx;
163 #endif
164
165 #ifndef __IOleUndoUnit_FWD_DEFINED__
166 #define __IOleUndoUnit_FWD_DEFINED__
167 typedef struct IOleUndoUnit IOleUndoUnit;
168 #endif
169
170 #ifndef __IOleParentUndoUnit_FWD_DEFINED__
171 #define __IOleParentUndoUnit_FWD_DEFINED__
172 typedef struct IOleParentUndoUnit IOleParentUndoUnit;
173 #endif
174
175 #ifndef __IEnumOleUndoUnits_FWD_DEFINED__
176 #define __IEnumOleUndoUnits_FWD_DEFINED__
177 typedef struct IEnumOleUndoUnits IEnumOleUndoUnits;
178 #endif
179
180 #ifndef __IOleUndoManager_FWD_DEFINED__
181 #define __IOleUndoManager_FWD_DEFINED__
182 typedef struct IOleUndoManager IOleUndoManager;
183 #endif
184
185 #ifndef __IPointerInactive_FWD_DEFINED__
186 #define __IPointerInactive_FWD_DEFINED__
187 typedef struct IPointerInactive IPointerInactive;
188 #endif
189
190 #ifndef __IObjectWithSite_FWD_DEFINED__
191 #define __IObjectWithSite_FWD_DEFINED__
192 typedef struct IObjectWithSite IObjectWithSite;
193 #endif
194
195 #ifndef __IPerPropertyBrowsing_FWD_DEFINED__
196 #define __IPerPropertyBrowsing_FWD_DEFINED__
197 typedef struct IPerPropertyBrowsing IPerPropertyBrowsing;
198 #endif
199
200 #ifndef __IPropertyBag2_FWD_DEFINED__
201 #define __IPropertyBag2_FWD_DEFINED__
202 typedef struct IPropertyBag2 IPropertyBag2;
203 #endif
204
205 #ifndef __IPersistPropertyBag2_FWD_DEFINED__
206 #define __IPersistPropertyBag2_FWD_DEFINED__
207 typedef struct IPersistPropertyBag2 IPersistPropertyBag2;
208 #endif
209
210 #ifndef __IAdviseSinkEx_FWD_DEFINED__
211 #define __IAdviseSinkEx_FWD_DEFINED__
212 typedef struct IAdviseSinkEx IAdviseSinkEx;
213 #endif
214
215 #ifndef __IQuickActivate_FWD_DEFINED__
216 #define __IQuickActivate_FWD_DEFINED__
217 typedef struct IQuickActivate IQuickActivate;
218 #endif
219
220 #include "oleidl.h"
221 #include "oaidl.h"
222 #include "servprov.h"
223 #include "urlmon.h"
224
225 #ifdef __cplusplus
226 extern "C" {
227 #endif
228
229 #ifndef __MIDL_user_allocate_free_DEFINED__
230 #define __MIDL_user_allocate_free_DEFINED__
231 void *__RPC_API MIDL_user_allocate(size_t);
232 void __RPC_API MIDL_user_free(void *);
233 #endif
234
235 extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_c_ifspec;
236 extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_s_ifspec;
237 #ifndef __IOleControlTypes_INTERFACE_DEFINED__
238 #define __IOleControlTypes_INTERFACE_DEFINED__
239 typedef enum tagUASFLAGS {
240 UAS_NORMAL = 0,UAS_BLOCKED = 0x1,UAS_NOPARENTENABLE = 0x2,UAS_MASK = 0x3
241 } UASFLAGS;
242
243 typedef enum tagREADYSTATE {
244 READYSTATE_UNINITIALIZED = 0,READYSTATE_LOADING = 1,READYSTATE_LOADED = 2,READYSTATE_INTERACTIVE = 3,READYSTATE_COMPLETE = 4
245 } READYSTATE;
246
247 extern RPC_IF_HANDLE IOleControlTypes_v1_0_c_ifspec;
248 extern RPC_IF_HANDLE IOleControlTypes_v1_0_s_ifspec;
249 #endif
250
251 #ifndef __IEnumConnections_INTERFACE_DEFINED__
252 #define __IEnumConnections_INTERFACE_DEFINED__
253 typedef IEnumConnections *PENUMCONNECTIONS;
254 typedef IEnumConnections *LPENUMCONNECTIONS;
255
256 typedef struct tagCONNECTDATA {
257 IUnknown *pUnk;
258 DWORD dwCookie;
259 } CONNECTDATA;
260
261 typedef struct tagCONNECTDATA *PCONNECTDATA;
262 typedef struct tagCONNECTDATA *LPCONNECTDATA;
263
264 EXTERN_C const IID IID_IEnumConnections;
265 #if defined(__cplusplus) && !defined(CINTERFACE)
266 struct IEnumConnections : public IUnknown {
267 public:
268 virtual HRESULT WINAPI Next(ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched) = 0;
269 virtual HRESULT WINAPI Skip(ULONG cConnections) = 0;
270 virtual HRESULT WINAPI Reset(void) = 0;
271 virtual HRESULT WINAPI Clone(IEnumConnections **ppEnum) = 0;
272 };
273 #else
274 typedef struct IEnumConnectionsVtbl {
275 BEGIN_INTERFACE
276 HRESULT (WINAPI *QueryInterface)(IEnumConnections *This,REFIID riid,void **ppvObject);
277 ULONG (WINAPI *AddRef)(IEnumConnections *This);
278 ULONG (WINAPI *Release)(IEnumConnections *This);
279 HRESULT (WINAPI *Next)(IEnumConnections *This,ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched);
280 HRESULT (WINAPI *Skip)(IEnumConnections *This,ULONG cConnections);
281 HRESULT (WINAPI *Reset)(IEnumConnections *This);
282 HRESULT (WINAPI *Clone)(IEnumConnections *This,IEnumConnections **ppEnum);
283 END_INTERFACE
284 } IEnumConnectionsVtbl;
285 struct IEnumConnections {
286 CONST_VTBL struct IEnumConnectionsVtbl *lpVtbl;
287 };
288 #ifdef COBJMACROS
289 #define IEnumConnections_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
290 #define IEnumConnections_AddRef(This) (This)->lpVtbl->AddRef(This)
291 #define IEnumConnections_Release(This) (This)->lpVtbl->Release(This)
292 #define IEnumConnections_Next(This,cConnections,rgcd,pcFetched) (This)->lpVtbl->Next(This,cConnections,rgcd,pcFetched)
293 #define IEnumConnections_Skip(This,cConnections) (This)->lpVtbl->Skip(This,cConnections)
294 #define IEnumConnections_Reset(This) (This)->lpVtbl->Reset(This)
295 #define IEnumConnections_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
296 #endif
297 #endif
298 HRESULT WINAPI IEnumConnections_RemoteNext_Proxy(IEnumConnections *This,ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched);
299 void __RPC_STUB IEnumConnections_RemoteNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
300 HRESULT WINAPI IEnumConnections_Skip_Proxy(IEnumConnections *This,ULONG cConnections);
301 void __RPC_STUB IEnumConnections_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
302 HRESULT WINAPI IEnumConnections_Reset_Proxy(IEnumConnections *This);
303 void __RPC_STUB IEnumConnections_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
304 HRESULT WINAPI IEnumConnections_Clone_Proxy(IEnumConnections *This,IEnumConnections **ppEnum);
305 void __RPC_STUB IEnumConnections_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
306 #endif
307
308 #ifndef __IConnectionPoint_INTERFACE_DEFINED__
309 #define __IConnectionPoint_INTERFACE_DEFINED__
310 typedef IConnectionPoint *PCONNECTIONPOINT;
311 typedef IConnectionPoint *LPCONNECTIONPOINT;
312
313 EXTERN_C const IID IID_IConnectionPoint;
314 #if defined(__cplusplus) && !defined(CINTERFACE)
315 struct IConnectionPoint : public IUnknown {
316 public:
317 virtual HRESULT WINAPI GetConnectionInterface(IID *pIID) = 0;
318 virtual HRESULT WINAPI GetConnectionPointContainer(IConnectionPointContainer **ppCPC) = 0;
319 virtual HRESULT WINAPI Advise(IUnknown *pUnkSink,DWORD *pdwCookie) = 0;
320 virtual HRESULT WINAPI Unadvise(DWORD dwCookie) = 0;
321 virtual HRESULT WINAPI EnumConnections(IEnumConnections **ppEnum) = 0;
322 };
323 #else
324 typedef struct IConnectionPointVtbl {
325 BEGIN_INTERFACE
326 HRESULT (WINAPI *QueryInterface)(IConnectionPoint *This,REFIID riid,void **ppvObject);
327 ULONG (WINAPI *AddRef)(IConnectionPoint *This);
328 ULONG (WINAPI *Release)(IConnectionPoint *This);
329 HRESULT (WINAPI *GetConnectionInterface)(IConnectionPoint *This,IID *pIID);
330 HRESULT (WINAPI *GetConnectionPointContainer)(IConnectionPoint *This,IConnectionPointContainer **ppCPC);
331 HRESULT (WINAPI *Advise)(IConnectionPoint *This,IUnknown *pUnkSink,DWORD *pdwCookie);
332 HRESULT (WINAPI *Unadvise)(IConnectionPoint *This,DWORD dwCookie);
333 HRESULT (WINAPI *EnumConnections)(IConnectionPoint *This,IEnumConnections **ppEnum);
334 END_INTERFACE
335 } IConnectionPointVtbl;
336 struct IConnectionPoint {
337 CONST_VTBL struct IConnectionPointVtbl *lpVtbl;
338 };
339 #ifdef COBJMACROS
340 #define IConnectionPoint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
341 #define IConnectionPoint_AddRef(This) (This)->lpVtbl->AddRef(This)
342 #define IConnectionPoint_Release(This) (This)->lpVtbl->Release(This)
343 #define IConnectionPoint_GetConnectionInterface(This,pIID) (This)->lpVtbl->GetConnectionInterface(This,pIID)
344 #define IConnectionPoint_GetConnectionPointContainer(This,ppCPC) (This)->lpVtbl->GetConnectionPointContainer(This,ppCPC)
345 #define IConnectionPoint_Advise(This,pUnkSink,pdwCookie) (This)->lpVtbl->Advise(This,pUnkSink,pdwCookie)
346 #define IConnectionPoint_Unadvise(This,dwCookie) (This)->lpVtbl->Unadvise(This,dwCookie)
347 #define IConnectionPoint_EnumConnections(This,ppEnum) (This)->lpVtbl->EnumConnections(This,ppEnum)
348 #endif
349 #endif
350 HRESULT WINAPI IConnectionPoint_GetConnectionInterface_Proxy(IConnectionPoint *This,IID *pIID);
351 void __RPC_STUB IConnectionPoint_GetConnectionInterface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
352 HRESULT WINAPI IConnectionPoint_GetConnectionPointContainer_Proxy(IConnectionPoint *This,IConnectionPointContainer **ppCPC);
353 void __RPC_STUB IConnectionPoint_GetConnectionPointContainer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
354 HRESULT WINAPI IConnectionPoint_Advise_Proxy(IConnectionPoint *This,IUnknown *pUnkSink,DWORD *pdwCookie);
355 void __RPC_STUB IConnectionPoint_Advise_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
356 HRESULT WINAPI IConnectionPoint_Unadvise_Proxy(IConnectionPoint *This,DWORD dwCookie);
357 void __RPC_STUB IConnectionPoint_Unadvise_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
358 HRESULT WINAPI IConnectionPoint_EnumConnections_Proxy(IConnectionPoint *This,IEnumConnections **ppEnum);
359 void __RPC_STUB IConnectionPoint_EnumConnections_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
360 #endif
361
362 #ifndef __IEnumConnectionPoints_INTERFACE_DEFINED__
363 #define __IEnumConnectionPoints_INTERFACE_DEFINED__
364 typedef IEnumConnectionPoints *PENUMCONNECTIONPOINTS;
365 typedef IEnumConnectionPoints *LPENUMCONNECTIONPOINTS;
366
367 EXTERN_C const IID IID_IEnumConnectionPoints;
368 #if defined(__cplusplus) && !defined(CINTERFACE)
369 struct IEnumConnectionPoints : public IUnknown {
370 public:
371 virtual HRESULT WINAPI Next(ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched) = 0;
372 virtual HRESULT WINAPI Skip(ULONG cConnections) = 0;
373 virtual HRESULT WINAPI Reset(void) = 0;
374 virtual HRESULT WINAPI Clone(IEnumConnectionPoints **ppEnum) = 0;
375 };
376 #else
377 typedef struct IEnumConnectionPointsVtbl {
378 BEGIN_INTERFACE
379 HRESULT (WINAPI *QueryInterface)(IEnumConnectionPoints *This,REFIID riid,void **ppvObject);
380 ULONG (WINAPI *AddRef)(IEnumConnectionPoints *This);
381 ULONG (WINAPI *Release)(IEnumConnectionPoints *This);
382 HRESULT (WINAPI *Next)(IEnumConnectionPoints *This,ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched);
383 HRESULT (WINAPI *Skip)(IEnumConnectionPoints *This,ULONG cConnections);
384 HRESULT (WINAPI *Reset)(IEnumConnectionPoints *This);
385 HRESULT (WINAPI *Clone)(IEnumConnectionPoints *This,IEnumConnectionPoints **ppEnum);
386 END_INTERFACE
387 } IEnumConnectionPointsVtbl;
388 struct IEnumConnectionPoints {
389 CONST_VTBL struct IEnumConnectionPointsVtbl *lpVtbl;
390 };
391 #ifdef COBJMACROS
392 #define IEnumConnectionPoints_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
393 #define IEnumConnectionPoints_AddRef(This) (This)->lpVtbl->AddRef(This)
394 #define IEnumConnectionPoints_Release(This) (This)->lpVtbl->Release(This)
395 #define IEnumConnectionPoints_Next(This,cConnections,ppCP,pcFetched) (This)->lpVtbl->Next(This,cConnections,ppCP,pcFetched)
396 #define IEnumConnectionPoints_Skip(This,cConnections) (This)->lpVtbl->Skip(This,cConnections)
397 #define IEnumConnectionPoints_Reset(This) (This)->lpVtbl->Reset(This)
398 #define IEnumConnectionPoints_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
399 #endif
400 #endif
401 HRESULT WINAPI IEnumConnectionPoints_RemoteNext_Proxy(IEnumConnectionPoints *This,ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched);
402 void __RPC_STUB IEnumConnectionPoints_RemoteNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
403 HRESULT WINAPI IEnumConnectionPoints_Skip_Proxy(IEnumConnectionPoints *This,ULONG cConnections);
404 void __RPC_STUB IEnumConnectionPoints_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
405 HRESULT WINAPI IEnumConnectionPoints_Reset_Proxy(IEnumConnectionPoints *This);
406 void __RPC_STUB IEnumConnectionPoints_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
407 HRESULT WINAPI IEnumConnectionPoints_Clone_Proxy(IEnumConnectionPoints *This,IEnumConnectionPoints **ppEnum);
408 void __RPC_STUB IEnumConnectionPoints_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
409 #endif
410
411 #ifndef __IConnectionPointContainer_INTERFACE_DEFINED__
412 #define __IConnectionPointContainer_INTERFACE_DEFINED__
413 typedef IConnectionPointContainer *PCONNECTIONPOINTCONTAINER;
414 typedef IConnectionPointContainer *LPCONNECTIONPOINTCONTAINER;
415
416 EXTERN_C const IID IID_IConnectionPointContainer;
417 #if defined(__cplusplus) && !defined(CINTERFACE)
418 struct IConnectionPointContainer : public IUnknown {
419 public:
420 virtual HRESULT WINAPI EnumConnectionPoints(IEnumConnectionPoints **ppEnum) = 0;
421 virtual HRESULT WINAPI FindConnectionPoint(REFIID riid,IConnectionPoint **ppCP) = 0;
422 };
423 #else
424 typedef struct IConnectionPointContainerVtbl {
425 BEGIN_INTERFACE
426 HRESULT (WINAPI *QueryInterface)(IConnectionPointContainer *This,REFIID riid,void **ppvObject);
427 ULONG (WINAPI *AddRef)(IConnectionPointContainer *This);
428 ULONG (WINAPI *Release)(IConnectionPointContainer *This);
429 HRESULT (WINAPI *EnumConnectionPoints)(IConnectionPointContainer *This,IEnumConnectionPoints **ppEnum);
430 HRESULT (WINAPI *FindConnectionPoint)(IConnectionPointContainer *This,REFIID riid,IConnectionPoint **ppCP);
431 END_INTERFACE
432 } IConnectionPointContainerVtbl;
433 struct IConnectionPointContainer {
434 CONST_VTBL struct IConnectionPointContainerVtbl *lpVtbl;
435 };
436 #ifdef COBJMACROS
437 #define IConnectionPointContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
438 #define IConnectionPointContainer_AddRef(This) (This)->lpVtbl->AddRef(This)
439 #define IConnectionPointContainer_Release(This) (This)->lpVtbl->Release(This)
440 #define IConnectionPointContainer_EnumConnectionPoints(This,ppEnum) (This)->lpVtbl->EnumConnectionPoints(This,ppEnum)
441 #define IConnectionPointContainer_FindConnectionPoint(This,riid,ppCP) (This)->lpVtbl->FindConnectionPoint(This,riid,ppCP)
442 #endif
443 #endif
444 HRESULT WINAPI IConnectionPointContainer_EnumConnectionPoints_Proxy(IConnectionPointContainer *This,IEnumConnectionPoints **ppEnum);
445 void __RPC_STUB IConnectionPointContainer_EnumConnectionPoints_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
446 HRESULT WINAPI IConnectionPointContainer_FindConnectionPoint_Proxy(IConnectionPointContainer *This,REFIID riid,IConnectionPoint **ppCP);
447 void __RPC_STUB IConnectionPointContainer_FindConnectionPoint_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
448 #endif
449
450 #ifndef __IClassFactory2_INTERFACE_DEFINED__
451 #define __IClassFactory2_INTERFACE_DEFINED__
452 typedef IClassFactory2 *LPCLASSFACTORY2;
453
454 typedef struct tagLICINFO {
455 LONG cbLicInfo;
456 WINBOOL fRuntimeKeyAvail;
457 WINBOOL fLicVerified;
458 } LICINFO;
459
460 typedef struct tagLICINFO *LPLICINFO;
461
462 EXTERN_C const IID IID_IClassFactory2;
463 #if defined(__cplusplus) && !defined(CINTERFACE)
464 struct IClassFactory2 : public IClassFactory {
465 public:
466 virtual HRESULT WINAPI GetLicInfo(LICINFO *pLicInfo) = 0;
467 virtual HRESULT WINAPI RequestLicKey(DWORD dwReserved,BSTR *pBstrKey) = 0;
468 virtual HRESULT WINAPI CreateInstanceLic(IUnknown *pUnkOuter,IUnknown *pUnkReserved,REFIID riid,BSTR bstrKey,PVOID *ppvObj) = 0;
469 };
470 #else
471 typedef struct IClassFactory2Vtbl {
472 BEGIN_INTERFACE
473 HRESULT (WINAPI *QueryInterface)(IClassFactory2 *This,REFIID riid,void **ppvObject);
474 ULONG (WINAPI *AddRef)(IClassFactory2 *This);
475 ULONG (WINAPI *Release)(IClassFactory2 *This);
476 HRESULT (WINAPI *CreateInstance)(IClassFactory2 *This,IUnknown *pUnkOuter,REFIID riid,void **ppvObject);
477 HRESULT (WINAPI *LockServer)(IClassFactory2 *This,WINBOOL fLock);
478 HRESULT (WINAPI *GetLicInfo)(IClassFactory2 *This,LICINFO *pLicInfo);
479 HRESULT (WINAPI *RequestLicKey)(IClassFactory2 *This,DWORD dwReserved,BSTR *pBstrKey);
480 HRESULT (WINAPI *CreateInstanceLic)(IClassFactory2 *This,IUnknown *pUnkOuter,IUnknown *pUnkReserved,REFIID riid,BSTR bstrKey,PVOID *ppvObj);
481 END_INTERFACE
482 } IClassFactory2Vtbl;
483 struct IClassFactory2 {
484 CONST_VTBL struct IClassFactory2Vtbl *lpVtbl;
485 };
486 #ifdef COBJMACROS
487 #define IClassFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
488 #define IClassFactory2_AddRef(This) (This)->lpVtbl->AddRef(This)
489 #define IClassFactory2_Release(This) (This)->lpVtbl->Release(This)
490 #define IClassFactory2_CreateInstance(This,pUnkOuter,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject)
491 #define IClassFactory2_LockServer(This,fLock) (This)->lpVtbl->LockServer(This,fLock)
492 #define IClassFactory2_GetLicInfo(This,pLicInfo) (This)->lpVtbl->GetLicInfo(This,pLicInfo)
493 #define IClassFactory2_RequestLicKey(This,dwReserved,pBstrKey) (This)->lpVtbl->RequestLicKey(This,dwReserved,pBstrKey)
494 #define IClassFactory2_CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj) (This)->lpVtbl->CreateInstanceLic(This,pUnkOuter,pUnkReserved,riid,bstrKey,ppvObj)
495 #endif
496 #endif
497 HRESULT WINAPI IClassFactory2_GetLicInfo_Proxy(IClassFactory2 *This,LICINFO *pLicInfo);
498 void __RPC_STUB IClassFactory2_GetLicInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
499 HRESULT WINAPI IClassFactory2_RequestLicKey_Proxy(IClassFactory2 *This,DWORD dwReserved,BSTR *pBstrKey);
500 void __RPC_STUB IClassFactory2_RequestLicKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
501 HRESULT WINAPI IClassFactory2_RemoteCreateInstanceLic_Proxy(IClassFactory2 *This,REFIID riid,BSTR bstrKey,IUnknown **ppvObj);
502 void __RPC_STUB IClassFactory2_RemoteCreateInstanceLic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
503 #endif
504
505 #ifndef __IProvideClassInfo_INTERFACE_DEFINED__
506 #define __IProvideClassInfo_INTERFACE_DEFINED__
507 typedef IProvideClassInfo *LPPROVIDECLASSINFO;
508
509 EXTERN_C const IID IID_IProvideClassInfo;
510 #if defined(__cplusplus) && !defined(CINTERFACE)
511 struct IProvideClassInfo : public IUnknown {
512 public:
513 virtual HRESULT WINAPI GetClassInfo(ITypeInfo **ppTI) = 0;
514 };
515 #else
516 typedef struct IProvideClassInfoVtbl {
517 BEGIN_INTERFACE
518 HRESULT (WINAPI *QueryInterface)(IProvideClassInfo *This,REFIID riid,void **ppvObject);
519 ULONG (WINAPI *AddRef)(IProvideClassInfo *This);
520 ULONG (WINAPI *Release)(IProvideClassInfo *This);
521 HRESULT (WINAPI *GetClassInfo)(IProvideClassInfo *This,ITypeInfo **ppTI);
522 END_INTERFACE
523 } IProvideClassInfoVtbl;
524 struct IProvideClassInfo {
525 CONST_VTBL struct IProvideClassInfoVtbl *lpVtbl;
526 };
527 #ifdef COBJMACROS
528 #define IProvideClassInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
529 #define IProvideClassInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
530 #define IProvideClassInfo_Release(This) (This)->lpVtbl->Release(This)
531 #define IProvideClassInfo_GetClassInfo(This,ppTI) (This)->lpVtbl->GetClassInfo(This,ppTI)
532 #endif
533 #endif
534 HRESULT WINAPI IProvideClassInfo_GetClassInfo_Proxy(IProvideClassInfo *This,ITypeInfo **ppTI);
535 void __RPC_STUB IProvideClassInfo_GetClassInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
536 #endif
537
538 #ifndef __IProvideClassInfo2_INTERFACE_DEFINED__
539 #define __IProvideClassInfo2_INTERFACE_DEFINED__
540 typedef IProvideClassInfo2 *LPPROVIDECLASSINFO2;
541
542 typedef enum tagGUIDKIND {
543 GUIDKIND_DEFAULT_SOURCE_DISP_IID = 1
544 } GUIDKIND;
545
546 EXTERN_C const IID IID_IProvideClassInfo2;
547 #if defined(__cplusplus) && !defined(CINTERFACE)
548 struct IProvideClassInfo2 : public IProvideClassInfo {
549 public:
550 virtual HRESULT WINAPI GetGUID(DWORD dwGuidKind,GUID *pGUID) = 0;
551 };
552 #else
553 typedef struct IProvideClassInfo2Vtbl {
554 BEGIN_INTERFACE
555 HRESULT (WINAPI *QueryInterface)(IProvideClassInfo2 *This,REFIID riid,void **ppvObject);
556 ULONG (WINAPI *AddRef)(IProvideClassInfo2 *This);
557 ULONG (WINAPI *Release)(IProvideClassInfo2 *This);
558 HRESULT (WINAPI *GetClassInfo)(IProvideClassInfo2 *This,ITypeInfo **ppTI);
559 HRESULT (WINAPI *GetGUID)(IProvideClassInfo2 *This,DWORD dwGuidKind,GUID *pGUID);
560 END_INTERFACE
561 } IProvideClassInfo2Vtbl;
562 struct IProvideClassInfo2 {
563 CONST_VTBL struct IProvideClassInfo2Vtbl *lpVtbl;
564 };
565 #ifdef COBJMACROS
566 #define IProvideClassInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
567 #define IProvideClassInfo2_AddRef(This) (This)->lpVtbl->AddRef(This)
568 #define IProvideClassInfo2_Release(This) (This)->lpVtbl->Release(This)
569 #define IProvideClassInfo2_GetClassInfo(This,ppTI) (This)->lpVtbl->GetClassInfo(This,ppTI)
570 #define IProvideClassInfo2_GetGUID(This,dwGuidKind,pGUID) (This)->lpVtbl->GetGUID(This,dwGuidKind,pGUID)
571 #endif
572 #endif
573 HRESULT WINAPI IProvideClassInfo2_GetGUID_Proxy(IProvideClassInfo2 *This,DWORD dwGuidKind,GUID *pGUID);
574 void __RPC_STUB IProvideClassInfo2_GetGUID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
575 #endif
576
577 #ifndef __IProvideMultipleClassInfo_INTERFACE_DEFINED__
578 #define __IProvideMultipleClassInfo_INTERFACE_DEFINED__
579
580 #define MULTICLASSINFO_GETTYPEINFO 0x00000001
581 #define MULTICLASSINFO_GETNUMRESERVEDDISPIDS 0x00000002
582 #define MULTICLASSINFO_GETIIDPRIMARY 0x00000004
583 #define MULTICLASSINFO_GETIIDSOURCE 0x00000008
584 #define TIFLAGS_EXTENDDISPATCHONLY 0x00000001
585 typedef IProvideMultipleClassInfo *LPPROVIDEMULTIPLECLASSINFO;
586
587 EXTERN_C const IID IID_IProvideMultipleClassInfo;
588 #if defined(__cplusplus) && !defined(CINTERFACE)
589 struct IProvideMultipleClassInfo : public IProvideClassInfo2 {
590 public:
591 virtual HRESULT WINAPI GetMultiTypeInfoCount(ULONG *pcti) = 0;
592 virtual HRESULT WINAPI GetInfoOfIndex(ULONG iti,DWORD dwFlags,ITypeInfo **pptiCoClass,DWORD *pdwTIFlags,ULONG *pcdispidReserved,IID *piidPrimary,IID *piidSource) = 0;
593 };
594 #else
595 typedef struct IProvideMultipleClassInfoVtbl {
596 BEGIN_INTERFACE
597 HRESULT (WINAPI *QueryInterface)(IProvideMultipleClassInfo *This,REFIID riid,void **ppvObject);
598 ULONG (WINAPI *AddRef)(IProvideMultipleClassInfo *This);
599 ULONG (WINAPI *Release)(IProvideMultipleClassInfo *This);
600 HRESULT (WINAPI *GetClassInfo)(IProvideMultipleClassInfo *This,ITypeInfo **ppTI);
601 HRESULT (WINAPI *GetGUID)(IProvideMultipleClassInfo *This,DWORD dwGuidKind,GUID *pGUID);
602 HRESULT (WINAPI *GetMultiTypeInfoCount)(IProvideMultipleClassInfo *This,ULONG *pcti);
603 HRESULT (WINAPI *GetInfoOfIndex)(IProvideMultipleClassInfo *This,ULONG iti,DWORD dwFlags,ITypeInfo **pptiCoClass,DWORD *pdwTIFlags,ULONG *pcdispidReserved,IID *piidPrimary,IID *piidSource);
604 END_INTERFACE
605 } IProvideMultipleClassInfoVtbl;
606 struct IProvideMultipleClassInfo {
607 CONST_VTBL struct IProvideMultipleClassInfoVtbl *lpVtbl;
608 };
609 #ifdef COBJMACROS
610 #define IProvideMultipleClassInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
611 #define IProvideMultipleClassInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
612 #define IProvideMultipleClassInfo_Release(This) (This)->lpVtbl->Release(This)
613 #define IProvideMultipleClassInfo_GetClassInfo(This,ppTI) (This)->lpVtbl->GetClassInfo(This,ppTI)
614 #define IProvideMultipleClassInfo_GetGUID(This,dwGuidKind,pGUID) (This)->lpVtbl->GetGUID(This,dwGuidKind,pGUID)
615 #define IProvideMultipleClassInfo_GetMultiTypeInfoCount(This,pcti) (This)->lpVtbl->GetMultiTypeInfoCount(This,pcti)
616 #define IProvideMultipleClassInfo_GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource) (This)->lpVtbl->GetInfoOfIndex(This,iti,dwFlags,pptiCoClass,pdwTIFlags,pcdispidReserved,piidPrimary,piidSource)
617 #endif
618 #endif
619 HRESULT WINAPI IProvideMultipleClassInfo_GetMultiTypeInfoCount_Proxy(IProvideMultipleClassInfo *This,ULONG *pcti);
620 void __RPC_STUB IProvideMultipleClassInfo_GetMultiTypeInfoCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
621 HRESULT WINAPI IProvideMultipleClassInfo_GetInfoOfIndex_Proxy(IProvideMultipleClassInfo *This,ULONG iti,DWORD dwFlags,ITypeInfo **pptiCoClass,DWORD *pdwTIFlags,ULONG *pcdispidReserved,IID *piidPrimary,IID *piidSource);
622 void __RPC_STUB IProvideMultipleClassInfo_GetInfoOfIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
623 #endif
624
625 #ifndef __IOleControl_INTERFACE_DEFINED__
626 #define __IOleControl_INTERFACE_DEFINED__
627 typedef IOleControl *LPOLECONTROL;
628
629 typedef struct tagCONTROLINFO {
630 ULONG cb;
631 HACCEL hAccel;
632 USHORT cAccel;
633 DWORD dwFlags;
634 } CONTROLINFO;
635
636 typedef struct tagCONTROLINFO *LPCONTROLINFO;
637 typedef enum tagCTRLINFO {
638 CTRLINFO_EATS_RETURN = 1,CTRLINFO_EATS_ESCAPE = 2
639 } CTRLINFO;
640
641 EXTERN_C const IID IID_IOleControl;
642 #if defined(__cplusplus) && !defined(CINTERFACE)
643 struct IOleControl : public IUnknown {
644 public:
645 virtual HRESULT WINAPI GetControlInfo(CONTROLINFO *pCI) = 0;
646 virtual HRESULT WINAPI OnMnemonic(MSG *pMsg) = 0;
647 virtual HRESULT WINAPI OnAmbientPropertyChange(DISPID dispID) = 0;
648 virtual HRESULT WINAPI FreezeEvents(WINBOOL bFreeze) = 0;
649 };
650 #else
651 typedef struct IOleControlVtbl {
652 BEGIN_INTERFACE
653 HRESULT (WINAPI *QueryInterface)(IOleControl *This,REFIID riid,void **ppvObject);
654 ULONG (WINAPI *AddRef)(IOleControl *This);
655 ULONG (WINAPI *Release)(IOleControl *This);
656 HRESULT (WINAPI *GetControlInfo)(IOleControl *This,CONTROLINFO *pCI);
657 HRESULT (WINAPI *OnMnemonic)(IOleControl *This,MSG *pMsg);
658 HRESULT (WINAPI *OnAmbientPropertyChange)(IOleControl *This,DISPID dispID);
659 HRESULT (WINAPI *FreezeEvents)(IOleControl *This,WINBOOL bFreeze);
660 END_INTERFACE
661 } IOleControlVtbl;
662 struct IOleControl {
663 CONST_VTBL struct IOleControlVtbl *lpVtbl;
664 };
665 #ifdef COBJMACROS
666 #define IOleControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
667 #define IOleControl_AddRef(This) (This)->lpVtbl->AddRef(This)
668 #define IOleControl_Release(This) (This)->lpVtbl->Release(This)
669 #define IOleControl_GetControlInfo(This,pCI) (This)->lpVtbl->GetControlInfo(This,pCI)
670 #define IOleControl_OnMnemonic(This,pMsg) (This)->lpVtbl->OnMnemonic(This,pMsg)
671 #define IOleControl_OnAmbientPropertyChange(This,dispID) (This)->lpVtbl->OnAmbientPropertyChange(This,dispID)
672 #define IOleControl_FreezeEvents(This,bFreeze) (This)->lpVtbl->FreezeEvents(This,bFreeze)
673 #endif
674 #endif
675 HRESULT WINAPI IOleControl_GetControlInfo_Proxy(IOleControl *This,CONTROLINFO *pCI);
676 void __RPC_STUB IOleControl_GetControlInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
677 HRESULT WINAPI IOleControl_OnMnemonic_Proxy(IOleControl *This,MSG *pMsg);
678 void __RPC_STUB IOleControl_OnMnemonic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
679 HRESULT WINAPI IOleControl_OnAmbientPropertyChange_Proxy(IOleControl *This,DISPID dispID);
680 void __RPC_STUB IOleControl_OnAmbientPropertyChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
681 HRESULT WINAPI IOleControl_FreezeEvents_Proxy(IOleControl *This,WINBOOL bFreeze);
682 void __RPC_STUB IOleControl_FreezeEvents_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
683 #endif
684
685 #ifndef __IOleControlSite_INTERFACE_DEFINED__
686 #define __IOleControlSite_INTERFACE_DEFINED__
687 typedef IOleControlSite *LPOLECONTROLSITE;
688
689 typedef struct tagPOINTF {
690 FLOAT x;
691 FLOAT y;
692 } POINTF;
693
694 typedef struct tagPOINTF *LPPOINTF;
695
696 typedef enum tagXFORMCOORDS {
697 XFORMCOORDS_POSITION = 0x1,XFORMCOORDS_SIZE = 0x2,XFORMCOORDS_HIMETRICTOCONTAINER = 0x4,XFORMCOORDS_CONTAINERTOHIMETRIC = 0x8,
698 XFORMCOORDS_EVENTCOMPAT = 0x10
699 } XFORMCOORDS;
700
701 EXTERN_C const IID IID_IOleControlSite;
702 #if defined(__cplusplus) && !defined(CINTERFACE)
703 struct IOleControlSite : public IUnknown {
704 public:
705 virtual HRESULT WINAPI OnControlInfoChanged(void) = 0;
706 virtual HRESULT WINAPI LockInPlaceActive(WINBOOL fLock) = 0;
707 virtual HRESULT WINAPI GetExtendedControl(IDispatch **ppDisp) = 0;
708 virtual HRESULT WINAPI TransformCoords(POINTL *pPtlHimetric,POINTF *pPtfContainer,DWORD dwFlags) = 0;
709 virtual HRESULT WINAPI TranslateAccelerator(MSG *pMsg,DWORD grfModifiers) = 0;
710 virtual HRESULT WINAPI OnFocus(WINBOOL fGotFocus) = 0;
711 virtual HRESULT WINAPI ShowPropertyFrame(void) = 0;
712 };
713 #else
714 typedef struct IOleControlSiteVtbl {
715 BEGIN_INTERFACE
716 HRESULT (WINAPI *QueryInterface)(IOleControlSite *This,REFIID riid,void **ppvObject);
717 ULONG (WINAPI *AddRef)(IOleControlSite *This);
718 ULONG (WINAPI *Release)(IOleControlSite *This);
719 HRESULT (WINAPI *OnControlInfoChanged)(IOleControlSite *This);
720 HRESULT (WINAPI *LockInPlaceActive)(IOleControlSite *This,WINBOOL fLock);
721 HRESULT (WINAPI *GetExtendedControl)(IOleControlSite *This,IDispatch **ppDisp);
722 HRESULT (WINAPI *TransformCoords)(IOleControlSite *This,POINTL *pPtlHimetric,POINTF *pPtfContainer,DWORD dwFlags);
723 HRESULT (WINAPI *TranslateAccelerator)(IOleControlSite *This,MSG *pMsg,DWORD grfModifiers);
724 HRESULT (WINAPI *OnFocus)(IOleControlSite *This,WINBOOL fGotFocus);
725 HRESULT (WINAPI *ShowPropertyFrame)(IOleControlSite *This);
726 END_INTERFACE
727 } IOleControlSiteVtbl;
728 struct IOleControlSite {
729 CONST_VTBL struct IOleControlSiteVtbl *lpVtbl;
730 };
731 #ifdef COBJMACROS
732 #define IOleControlSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
733 #define IOleControlSite_AddRef(This) (This)->lpVtbl->AddRef(This)
734 #define IOleControlSite_Release(This) (This)->lpVtbl->Release(This)
735 #define IOleControlSite_OnControlInfoChanged(This) (This)->lpVtbl->OnControlInfoChanged(This)
736 #define IOleControlSite_LockInPlaceActive(This,fLock) (This)->lpVtbl->LockInPlaceActive(This,fLock)
737 #define IOleControlSite_GetExtendedControl(This,ppDisp) (This)->lpVtbl->GetExtendedControl(This,ppDisp)
738 #define IOleControlSite_TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags) (This)->lpVtbl->TransformCoords(This,pPtlHimetric,pPtfContainer,dwFlags)
739 #define IOleControlSite_TranslateAccelerator(This,pMsg,grfModifiers) (This)->lpVtbl->TranslateAccelerator(This,pMsg,grfModifiers)
740 #define IOleControlSite_OnFocus(This,fGotFocus) (This)->lpVtbl->OnFocus(This,fGotFocus)
741 #define IOleControlSite_ShowPropertyFrame(This) (This)->lpVtbl->ShowPropertyFrame(This)
742 #endif
743 #endif
744 HRESULT WINAPI IOleControlSite_OnControlInfoChanged_Proxy(IOleControlSite *This);
745 void __RPC_STUB IOleControlSite_OnControlInfoChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
746 HRESULT WINAPI IOleControlSite_LockInPlaceActive_Proxy(IOleControlSite *This,WINBOOL fLock);
747 void __RPC_STUB IOleControlSite_LockInPlaceActive_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
748 HRESULT WINAPI IOleControlSite_GetExtendedControl_Proxy(IOleControlSite *This,IDispatch **ppDisp);
749 void __RPC_STUB IOleControlSite_GetExtendedControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
750 HRESULT WINAPI IOleControlSite_TransformCoords_Proxy(IOleControlSite *This,POINTL *pPtlHimetric,POINTF *pPtfContainer,DWORD dwFlags);
751 void __RPC_STUB IOleControlSite_TransformCoords_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
752 HRESULT WINAPI IOleControlSite_TranslateAccelerator_Proxy(IOleControlSite *This,MSG *pMsg,DWORD grfModifiers);
753 void __RPC_STUB IOleControlSite_TranslateAccelerator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
754 HRESULT WINAPI IOleControlSite_OnFocus_Proxy(IOleControlSite *This,WINBOOL fGotFocus);
755 void __RPC_STUB IOleControlSite_OnFocus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
756 HRESULT WINAPI IOleControlSite_ShowPropertyFrame_Proxy(IOleControlSite *This);
757 void __RPC_STUB IOleControlSite_ShowPropertyFrame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
758 #endif
759
760 #ifndef __IPropertyPage_INTERFACE_DEFINED__
761 #define __IPropertyPage_INTERFACE_DEFINED__
762 typedef IPropertyPage *LPPROPERTYPAGE;
763
764 typedef struct tagPROPPAGEINFO {
765 ULONG cb;
766 LPOLESTR pszTitle;
767 SIZE size;
768 LPOLESTR pszDocString;
769 LPOLESTR pszHelpFile;
770 DWORD dwHelpContext;
771 } PROPPAGEINFO;
772
773 typedef struct tagPROPPAGEINFO *LPPROPPAGEINFO;
774
775 EXTERN_C const IID IID_IPropertyPage;
776 #if defined(__cplusplus) && !defined(CINTERFACE)
777 struct IPropertyPage : public IUnknown {
778 public:
779 virtual HRESULT WINAPI SetPageSite(IPropertyPageSite *pPageSite) = 0;
780 virtual HRESULT WINAPI Activate(HWND hWndParent,LPCRECT pRect,WINBOOL bModal) = 0;
781 virtual HRESULT WINAPI Deactivate(void) = 0;
782 virtual HRESULT WINAPI GetPageInfo(PROPPAGEINFO *pPageInfo) = 0;
783 virtual HRESULT WINAPI SetObjects(ULONG cObjects,IUnknown **ppUnk) = 0;
784 virtual HRESULT WINAPI Show(UINT nCmdShow) = 0;
785 virtual HRESULT WINAPI Move(LPCRECT pRect) = 0;
786 virtual HRESULT WINAPI IsPageDirty(void) = 0;
787 virtual HRESULT WINAPI Apply(void) = 0;
788 virtual HRESULT WINAPI Help(LPCOLESTR pszHelpDir) = 0;
789 virtual HRESULT WINAPI TranslateAccelerator(MSG *pMsg) = 0;
790 };
791 #else
792 typedef struct IPropertyPageVtbl {
793 BEGIN_INTERFACE
794 HRESULT (WINAPI *QueryInterface)(IPropertyPage *This,REFIID riid,void **ppvObject);
795 ULONG (WINAPI *AddRef)(IPropertyPage *This);
796 ULONG (WINAPI *Release)(IPropertyPage *This);
797 HRESULT (WINAPI *SetPageSite)(IPropertyPage *This,IPropertyPageSite *pPageSite);
798 HRESULT (WINAPI *Activate)(IPropertyPage *This,HWND hWndParent,LPCRECT pRect,WINBOOL bModal);
799 HRESULT (WINAPI *Deactivate)(IPropertyPage *This);
800 HRESULT (WINAPI *GetPageInfo)(IPropertyPage *This,PROPPAGEINFO *pPageInfo);
801 HRESULT (WINAPI *SetObjects)(IPropertyPage *This,ULONG cObjects,IUnknown **ppUnk);
802 HRESULT (WINAPI *Show)(IPropertyPage *This,UINT nCmdShow);
803 HRESULT (WINAPI *Move)(IPropertyPage *This,LPCRECT pRect);
804 HRESULT (WINAPI *IsPageDirty)(IPropertyPage *This);
805 HRESULT (WINAPI *Apply)(IPropertyPage *This);
806 HRESULT (WINAPI *Help)(IPropertyPage *This,LPCOLESTR pszHelpDir);
807 HRESULT (WINAPI *TranslateAccelerator)(IPropertyPage *This,MSG *pMsg);
808 END_INTERFACE
809 } IPropertyPageVtbl;
810 struct IPropertyPage {
811 CONST_VTBL struct IPropertyPageVtbl *lpVtbl;
812 };
813 #ifdef COBJMACROS
814 #define IPropertyPage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
815 #define IPropertyPage_AddRef(This) (This)->lpVtbl->AddRef(This)
816 #define IPropertyPage_Release(This) (This)->lpVtbl->Release(This)
817 #define IPropertyPage_SetPageSite(This,pPageSite) (This)->lpVtbl->SetPageSite(This,pPageSite)
818 #define IPropertyPage_Activate(This,hWndParent,pRect,bModal) (This)->lpVtbl->Activate(This,hWndParent,pRect,bModal)
819 #define IPropertyPage_Deactivate(This) (This)->lpVtbl->Deactivate(This)
820 #define IPropertyPage_GetPageInfo(This,pPageInfo) (This)->lpVtbl->GetPageInfo(This,pPageInfo)
821 #define IPropertyPage_SetObjects(This,cObjects,ppUnk) (This)->lpVtbl->SetObjects(This,cObjects,ppUnk)
822 #define IPropertyPage_Show(This,nCmdShow) (This)->lpVtbl->Show(This,nCmdShow)
823 #define IPropertyPage_Move(This,pRect) (This)->lpVtbl->Move(This,pRect)
824 #define IPropertyPage_IsPageDirty(This) (This)->lpVtbl->IsPageDirty(This)
825 #define IPropertyPage_Apply(This) (This)->lpVtbl->Apply(This)
826 #define IPropertyPage_Help(This,pszHelpDir) (This)->lpVtbl->Help(This,pszHelpDir)
827 #define IPropertyPage_TranslateAccelerator(This,pMsg) (This)->lpVtbl->TranslateAccelerator(This,pMsg)
828 #endif
829 #endif
830 HRESULT WINAPI IPropertyPage_SetPageSite_Proxy(IPropertyPage *This,IPropertyPageSite *pPageSite);
831 void __RPC_STUB IPropertyPage_SetPageSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
832 HRESULT WINAPI IPropertyPage_Activate_Proxy(IPropertyPage *This,HWND hWndParent,LPCRECT pRect,WINBOOL bModal);
833 void __RPC_STUB IPropertyPage_Activate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
834 HRESULT WINAPI IPropertyPage_Deactivate_Proxy(IPropertyPage *This);
835 void __RPC_STUB IPropertyPage_Deactivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
836 HRESULT WINAPI IPropertyPage_GetPageInfo_Proxy(IPropertyPage *This,PROPPAGEINFO *pPageInfo);
837 void __RPC_STUB IPropertyPage_GetPageInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
838 HRESULT WINAPI IPropertyPage_SetObjects_Proxy(IPropertyPage *This,ULONG cObjects,IUnknown **ppUnk);
839 void __RPC_STUB IPropertyPage_SetObjects_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
840 HRESULT WINAPI IPropertyPage_Show_Proxy(IPropertyPage *This,UINT nCmdShow);
841 void __RPC_STUB IPropertyPage_Show_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
842 HRESULT WINAPI IPropertyPage_Move_Proxy(IPropertyPage *This,LPCRECT pRect);
843 void __RPC_STUB IPropertyPage_Move_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
844 HRESULT WINAPI IPropertyPage_IsPageDirty_Proxy(IPropertyPage *This);
845 void __RPC_STUB IPropertyPage_IsPageDirty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
846 HRESULT WINAPI IPropertyPage_Apply_Proxy(IPropertyPage *This);
847 void __RPC_STUB IPropertyPage_Apply_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
848 HRESULT WINAPI IPropertyPage_Help_Proxy(IPropertyPage *This,LPCOLESTR pszHelpDir);
849 void __RPC_STUB IPropertyPage_Help_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
850 HRESULT WINAPI IPropertyPage_TranslateAccelerator_Proxy(IPropertyPage *This,MSG *pMsg);
851 void __RPC_STUB IPropertyPage_TranslateAccelerator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
852 #endif
853
854 #ifndef __IPropertyPage2_INTERFACE_DEFINED__
855 #define __IPropertyPage2_INTERFACE_DEFINED__
856 typedef IPropertyPage2 *LPPROPERTYPAGE2;
857
858 EXTERN_C const IID IID_IPropertyPage2;
859 #if defined(__cplusplus) && !defined(CINTERFACE)
860 struct IPropertyPage2 : public IPropertyPage {
861 public:
862 virtual HRESULT WINAPI EditProperty(DISPID dispID) = 0;
863 };
864 #else
865 typedef struct IPropertyPage2Vtbl {
866 BEGIN_INTERFACE
867 HRESULT (WINAPI *QueryInterface)(IPropertyPage2 *This,REFIID riid,void **ppvObject);
868 ULONG (WINAPI *AddRef)(IPropertyPage2 *This);
869 ULONG (WINAPI *Release)(IPropertyPage2 *This);
870 HRESULT (WINAPI *SetPageSite)(IPropertyPage2 *This,IPropertyPageSite *pPageSite);
871 HRESULT (WINAPI *Activate)(IPropertyPage2 *This,HWND hWndParent,LPCRECT pRect,WINBOOL bModal);
872 HRESULT (WINAPI *Deactivate)(IPropertyPage2 *This);
873 HRESULT (WINAPI *GetPageInfo)(IPropertyPage2 *This,PROPPAGEINFO *pPageInfo);
874 HRESULT (WINAPI *SetObjects)(IPropertyPage2 *This,ULONG cObjects,IUnknown **ppUnk);
875 HRESULT (WINAPI *Show)(IPropertyPage2 *This,UINT nCmdShow);
876 HRESULT (WINAPI *Move)(IPropertyPage2 *This,LPCRECT pRect);
877 HRESULT (WINAPI *IsPageDirty)(IPropertyPage2 *This);
878 HRESULT (WINAPI *Apply)(IPropertyPage2 *This);
879 HRESULT (WINAPI *Help)(IPropertyPage2 *This,LPCOLESTR pszHelpDir);
880 HRESULT (WINAPI *TranslateAccelerator)(IPropertyPage2 *This,MSG *pMsg);
881 HRESULT (WINAPI *EditProperty)(IPropertyPage2 *This,DISPID dispID);
882 END_INTERFACE
883 } IPropertyPage2Vtbl;
884 struct IPropertyPage2 {
885 CONST_VTBL struct IPropertyPage2Vtbl *lpVtbl;
886 };
887 #ifdef COBJMACROS
888 #define IPropertyPage2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
889 #define IPropertyPage2_AddRef(This) (This)->lpVtbl->AddRef(This)
890 #define IPropertyPage2_Release(This) (This)->lpVtbl->Release(This)
891 #define IPropertyPage2_SetPageSite(This,pPageSite) (This)->lpVtbl->SetPageSite(This,pPageSite)
892 #define IPropertyPage2_Activate(This,hWndParent,pRect,bModal) (This)->lpVtbl->Activate(This,hWndParent,pRect,bModal)
893 #define IPropertyPage2_Deactivate(This) (This)->lpVtbl->Deactivate(This)
894 #define IPropertyPage2_GetPageInfo(This,pPageInfo) (This)->lpVtbl->GetPageInfo(This,pPageInfo)
895 #define IPropertyPage2_SetObjects(This,cObjects,ppUnk) (This)->lpVtbl->SetObjects(This,cObjects,ppUnk)
896 #define IPropertyPage2_Show(This,nCmdShow) (This)->lpVtbl->Show(This,nCmdShow)
897 #define IPropertyPage2_Move(This,pRect) (This)->lpVtbl->Move(This,pRect)
898 #define IPropertyPage2_IsPageDirty(This) (This)->lpVtbl->IsPageDirty(This)
899 #define IPropertyPage2_Apply(This) (This)->lpVtbl->Apply(This)
900 #define IPropertyPage2_Help(This,pszHelpDir) (This)->lpVtbl->Help(This,pszHelpDir)
901 #define IPropertyPage2_TranslateAccelerator(This,pMsg) (This)->lpVtbl->TranslateAccelerator(This,pMsg)
902 #define IPropertyPage2_EditProperty(This,dispID) (This)->lpVtbl->EditProperty(This,dispID)
903 #endif
904 #endif
905 HRESULT WINAPI IPropertyPage2_EditProperty_Proxy(IPropertyPage2 *This,DISPID dispID);
906 void __RPC_STUB IPropertyPage2_EditProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
907 #endif
908
909 #ifndef __IPropertyPageSite_INTERFACE_DEFINED__
910 #define __IPropertyPageSite_INTERFACE_DEFINED__
911 typedef IPropertyPageSite *LPPROPERTYPAGESITE;
912
913 typedef enum tagPROPPAGESTATUS {
914 PROPPAGESTATUS_DIRTY = 0x1,PROPPAGESTATUS_VALIDATE = 0x2,PROPPAGESTATUS_CLEAN = 0x4
915 } PROPPAGESTATUS;
916
917 EXTERN_C const IID IID_IPropertyPageSite;
918 #if defined(__cplusplus) && !defined(CINTERFACE)
919 struct IPropertyPageSite : public IUnknown {
920 public:
921 virtual HRESULT WINAPI OnStatusChange(DWORD dwFlags) = 0;
922 virtual HRESULT WINAPI GetLocaleID(LCID *pLocaleID) = 0;
923 virtual HRESULT WINAPI GetPageContainer(IUnknown **ppUnk) = 0;
924 virtual HRESULT WINAPI TranslateAccelerator(MSG *pMsg) = 0;
925 };
926 #else
927 typedef struct IPropertyPageSiteVtbl {
928 BEGIN_INTERFACE
929 HRESULT (WINAPI *QueryInterface)(IPropertyPageSite *This,REFIID riid,void **ppvObject);
930 ULONG (WINAPI *AddRef)(IPropertyPageSite *This);
931 ULONG (WINAPI *Release)(IPropertyPageSite *This);
932 HRESULT (WINAPI *OnStatusChange)(IPropertyPageSite *This,DWORD dwFlags);
933 HRESULT (WINAPI *GetLocaleID)(IPropertyPageSite *This,LCID *pLocaleID);
934 HRESULT (WINAPI *GetPageContainer)(IPropertyPageSite *This,IUnknown **ppUnk);
935 HRESULT (WINAPI *TranslateAccelerator)(IPropertyPageSite *This,MSG *pMsg);
936 END_INTERFACE
937 } IPropertyPageSiteVtbl;
938 struct IPropertyPageSite {
939 CONST_VTBL struct IPropertyPageSiteVtbl *lpVtbl;
940 };
941 #ifdef COBJMACROS
942 #define IPropertyPageSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
943 #define IPropertyPageSite_AddRef(This) (This)->lpVtbl->AddRef(This)
944 #define IPropertyPageSite_Release(This) (This)->lpVtbl->Release(This)
945 #define IPropertyPageSite_OnStatusChange(This,dwFlags) (This)->lpVtbl->OnStatusChange(This,dwFlags)
946 #define IPropertyPageSite_GetLocaleID(This,pLocaleID) (This)->lpVtbl->GetLocaleID(This,pLocaleID)
947 #define IPropertyPageSite_GetPageContainer(This,ppUnk) (This)->lpVtbl->GetPageContainer(This,ppUnk)
948 #define IPropertyPageSite_TranslateAccelerator(This,pMsg) (This)->lpVtbl->TranslateAccelerator(This,pMsg)
949 #endif
950 #endif
951 HRESULT WINAPI IPropertyPageSite_OnStatusChange_Proxy(IPropertyPageSite *This,DWORD dwFlags);
952 void __RPC_STUB IPropertyPageSite_OnStatusChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
953 HRESULT WINAPI IPropertyPageSite_GetLocaleID_Proxy(IPropertyPageSite *This,LCID *pLocaleID);
954 void __RPC_STUB IPropertyPageSite_GetLocaleID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
955 HRESULT WINAPI IPropertyPageSite_GetPageContainer_Proxy(IPropertyPageSite *This,IUnknown **ppUnk);
956 void __RPC_STUB IPropertyPageSite_GetPageContainer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
957 HRESULT WINAPI IPropertyPageSite_TranslateAccelerator_Proxy(IPropertyPageSite *This,MSG *pMsg);
958 void __RPC_STUB IPropertyPageSite_TranslateAccelerator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
959 #endif
960
961 #ifndef __IPropertyNotifySink_INTERFACE_DEFINED__
962 #define __IPropertyNotifySink_INTERFACE_DEFINED__
963 typedef IPropertyNotifySink *LPPROPERTYNOTIFYSINK;
964
965 EXTERN_C const IID IID_IPropertyNotifySink;
966 #if defined(__cplusplus) && !defined(CINTERFACE)
967 struct IPropertyNotifySink : public IUnknown {
968 public:
969 virtual HRESULT WINAPI OnChanged(DISPID dispID) = 0;
970 virtual HRESULT WINAPI OnRequestEdit(DISPID dispID) = 0;
971 };
972 #else
973 typedef struct IPropertyNotifySinkVtbl {
974 BEGIN_INTERFACE
975 HRESULT (WINAPI *QueryInterface)(IPropertyNotifySink *This,REFIID riid,void **ppvObject);
976 ULONG (WINAPI *AddRef)(IPropertyNotifySink *This);
977 ULONG (WINAPI *Release)(IPropertyNotifySink *This);
978 HRESULT (WINAPI *OnChanged)(IPropertyNotifySink *This,DISPID dispID);
979 HRESULT (WINAPI *OnRequestEdit)(IPropertyNotifySink *This,DISPID dispID);
980 END_INTERFACE
981 } IPropertyNotifySinkVtbl;
982 struct IPropertyNotifySink {
983 CONST_VTBL struct IPropertyNotifySinkVtbl *lpVtbl;
984 };
985 #ifdef COBJMACROS
986 #define IPropertyNotifySink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
987 #define IPropertyNotifySink_AddRef(This) (This)->lpVtbl->AddRef(This)
988 #define IPropertyNotifySink_Release(This) (This)->lpVtbl->Release(This)
989 #define IPropertyNotifySink_OnChanged(This,dispID) (This)->lpVtbl->OnChanged(This,dispID)
990 #define IPropertyNotifySink_OnRequestEdit(This,dispID) (This)->lpVtbl->OnRequestEdit(This,dispID)
991 #endif
992 #endif
993 HRESULT WINAPI IPropertyNotifySink_OnChanged_Proxy(IPropertyNotifySink *This,DISPID dispID);
994 void __RPC_STUB IPropertyNotifySink_OnChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
995 HRESULT WINAPI IPropertyNotifySink_OnRequestEdit_Proxy(IPropertyNotifySink *This,DISPID dispID);
996 void __RPC_STUB IPropertyNotifySink_OnRequestEdit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
997 #endif
998
999 #ifndef __ISpecifyPropertyPages_INTERFACE_DEFINED__
1000 #define __ISpecifyPropertyPages_INTERFACE_DEFINED__
1001 typedef ISpecifyPropertyPages *LPSPECIFYPROPERTYPAGES;
1002
1003 typedef struct tagCAUUID {
1004 ULONG cElems;
1005 GUID *pElems;
1006 } CAUUID;
1007
1008 typedef struct tagCAUUID *LPCAUUID;
1009
1010 EXTERN_C const IID IID_ISpecifyPropertyPages;
1011 #if defined(__cplusplus) && !defined(CINTERFACE)
1012 struct ISpecifyPropertyPages : public IUnknown {
1013 public:
1014 virtual HRESULT WINAPI GetPages(CAUUID *pPages) = 0;
1015 };
1016 #else
1017 typedef struct ISpecifyPropertyPagesVtbl {
1018 BEGIN_INTERFACE
1019 HRESULT (WINAPI *QueryInterface)(ISpecifyPropertyPages *This,REFIID riid,void **ppvObject);
1020 ULONG (WINAPI *AddRef)(ISpecifyPropertyPages *This);
1021 ULONG (WINAPI *Release)(ISpecifyPropertyPages *This);
1022 HRESULT (WINAPI *GetPages)(ISpecifyPropertyPages *This,CAUUID *pPages);
1023 END_INTERFACE
1024 } ISpecifyPropertyPagesVtbl;
1025 struct ISpecifyPropertyPages {
1026 CONST_VTBL struct ISpecifyPropertyPagesVtbl *lpVtbl;
1027 };
1028 #ifdef COBJMACROS
1029 #define ISpecifyPropertyPages_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1030 #define ISpecifyPropertyPages_AddRef(This) (This)->lpVtbl->AddRef(This)
1031 #define ISpecifyPropertyPages_Release(This) (This)->lpVtbl->Release(This)
1032 #define ISpecifyPropertyPages_GetPages(This,pPages) (This)->lpVtbl->GetPages(This,pPages)
1033 #endif
1034 #endif
1035 HRESULT WINAPI ISpecifyPropertyPages_GetPages_Proxy(ISpecifyPropertyPages *This,CAUUID *pPages);
1036 void __RPC_STUB ISpecifyPropertyPages_GetPages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1037 #endif
1038
1039 #ifndef __IPersistMemory_INTERFACE_DEFINED__
1040 #define __IPersistMemory_INTERFACE_DEFINED__
1041 typedef IPersistMemory *LPPERSISTMEMORY;
1042
1043 EXTERN_C const IID IID_IPersistMemory;
1044 #if defined(__cplusplus) && !defined(CINTERFACE)
1045 struct IPersistMemory : public IPersist {
1046 public:
1047 virtual HRESULT WINAPI IsDirty(void) = 0;
1048 virtual HRESULT WINAPI Load(LPVOID pMem,ULONG cbSize) = 0;
1049 virtual HRESULT WINAPI Save(LPVOID pMem,WINBOOL fClearDirty,ULONG cbSize) = 0;
1050 virtual HRESULT WINAPI GetSizeMax(ULONG *pCbSize) = 0;
1051 virtual HRESULT WINAPI InitNew(void) = 0;
1052 };
1053 #else
1054 typedef struct IPersistMemoryVtbl {
1055 BEGIN_INTERFACE
1056 HRESULT (WINAPI *QueryInterface)(IPersistMemory *This,REFIID riid,void **ppvObject);
1057 ULONG (WINAPI *AddRef)(IPersistMemory *This);
1058 ULONG (WINAPI *Release)(IPersistMemory *This);
1059 HRESULT (WINAPI *GetClassID)(IPersistMemory *This,CLSID *pClassID);
1060 HRESULT (WINAPI *IsDirty)(IPersistMemory *This);
1061 HRESULT (WINAPI *Load)(IPersistMemory *This,LPVOID pMem,ULONG cbSize);
1062 HRESULT (WINAPI *Save)(IPersistMemory *This,LPVOID pMem,WINBOOL fClearDirty,ULONG cbSize);
1063 HRESULT (WINAPI *GetSizeMax)(IPersistMemory *This,ULONG *pCbSize);
1064 HRESULT (WINAPI *InitNew)(IPersistMemory *This);
1065 END_INTERFACE
1066 } IPersistMemoryVtbl;
1067 struct IPersistMemory {
1068 CONST_VTBL struct IPersistMemoryVtbl *lpVtbl;
1069 };
1070 #ifdef COBJMACROS
1071 #define IPersistMemory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1072 #define IPersistMemory_AddRef(This) (This)->lpVtbl->AddRef(This)
1073 #define IPersistMemory_Release(This) (This)->lpVtbl->Release(This)
1074 #define IPersistMemory_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
1075 #define IPersistMemory_IsDirty(This) (This)->lpVtbl->IsDirty(This)
1076 #define IPersistMemory_Load(This,pMem,cbSize) (This)->lpVtbl->Load(This,pMem,cbSize)
1077 #define IPersistMemory_Save(This,pMem,fClearDirty,cbSize) (This)->lpVtbl->Save(This,pMem,fClearDirty,cbSize)
1078 #define IPersistMemory_GetSizeMax(This,pCbSize) (This)->lpVtbl->GetSizeMax(This,pCbSize)
1079 #define IPersistMemory_InitNew(This) (This)->lpVtbl->InitNew(This)
1080 #endif
1081 #endif
1082 HRESULT WINAPI IPersistMemory_IsDirty_Proxy(IPersistMemory *This);
1083 void __RPC_STUB IPersistMemory_IsDirty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1084 HRESULT WINAPI IPersistMemory_RemoteLoad_Proxy(IPersistMemory *This,BYTE *pMem,ULONG cbSize);
1085 void __RPC_STUB IPersistMemory_RemoteLoad_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1086 HRESULT WINAPI IPersistMemory_RemoteSave_Proxy(IPersistMemory *This,BYTE *pMem,WINBOOL fClearDirty,ULONG cbSize);
1087 void __RPC_STUB IPersistMemory_RemoteSave_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1088 HRESULT WINAPI IPersistMemory_GetSizeMax_Proxy(IPersistMemory *This,ULONG *pCbSize);
1089 void __RPC_STUB IPersistMemory_GetSizeMax_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1090 HRESULT WINAPI IPersistMemory_InitNew_Proxy(IPersistMemory *This);
1091 void __RPC_STUB IPersistMemory_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1092 #endif
1093
1094 #ifndef __IPersistStreamInit_INTERFACE_DEFINED__
1095 #define __IPersistStreamInit_INTERFACE_DEFINED__
1096 typedef IPersistStreamInit *LPPERSISTSTREAMINIT;
1097
1098 EXTERN_C const IID IID_IPersistStreamInit;
1099 #if defined(__cplusplus) && !defined(CINTERFACE)
1100 struct IPersistStreamInit : public IPersist {
1101 public:
1102 virtual HRESULT WINAPI IsDirty(void) = 0;
1103 virtual HRESULT WINAPI Load(LPSTREAM pStm) = 0;
1104 virtual HRESULT WINAPI Save(LPSTREAM pStm,WINBOOL fClearDirty) = 0;
1105 virtual HRESULT WINAPI GetSizeMax(ULARGE_INTEGER *pCbSize) = 0;
1106 virtual HRESULT WINAPI InitNew(void) = 0;
1107 };
1108 #else
1109 typedef struct IPersistStreamInitVtbl {
1110 BEGIN_INTERFACE
1111 HRESULT (WINAPI *QueryInterface)(IPersistStreamInit *This,REFIID riid,void **ppvObject);
1112 ULONG (WINAPI *AddRef)(IPersistStreamInit *This);
1113 ULONG (WINAPI *Release)(IPersistStreamInit *This);
1114 HRESULT (WINAPI *GetClassID)(IPersistStreamInit *This,CLSID *pClassID);
1115 HRESULT (WINAPI *IsDirty)(IPersistStreamInit *This);
1116 HRESULT (WINAPI *Load)(IPersistStreamInit *This,LPSTREAM pStm);
1117 HRESULT (WINAPI *Save)(IPersistStreamInit *This,LPSTREAM pStm,WINBOOL fClearDirty);
1118 HRESULT (WINAPI *GetSizeMax)(IPersistStreamInit *This,ULARGE_INTEGER *pCbSize);
1119 HRESULT (WINAPI *InitNew)(IPersistStreamInit *This);
1120 END_INTERFACE
1121 } IPersistStreamInitVtbl;
1122 struct IPersistStreamInit {
1123 CONST_VTBL struct IPersistStreamInitVtbl *lpVtbl;
1124 };
1125 #ifdef COBJMACROS
1126 #define IPersistStreamInit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1127 #define IPersistStreamInit_AddRef(This) (This)->lpVtbl->AddRef(This)
1128 #define IPersistStreamInit_Release(This) (This)->lpVtbl->Release(This)
1129 #define IPersistStreamInit_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
1130 #define IPersistStreamInit_IsDirty(This) (This)->lpVtbl->IsDirty(This)
1131 #define IPersistStreamInit_Load(This,pStm) (This)->lpVtbl->Load(This,pStm)
1132 #define IPersistStreamInit_Save(This,pStm,fClearDirty) (This)->lpVtbl->Save(This,pStm,fClearDirty)
1133 #define IPersistStreamInit_GetSizeMax(This,pCbSize) (This)->lpVtbl->GetSizeMax(This,pCbSize)
1134 #define IPersistStreamInit_InitNew(This) (This)->lpVtbl->InitNew(This)
1135 #endif
1136 #endif
1137 HRESULT WINAPI IPersistStreamInit_IsDirty_Proxy(IPersistStreamInit *This);
1138 void __RPC_STUB IPersistStreamInit_IsDirty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1139 HRESULT WINAPI IPersistStreamInit_Load_Proxy(IPersistStreamInit *This,LPSTREAM pStm);
1140 void __RPC_STUB IPersistStreamInit_Load_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1141 HRESULT WINAPI IPersistStreamInit_Save_Proxy(IPersistStreamInit *This,LPSTREAM pStm,WINBOOL fClearDirty);
1142 void __RPC_STUB IPersistStreamInit_Save_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1143 HRESULT WINAPI IPersistStreamInit_GetSizeMax_Proxy(IPersistStreamInit *This,ULARGE_INTEGER *pCbSize);
1144 void __RPC_STUB IPersistStreamInit_GetSizeMax_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1145 HRESULT WINAPI IPersistStreamInit_InitNew_Proxy(IPersistStreamInit *This);
1146 void __RPC_STUB IPersistStreamInit_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1147 #endif
1148
1149 #ifndef __IPersistPropertyBag_INTERFACE_DEFINED__
1150 #define __IPersistPropertyBag_INTERFACE_DEFINED__
1151 typedef IPersistPropertyBag *LPPERSISTPROPERTYBAG;
1152
1153 EXTERN_C const IID IID_IPersistPropertyBag;
1154 #if defined(__cplusplus) && !defined(CINTERFACE)
1155 struct IPersistPropertyBag : public IPersist {
1156 public:
1157 virtual HRESULT WINAPI InitNew(void) = 0;
1158 virtual HRESULT WINAPI Load(IPropertyBag *pPropBag,IErrorLog *pErrorLog) = 0;
1159 virtual HRESULT WINAPI Save(IPropertyBag *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties) = 0;
1160 };
1161 #else
1162 typedef struct IPersistPropertyBagVtbl {
1163 BEGIN_INTERFACE
1164 HRESULT (WINAPI *QueryInterface)(IPersistPropertyBag *This,REFIID riid,void **ppvObject);
1165 ULONG (WINAPI *AddRef)(IPersistPropertyBag *This);
1166 ULONG (WINAPI *Release)(IPersistPropertyBag *This);
1167 HRESULT (WINAPI *GetClassID)(IPersistPropertyBag *This,CLSID *pClassID);
1168 HRESULT (WINAPI *InitNew)(IPersistPropertyBag *This);
1169 HRESULT (WINAPI *Load)(IPersistPropertyBag *This,IPropertyBag *pPropBag,IErrorLog *pErrorLog);
1170 HRESULT (WINAPI *Save)(IPersistPropertyBag *This,IPropertyBag *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties);
1171 END_INTERFACE
1172 } IPersistPropertyBagVtbl;
1173 struct IPersistPropertyBag {
1174 CONST_VTBL struct IPersistPropertyBagVtbl *lpVtbl;
1175 };
1176 #ifdef COBJMACROS
1177 #define IPersistPropertyBag_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1178 #define IPersistPropertyBag_AddRef(This) (This)->lpVtbl->AddRef(This)
1179 #define IPersistPropertyBag_Release(This) (This)->lpVtbl->Release(This)
1180 #define IPersistPropertyBag_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
1181 #define IPersistPropertyBag_InitNew(This) (This)->lpVtbl->InitNew(This)
1182 #define IPersistPropertyBag_Load(This,pPropBag,pErrorLog) (This)->lpVtbl->Load(This,pPropBag,pErrorLog)
1183 #define IPersistPropertyBag_Save(This,pPropBag,fClearDirty,fSaveAllProperties) (This)->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties)
1184 #endif
1185 #endif
1186 HRESULT WINAPI IPersistPropertyBag_InitNew_Proxy(IPersistPropertyBag *This);
1187 void __RPC_STUB IPersistPropertyBag_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1188 HRESULT WINAPI IPersistPropertyBag_Load_Proxy(IPersistPropertyBag *This,IPropertyBag *pPropBag,IErrorLog *pErrorLog);
1189 void __RPC_STUB IPersistPropertyBag_Load_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1190 HRESULT WINAPI IPersistPropertyBag_Save_Proxy(IPersistPropertyBag *This,IPropertyBag *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties);
1191 void __RPC_STUB IPersistPropertyBag_Save_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1192 #endif
1193
1194 #ifndef __ISimpleFrameSite_INTERFACE_DEFINED__
1195 #define __ISimpleFrameSite_INTERFACE_DEFINED__
1196 typedef ISimpleFrameSite *LPSIMPLEFRAMESITE;
1197
1198 EXTERN_C const IID IID_ISimpleFrameSite;
1199 #if defined(__cplusplus) && !defined(CINTERFACE)
1200 struct ISimpleFrameSite : public IUnknown {
1201 public:
1202 virtual HRESULT WINAPI PreMessageFilter(HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD *pdwCookie) = 0;
1203 virtual HRESULT WINAPI PostMessageFilter(HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD dwCookie) = 0;
1204 };
1205 #else
1206 typedef struct ISimpleFrameSiteVtbl {
1207 BEGIN_INTERFACE
1208 HRESULT (WINAPI *QueryInterface)(ISimpleFrameSite *This,REFIID riid,void **ppvObject);
1209 ULONG (WINAPI *AddRef)(ISimpleFrameSite *This);
1210 ULONG (WINAPI *Release)(ISimpleFrameSite *This);
1211 HRESULT (WINAPI *PreMessageFilter)(ISimpleFrameSite *This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD *pdwCookie);
1212 HRESULT (WINAPI *PostMessageFilter)(ISimpleFrameSite *This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD dwCookie);
1213 END_INTERFACE
1214 } ISimpleFrameSiteVtbl;
1215 struct ISimpleFrameSite {
1216 CONST_VTBL struct ISimpleFrameSiteVtbl *lpVtbl;
1217 };
1218 #ifdef COBJMACROS
1219 #define ISimpleFrameSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1220 #define ISimpleFrameSite_AddRef(This) (This)->lpVtbl->AddRef(This)
1221 #define ISimpleFrameSite_Release(This) (This)->lpVtbl->Release(This)
1222 #define ISimpleFrameSite_PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie) (This)->lpVtbl->PreMessageFilter(This,hWnd,msg,wp,lp,plResult,pdwCookie)
1223 #define ISimpleFrameSite_PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie) (This)->lpVtbl->PostMessageFilter(This,hWnd,msg,wp,lp,plResult,dwCookie)
1224 #endif
1225 #endif
1226 HRESULT WINAPI ISimpleFrameSite_PreMessageFilter_Proxy(ISimpleFrameSite *This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD *pdwCookie);
1227 void __RPC_STUB ISimpleFrameSite_PreMessageFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1228 HRESULT WINAPI ISimpleFrameSite_PostMessageFilter_Proxy(ISimpleFrameSite *This,HWND hWnd,UINT msg,WPARAM wp,LPARAM lp,LRESULT *plResult,DWORD dwCookie);
1229 void __RPC_STUB ISimpleFrameSite_PostMessageFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1230 #endif
1231
1232 #ifndef __IFont_INTERFACE_DEFINED__
1233 #define __IFont_INTERFACE_DEFINED__
1234 typedef IFont *LPFONT;
1235
1236 #ifndef OLE2ANSI
1237 typedef TEXTMETRICW TEXTMETRICOLE;
1238 #else
1239 typedef TEXTMETRIC TEXTMETRICOLE;
1240 #endif
1241 typedef TEXTMETRICOLE *LPTEXTMETRICOLE;
1242
1243 EXTERN_C const IID IID_IFont;
1244 #if defined(__cplusplus) && !defined(CINTERFACE)
1245 struct IFont : public IUnknown {
1246 public:
1247 virtual HRESULT WINAPI get_Name(BSTR *pName) = 0;
1248 virtual HRESULT WINAPI put_Name(BSTR name) = 0;
1249 virtual HRESULT WINAPI get_Size(CY *pSize) = 0;
1250 virtual HRESULT WINAPI put_Size(CY size) = 0;
1251 virtual HRESULT WINAPI get_Bold(WINBOOL *pBold) = 0;
1252 virtual HRESULT WINAPI put_Bold(WINBOOL bold) = 0;
1253 virtual HRESULT WINAPI get_Italic(WINBOOL *pItalic) = 0;
1254 virtual HRESULT WINAPI put_Italic(WINBOOL italic) = 0;
1255 virtual HRESULT WINAPI get_Underline(WINBOOL *pUnderline) = 0;
1256 virtual HRESULT WINAPI put_Underline(WINBOOL underline) = 0;
1257 virtual HRESULT WINAPI get_Strikethrough(WINBOOL *pStrikethrough) = 0;
1258 virtual HRESULT WINAPI put_Strikethrough(WINBOOL strikethrough) = 0;
1259 virtual HRESULT WINAPI get_Weight(SHORT *pWeight) = 0;
1260 virtual HRESULT WINAPI put_Weight(SHORT weight) = 0;
1261 virtual HRESULT WINAPI get_Charset(SHORT *pCharset) = 0;
1262 virtual HRESULT WINAPI put_Charset(SHORT charset) = 0;
1263 virtual HRESULT WINAPI get_hFont(HFONT *phFont) = 0;
1264 virtual HRESULT WINAPI Clone(IFont **ppFont) = 0;
1265 virtual HRESULT WINAPI IsEqual(IFont *pFontOther) = 0;
1266 virtual HRESULT WINAPI SetRatio(LONG cyLogical,LONG cyHimetric) = 0;
1267 virtual HRESULT WINAPI QueryTextMetrics(TEXTMETRICOLE *pTM) = 0;
1268 virtual HRESULT WINAPI AddRefHfont(HFONT hFont) = 0;
1269 virtual HRESULT WINAPI ReleaseHfont(HFONT hFont) = 0;
1270 virtual HRESULT WINAPI SetHdc(HDC hDC) = 0;
1271 };
1272 #else
1273 typedef struct IFontVtbl {
1274 BEGIN_INTERFACE
1275 HRESULT (WINAPI *QueryInterface)(IFont *This,REFIID riid,void **ppvObject);
1276 ULONG (WINAPI *AddRef)(IFont *This);
1277 ULONG (WINAPI *Release)(IFont *This);
1278 HRESULT (WINAPI *get_Name)(IFont *This,BSTR *pName);
1279 HRESULT (WINAPI *put_Name)(IFont *This,BSTR name);
1280 HRESULT (WINAPI *get_Size)(IFont *This,CY *pSize);
1281 HRESULT (WINAPI *put_Size)(IFont *This,CY size);
1282 HRESULT (WINAPI *get_Bold)(IFont *This,WINBOOL *pBold);
1283 HRESULT (WINAPI *put_Bold)(IFont *This,WINBOOL bold);
1284 HRESULT (WINAPI *get_Italic)(IFont *This,WINBOOL *pItalic);
1285 HRESULT (WINAPI *put_Italic)(IFont *This,WINBOOL italic);
1286 HRESULT (WINAPI *get_Underline)(IFont *This,WINBOOL *pUnderline);
1287 HRESULT (WINAPI *put_Underline)(IFont *This,WINBOOL underline);
1288 HRESULT (WINAPI *get_Strikethrough)(IFont *This,WINBOOL *pStrikethrough);
1289 HRESULT (WINAPI *put_Strikethrough)(IFont *This,WINBOOL strikethrough);
1290 HRESULT (WINAPI *get_Weight)(IFont *This,SHORT *pWeight);
1291 HRESULT (WINAPI *put_Weight)(IFont *This,SHORT weight);
1292 HRESULT (WINAPI *get_Charset)(IFont *This,SHORT *pCharset);
1293 HRESULT (WINAPI *put_Charset)(IFont *This,SHORT charset);
1294 HRESULT (WINAPI *get_hFont)(IFont *This,HFONT *phFont);
1295 HRESULT (WINAPI *Clone)(IFont *This,IFont **ppFont);
1296 HRESULT (WINAPI *IsEqual)(IFont *This,IFont *pFontOther);
1297 HRESULT (WINAPI *SetRatio)(IFont *This,LONG cyLogical,LONG cyHimetric);
1298 HRESULT (WINAPI *QueryTextMetrics)(IFont *This,TEXTMETRICOLE *pTM);
1299 HRESULT (WINAPI *AddRefHfont)(IFont *This,HFONT hFont);
1300 HRESULT (WINAPI *ReleaseHfont)(IFont *This,HFONT hFont);
1301 HRESULT (WINAPI *SetHdc)(IFont *This,HDC hDC);
1302 END_INTERFACE
1303 } IFontVtbl;
1304 struct IFont {
1305 CONST_VTBL struct IFontVtbl *lpVtbl;
1306 };
1307 #ifdef COBJMACROS
1308 #define IFont_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1309 #define IFont_AddRef(This) (This)->lpVtbl->AddRef(This)
1310 #define IFont_Release(This) (This)->lpVtbl->Release(This)
1311 #define IFont_get_Name(This,pName) (This)->lpVtbl->get_Name(This,pName)
1312 #define IFont_put_Name(This,name) (This)->lpVtbl->put_Name(This,name)
1313 #define IFont_get_Size(This,pSize) (This)->lpVtbl->get_Size(This,pSize)
1314 #define IFont_put_Size(This,size) (This)->lpVtbl->put_Size(This,size)
1315 #define IFont_get_Bold(This,pBold) (This)->lpVtbl->get_Bold(This,pBold)
1316 #define IFont_put_Bold(This,bold) (This)->lpVtbl->put_Bold(This,bold)
1317 #define IFont_get_Italic(This,pItalic) (This)->lpVtbl->get_Italic(This,pItalic)
1318 #define IFont_put_Italic(This,italic) (This)->lpVtbl->put_Italic(This,italic)
1319 #define IFont_get_Underline(This,pUnderline) (This)->lpVtbl->get_Underline(This,pUnderline)
1320 #define IFont_put_Underline(This,underline) (This)->lpVtbl->put_Underline(This,underline)
1321 #define IFont_get_Strikethrough(This,pStrikethrough) (This)->lpVtbl->get_Strikethrough(This,pStrikethrough)
1322 #define IFont_put_Strikethrough(This,strikethrough) (This)->lpVtbl->put_Strikethrough(This,strikethrough)
1323 #define IFont_get_Weight(This,pWeight) (This)->lpVtbl->get_Weight(This,pWeight)
1324 #define IFont_put_Weight(This,weight) (This)->lpVtbl->put_Weight(This,weight)
1325 #define IFont_get_Charset(This,pCharset) (This)->lpVtbl->get_Charset(This,pCharset)
1326 #define IFont_put_Charset(This,charset) (This)->lpVtbl->put_Charset(This,charset)
1327 #define IFont_get_hFont(This,phFont) (This)->lpVtbl->get_hFont(This,phFont)
1328 #define IFont_Clone(This,ppFont) (This)->lpVtbl->Clone(This,ppFont)
1329 #define IFont_IsEqual(This,pFontOther) (This)->lpVtbl->IsEqual(This,pFontOther)
1330 #define IFont_SetRatio(This,cyLogical,cyHimetric) (This)->lpVtbl->SetRatio(This,cyLogical,cyHimetric)
1331 #define IFont_QueryTextMetrics(This,pTM) (This)->lpVtbl->QueryTextMetrics(This,pTM)
1332 #define IFont_AddRefHfont(This,hFont) (This)->lpVtbl->AddRefHfont(This,hFont)
1333 #define IFont_ReleaseHfont(This,hFont) (This)->lpVtbl->ReleaseHfont(This,hFont)
1334 #define IFont_SetHdc(This,hDC) (This)->lpVtbl->SetHdc(This,hDC)
1335 #endif
1336 #endif
1337 HRESULT WINAPI IFont_get_Name_Proxy(IFont *This,BSTR *pName);
1338 void __RPC_STUB IFont_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1339 HRESULT WINAPI IFont_put_Name_Proxy(IFont *This,BSTR name);
1340 void __RPC_STUB IFont_put_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1341 HRESULT WINAPI IFont_get_Size_Proxy(IFont *This,CY *pSize);
1342 void __RPC_STUB IFont_get_Size_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1343 HRESULT WINAPI IFont_put_Size_Proxy(IFont *This,CY size);
1344 void __RPC_STUB IFont_put_Size_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1345 HRESULT WINAPI IFont_get_Bold_Proxy(IFont *This,WINBOOL *pBold);
1346 void __RPC_STUB IFont_get_Bold_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1347 HRESULT WINAPI IFont_put_Bold_Proxy(IFont *This,WINBOOL bold);
1348 void __RPC_STUB IFont_put_Bold_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1349 HRESULT WINAPI IFont_get_Italic_Proxy(IFont *This,WINBOOL *pItalic);
1350 void __RPC_STUB IFont_get_Italic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1351 HRESULT WINAPI IFont_put_Italic_Proxy(IFont *This,WINBOOL italic);
1352 void __RPC_STUB IFont_put_Italic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1353 HRESULT WINAPI IFont_get_Underline_Proxy(IFont *This,WINBOOL *pUnderline);
1354 void __RPC_STUB IFont_get_Underline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1355 HRESULT WINAPI IFont_put_Underline_Proxy(IFont *This,WINBOOL underline);
1356 void __RPC_STUB IFont_put_Underline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1357 HRESULT WINAPI IFont_get_Strikethrough_Proxy(IFont *This,WINBOOL *pStrikethrough);
1358 void __RPC_STUB IFont_get_Strikethrough_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1359 HRESULT WINAPI IFont_put_Strikethrough_Proxy(IFont *This,WINBOOL strikethrough);
1360 void __RPC_STUB IFont_put_Strikethrough_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1361 HRESULT WINAPI IFont_get_Weight_Proxy(IFont *This,SHORT *pWeight);
1362 void __RPC_STUB IFont_get_Weight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1363 HRESULT WINAPI IFont_put_Weight_Proxy(IFont *This,SHORT weight);
1364 void __RPC_STUB IFont_put_Weight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1365 HRESULT WINAPI IFont_get_Charset_Proxy(IFont *This,SHORT *pCharset);
1366 void __RPC_STUB IFont_get_Charset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1367 HRESULT WINAPI IFont_put_Charset_Proxy(IFont *This,SHORT charset);
1368 void __RPC_STUB IFont_put_Charset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1369 HRESULT WINAPI IFont_get_hFont_Proxy(IFont *This,HFONT *phFont);
1370 void __RPC_STUB IFont_get_hFont_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1371 HRESULT WINAPI IFont_Clone_Proxy(IFont *This,IFont **ppFont);
1372 void __RPC_STUB IFont_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1373 HRESULT WINAPI IFont_IsEqual_Proxy(IFont *This,IFont *pFontOther);
1374 void __RPC_STUB IFont_IsEqual_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1375 HRESULT WINAPI IFont_SetRatio_Proxy(IFont *This,LONG cyLogical,LONG cyHimetric);
1376 void __RPC_STUB IFont_SetRatio_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1377 HRESULT WINAPI IFont_QueryTextMetrics_Proxy(IFont *This,TEXTMETRICOLE *pTM);
1378 void __RPC_STUB IFont_QueryTextMetrics_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1379 HRESULT WINAPI IFont_AddRefHfont_Proxy(IFont *This,HFONT hFont);
1380 void __RPC_STUB IFont_AddRefHfont_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1381 HRESULT WINAPI IFont_ReleaseHfont_Proxy(IFont *This,HFONT hFont);
1382 void __RPC_STUB IFont_ReleaseHfont_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1383 HRESULT WINAPI IFont_SetHdc_Proxy(IFont *This,HDC hDC);
1384 void __RPC_STUB IFont_SetHdc_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1385 #endif
1386
1387 #ifndef __IPicture_INTERFACE_DEFINED__
1388 #define __IPicture_INTERFACE_DEFINED__
1389 typedef IPicture *LPPICTURE;
1390
1391 typedef enum tagPictureAttributes {
1392 PICTURE_SCALABLE = 0x1,PICTURE_TRANSPARENT = 0x2
1393 } PICTUREATTRIBUTES;
1394
1395 typedef UINT OLE_HANDLE;
1396 typedef LONG OLE_XPOS_HIMETRIC;
1397 typedef LONG OLE_YPOS_HIMETRIC;
1398 typedef LONG OLE_XSIZE_HIMETRIC;
1399 typedef LONG OLE_YSIZE_HIMETRIC;
1400
1401 EXTERN_C const IID IID_IPicture;
1402 #if defined(__cplusplus) && !defined(CINTERFACE)
1403 struct IPicture : public IUnknown {
1404 public:
1405 virtual HRESULT WINAPI get_Handle(OLE_HANDLE *pHandle) = 0;
1406 virtual HRESULT WINAPI get_hPal(OLE_HANDLE *phPal) = 0;
1407 virtual HRESULT WINAPI get_Type(SHORT *pType) = 0;
1408 virtual HRESULT WINAPI get_Width(OLE_XSIZE_HIMETRIC *pWidth) = 0;
1409 virtual HRESULT WINAPI get_Height(OLE_YSIZE_HIMETRIC *pHeight) = 0;
1410 virtual HRESULT WINAPI Render(HDC hDC,LONG x,LONG y,LONG cx,LONG cy,OLE_XPOS_HIMETRIC xSrc,OLE_YPOS_HIMETRIC ySrc,OLE_XSIZE_HIMETRIC cxSrc,OLE_YSIZE_HIMETRIC cySrc,LPCRECT pRcWBounds) = 0;
1411 virtual HRESULT WINAPI set_hPal(OLE_HANDLE hPal) = 0;
1412 virtual HRESULT WINAPI get_CurDC(HDC *phDC) = 0;
1413 virtual HRESULT WINAPI SelectPicture(HDC hDCIn,HDC *phDCOut,OLE_HANDLE *phBmpOut) = 0;
1414 virtual HRESULT WINAPI get_KeepOriginalFormat(WINBOOL *pKeep) = 0;
1415 virtual HRESULT WINAPI put_KeepOriginalFormat(WINBOOL keep) = 0;
1416 virtual HRESULT WINAPI PictureChanged(void) = 0;
1417 virtual HRESULT WINAPI SaveAsFile(LPSTREAM pStream,WINBOOL fSaveMemCopy,LONG *pCbSize) = 0;
1418 virtual HRESULT WINAPI get_Attributes(DWORD *pDwAttr) = 0;
1419 };
1420 #else
1421 typedef struct IPictureVtbl {
1422 BEGIN_INTERFACE
1423 HRESULT (WINAPI *QueryInterface)(IPicture *This,REFIID riid,void **ppvObject);
1424 ULONG (WINAPI *AddRef)(IPicture *This);
1425 ULONG (WINAPI *Release)(IPicture *This);
1426 HRESULT (WINAPI *get_Handle)(IPicture *This,OLE_HANDLE *pHandle);
1427 HRESULT (WINAPI *get_hPal)(IPicture *This,OLE_HANDLE *phPal);
1428 HRESULT (WINAPI *get_Type)(IPicture *This,SHORT *pType);
1429 HRESULT (WINAPI *get_Width)(IPicture *This,OLE_XSIZE_HIMETRIC *pWidth);
1430 HRESULT (WINAPI *get_Height)(IPicture *This,OLE_YSIZE_HIMETRIC *pHeight);
1431 HRESULT (WINAPI *Render)(IPicture *This,HDC hDC,LONG x,LONG y,LONG cx,LONG cy,OLE_XPOS_HIMETRIC xSrc,OLE_YPOS_HIMETRIC ySrc,OLE_XSIZE_HIMETRIC cxSrc,OLE_YSIZE_HIMETRIC cySrc,LPCRECT pRcWBounds);
1432 HRESULT (WINAPI *set_hPal)(IPicture *This,OLE_HANDLE hPal);
1433 HRESULT (WINAPI *get_CurDC)(IPicture *This,HDC *phDC);
1434 HRESULT (WINAPI *SelectPicture)(IPicture *This,HDC hDCIn,HDC *phDCOut,OLE_HANDLE *phBmpOut);
1435 HRESULT (WINAPI *get_KeepOriginalFormat)(IPicture *This,WINBOOL *pKeep);
1436 HRESULT (WINAPI *put_KeepOriginalFormat)(IPicture *This,WINBOOL keep);
1437 HRESULT (WINAPI *PictureChanged)(IPicture *This);
1438 HRESULT (WINAPI *SaveAsFile)(IPicture *This,LPSTREAM pStream,WINBOOL fSaveMemCopy,LONG *pCbSize);
1439 HRESULT (WINAPI *get_Attributes)(IPicture *This,DWORD *pDwAttr);
1440 END_INTERFACE
1441 } IPictureVtbl;
1442 struct IPicture {
1443 CONST_VTBL struct IPictureVtbl *lpVtbl;
1444 };
1445 #ifdef COBJMACROS
1446 #define IPicture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1447 #define IPicture_AddRef(This) (This)->lpVtbl->AddRef(This)
1448 #define IPicture_Release(This) (This)->lpVtbl->Release(This)
1449 #define IPicture_get_Handle(This,pHandle) (This)->lpVtbl->get_Handle(This,pHandle)
1450 #define IPicture_get_hPal(This,phPal) (This)->lpVtbl->get_hPal(This,phPal)
1451 #define IPicture_get_Type(This,pType) (This)->lpVtbl->get_Type(This,pType)
1452 #define IPicture_get_Width(This,pWidth) (This)->lpVtbl->get_Width(This,pWidth)
1453 #define IPicture_get_Height(This,pHeight) (This)->lpVtbl->get_Height(This,pHeight)
1454 #define IPicture_Render(This,hDC,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds) (This)->lpVtbl->Render(This,hDC,x,y,cx,cy,xSrc,ySrc,cxSrc,cySrc,pRcWBounds)
1455 #define IPicture_set_hPal(This,hPal) (This)->lpVtbl->set_hPal(This,hPal)
1456 #define IPicture_get_CurDC(This,phDC) (This)->lpVtbl->get_CurDC(This,phDC)
1457 #define IPicture_SelectPicture(This,hDCIn,phDCOut,phBmpOut) (This)->lpVtbl->SelectPicture(This,hDCIn,phDCOut,phBmpOut)
1458 #define IPicture_get_KeepOriginalFormat(This,pKeep) (This)->lpVtbl->get_KeepOriginalFormat(This,pKeep)
1459 #define IPicture_put_KeepOriginalFormat(This,keep) (This)->lpVtbl->put_KeepOriginalFormat(This,keep)
1460 #define IPicture_PictureChanged(This) (This)->lpVtbl->PictureChanged(This)
1461 #define IPicture_SaveAsFile(This,pStream,fSaveMemCopy,pCbSize) (This)->lpVtbl->SaveAsFile(This,pStream,fSaveMemCopy,pCbSize)
1462 #define IPicture_get_Attributes(This,pDwAttr) (This)->lpVtbl->get_Attributes(This,pDwAttr)
1463 #endif
1464 #endif
1465 HRESULT WINAPI IPicture_get_Handle_Proxy(IPicture *This,OLE_HANDLE *pHandle);
1466 void __RPC_STUB IPicture_get_Handle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1467 HRESULT WINAPI IPicture_get_hPal_Proxy(IPicture *This,OLE_HANDLE *phPal);
1468 void __RPC_STUB IPicture_get_hPal_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1469 HRESULT WINAPI IPicture_get_Type_Proxy(IPicture *This,SHORT *pType);
1470 void __RPC_STUB IPicture_get_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1471 HRESULT WINAPI IPicture_get_Width_Proxy(IPicture *This,OLE_XSIZE_HIMETRIC *pWidth);
1472 void __RPC_STUB IPicture_get_Width_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1473 HRESULT WINAPI IPicture_get_Height_Proxy(IPicture *This,OLE_YSIZE_HIMETRIC *pHeight);
1474 void __RPC_STUB IPicture_get_Height_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1475 HRESULT WINAPI IPicture_Render_Proxy(IPicture *This,HDC hDC,LONG x,LONG y,LONG cx,LONG cy,OLE_XPOS_HIMETRIC xSrc,OLE_YPOS_HIMETRIC ySrc,OLE_XSIZE_HIMETRIC cxSrc,OLE_YSIZE_HIMETRIC cySrc,LPCRECT pRcWBounds);
1476 void __RPC_STUB IPicture_Render_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1477 HRESULT WINAPI IPicture_set_hPal_Proxy(IPicture *This,OLE_HANDLE hPal);
1478 void __RPC_STUB IPicture_set_hPal_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1479 HRESULT WINAPI IPicture_get_CurDC_Proxy(IPicture *This,HDC *phDC);
1480 void __RPC_STUB IPicture_get_CurDC_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1481 HRESULT WINAPI IPicture_SelectPicture_Proxy(IPicture *This,HDC hDCIn,HDC *phDCOut,OLE_HANDLE *phBmpOut);
1482 void __RPC_STUB IPicture_SelectPicture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1483 HRESULT WINAPI IPicture_get_KeepOriginalFormat_Proxy(IPicture *This,WINBOOL *pKeep);
1484 void __RPC_STUB IPicture_get_KeepOriginalFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1485 HRESULT WINAPI IPicture_put_KeepOriginalFormat_Proxy(IPicture *This,WINBOOL keep);
1486 void __RPC_STUB IPicture_put_KeepOriginalFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1487 HRESULT WINAPI IPicture_PictureChanged_Proxy(IPicture *This);
1488 void __RPC_STUB IPicture_PictureChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1489 HRESULT WINAPI IPicture_SaveAsFile_Proxy(IPicture *This,LPSTREAM pStream,WINBOOL fSaveMemCopy,LONG *pCbSize);
1490 void __RPC_STUB IPicture_SaveAsFile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1491 HRESULT WINAPI IPicture_get_Attributes_Proxy(IPicture *This,DWORD *pDwAttr);
1492 void __RPC_STUB IPicture_get_Attributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1493 #endif
1494
1495 #ifndef __IFontEventsDisp_INTERFACE_DEFINED__
1496 #define __IFontEventsDisp_INTERFACE_DEFINED__
1497 typedef IFontEventsDisp *LPFONTEVENTS;
1498
1499 EXTERN_C const IID IID_IFontEventsDisp;
1500 #if defined(__cplusplus) && !defined(CINTERFACE)
1501 struct IFontEventsDisp : public IDispatch {
1502 };
1503 #else
1504 typedef struct IFontEventsDispVtbl {
1505 BEGIN_INTERFACE
1506 HRESULT (WINAPI *QueryInterface)(IFontEventsDisp *This,REFIID riid,void **ppvObject);
1507 ULONG (WINAPI *AddRef)(IFontEventsDisp *This);
1508 ULONG (WINAPI *Release)(IFontEventsDisp *This);
1509 HRESULT (WINAPI *GetTypeInfoCount)(IFontEventsDisp *This,UINT *pctinfo);
1510 HRESULT (WINAPI *GetTypeInfo)(IFontEventsDisp *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
1511 HRESULT (WINAPI *GetIDsOfNames)(IFontEventsDisp *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
1512 HRESULT (WINAPI *Invoke)(IFontEventsDisp *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
1513 END_INTERFACE
1514 } IFontEventsDispVtbl;
1515 struct IFontEventsDisp {
1516 CONST_VTBL struct IFontEventsDispVtbl *lpVtbl;
1517 };
1518 #ifdef COBJMACROS
1519 #define IFontEventsDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1520 #define IFontEventsDisp_AddRef(This) (This)->lpVtbl->AddRef(This)
1521 #define IFontEventsDisp_Release(This) (This)->lpVtbl->Release(This)
1522 #define IFontEventsDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
1523 #define IFontEventsDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
1524 #define IFontEventsDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
1525 #define IFontEventsDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1526 #endif
1527 #endif
1528 #endif
1529
1530 #ifndef __IFontDisp_INTERFACE_DEFINED__
1531 #define __IFontDisp_INTERFACE_DEFINED__
1532 typedef IFontDisp *LPFONTDISP;
1533
1534 EXTERN_C const IID IID_IFontDisp;
1535 #if defined(__cplusplus) && !defined(CINTERFACE)
1536 struct IFontDisp : public IDispatch {
1537 };
1538 #else
1539 typedef struct IFontDispVtbl {
1540 BEGIN_INTERFACE
1541 HRESULT (WINAPI *QueryInterface)(IFontDisp *This,REFIID riid,void **ppvObject);
1542 ULONG (WINAPI *AddRef)(IFontDisp *This);
1543 ULONG (WINAPI *Release)(IFontDisp *This);
1544 HRESULT (WINAPI *GetTypeInfoCount)(IFontDisp *This,UINT *pctinfo);
1545 HRESULT (WINAPI *GetTypeInfo)(IFontDisp *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
1546 HRESULT (WINAPI *GetIDsOfNames)(IFontDisp *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
1547 HRESULT (WINAPI *Invoke)(IFontDisp *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
1548 END_INTERFACE
1549 } IFontDispVtbl;
1550 struct IFontDisp {
1551 CONST_VTBL struct IFontDispVtbl *lpVtbl;
1552 };
1553 #ifdef COBJMACROS
1554 #define IFontDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1555 #define IFontDisp_AddRef(This) (This)->lpVtbl->AddRef(This)
1556 #define IFontDisp_Release(This) (This)->lpVtbl->Release(This)
1557 #define IFontDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
1558 #define IFontDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
1559 #define IFontDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
1560 #define IFontDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1561 #endif
1562 #endif
1563 #endif
1564
1565 #ifndef __IPictureDisp_INTERFACE_DEFINED__
1566 #define __IPictureDisp_INTERFACE_DEFINED__
1567 typedef IPictureDisp *LPPICTUREDISP;
1568
1569 EXTERN_C const IID IID_IPictureDisp;
1570 #if defined(__cplusplus) && !defined(CINTERFACE)
1571 struct IPictureDisp : public IDispatch {
1572 };
1573 #else
1574 typedef struct IPictureDispVtbl {
1575 BEGIN_INTERFACE
1576 HRESULT (WINAPI *QueryInterface)(IPictureDisp *This,REFIID riid,void **ppvObject);
1577 ULONG (WINAPI *AddRef)(IPictureDisp *This);
1578 ULONG (WINAPI *Release)(IPictureDisp *This);
1579 HRESULT (WINAPI *GetTypeInfoCount)(IPictureDisp *This,UINT *pctinfo);
1580 HRESULT (WINAPI *GetTypeInfo)(IPictureDisp *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
1581 HRESULT (WINAPI *GetIDsOfNames)(IPictureDisp *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
1582 HRESULT (WINAPI *Invoke)(IPictureDisp *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
1583 END_INTERFACE
1584 } IPictureDispVtbl;
1585 struct IPictureDisp {
1586 CONST_VTBL struct IPictureDispVtbl *lpVtbl;
1587 };
1588 #ifdef COBJMACROS
1589 #define IPictureDisp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1590 #define IPictureDisp_AddRef(This) (This)->lpVtbl->AddRef(This)
1591 #define IPictureDisp_Release(This) (This)->lpVtbl->Release(This)
1592 #define IPictureDisp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
1593 #define IPictureDisp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
1594 #define IPictureDisp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
1595 #define IPictureDisp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1596 #endif
1597 #endif
1598 #endif
1599
1600 #ifndef __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__
1601 #define __IOleInPlaceObjectWindowless_INTERFACE_DEFINED__
1602 typedef IOleInPlaceObjectWindowless *LPOLEINPLACEOBJECTWINDOWLESS;
1603
1604 EXTERN_C const IID IID_IOleInPlaceObjectWindowless;
1605 #if defined(__cplusplus) && !defined(CINTERFACE)
1606 struct IOleInPlaceObjectWindowless : public IOleInPlaceObject {
1607 public:
1608 virtual HRESULT WINAPI OnWindowMessage(UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult) = 0;
1609 virtual HRESULT WINAPI GetDropTarget(IDropTarget **ppDropTarget) = 0;
1610 };
1611 #else
1612 typedef struct IOleInPlaceObjectWindowlessVtbl {
1613 BEGIN_INTERFACE
1614 HRESULT (WINAPI *QueryInterface)(IOleInPlaceObjectWindowless *This,REFIID riid,void **ppvObject);
1615 ULONG (WINAPI *AddRef)(IOleInPlaceObjectWindowless *This);
1616 ULONG (WINAPI *Release)(IOleInPlaceObjectWindowless *This);
1617 HRESULT (WINAPI *GetWindow)(IOleInPlaceObjectWindowless *This,HWND *phwnd);
1618 HRESULT (WINAPI *ContextSensitiveHelp)(IOleInPlaceObjectWindowless *This,WINBOOL fEnterMode);
1619 HRESULT (WINAPI *InPlaceDeactivate)(IOleInPlaceObjectWindowless *This);
1620 HRESULT (WINAPI *UIDeactivate)(IOleInPlaceObjectWindowless *This);
1621 HRESULT (WINAPI *SetObjectRects)(IOleInPlaceObjectWindowless *This,LPCRECT lprcPosRect,LPCRECT lprcClipRect);
1622 HRESULT (WINAPI *ReactivateAndUndo)(IOleInPlaceObjectWindowless *This);
1623 HRESULT (WINAPI *OnWindowMessage)(IOleInPlaceObjectWindowless *This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult);
1624 HRESULT (WINAPI *GetDropTarget)(IOleInPlaceObjectWindowless *This,IDropTarget **ppDropTarget);
1625 END_INTERFACE
1626 } IOleInPlaceObjectWindowlessVtbl;
1627 struct IOleInPlaceObjectWindowless {
1628 CONST_VTBL struct IOleInPlaceObjectWindowlessVtbl *lpVtbl;
1629 };
1630 #ifdef COBJMACROS
1631 #define IOleInPlaceObjectWindowless_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1632 #define IOleInPlaceObjectWindowless_AddRef(This) (This)->lpVtbl->AddRef(This)
1633 #define IOleInPlaceObjectWindowless_Release(This) (This)->lpVtbl->Release(This)
1634 #define IOleInPlaceObjectWindowless_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
1635 #define IOleInPlaceObjectWindowless_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
1636 #define IOleInPlaceObjectWindowless_InPlaceDeactivate(This) (This)->lpVtbl->InPlaceDeactivate(This)
1637 #define IOleInPlaceObjectWindowless_UIDeactivate(This) (This)->lpVtbl->UIDeactivate(This)
1638 #define IOleInPlaceObjectWindowless_SetObjectRects(This,lprcPosRect,lprcClipRect) (This)->lpVtbl->SetObjectRects(This,lprcPosRect,lprcClipRect)
1639 #define IOleInPlaceObjectWindowless_ReactivateAndUndo(This) (This)->lpVtbl->ReactivateAndUndo(This)
1640 #define IOleInPlaceObjectWindowless_OnWindowMessage(This,msg,wParam,lParam,plResult) (This)->lpVtbl->OnWindowMessage(This,msg,wParam,lParam,plResult)
1641 #define IOleInPlaceObjectWindowless_GetDropTarget(This,ppDropTarget) (This)->lpVtbl->GetDropTarget(This,ppDropTarget)
1642 #endif
1643 #endif
1644 HRESULT WINAPI IOleInPlaceObjectWindowless_OnWindowMessage_Proxy(IOleInPlaceObjectWindowless *This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult);
1645 void __RPC_STUB IOleInPlaceObjectWindowless_OnWindowMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1646 HRESULT WINAPI IOleInPlaceObjectWindowless_GetDropTarget_Proxy(IOleInPlaceObjectWindowless *This,IDropTarget **ppDropTarget);
1647 void __RPC_STUB IOleInPlaceObjectWindowless_GetDropTarget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1648 #endif
1649
1650 #ifndef __IOleInPlaceSiteEx_INTERFACE_DEFINED__
1651 #define __IOleInPlaceSiteEx_INTERFACE_DEFINED__
1652 typedef IOleInPlaceSiteEx *LPOLEINPLACESITEEX;
1653
1654 typedef enum tagACTIVATEFLAGS {
1655 ACTIVATE_WINDOWLESS = 1
1656 } ACTIVATEFLAGS;
1657
1658 EXTERN_C const IID IID_IOleInPlaceSiteEx;
1659 #if defined(__cplusplus) && !defined(CINTERFACE)
1660 struct IOleInPlaceSiteEx : public IOleInPlaceSite {
1661 public:
1662 virtual HRESULT WINAPI OnInPlaceActivateEx(WINBOOL *pfNoRedraw,DWORD dwFlags) = 0;
1663 virtual HRESULT WINAPI OnInPlaceDeactivateEx(WINBOOL fNoRedraw) = 0;
1664 virtual HRESULT WINAPI RequestUIActivate(void) = 0;
1665 };
1666 #else
1667 typedef struct IOleInPlaceSiteExVtbl {
1668 BEGIN_INTERFACE
1669 HRESULT (WINAPI *QueryInterface)(IOleInPlaceSiteEx *This,REFIID riid,void **ppvObject);
1670 ULONG (WINAPI *AddRef)(IOleInPlaceSiteEx *This);
1671 ULONG (WINAPI *Release)(IOleInPlaceSiteEx *This);
1672 HRESULT (WINAPI *GetWindow)(IOleInPlaceSiteEx *This,HWND *phwnd);
1673 HRESULT (WINAPI *ContextSensitiveHelp)(IOleInPlaceSiteEx *This,WINBOOL fEnterMode);
1674 HRESULT (WINAPI *CanInPlaceActivate)(IOleInPlaceSiteEx *This);
1675 HRESULT (WINAPI *OnInPlaceActivate)(IOleInPlaceSiteEx *This);
1676 HRESULT (WINAPI *OnUIActivate)(IOleInPlaceSiteEx *This);
1677 HRESULT (WINAPI *GetWindowContext)(IOleInPlaceSiteEx *This,IOleInPlaceFrame **ppFrame,IOleInPlaceUIWindow **ppDoc,LPRECT lprcPosRect,LPRECT lprcClipRect,LPOLEINPLACEFRAMEINFO lpFrameInfo);
1678 HRESULT (WINAPI *Scroll)(IOleInPlaceSiteEx *This,SIZE scrollExtant);
1679 HRESULT (WINAPI *OnUIDeactivate)(IOleInPlaceSiteEx *This,WINBOOL fUndoable);
1680 HRESULT (WINAPI *OnInPlaceDeactivate)(IOleInPlaceSiteEx *This);
1681 HRESULT (WINAPI *DiscardUndoState)(IOleInPlaceSiteEx *This);
1682 HRESULT (WINAPI *DeactivateAndUndo)(IOleInPlaceSiteEx *This);
1683 HRESULT (WINAPI *OnPosRectChange)(IOleInPlaceSiteEx *This,LPCRECT lprcPosRect);
1684 HRESULT (WINAPI *OnInPlaceActivateEx)(IOleInPlaceSiteEx *This,WINBOOL *pfNoRedraw,DWORD dwFlags);
1685 HRESULT (WINAPI *OnInPlaceDeactivateEx)(IOleInPlaceSiteEx *This,WINBOOL fNoRedraw);
1686 HRESULT (WINAPI *RequestUIActivate)(IOleInPlaceSiteEx *This);
1687 END_INTERFACE
1688 } IOleInPlaceSiteExVtbl;
1689 struct IOleInPlaceSiteEx {
1690 CONST_VTBL struct IOleInPlaceSiteExVtbl *lpVtbl;
1691 };
1692 #ifdef COBJMACROS
1693 #define IOleInPlaceSiteEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1694 #define IOleInPlaceSiteEx_AddRef(This) (This)->lpVtbl->AddRef(This)
1695 #define IOleInPlaceSiteEx_Release(This) (This)->lpVtbl->Release(This)
1696 #define IOleInPlaceSiteEx_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
1697 #define IOleInPlaceSiteEx_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
1698 #define IOleInPlaceSiteEx_CanInPlaceActivate(This) (This)->lpVtbl->CanInPlaceActivate(This)
1699 #define IOleInPlaceSiteEx_OnInPlaceActivate(This) (This)->lpVtbl->OnInPlaceActivate(This)
1700 #define IOleInPlaceSiteEx_OnUIActivate(This) (This)->lpVtbl->OnUIActivate(This)
1701 #define IOleInPlaceSiteEx_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) (This)->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
1702 #define IOleInPlaceSiteEx_Scroll(This,scrollExtant) (This)->lpVtbl->Scroll(This,scrollExtant)
1703 #define IOleInPlaceSiteEx_OnUIDeactivate(This,fUndoable) (This)->lpVtbl->OnUIDeactivate(This,fUndoable)
1704 #define IOleInPlaceSiteEx_OnInPlaceDeactivate(This) (This)->lpVtbl->OnInPlaceDeactivate(This)
1705 #define IOleInPlaceSiteEx_DiscardUndoState(This) (This)->lpVtbl->DiscardUndoState(This)
1706 #define IOleInPlaceSiteEx_DeactivateAndUndo(This) (This)->lpVtbl->DeactivateAndUndo(This)
1707 #define IOleInPlaceSiteEx_OnPosRectChange(This,lprcPosRect) (This)->lpVtbl->OnPosRectChange(This,lprcPosRect)
1708 #define IOleInPlaceSiteEx_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) (This)->lpVtbl->OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
1709 #define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(This,fNoRedraw) (This)->lpVtbl->OnInPlaceDeactivateEx(This,fNoRedraw)
1710 #define IOleInPlaceSiteEx_RequestUIActivate(This) (This)->lpVtbl->RequestUIActivate(This)
1711 #endif
1712 #endif
1713 HRESULT WINAPI IOleInPlaceSiteEx_OnInPlaceActivateEx_Proxy(IOleInPlaceSiteEx *This,WINBOOL *pfNoRedraw,DWORD dwFlags);
1714 void __RPC_STUB IOleInPlaceSiteEx_OnInPlaceActivateEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1715 HRESULT WINAPI IOleInPlaceSiteEx_OnInPlaceDeactivateEx_Proxy(IOleInPlaceSiteEx *This,WINBOOL fNoRedraw);
1716 void __RPC_STUB IOleInPlaceSiteEx_OnInPlaceDeactivateEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1717 HRESULT WINAPI IOleInPlaceSiteEx_RequestUIActivate_Proxy(IOleInPlaceSiteEx *This);
1718 void __RPC_STUB IOleInPlaceSiteEx_RequestUIActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1719 #endif
1720
1721 #ifndef __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__
1722 #define __IOleInPlaceSiteWindowless_INTERFACE_DEFINED__
1723 typedef IOleInPlaceSiteWindowless *LPOLEINPLACESITEWINDOWLESS;
1724
1725 typedef enum tagOLEDCFLAGS {
1726 OLEDC_NODRAW = 0x1,OLEDC_PAINTBKGND = 0x2,OLEDC_OFFSCREEN = 0x4
1727 } OLEDCFLAGS;
1728
1729 EXTERN_C const IID IID_IOleInPlaceSiteWindowless;
1730 #if defined(__cplusplus) && !defined(CINTERFACE)
1731 struct IOleInPlaceSiteWindowless : public IOleInPlaceSiteEx {
1732 public:
1733 virtual HRESULT WINAPI CanWindowlessActivate(void) = 0;
1734 virtual HRESULT WINAPI GetCapture(void) = 0;
1735 virtual HRESULT WINAPI SetCapture(WINBOOL fCapture) = 0;
1736 virtual HRESULT WINAPI GetFocus(void) = 0;
1737 virtual HRESULT WINAPI SetFocus(WINBOOL fFocus) = 0;
1738 virtual HRESULT WINAPI GetDC(LPCRECT pRect,DWORD grfFlags,HDC *phDC) = 0;
1739 virtual HRESULT WINAPI ReleaseDC(HDC hDC) = 0;
1740 virtual HRESULT WINAPI InvalidateRect(LPCRECT pRect,WINBOOL fErase) = 0;
1741 virtual HRESULT WINAPI InvalidateRgn(HRGN hRGN,WINBOOL fErase) = 0;
1742 virtual HRESULT WINAPI ScrollRect(INT dx,INT dy,LPCRECT pRectScroll,LPCRECT pRectClip) = 0;
1743 virtual HRESULT WINAPI AdjustRect(LPRECT prc) = 0;
1744 virtual HRESULT WINAPI OnDefWindowMessage(UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult) = 0;
1745 };
1746 #else
1747 typedef struct IOleInPlaceSiteWindowlessVtbl {
1748 BEGIN_INTERFACE
1749 HRESULT (WINAPI *QueryInterface)(IOleInPlaceSiteWindowless *This,REFIID riid,void **ppvObject);
1750 ULONG (WINAPI *AddRef)(IOleInPlaceSiteWindowless *This);
1751 ULONG (WINAPI *Release)(IOleInPlaceSiteWindowless *This);
1752 HRESULT (WINAPI *GetWindow)(IOleInPlaceSiteWindowless *This,HWND *phwnd);
1753 HRESULT (WINAPI *ContextSensitiveHelp)(IOleInPlaceSiteWindowless *This,WINBOOL fEnterMode);
1754 HRESULT (WINAPI *CanInPlaceActivate)(IOleInPlaceSiteWindowless *This);
1755 HRESULT (WINAPI *OnInPlaceActivate)(IOleInPlaceSiteWindowless *This);
1756 HRESULT (WINAPI *OnUIActivate)(IOleInPlaceSiteWindowless *This);
1757 HRESULT (WINAPI *GetWindowContext)(IOleInPlaceSiteWindowless *This,IOleInPlaceFrame **ppFrame,IOleInPlaceUIWindow **ppDoc,LPRECT lprcPosRect,LPRECT lprcClipRect,LPOLEINPLACEFRAMEINFO lpFrameInfo);
1758 HRESULT (WINAPI *Scroll)(IOleInPlaceSiteWindowless *This,SIZE scrollExtant);
1759 HRESULT (WINAPI *OnUIDeactivate)(IOleInPlaceSiteWindowless *This,WINBOOL fUndoable);
1760 HRESULT (WINAPI *OnInPlaceDeactivate)(IOleInPlaceSiteWindowless *This);
1761 HRESULT (WINAPI *DiscardUndoState)(IOleInPlaceSiteWindowless *This);
1762 HRESULT (WINAPI *DeactivateAndUndo)(IOleInPlaceSiteWindowless *This);
1763 HRESULT (WINAPI *OnPosRectChange)(IOleInPlaceSiteWindowless *This,LPCRECT lprcPosRect);
1764 HRESULT (WINAPI *OnInPlaceActivateEx)(IOleInPlaceSiteWindowless *This,WINBOOL *pfNoRedraw,DWORD dwFlags);
1765 HRESULT (WINAPI *OnInPlaceDeactivateEx)(IOleInPlaceSiteWindowless *This,WINBOOL fNoRedraw);
1766 HRESULT (WINAPI *RequestUIActivate)(IOleInPlaceSiteWindowless *This);
1767 HRESULT (WINAPI *CanWindowlessActivate)(IOleInPlaceSiteWindowless *This);
1768 HRESULT (WINAPI *GetCapture)(IOleInPlaceSiteWindowless *This);
1769 HRESULT (WINAPI *SetCapture)(IOleInPlaceSiteWindowless *This,WINBOOL fCapture);
1770 HRESULT (WINAPI *GetFocus)(IOleInPlaceSiteWindowless *This);
1771 HRESULT (WINAPI *SetFocus)(IOleInPlaceSiteWindowless *This,WINBOOL fFocus);
1772 HRESULT (WINAPI *GetDC)(IOleInPlaceSiteWindowless *This,LPCRECT pRect,DWORD grfFlags,HDC *phDC);
1773 HRESULT (WINAPI *ReleaseDC)(IOleInPlaceSiteWindowless *This,HDC hDC);
1774 HRESULT (WINAPI *InvalidateRect)(IOleInPlaceSiteWindowless *This,LPCRECT pRect,WINBOOL fErase);
1775 HRESULT (WINAPI *InvalidateRgn)(IOleInPlaceSiteWindowless *This,HRGN hRGN,WINBOOL fErase);
1776 HRESULT (WINAPI *ScrollRect)(IOleInPlaceSiteWindowless *This,INT dx,INT dy,LPCRECT pRectScroll,LPCRECT pRectClip);
1777 HRESULT (WINAPI *AdjustRect)(IOleInPlaceSiteWindowless *This,LPRECT prc);
1778 HRESULT (WINAPI *OnDefWindowMessage)(IOleInPlaceSiteWindowless *This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult);
1779 END_INTERFACE
1780 } IOleInPlaceSiteWindowlessVtbl;
1781 struct IOleInPlaceSiteWindowless {
1782 CONST_VTBL struct IOleInPlaceSiteWindowlessVtbl *lpVtbl;
1783 };
1784 #ifdef COBJMACROS
1785 #define IOleInPlaceSiteWindowless_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1786 #define IOleInPlaceSiteWindowless_AddRef(This) (This)->lpVtbl->AddRef(This)
1787 #define IOleInPlaceSiteWindowless_Release(This) (This)->lpVtbl->Release(This)
1788 #define IOleInPlaceSiteWindowless_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
1789 #define IOleInPlaceSiteWindowless_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
1790 #define IOleInPlaceSiteWindowless_CanInPlaceActivate(This) (This)->lpVtbl->CanInPlaceActivate(This)
1791 #define IOleInPlaceSiteWindowless_OnInPlaceActivate(This) (This)->lpVtbl->OnInPlaceActivate(This)
1792 #define IOleInPlaceSiteWindowless_OnUIActivate(This) (This)->lpVtbl->OnUIActivate(This)
1793 #define IOleInPlaceSiteWindowless_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) (This)->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
1794 #define IOleInPlaceSiteWindowless_Scroll(This,scrollExtant) (This)->lpVtbl->Scroll(This,scrollExtant)
1795 #define IOleInPlaceSiteWindowless_OnUIDeactivate(This,fUndoable) (This)->lpVtbl->OnUIDeactivate(This,fUndoable)
1796 #define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(This) (This)->lpVtbl->OnInPlaceDeactivate(This)
1797 #define IOleInPlaceSiteWindowless_DiscardUndoState(This) (This)->lpVtbl->DiscardUndoState(This)
1798 #define IOleInPlaceSiteWindowless_DeactivateAndUndo(This) (This)->lpVtbl->DeactivateAndUndo(This)
1799 #define IOleInPlaceSiteWindowless_OnPosRectChange(This,lprcPosRect) (This)->lpVtbl->OnPosRectChange(This,lprcPosRect)
1800 #define IOleInPlaceSiteWindowless_OnInPlaceActivateEx(This,pfNoRedraw,dwFlags) (This)->lpVtbl->OnInPlaceActivateEx(This,pfNoRedraw,dwFlags)
1801 #define IOleInPlaceSiteWindowless_OnInPlaceDeactivateEx(This,fNoRedraw) (This)->lpVtbl->OnInPlaceDeactivateEx(This,fNoRedraw)
1802 #define IOleInPlaceSiteWindowless_RequestUIActivate(This) (This)->lpVtbl->RequestUIActivate(This)
1803 #define IOleInPlaceSiteWindowless_CanWindowlessActivate(This) (This)->lpVtbl->CanWindowlessActivate(This)
1804 #define IOleInPlaceSiteWindowless_GetCapture(This) (This)->lpVtbl->GetCapture(This)
1805 #define IOleInPlaceSiteWindowless_SetCapture(This,fCapture) (This)->lpVtbl->SetCapture(This,fCapture)
1806 #define IOleInPlaceSiteWindowless_GetFocus(This) (This)->lpVtbl->GetFocus(This)
1807 #define IOleInPlaceSiteWindowless_SetFocus(This,fFocus) (This)->lpVtbl->SetFocus(This,fFocus)
1808 #define IOleInPlaceSiteWindowless_GetDC(This,pRect,grfFlags,phDC) (This)->lpVtbl->GetDC(This,pRect,grfFlags,phDC)
1809 #define IOleInPlaceSiteWindowless_ReleaseDC(This,hDC) (This)->lpVtbl->ReleaseDC(This,hDC)
1810 #define IOleInPlaceSiteWindowless_InvalidateRect(This,pRect,fErase) (This)->lpVtbl->InvalidateRect(This,pRect,fErase)
1811 #define IOleInPlaceSiteWindowless_InvalidateRgn(This,hRGN,fErase) (This)->lpVtbl->InvalidateRgn(This,hRGN,fErase)
1812 #define IOleInPlaceSiteWindowless_ScrollRect(This,dx,dy,pRectScroll,pRectClip) (This)->lpVtbl->ScrollRect(This,dx,dy,pRectScroll,pRectClip)
1813 #define IOleInPlaceSiteWindowless_AdjustRect(This,prc) (This)->lpVtbl->AdjustRect(This,prc)
1814 #define IOleInPlaceSiteWindowless_OnDefWindowMessage(This,msg,wParam,lParam,plResult) (This)->lpVtbl->OnDefWindowMessage(This,msg,wParam,lParam,plResult)
1815 #endif
1816 #endif
1817 HRESULT WINAPI IOleInPlaceSiteWindowless_CanWindowlessActivate_Proxy(IOleInPlaceSiteWindowless *This);
1818 void __RPC_STUB IOleInPlaceSiteWindowless_CanWindowlessActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1819 HRESULT WINAPI IOleInPlaceSiteWindowless_GetCapture_Proxy(IOleInPlaceSiteWindowless *This);
1820 void __RPC_STUB IOleInPlaceSiteWindowless_GetCapture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1821 HRESULT WINAPI IOleInPlaceSiteWindowless_SetCapture_Proxy(IOleInPlaceSiteWindowless *This,WINBOOL fCapture);
1822 void __RPC_STUB IOleInPlaceSiteWindowless_SetCapture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1823 HRESULT WINAPI IOleInPlaceSiteWindowless_GetFocus_Proxy(IOleInPlaceSiteWindowless *This);
1824 void __RPC_STUB IOleInPlaceSiteWindowless_GetFocus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1825 HRESULT WINAPI IOleInPlaceSiteWindowless_SetFocus_Proxy(IOleInPlaceSiteWindowless *This,WINBOOL fFocus);
1826 void __RPC_STUB IOleInPlaceSiteWindowless_SetFocus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1827 HRESULT WINAPI IOleInPlaceSiteWindowless_GetDC_Proxy(IOleInPlaceSiteWindowless *This,LPCRECT pRect,DWORD grfFlags,HDC *phDC);
1828 void __RPC_STUB IOleInPlaceSiteWindowless_GetDC_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1829 HRESULT WINAPI IOleInPlaceSiteWindowless_ReleaseDC_Proxy(IOleInPlaceSiteWindowless *This,HDC hDC);
1830 void __RPC_STUB IOleInPlaceSiteWindowless_ReleaseDC_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1831 HRESULT WINAPI IOleInPlaceSiteWindowless_InvalidateRect_Proxy(IOleInPlaceSiteWindowless *This,LPCRECT pRect,WINBOOL fErase);
1832 void __RPC_STUB IOleInPlaceSiteWindowless_InvalidateRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1833 HRESULT WINAPI IOleInPlaceSiteWindowless_InvalidateRgn_Proxy(IOleInPlaceSiteWindowless *This,HRGN hRGN,WINBOOL fErase);
1834 void __RPC_STUB IOleInPlaceSiteWindowless_InvalidateRgn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1835 HRESULT WINAPI IOleInPlaceSiteWindowless_ScrollRect_Proxy(IOleInPlaceSiteWindowless *This,INT dx,INT dy,LPCRECT pRectScroll,LPCRECT pRectClip);
1836 void __RPC_STUB IOleInPlaceSiteWindowless_ScrollRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1837 HRESULT WINAPI IOleInPlaceSiteWindowless_AdjustRect_Proxy(IOleInPlaceSiteWindowless *This,LPRECT prc);
1838 void __RPC_STUB IOleInPlaceSiteWindowless_AdjustRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1839 HRESULT WINAPI IOleInPlaceSiteWindowless_OnDefWindowMessage_Proxy(IOleInPlaceSiteWindowless *This,UINT msg,WPARAM wParam,LPARAM lParam,LRESULT *plResult);
1840 void __RPC_STUB IOleInPlaceSiteWindowless_OnDefWindowMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1841 #endif
1842
1843 #ifndef __IViewObjectEx_INTERFACE_DEFINED__
1844 #define __IViewObjectEx_INTERFACE_DEFINED__
1845 typedef IViewObjectEx *LPVIEWOBJECTEX;
1846
1847 typedef enum tagVIEWSTATUS {
1848 VIEWSTATUS_OPAQUE = 1,VIEWSTATUS_SOLIDBKGND = 2,VIEWSTATUS_DVASPECTOPAQUE = 4,VIEWSTATUS_DVASPECTTRANSPARENT = 8,VIEWSTATUS_SURFACE = 16,
1849 VIEWSTATUS_3DSURFACE = 32
1850 } VIEWSTATUS;
1851
1852 typedef enum tagHITRESULT {
1853 HITRESULT_OUTSIDE = 0,HITRESULT_TRANSPARENT = 1,HITRESULT_CLOSE = 2,HITRESULT_HIT = 3
1854 } HITRESULT;
1855
1856 typedef enum tagDVASPECT2 {
1857 DVASPECT_OPAQUE = 16,DVASPECT_TRANSPARENT = 32
1858 } DVASPECT2;
1859
1860 typedef struct tagExtentInfo {
1861 ULONG cb;
1862 DWORD dwExtentMode;
1863 SIZEL sizelProposed;
1864 } DVEXTENTINFO;
1865
1866 typedef enum tagExtentMode {
1867 DVEXTENT_CONTENT = 0,DVEXTENT_INTEGRAL = DVEXTENT_CONTENT + 1
1868 } DVEXTENTMODE;
1869
1870 typedef enum tagAspectInfoFlag {
1871 DVASPECTINFOFLAG_CANOPTIMIZE = 1
1872 } DVASPECTINFOFLAG;
1873
1874 typedef struct tagAspectInfo {
1875 ULONG cb;
1876 DWORD dwFlags;
1877 } DVASPECTINFO;
1878
1879 EXTERN_C const IID IID_IViewObjectEx;
1880 #if defined(__cplusplus) && !defined(CINTERFACE)
1881 struct IViewObjectEx : public IViewObject2 {
1882 public:
1883 virtual HRESULT WINAPI GetRect(DWORD dwAspect,LPRECTL pRect) = 0;
1884 virtual HRESULT WINAPI GetViewStatus(DWORD *pdwStatus) = 0;
1885 virtual HRESULT WINAPI QueryHitPoint(DWORD dwAspect,LPCRECT pRectBounds,POINT ptlLoc,LONG lCloseHint,DWORD *pHitResult) = 0;
1886 virtual HRESULT WINAPI QueryHitRect(DWORD dwAspect,LPCRECT pRectBounds,LPCRECT pRectLoc,LONG lCloseHint,DWORD *pHitResult) = 0;
1887 virtual HRESULT WINAPI GetNaturalExtent(DWORD dwAspect,LONG lindex,DVTARGETDEVICE *ptd,HDC hicTargetDev,DVEXTENTINFO *pExtentInfo,LPSIZEL pSizel) = 0;
1888 };
1889 #else
1890 typedef struct IViewObjectExVtbl {
1891 BEGIN_INTERFACE
1892 HRESULT (WINAPI *QueryInterface)(IViewObjectEx *This,REFIID riid,void **ppvObject);
1893 ULONG (WINAPI *AddRef)(IViewObjectEx *This);
1894 ULONG (WINAPI *Release)(IViewObjectEx *This);
1895 HRESULT (WINAPI *Draw)(IViewObjectEx *This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hdcTargetDev,HDC hdcDraw,LPCRECTL lprcBounds,LPCRECTL lprcWBounds,WINBOOL (WINAPI *pfnContinue)(ULONG_PTR dwContinue),ULONG_PTR dwContinue);
1896 HRESULT (WINAPI *GetColorSet)(IViewObjectEx *This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hicTargetDev,LOGPALETTE **ppColorSet);
1897 HRESULT (WINAPI *Freeze)(IViewObjectEx *This,DWORD dwDrawAspect,LONG lindex,void *pvAspect,DWORD *pdwFreeze);
1898 HRESULT (WINAPI *Unfreeze)(IViewObjectEx *This,DWORD dwFreeze);
1899 HRESULT (WINAPI *SetAdvise)(IViewObjectEx *This,DWORD aspects,DWORD advf,IAdviseSink *pAdvSink);
1900 HRESULT (WINAPI *GetAdvise)(IViewObjectEx *This,DWORD *pAspects,DWORD *pAdvf,IAdviseSink **ppAdvSink);
1901 HRESULT (WINAPI *GetExtent)(IViewObjectEx *This,DWORD dwDrawAspect,LONG lindex,DVTARGETDEVICE *ptd,LPSIZEL lpsizel);
1902 HRESULT (WINAPI *GetRect)(IViewObjectEx *This,DWORD dwAspect,LPRECTL pRect);
1903 HRESULT (WINAPI *GetViewStatus)(IViewObjectEx *This,DWORD *pdwStatus);
1904 HRESULT (WINAPI *QueryHitPoint)(IViewObjectEx *This,DWORD dwAspect,LPCRECT pRectBounds,POINT ptlLoc,LONG lCloseHint,DWORD *pHitResult);
1905 HRESULT (WINAPI *QueryHitRect)(IViewObjectEx *This,DWORD dwAspect,LPCRECT pRectBounds,LPCRECT pRectLoc,LONG lCloseHint,DWORD *pHitResult);
1906 HRESULT (WINAPI *GetNaturalExtent)(IViewObjectEx *This,DWORD dwAspect,LONG lindex,DVTARGETDEVICE *ptd,HDC hicTargetDev,DVEXTENTINFO *pExtentInfo,LPSIZEL pSizel);
1907 END_INTERFACE
1908 } IViewObjectExVtbl;
1909 struct IViewObjectEx {
1910 CONST_VTBL struct IViewObjectExVtbl *lpVtbl;
1911 };
1912 #ifdef COBJMACROS
1913 #define IViewObjectEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1914 #define IViewObjectEx_AddRef(This) (This)->lpVtbl->AddRef(This)
1915 #define IViewObjectEx_Release(This) (This)->lpVtbl->Release(This)
1916 #define IViewObjectEx_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue) (This)->lpVtbl->Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
1917 #define IViewObjectEx_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) (This)->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
1918 #define IViewObjectEx_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) (This)->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
1919 #define IViewObjectEx_Unfreeze(This,dwFreeze) (This)->lpVtbl->Unfreeze(This,dwFreeze)
1920 #define IViewObjectEx_SetAdvise(This,aspects,advf,pAdvSink) (This)->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink)
1921 #define IViewObjectEx_GetAdvise(This,pAspects,pAdvf,ppAdvSink) (This)->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink)
1922 #define IViewObjectEx_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) (This)->lpVtbl->GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)
1923 #define IViewObjectEx_GetRect(This,dwAspect,pRect) (This)->lpVtbl->GetRect(This,dwAspect,pRect)
1924 #define IViewObjectEx_GetViewStatus(This,pdwStatus) (This)->lpVtbl->GetViewStatus(This,pdwStatus)
1925 #define IViewObjectEx_QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult) (This)->lpVtbl->QueryHitPoint(This,dwAspect,pRectBounds,ptlLoc,lCloseHint,pHitResult)
1926 #define IViewObjectEx_QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult) (This)->lpVtbl->QueryHitRect(This,dwAspect,pRectBounds,pRectLoc,lCloseHint,pHitResult)
1927 #define IViewObjectEx_GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel) (This)->lpVtbl->GetNaturalExtent(This,dwAspect,lindex,ptd,hicTargetDev,pExtentInfo,pSizel)
1928 #endif
1929 #endif
1930 HRESULT WINAPI IViewObjectEx_GetRect_Proxy(IViewObjectEx *This,DWORD dwAspect,LPRECTL pRect);
1931 void __RPC_STUB IViewObjectEx_GetRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1932 HRESULT WINAPI IViewObjectEx_GetViewStatus_Proxy(IViewObjectEx *This,DWORD *pdwStatus);
1933 void __RPC_STUB IViewObjectEx_GetViewStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1934 HRESULT WINAPI IViewObjectEx_QueryHitPoint_Proxy(IViewObjectEx *This,DWORD dwAspect,LPCRECT pRectBounds,POINT ptlLoc,LONG lCloseHint,DWORD *pHitResult);
1935 void __RPC_STUB IViewObjectEx_QueryHitPoint_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1936 HRESULT WINAPI IViewObjectEx_QueryHitRect_Proxy(IViewObjectEx *This,DWORD dwAspect,LPCRECT pRectBounds,LPCRECT pRectLoc,LONG lCloseHint,DWORD *pHitResult);
1937 void __RPC_STUB IViewObjectEx_QueryHitRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1938 HRESULT WINAPI IViewObjectEx_GetNaturalExtent_Proxy(IViewObjectEx *This,DWORD dwAspect,LONG lindex,DVTARGETDEVICE *ptd,HDC hicTargetDev,DVEXTENTINFO *pExtentInfo,LPSIZEL pSizel);
1939 void __RPC_STUB IViewObjectEx_GetNaturalExtent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1940 #endif
1941
1942 #ifndef __IOleUndoUnit_INTERFACE_DEFINED__
1943 #define __IOleUndoUnit_INTERFACE_DEFINED__
1944 typedef IOleUndoUnit *LPOLEUNDOUNIT;
1945
1946 EXTERN_C const IID IID_IOleUndoUnit;
1947 #if defined(__cplusplus) && !defined(CINTERFACE)
1948 struct IOleUndoUnit : public IUnknown {
1949 public:
1950 virtual HRESULT WINAPI Do(IOleUndoManager *pUndoManager) = 0;
1951 virtual HRESULT WINAPI GetDescription(BSTR *pBstr) = 0;
1952 virtual HRESULT WINAPI GetUnitType(CLSID *pClsid,LONG *plID) = 0;
1953 virtual HRESULT WINAPI OnNextAdd(void) = 0;
1954 };
1955 #else
1956 typedef struct IOleUndoUnitVtbl {
1957 BEGIN_INTERFACE
1958 HRESULT (WINAPI *QueryInterface)(IOleUndoUnit *This,REFIID riid,void **ppvObject);
1959 ULONG (WINAPI *AddRef)(IOleUndoUnit *This);
1960 ULONG (WINAPI *Release)(IOleUndoUnit *This);
1961 HRESULT (WINAPI *Do)(IOleUndoUnit *This,IOleUndoManager *pUndoManager);
1962 HRESULT (WINAPI *GetDescription)(IOleUndoUnit *This,BSTR *pBstr);
1963 HRESULT (WINAPI *GetUnitType)(IOleUndoUnit *This,CLSID *pClsid,LONG *plID);
1964 HRESULT (WINAPI *OnNextAdd)(IOleUndoUnit *This);
1965 END_INTERFACE
1966 } IOleUndoUnitVtbl;
1967 struct IOleUndoUnit {
1968 CONST_VTBL struct IOleUndoUnitVtbl *lpVtbl;
1969 };
1970 #ifdef COBJMACROS
1971 #define IOleUndoUnit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1972 #define IOleUndoUnit_AddRef(This) (This)->lpVtbl->AddRef(This)
1973 #define IOleUndoUnit_Release(This) (This)->lpVtbl->Release(This)
1974 #define IOleUndoUnit_Do(This,pUndoManager) (This)->lpVtbl->Do(This,pUndoManager)
1975 #define IOleUndoUnit_GetDescription(This,pBstr) (This)->lpVtbl->GetDescription(This,pBstr)
1976 #define IOleUndoUnit_GetUnitType(This,pClsid,plID) (This)->lpVtbl->GetUnitType(This,pClsid,plID)
1977 #define IOleUndoUnit_OnNextAdd(This) (This)->lpVtbl->OnNextAdd(This)
1978 #endif
1979 #endif
1980 HRESULT WINAPI IOleUndoUnit_Do_Proxy(IOleUndoUnit *This,IOleUndoManager *pUndoManager);
1981 void __RPC_STUB IOleUndoUnit_Do_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1982 HRESULT WINAPI IOleUndoUnit_GetDescription_Proxy(IOleUndoUnit *This,BSTR *pBstr);
1983 void __RPC_STUB IOleUndoUnit_GetDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1984 HRESULT WINAPI IOleUndoUnit_GetUnitType_Proxy(IOleUndoUnit *This,CLSID *pClsid,LONG *plID);
1985 void __RPC_STUB IOleUndoUnit_GetUnitType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1986 HRESULT WINAPI IOleUndoUnit_OnNextAdd_Proxy(IOleUndoUnit *This);
1987 void __RPC_STUB IOleUndoUnit_OnNextAdd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1988 #endif
1989
1990 #ifndef __IOleParentUndoUnit_INTERFACE_DEFINED__
1991 #define __IOleParentUndoUnit_INTERFACE_DEFINED__
1992 typedef IOleParentUndoUnit *LPOLEPARENTUNDOUNIT;
1993
1994 EXTERN_C const IID IID_IOleParentUndoUnit;
1995 #if defined(__cplusplus) && !defined(CINTERFACE)
1996 struct IOleParentUndoUnit : public IOleUndoUnit {
1997 public:
1998 virtual HRESULT WINAPI Open(IOleParentUndoUnit *pPUU) = 0;
1999 virtual HRESULT WINAPI Close(IOleParentUndoUnit *pPUU,WINBOOL fCommit) = 0;
2000 virtual HRESULT WINAPI Add(IOleUndoUnit *pUU) = 0;
2001 virtual HRESULT WINAPI FindUnit(IOleUndoUnit *pUU) = 0;
2002 virtual HRESULT WINAPI GetParentState(DWORD *pdwState) = 0;
2003 };
2004 #else
2005 typedef struct IOleParentUndoUnitVtbl {
2006 BEGIN_INTERFACE
2007 HRESULT (WINAPI *QueryInterface)(IOleParentUndoUnit *This,REFIID riid,void **ppvObject);
2008 ULONG (WINAPI *AddRef)(IOleParentUndoUnit *This);
2009 ULONG (WINAPI *Release)(IOleParentUndoUnit *This);
2010 HRESULT (WINAPI *Do)(IOleParentUndoUnit *This,IOleUndoManager *pUndoManager);
2011 HRESULT (WINAPI *GetDescription)(IOleParentUndoUnit *This,BSTR *pBstr);
2012 HRESULT (WINAPI *GetUnitType)(IOleParentUndoUnit *This,CLSID *pClsid,LONG *plID);
2013 HRESULT (WINAPI *OnNextAdd)(IOleParentUndoUnit *This);
2014 HRESULT (WINAPI *Open)(IOleParentUndoUnit *This,IOleParentUndoUnit *pPUU);
2015 HRESULT (WINAPI *Close)(IOleParentUndoUnit *This,IOleParentUndoUnit *pPUU,WINBOOL fCommit);
2016 HRESULT (WINAPI *Add)(IOleParentUndoUnit *This,IOleUndoUnit *pUU);
2017 HRESULT (WINAPI *FindUnit)(IOleParentUndoUnit *This,IOleUndoUnit *pUU);
2018 HRESULT (WINAPI *GetParentState)(IOleParentUndoUnit *This,DWORD *pdwState);
2019 END_INTERFACE
2020 } IOleParentUndoUnitVtbl;
2021 struct IOleParentUndoUnit {
2022 CONST_VTBL struct IOleParentUndoUnitVtbl *lpVtbl;
2023 };
2024 #ifdef COBJMACROS
2025 #define IOleParentUndoUnit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2026 #define IOleParentUndoUnit_AddRef(This) (This)->lpVtbl->AddRef(This)
2027 #define IOleParentUndoUnit_Release(This) (This)->lpVtbl->Release(This)
2028 #define IOleParentUndoUnit_Do(This,pUndoManager) (This)->lpVtbl->Do(This,pUndoManager)
2029 #define IOleParentUndoUnit_GetDescription(This,pBstr) (This)->lpVtbl->GetDescription(This,pBstr)
2030 #define IOleParentUndoUnit_GetUnitType(This,pClsid,plID) (This)->lpVtbl->GetUnitType(This,pClsid,plID)
2031 #define IOleParentUndoUnit_OnNextAdd(This) (This)->lpVtbl->OnNextAdd(This)
2032 #define IOleParentUndoUnit_Open(This,pPUU) (This)->lpVtbl->Open(This,pPUU)
2033 #define IOleParentUndoUnit_Close(This,pPUU,fCommit) (This)->lpVtbl->Close(This,pPUU,fCommit)
2034 #define IOleParentUndoUnit_Add(This,pUU) (This)->lpVtbl->Add(This,pUU)
2035 #define IOleParentUndoUnit_FindUnit(This,pUU) (This)->lpVtbl->FindUnit(This,pUU)
2036 #define IOleParentUndoUnit_GetParentState(This,pdwState) (This)->lpVtbl->GetParentState(This,pdwState)
2037 #endif
2038 #endif
2039 HRESULT WINAPI IOleParentUndoUnit_Open_Proxy(IOleParentUndoUnit *This,IOleParentUndoUnit *pPUU);
2040 void __RPC_STUB IOleParentUndoUnit_Open_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2041 HRESULT WINAPI IOleParentUndoUnit_Close_Proxy(IOleParentUndoUnit *This,IOleParentUndoUnit *pPUU,WINBOOL fCommit);
2042 void __RPC_STUB IOleParentUndoUnit_Close_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2043 HRESULT WINAPI IOleParentUndoUnit_Add_Proxy(IOleParentUndoUnit *This,IOleUndoUnit *pUU);
2044 void __RPC_STUB IOleParentUndoUnit_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2045 HRESULT WINAPI IOleParentUndoUnit_FindUnit_Proxy(IOleParentUndoUnit *This,IOleUndoUnit *pUU);
2046 void __RPC_STUB IOleParentUndoUnit_FindUnit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2047 HRESULT WINAPI IOleParentUndoUnit_GetParentState_Proxy(IOleParentUndoUnit *This,DWORD *pdwState);
2048 void __RPC_STUB IOleParentUndoUnit_GetParentState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2049 #endif
2050
2051 #ifndef __IEnumOleUndoUnits_INTERFACE_DEFINED__
2052 #define __IEnumOleUndoUnits_INTERFACE_DEFINED__
2053 typedef IEnumOleUndoUnits *LPENUMOLEUNDOUNITS;
2054
2055 EXTERN_C const IID IID_IEnumOleUndoUnits;
2056 #if defined(__cplusplus) && !defined(CINTERFACE)
2057 struct IEnumOleUndoUnits : public IUnknown {
2058 public:
2059 virtual HRESULT WINAPI Next(ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched) = 0;
2060 virtual HRESULT WINAPI Skip(ULONG cElt) = 0;
2061 virtual HRESULT WINAPI Reset(void) = 0;
2062 virtual HRESULT WINAPI Clone(IEnumOleUndoUnits **ppEnum) = 0;
2063 };
2064 #else
2065 typedef struct IEnumOleUndoUnitsVtbl {
2066 BEGIN_INTERFACE
2067 HRESULT (WINAPI *QueryInterface)(IEnumOleUndoUnits *This,REFIID riid,void **ppvObject);
2068 ULONG (WINAPI *AddRef)(IEnumOleUndoUnits *This);
2069 ULONG (WINAPI *Release)(IEnumOleUndoUnits *This);
2070 HRESULT (WINAPI *Next)(IEnumOleUndoUnits *This,ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched);
2071 HRESULT (WINAPI *Skip)(IEnumOleUndoUnits *This,ULONG cElt);
2072 HRESULT (WINAPI *Reset)(IEnumOleUndoUnits *This);
2073 HRESULT (WINAPI *Clone)(IEnumOleUndoUnits *This,IEnumOleUndoUnits **ppEnum);
2074 END_INTERFACE
2075 } IEnumOleUndoUnitsVtbl;
2076 struct IEnumOleUndoUnits {
2077 CONST_VTBL struct IEnumOleUndoUnitsVtbl *lpVtbl;
2078 };
2079 #ifdef COBJMACROS
2080 #define IEnumOleUndoUnits_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2081 #define IEnumOleUndoUnits_AddRef(This) (This)->lpVtbl->AddRef(This)
2082 #define IEnumOleUndoUnits_Release(This) (This)->lpVtbl->Release(This)
2083 #define IEnumOleUndoUnits_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched)
2084 #define IEnumOleUndoUnits_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt)
2085 #define IEnumOleUndoUnits_Reset(This) (This)->lpVtbl->Reset(This)
2086 #define IEnumOleUndoUnits_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
2087 #endif
2088 #endif
2089 HRESULT WINAPI IEnumOleUndoUnits_RemoteNext_Proxy(IEnumOleUndoUnits *This,ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched);
2090 void __RPC_STUB IEnumOleUndoUnits_RemoteNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2091 HRESULT WINAPI IEnumOleUndoUnits_Skip_Proxy(IEnumOleUndoUnits *This,ULONG cElt);
2092 void __RPC_STUB IEnumOleUndoUnits_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2093 HRESULT WINAPI IEnumOleUndoUnits_Reset_Proxy(IEnumOleUndoUnits *This);
2094 void __RPC_STUB IEnumOleUndoUnits_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2095 HRESULT WINAPI IEnumOleUndoUnits_Clone_Proxy(IEnumOleUndoUnits *This,IEnumOleUndoUnits **ppEnum);
2096 void __RPC_STUB IEnumOleUndoUnits_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2097 #endif
2098
2099 #ifndef __IOleUndoManager_INTERFACE_DEFINED__
2100 #define __IOleUndoManager_INTERFACE_DEFINED__
2101 #define SID_SOleUndoManager IID_IOleUndoManager
2102 typedef IOleUndoManager *LPOLEUNDOMANAGER;
2103
2104 EXTERN_C const IID IID_IOleUndoManager;
2105 #if defined(__cplusplus) && !defined(CINTERFACE)
2106 struct IOleUndoManager : public IUnknown {
2107 public:
2108 virtual HRESULT WINAPI Open(IOleParentUndoUnit *pPUU) = 0;
2109 virtual HRESULT WINAPI Close(IOleParentUndoUnit *pPUU,WINBOOL fCommit) = 0;
2110 virtual HRESULT WINAPI Add(IOleUndoUnit *pUU) = 0;
2111 virtual HRESULT WINAPI GetOpenParentState(DWORD *pdwState) = 0;
2112 virtual HRESULT WINAPI DiscardFrom(IOleUndoUnit *pUU) = 0;
2113 virtual HRESULT WINAPI UndoTo(IOleUndoUnit *pUU) = 0;
2114 virtual HRESULT WINAPI RedoTo(IOleUndoUnit *pUU) = 0;
2115 virtual HRESULT WINAPI EnumUndoable(IEnumOleUndoUnits **ppEnum) = 0;
2116 virtual HRESULT WINAPI EnumRedoable(IEnumOleUndoUnits **ppEnum) = 0;
2117 virtual HRESULT WINAPI GetLastUndoDescription(BSTR *pBstr) = 0;
2118 virtual HRESULT WINAPI GetLastRedoDescription(BSTR *pBstr) = 0;
2119 virtual HRESULT WINAPI Enable(WINBOOL fEnable) = 0;
2120 };
2121 #else
2122 typedef struct IOleUndoManagerVtbl {
2123 BEGIN_INTERFACE
2124 HRESULT (WINAPI *QueryInterface)(IOleUndoManager *This,REFIID riid,void **ppvObject);
2125 ULONG (WINAPI *AddRef)(IOleUndoManager *This);
2126 ULONG (WINAPI *Release)(IOleUndoManager *This);
2127 HRESULT (WINAPI *Open)(IOleUndoManager *This,IOleParentUndoUnit *pPUU);
2128 HRESULT (WINAPI *Close)(IOleUndoManager *This,IOleParentUndoUnit *pPUU,WINBOOL fCommit);
2129 HRESULT (WINAPI *Add)(IOleUndoManager *This,IOleUndoUnit *pUU);
2130 HRESULT (WINAPI *GetOpenParentState)(IOleUndoManager *This,DWORD *pdwState);
2131 HRESULT (WINAPI *DiscardFrom)(IOleUndoManager *This,IOleUndoUnit *pUU);
2132 HRESULT (WINAPI *UndoTo)(IOleUndoManager *This,IOleUndoUnit *pUU);
2133 HRESULT (WINAPI *RedoTo)(IOleUndoManager *This,IOleUndoUnit *pUU);
2134 HRESULT (WINAPI *EnumUndoable)(IOleUndoManager *This,IEnumOleUndoUnits **ppEnum);
2135 HRESULT (WINAPI *EnumRedoable)(IOleUndoManager *This,IEnumOleUndoUnits **ppEnum);
2136 HRESULT (WINAPI *GetLastUndoDescription)(IOleUndoManager *This,BSTR *pBstr);
2137 HRESULT (WINAPI *GetLastRedoDescription)(IOleUndoManager *This,BSTR *pBstr);
2138 HRESULT (WINAPI *Enable)(IOleUndoManager *This,WINBOOL fEnable);
2139 END_INTERFACE
2140 } IOleUndoManagerVtbl;
2141 struct IOleUndoManager {
2142 CONST_VTBL struct IOleUndoManagerVtbl *lpVtbl;
2143 };
2144 #ifdef COBJMACROS
2145 #define IOleUndoManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2146 #define IOleUndoManager_AddRef(This) (This)->lpVtbl->AddRef(This)
2147 #define IOleUndoManager_Release(This) (This)->lpVtbl->Release(This)
2148 #define IOleUndoManager_Open(This,pPUU) (This)->lpVtbl->Open(This,pPUU)
2149 #define IOleUndoManager_Close(This,pPUU,fCommit) (This)->lpVtbl->Close(This,pPUU,fCommit)
2150 #define IOleUndoManager_Add(This,pUU) (This)->lpVtbl->Add(This,pUU)
2151 #define IOleUndoManager_GetOpenParentState(This,pdwState) (This)->lpVtbl->GetOpenParentState(This,pdwState)
2152 #define IOleUndoManager_DiscardFrom(This,pUU) (This)->lpVtbl->DiscardFrom(This,pUU)
2153 #define IOleUndoManager_UndoTo(This,pUU) (This)->lpVtbl->UndoTo(This,pUU)
2154 #define IOleUndoManager_RedoTo(This,pUU) (This)->lpVtbl->RedoTo(This,pUU)
2155 #define IOleUndoManager_EnumUndoable(This,ppEnum) (This)->lpVtbl->EnumUndoable(This,ppEnum)
2156 #define IOleUndoManager_EnumRedoable(This,ppEnum) (This)->lpVtbl->EnumRedoable(This,ppEnum)
2157 #define IOleUndoManager_GetLastUndoDescription(This,pBstr) (This)->lpVtbl->GetLastUndoDescription(This,pBstr)
2158 #define IOleUndoManager_GetLastRedoDescription(This,pBstr) (This)->lpVtbl->GetLastRedoDescription(This,pBstr)
2159 #define IOleUndoManager_Enable(This,fEnable) (This)->lpVtbl->Enable(This,fEnable)
2160 #endif
2161 #endif
2162 HRESULT WINAPI IOleUndoManager_Open_Proxy(IOleUndoManager *This,IOleParentUndoUnit *pPUU);
2163 void __RPC_STUB IOleUndoManager_Open_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2164 HRESULT WINAPI IOleUndoManager_Close_Proxy(IOleUndoManager *This,IOleParentUndoUnit *pPUU,WINBOOL fCommit);
2165 void __RPC_STUB IOleUndoManager_Close_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2166 HRESULT WINAPI IOleUndoManager_Add_Proxy(IOleUndoManager *This,IOleUndoUnit *pUU);
2167 void __RPC_STUB IOleUndoManager_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2168 HRESULT WINAPI IOleUndoManager_GetOpenParentState_Proxy(IOleUndoManager *This,DWORD *pdwState);
2169 void __RPC_STUB IOleUndoManager_GetOpenParentState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2170 HRESULT WINAPI IOleUndoManager_DiscardFrom_Proxy(IOleUndoManager *This,IOleUndoUnit *pUU);
2171 void __RPC_STUB IOleUndoManager_DiscardFrom_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2172 HRESULT WINAPI IOleUndoManager_UndoTo_Proxy(IOleUndoManager *This,IOleUndoUnit *pUU);
2173 void __RPC_STUB IOleUndoManager_UndoTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2174 HRESULT WINAPI IOleUndoManager_RedoTo_Proxy(IOleUndoManager *This,IOleUndoUnit *pUU);
2175 void __RPC_STUB IOleUndoManager_RedoTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2176 HRESULT WINAPI IOleUndoManager_EnumUndoable_Proxy(IOleUndoManager *This,IEnumOleUndoUnits **ppEnum);
2177 void __RPC_STUB IOleUndoManager_EnumUndoable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2178 HRESULT WINAPI IOleUndoManager_EnumRedoable_Proxy(IOleUndoManager *This,IEnumOleUndoUnits **ppEnum);
2179 void __RPC_STUB IOleUndoManager_EnumRedoable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2180 HRESULT WINAPI IOleUndoManager_GetLastUndoDescription_Proxy(IOleUndoManager *This,BSTR *pBstr);
2181 void __RPC_STUB IOleUndoManager_GetLastUndoDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2182 HRESULT WINAPI IOleUndoManager_GetLastRedoDescription_Proxy(IOleUndoManager *This,BSTR *pBstr);
2183 void __RPC_STUB IOleUndoManager_GetLastRedoDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2184 HRESULT WINAPI IOleUndoManager_Enable_Proxy(IOleUndoManager *This,WINBOOL fEnable);
2185 void __RPC_STUB IOleUndoManager_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2186 #endif
2187
2188 #ifndef __IPointerInactive_INTERFACE_DEFINED__
2189 #define __IPointerInactive_INTERFACE_DEFINED__
2190 typedef IPointerInactive *LPPOINTERINACTIVE;
2191
2192 typedef enum tagPOINTERINACTIVE {
2193 POINTERINACTIVE_ACTIVATEONENTRY = 1,POINTERINACTIVE_DEACTIVATEONLEAVE = 2,POINTERINACTIVE_ACTIVATEONDRAG = 4
2194 } POINTERINACTIVE;
2195
2196 EXTERN_C const IID IID_IPointerInactive;
2197 #if defined(__cplusplus) && !defined(CINTERFACE)
2198 struct IPointerInactive : public IUnknown {
2199 public:
2200 virtual HRESULT WINAPI GetActivationPolicy(DWORD *pdwPolicy) = 0;
2201 virtual HRESULT WINAPI OnInactiveMouseMove(LPCRECT pRectBounds,LONG x,LONG y,DWORD grfKeyState) = 0;
2202 virtual HRESULT WINAPI OnInactiveSetCursor(LPCRECT pRectBounds,LONG x,LONG y,DWORD dwMouseMsg,WINBOOL fSetAlways) = 0;
2203 };
2204 #else
2205 typedef struct IPointerInactiveVtbl {
2206 BEGIN_INTERFACE
2207 HRESULT (WINAPI *QueryInterface)(IPointerInactive *This,REFIID riid,void **ppvObject);
2208 ULONG (WINAPI *AddRef)(IPointerInactive *This);
2209 ULONG (WINAPI *Release)(IPointerInactive *This);
2210 HRESULT (WINAPI *GetActivationPolicy)(IPointerInactive *This,DWORD *pdwPolicy);
2211 HRESULT (WINAPI *OnInactiveMouseMove)(IPointerInactive *This,LPCRECT pRectBounds,LONG x,LONG y,DWORD grfKeyState);
2212 HRESULT (WINAPI *OnInactiveSetCursor)(IPointerInactive *This,LPCRECT pRectBounds,LONG x,LONG y,DWORD dwMouseMsg,WINBOOL fSetAlways);
2213 END_INTERFACE
2214 } IPointerInactiveVtbl;
2215 struct IPointerInactive {
2216 CONST_VTBL struct IPointerInactiveVtbl *lpVtbl;
2217 };
2218 #ifdef COBJMACROS
2219 #define IPointerInactive_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2220 #define IPointerInactive_AddRef(This) (This)->lpVtbl->AddRef(This)
2221 #define IPointerInactive_Release(This) (This)->lpVtbl->Release(This)
2222 #define IPointerInactive_GetActivationPolicy(This,pdwPolicy) (This)->lpVtbl->GetActivationPolicy(This,pdwPolicy)
2223 #define IPointerInactive_OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState) (This)->lpVtbl->OnInactiveMouseMove(This,pRectBounds,x,y,grfKeyState)
2224 #define IPointerInactive_OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways) (This)->lpVtbl->OnInactiveSetCursor(This,pRectBounds,x,y,dwMouseMsg,fSetAlways)
2225 #endif
2226 #endif
2227 HRESULT WINAPI IPointerInactive_GetActivationPolicy_Proxy(IPointerInactive *This,DWORD *pdwPolicy);
2228 void __RPC_STUB IPointerInactive_GetActivationPolicy_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2229 HRESULT WINAPI IPointerInactive_OnInactiveMouseMove_Proxy(IPointerInactive *This,LPCRECT pRectBounds,LONG x,LONG y,DWORD grfKeyState);
2230 void __RPC_STUB IPointerInactive_OnInactiveMouseMove_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2231 HRESULT WINAPI IPointerInactive_OnInactiveSetCursor_Proxy(IPointerInactive *This,LPCRECT pRectBounds,LONG x,LONG y,DWORD dwMouseMsg,WINBOOL fSetAlways);
2232 void __RPC_STUB IPointerInactive_OnInactiveSetCursor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2233 #endif
2234
2235 #ifndef __IObjectWithSite_INTERFACE_DEFINED__
2236 #define __IObjectWithSite_INTERFACE_DEFINED__
2237 typedef IObjectWithSite *LPOBJECTWITHSITE;
2238
2239 EXTERN_C const IID IID_IObjectWithSite;
2240 #if defined(__cplusplus) && !defined(CINTERFACE)
2241 struct IObjectWithSite : public IUnknown {
2242 public:
2243 virtual HRESULT WINAPI SetSite(IUnknown *pUnkSite) = 0;
2244 virtual HRESULT WINAPI GetSite(REFIID riid,void **ppvSite) = 0;
2245 };
2246 #else
2247 typedef struct IObjectWithSiteVtbl {
2248 BEGIN_INTERFACE
2249 HRESULT (WINAPI *QueryInterface)(IObjectWithSite *This,REFIID riid,void **ppvObject);
2250 ULONG (WINAPI *AddRef)(IObjectWithSite *This);
2251 ULONG (WINAPI *Release)(IObjectWithSite *This);
2252 HRESULT (WINAPI *SetSite)(IObjectWithSite *This,IUnknown *pUnkSite);
2253 HRESULT (WINAPI *GetSite)(IObjectWithSite *This,REFIID riid,void **ppvSite);
2254 END_INTERFACE
2255 } IObjectWithSiteVtbl;
2256 struct IObjectWithSite {
2257 CONST_VTBL struct IObjectWithSiteVtbl *lpVtbl;
2258 };
2259 #ifdef COBJMACROS
2260 #define IObjectWithSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2261 #define IObjectWithSite_AddRef(This) (This)->lpVtbl->AddRef(This)
2262 #define IObjectWithSite_Release(This) (This)->lpVtbl->Release(This)
2263 #define IObjectWithSite_SetSite(This,pUnkSite) (This)->lpVtbl->SetSite(This,pUnkSite)
2264 #define IObjectWithSite_GetSite(This,riid,ppvSite) (This)->lpVtbl->GetSite(This,riid,ppvSite)
2265 #endif
2266 #endif
2267 HRESULT WINAPI IObjectWithSite_SetSite_Proxy(IObjectWithSite *This,IUnknown *pUnkSite);
2268 void __RPC_STUB IObjectWithSite_SetSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2269 HRESULT WINAPI IObjectWithSite_GetSite_Proxy(IObjectWithSite *This,REFIID riid,void **ppvSite);
2270 void __RPC_STUB IObjectWithSite_GetSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2271 #endif
2272
2273 #ifndef __IPerPropertyBrowsing_INTERFACE_DEFINED__
2274 #define __IPerPropertyBrowsing_INTERFACE_DEFINED__
2275 typedef IPerPropertyBrowsing *LPPERPROPERTYBROWSING;
2276
2277 typedef struct tagCALPOLESTR {
2278 ULONG cElems;
2279 LPOLESTR *pElems;
2280 } CALPOLESTR;
2281
2282 typedef struct tagCALPOLESTR *LPCALPOLESTR;
2283
2284 typedef struct tagCADWORD {
2285 ULONG cElems;
2286 DWORD *pElems;
2287 } CADWORD;
2288
2289 typedef struct tagCADWORD *LPCADWORD;
2290
2291 EXTERN_C const IID IID_IPerPropertyBrowsing;
2292 #if defined(__cplusplus) && !defined(CINTERFACE)
2293 struct IPerPropertyBrowsing : public IUnknown {
2294 public:
2295 virtual HRESULT WINAPI GetDisplayString(DISPID dispID,BSTR *pBstr) = 0;
2296 virtual HRESULT WINAPI MapPropertyToPage(DISPID dispID,CLSID *pClsid) = 0;
2297 virtual HRESULT WINAPI GetPredefinedStrings(DISPID dispID,CALPOLESTR *pCaStringsOut,CADWORD *pCaCookiesOut) = 0;
2298 virtual HRESULT WINAPI GetPredefinedValue(DISPID dispID,DWORD dwCookie,VARIANT *pVarOut) = 0;
2299 };
2300 #else
2301 typedef struct IPerPropertyBrowsingVtbl {
2302 BEGIN_INTERFACE
2303 HRESULT (WINAPI *QueryInterface)(IPerPropertyBrowsing *This,REFIID riid,void **ppvObject);
2304 ULONG (WINAPI *AddRef)(IPerPropertyBrowsing *This);
2305 ULONG (WINAPI *Release)(IPerPropertyBrowsing *This);
2306 HRESULT (WINAPI *GetDisplayString)(IPerPropertyBrowsing *This,DISPID dispID,BSTR *pBstr);
2307 HRESULT (WINAPI *MapPropertyToPage)(IPerPropertyBrowsing *This,DISPID dispID,CLSID *pClsid);
2308 HRESULT (WINAPI *GetPredefinedStrings)(IPerPropertyBrowsing *This,DISPID dispID,CALPOLESTR *pCaStringsOut,CADWORD *pCaCookiesOut);
2309 HRESULT (WINAPI *GetPredefinedValue)(IPerPropertyBrowsing *This,DISPID dispID,DWORD dwCookie,VARIANT *pVarOut);
2310 END_INTERFACE
2311 } IPerPropertyBrowsingVtbl;
2312 struct IPerPropertyBrowsing {
2313 CONST_VTBL struct IPerPropertyBrowsingVtbl *lpVtbl;
2314 };
2315 #ifdef COBJMACROS
2316 #define IPerPropertyBrowsing_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2317 #define IPerPropertyBrowsing_AddRef(This) (This)->lpVtbl->AddRef(This)
2318 #define IPerPropertyBrowsing_Release(This) (This)->lpVtbl->Release(This)
2319 #define IPerPropertyBrowsing_GetDisplayString(This,dispID,pBstr) (This)->lpVtbl->GetDisplayString(This,dispID,pBstr)
2320 #define IPerPropertyBrowsing_MapPropertyToPage(This,dispID,pClsid) (This)->lpVtbl->MapPropertyToPage(This,dispID,pClsid)
2321 #define IPerPropertyBrowsing_GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut) (This)->lpVtbl->GetPredefinedStrings(This,dispID,pCaStringsOut,pCaCookiesOut)
2322 #define IPerPropertyBrowsing_GetPredefinedValue(This,dispID,dwCookie,pVarOut) (This)->lpVtbl->GetPredefinedValue(This,dispID,dwCookie,pVarOut)
2323 #endif
2324 #endif
2325 HRESULT WINAPI IPerPropertyBrowsing_GetDisplayString_Proxy(IPerPropertyBrowsing *This,DISPID dispID,BSTR *pBstr);
2326 void __RPC_STUB IPerPropertyBrowsing_GetDisplayString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2327 HRESULT WINAPI IPerPropertyBrowsing_MapPropertyToPage_Proxy(IPerPropertyBrowsing *This,DISPID dispID,CLSID *pClsid);
2328 void __RPC_STUB IPerPropertyBrowsing_MapPropertyToPage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2329 HRESULT WINAPI IPerPropertyBrowsing_GetPredefinedStrings_Proxy(IPerPropertyBrowsing *This,DISPID dispID,CALPOLESTR *pCaStringsOut,CADWORD *pCaCookiesOut);
2330 void __RPC_STUB IPerPropertyBrowsing_GetPredefinedStrings_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2331 HRESULT WINAPI IPerPropertyBrowsing_GetPredefinedValue_Proxy(IPerPropertyBrowsing *This,DISPID dispID,DWORD dwCookie,VARIANT *pVarOut);
2332 void __RPC_STUB IPerPropertyBrowsing_GetPredefinedValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2333 #endif
2334
2335 #ifndef __IPropertyBag2_INTERFACE_DEFINED__
2336 #define __IPropertyBag2_INTERFACE_DEFINED__
2337 typedef IPropertyBag2 *LPPROPERTYBAG2;
2338
2339 typedef enum tagPROPBAG2_TYPE {
2340 PROPBAG2_TYPE_UNDEFINED = 0,PROPBAG2_TYPE_DATA = 1,PROPBAG2_TYPE_URL = 2,PROPBAG2_TYPE_OBJECT = 3,PROPBAG2_TYPE_STREAM = 4,
2341 PROPBAG2_TYPE_STORAGE = 5,PROPBAG2_TYPE_MONIKER = 6
2342 } PROPBAG2_TYPE;
2343
2344 typedef struct tagPROPBAG2 {
2345 DWORD dwType;
2346 VARTYPE vt;
2347 CLIPFORMAT cfType;
2348 DWORD dwHint;
2349 LPOLESTR pstrName;
2350 CLSID clsid;
2351 } PROPBAG2;
2352
2353 EXTERN_C const IID IID_IPropertyBag2;
2354 #if defined(__cplusplus) && !defined(CINTERFACE)
2355 struct IPropertyBag2 : public IUnknown {
2356 public:
2357 virtual HRESULT WINAPI Read(ULONG cProperties,PROPBAG2 *pPropBag,IErrorLog *pErrLog,VARIANT *pvarValue,HRESULT *phrError) = 0;
2358 virtual HRESULT WINAPI Write(ULONG cProperties,PROPBAG2 *pPropBag,VARIANT *pvarValue) = 0;
2359 virtual HRESULT WINAPI CountProperties(ULONG *pcProperties) = 0;
2360 virtual HRESULT WINAPI GetPropertyInfo(ULONG iProperty,ULONG cProperties,PROPBAG2 *pPropBag,ULONG *pcProperties) = 0;
2361 virtual HRESULT WINAPI LoadObject(LPCOLESTR pstrName,DWORD dwHint,IUnknown *pUnkObject,IErrorLog *pErrLog) = 0;
2362 };
2363 #else
2364 typedef struct IPropertyBag2Vtbl {
2365 BEGIN_INTERFACE
2366 HRESULT (WINAPI *QueryInterface)(IPropertyBag2 *This,REFIID riid,void **ppvObject);
2367 ULONG (WINAPI *AddRef)(IPropertyBag2 *This);
2368 ULONG (WINAPI *Release)(IPropertyBag2 *This);
2369 HRESULT (WINAPI *Read)(IPropertyBag2 *This,ULONG cProperties,PROPBAG2 *pPropBag,IErrorLog *pErrLog,VARIANT *pvarValue,HRESULT *phrError);
2370 HRESULT (WINAPI *Write)(IPropertyBag2 *This,ULONG cProperties,PROPBAG2 *pPropBag,VARIANT *pvarValue);
2371 HRESULT (WINAPI *CountProperties)(IPropertyBag2 *This,ULONG *pcProperties);
2372 HRESULT (WINAPI *GetPropertyInfo)(IPropertyBag2 *This,ULONG iProperty,ULONG cProperties,PROPBAG2 *pPropBag,ULONG *pcProperties);
2373 HRESULT (WINAPI *LoadObject)(IPropertyBag2 *This,LPCOLESTR pstrName,DWORD dwHint,IUnknown *pUnkObject,IErrorLog *pErrLog);
2374 END_INTERFACE
2375 } IPropertyBag2Vtbl;
2376 struct IPropertyBag2 {
2377 CONST_VTBL struct IPropertyBag2Vtbl *lpVtbl;
2378 };
2379 #ifdef COBJMACROS
2380 #define IPropertyBag2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2381 #define IPropertyBag2_AddRef(This) (This)->lpVtbl->AddRef(This)
2382 #define IPropertyBag2_Release(This) (This)->lpVtbl->Release(This)
2383 #define IPropertyBag2_Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError) (This)->lpVtbl->Read(This,cProperties,pPropBag,pErrLog,pvarValue,phrError)
2384 #define IPropertyBag2_Write(This,cProperties,pPropBag,pvarValue) (This)->lpVtbl->Write(This,cProperties,pPropBag,pvarValue)
2385 #define IPropertyBag2_CountProperties(This,pcProperties) (This)->lpVtbl->CountProperties(This,pcProperties)
2386 #define IPropertyBag2_GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties) (This)->lpVtbl->GetPropertyInfo(This,iProperty,cProperties,pPropBag,pcProperties)
2387 #define IPropertyBag2_LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog) (This)->lpVtbl->LoadObject(This,pstrName,dwHint,pUnkObject,pErrLog)
2388 #endif
2389 #endif
2390 HRESULT WINAPI IPropertyBag2_Read_Proxy(IPropertyBag2 *This,ULONG cProperties,PROPBAG2 *pPropBag,IErrorLog *pErrLog,VARIANT *pvarValue,HRESULT *phrError);
2391 void __RPC_STUB IPropertyBag2_Read_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2392 HRESULT WINAPI IPropertyBag2_Write_Proxy(IPropertyBag2 *This,ULONG cProperties,PROPBAG2 *pPropBag,VARIANT *pvarValue);
2393 void __RPC_STUB IPropertyBag2_Write_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2394 HRESULT WINAPI IPropertyBag2_CountProperties_Proxy(IPropertyBag2 *This,ULONG *pcProperties);
2395 void __RPC_STUB IPropertyBag2_CountProperties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2396 HRESULT WINAPI IPropertyBag2_GetPropertyInfo_Proxy(IPropertyBag2 *This,ULONG iProperty,ULONG cProperties,PROPBAG2 *pPropBag,ULONG *pcProperties);
2397 void __RPC_STUB IPropertyBag2_GetPropertyInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2398 HRESULT WINAPI IPropertyBag2_LoadObject_Proxy(IPropertyBag2 *This,LPCOLESTR pstrName,DWORD dwHint,IUnknown *pUnkObject,IErrorLog *pErrLog);
2399 void __RPC_STUB IPropertyBag2_LoadObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2400 #endif
2401
2402 #ifndef __IPersistPropertyBag2_INTERFACE_DEFINED__
2403 #define __IPersistPropertyBag2_INTERFACE_DEFINED__
2404 typedef IPersistPropertyBag2 *LPPERSISTPROPERTYBAG2;
2405
2406 EXTERN_C const IID IID_IPersistPropertyBag2;
2407 #if defined(__cplusplus) && !defined(CINTERFACE)
2408 struct IPersistPropertyBag2 : public IPersist {
2409 public:
2410 virtual HRESULT WINAPI InitNew(void) = 0;
2411 virtual HRESULT WINAPI Load(IPropertyBag2 *pPropBag,IErrorLog *pErrLog) = 0;
2412 virtual HRESULT WINAPI Save(IPropertyBag2 *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties) = 0;
2413 virtual HRESULT WINAPI IsDirty(void) = 0;
2414 };
2415 #else
2416 typedef struct IPersistPropertyBag2Vtbl {
2417 BEGIN_INTERFACE
2418 HRESULT (WINAPI *QueryInterface)(IPersistPropertyBag2 *This,REFIID riid,void **ppvObject);
2419 ULONG (WINAPI *AddRef)(IPersistPropertyBag2 *This);
2420 ULONG (WINAPI *Release)(IPersistPropertyBag2 *This);
2421 HRESULT (WINAPI *GetClassID)(IPersistPropertyBag2 *This,CLSID *pClassID);
2422 HRESULT (WINAPI *InitNew)(IPersistPropertyBag2 *This);
2423 HRESULT (WINAPI *Load)(IPersistPropertyBag2 *This,IPropertyBag2 *pPropBag,IErrorLog *pErrLog);
2424 HRESULT (WINAPI *Save)(IPersistPropertyBag2 *This,IPropertyBag2 *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties);
2425 HRESULT (WINAPI *IsDirty)(IPersistPropertyBag2 *This);
2426 END_INTERFACE
2427 } IPersistPropertyBag2Vtbl;
2428 struct IPersistPropertyBag2 {
2429 CONST_VTBL struct IPersistPropertyBag2Vtbl *lpVtbl;
2430 };
2431 #ifdef COBJMACROS
2432 #define IPersistPropertyBag2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2433 #define IPersistPropertyBag2_AddRef(This) (This)->lpVtbl->AddRef(This)
2434 #define IPersistPropertyBag2_Release(This) (This)->lpVtbl->Release(This)
2435 #define IPersistPropertyBag2_GetClassID(This,pClassID) (This)->lpVtbl->GetClassID(This,pClassID)
2436 #define IPersistPropertyBag2_InitNew(This) (This)->lpVtbl->InitNew(This)
2437 #define IPersistPropertyBag2_Load(This,pPropBag,pErrLog) (This)->lpVtbl->Load(This,pPropBag,pErrLog)
2438 #define IPersistPropertyBag2_Save(This,pPropBag,fClearDirty,fSaveAllProperties) (This)->lpVtbl->Save(This,pPropBag,fClearDirty,fSaveAllProperties)
2439 #define IPersistPropertyBag2_IsDirty(This) (This)->lpVtbl->IsDirty(This)
2440 #endif
2441 #endif
2442 HRESULT WINAPI IPersistPropertyBag2_InitNew_Proxy(IPersistPropertyBag2 *This);
2443 void __RPC_STUB IPersistPropertyBag2_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2444 HRESULT WINAPI IPersistPropertyBag2_Load_Proxy(IPersistPropertyBag2 *This,IPropertyBag2 *pPropBag,IErrorLog *pErrLog);
2445 void __RPC_STUB IPersistPropertyBag2_Load_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2446 HRESULT WINAPI IPersistPropertyBag2_Save_Proxy(IPersistPropertyBag2 *This,IPropertyBag2 *pPropBag,WINBOOL fClearDirty,WINBOOL fSaveAllProperties);
2447 void __RPC_STUB IPersistPropertyBag2_Save_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2448 HRESULT WINAPI IPersistPropertyBag2_IsDirty_Proxy(IPersistPropertyBag2 *This);
2449 void __RPC_STUB IPersistPropertyBag2_IsDirty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2450 #endif
2451
2452 #ifndef __IAdviseSinkEx_INTERFACE_DEFINED__
2453 #define __IAdviseSinkEx_INTERFACE_DEFINED__
2454 typedef IAdviseSinkEx *LPADVISESINKEX;
2455
2456 EXTERN_C const IID IID_IAdviseSinkEx;
2457 #if defined(__cplusplus) && !defined(CINTERFACE)
2458 struct IAdviseSinkEx : public IAdviseSink {
2459 public:
2460 virtual void WINAPI OnViewStatusChange(DWORD dwViewStatus) = 0;
2461 };
2462 #else
2463 typedef struct IAdviseSinkExVtbl {
2464 BEGIN_INTERFACE
2465 HRESULT (WINAPI *QueryInterface)(IAdviseSinkEx *This,REFIID riid,void **ppvObject);
2466 ULONG (WINAPI *AddRef)(IAdviseSinkEx *This);
2467 ULONG (WINAPI *Release)(IAdviseSinkEx *This);
2468 void (WINAPI *OnDataChange)(IAdviseSinkEx *This,FORMATETC *pFormatetc,STGMEDIUM *pStgmed);
2469 void (WINAPI *OnViewChange)(IAdviseSinkEx *This,DWORD dwAspect,LONG lindex);
2470 void (WINAPI *OnRename)(IAdviseSinkEx *This,IMoniker *pmk);
2471 void (WINAPI *OnSave)(IAdviseSinkEx *This);
2472 void (WINAPI *OnClose)(IAdviseSinkEx *This);
2473 void (WINAPI *OnViewStatusChange)(IAdviseSinkEx *This,DWORD dwViewStatus);
2474 END_INTERFACE
2475 } IAdviseSinkExVtbl;
2476 struct IAdviseSinkEx {
2477 CONST_VTBL struct IAdviseSinkExVtbl *lpVtbl;
2478 };
2479 #ifdef COBJMACROS
2480 #define IAdviseSinkEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2481 #define IAdviseSinkEx_AddRef(This) (This)->lpVtbl->AddRef(This)
2482 #define IAdviseSinkEx_Release(This) (This)->lpVtbl->Release(This)
2483 #define IAdviseSinkEx_OnDataChange(This,pFormatetc,pStgmed) (This)->lpVtbl->OnDataChange(This,pFormatetc,pStgmed)
2484 #define IAdviseSinkEx_OnViewChange(This,dwAspect,lindex) (This)->lpVtbl->OnViewChange(This,dwAspect,lindex)
2485 #define IAdviseSinkEx_OnRename(This,pmk) (This)->lpVtbl->OnRename(This,pmk)
2486 #define IAdviseSinkEx_OnSave(This) (This)->lpVtbl->OnSave(This)
2487 #define IAdviseSinkEx_OnClose(This) (This)->lpVtbl->OnClose(This)
2488 #define IAdviseSinkEx_OnViewStatusChange(This,dwViewStatus) (This)->lpVtbl->OnViewStatusChange(This,dwViewStatus)
2489 #endif
2490 #endif
2491 HRESULT WINAPI IAdviseSinkEx_RemoteOnViewStatusChange_Proxy(IAdviseSinkEx *This,DWORD dwViewStatus);
2492 void __RPC_STUB IAdviseSinkEx_RemoteOnViewStatusChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2493 #endif
2494
2495 #ifndef __IQuickActivate_INTERFACE_DEFINED__
2496 #define __IQuickActivate_INTERFACE_DEFINED__
2497 typedef IQuickActivate *LPQUICKACTIVATE;
2498
2499 typedef enum tagQACONTAINERFLAGS {
2500 QACONTAINER_SHOWHATCHING = 0x1,QACONTAINER_SHOWGRABHANDLES = 0x2,QACONTAINER_USERMODE = 0x4,QACONTAINER_DISPLAYASDEFAULT = 0x8,
2501 QACONTAINER_UIDEAD = 0x10,QACONTAINER_AUTOCLIP = 0x20,QACONTAINER_MESSAGEREFLECT = 0x40,QACONTAINER_SUPPORTSMNEMONICS = 0x80
2502 } QACONTAINERFLAGS;
2503
2504 typedef DWORD OLE_COLOR;
2505
2506 typedef struct tagQACONTAINER {
2507 ULONG cbSize;
2508 IOleClientSite *pClientSite;
2509 IAdviseSinkEx *pAdviseSink;
2510 IPropertyNotifySink *pPropertyNotifySink;
2511 IUnknown *pUnkEventSink;
2512 DWORD dwAmbientFlags;
2513 OLE_COLOR colorFore;
2514 OLE_COLOR colorBack;
2515 IFont *pFont;
2516 IOleUndoManager *pUndoMgr;
2517 DWORD dwAppearance;
2518 LONG lcid;
2519 HPALETTE hpal;
2520 IBindHost *pBindHost;
2521 IOleControlSite *pOleControlSite;
2522 IServiceProvider *pServiceProvider;
2523 } QACONTAINER;
2524
2525 typedef struct tagQACONTROL {
2526 ULONG cbSize;
2527 DWORD dwMiscStatus;
2528 DWORD dwViewStatus;
2529 DWORD dwEventCookie;
2530 DWORD dwPropNotifyCookie;
2531 DWORD dwPointerActivationPolicy;
2532 } QACONTROL;
2533
2534 EXTERN_C const IID IID_IQuickActivate;
2535 #if defined(__cplusplus) && !defined(CINTERFACE)
2536 struct IQuickActivate : public IUnknown {
2537 public:
2538 virtual HRESULT WINAPI QuickActivate(QACONTAINER *pQaContainer,QACONTROL *pQaControl) = 0;
2539 virtual HRESULT WINAPI SetContentExtent(LPSIZEL pSizel) = 0;
2540 virtual HRESULT WINAPI GetContentExtent(LPSIZEL pSizel) = 0;
2541 };
2542 #else
2543 typedef struct IQuickActivateVtbl {
2544 BEGIN_INTERFACE
2545 HRESULT (WINAPI *QueryInterface)(IQuickActivate *This,REFIID riid,void **ppvObject);
2546 ULONG (WINAPI *AddRef)(IQuickActivate *This);
2547 ULONG (WINAPI *Release)(IQuickActivate *This);
2548 HRESULT (WINAPI *QuickActivate)(IQuickActivate *This,QACONTAINER *pQaContainer,QACONTROL *pQaControl);
2549 HRESULT (WINAPI *SetContentExtent)(IQuickActivate *This,LPSIZEL pSizel);
2550 HRESULT (WINAPI *GetContentExtent)(IQuickActivate *This,LPSIZEL pSizel);
2551 END_INTERFACE
2552 } IQuickActivateVtbl;
2553 struct IQuickActivate {
2554 CONST_VTBL struct IQuickActivateVtbl *lpVtbl;
2555 };
2556 #ifdef COBJMACROS
2557 #define IQuickActivate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2558 #define IQuickActivate_AddRef(This) (This)->lpVtbl->AddRef(This)
2559 #define IQuickActivate_Release(This) (This)->lpVtbl->Release(This)
2560 #define IQuickActivate_QuickActivate(This,pQaContainer,pQaControl) (This)->lpVtbl->QuickActivate(This,pQaContainer,pQaControl)
2561 #define IQuickActivate_SetContentExtent(This,pSizel) (This)->lpVtbl->SetContentExtent(This,pSizel)
2562 #define IQuickActivate_GetContentExtent(This,pSizel) (This)->lpVtbl->GetContentExtent(This,pSizel)
2563 #endif
2564 #endif
2565 HRESULT WINAPI IQuickActivate_RemoteQuickActivate_Proxy(IQuickActivate *This,QACONTAINER *pQaContainer,QACONTROL *pQaControl);
2566 void __RPC_STUB IQuickActivate_RemoteQuickActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2567 HRESULT WINAPI IQuickActivate_SetContentExtent_Proxy(IQuickActivate *This,LPSIZEL pSizel);
2568 void __RPC_STUB IQuickActivate_SetContentExtent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2569 HRESULT WINAPI IQuickActivate_GetContentExtent_Proxy(IQuickActivate *This,LPSIZEL pSizel);
2570 void __RPC_STUB IQuickActivate_GetContentExtent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
2571 #endif
2572
2573 unsigned long __RPC_API BSTR_UserSize(unsigned long *,unsigned long,BSTR *);
2574 unsigned char *__RPC_API BSTR_UserMarshal(unsigned long *,unsigned char *,BSTR *);
2575 unsigned char *__RPC_API BSTR_UserUnmarshal(unsigned long *,unsigned char *,BSTR *);
2576 void __RPC_API BSTR_UserFree(unsigned long *,BSTR *);
2577 unsigned long __RPC_API CLIPFORMAT_UserSize(unsigned long *,unsigned long,CLIPFORMAT *);
2578 unsigned char *__RPC_API CLIPFORMAT_UserMarshal(unsigned long *,unsigned char *,CLIPFORMAT *);
2579 unsigned char *__RPC_API CLIPFORMAT_UserUnmarshal(unsigned long *,unsigned char *,CLIPFORMAT *);
2580 void __RPC_API CLIPFORMAT_UserFree(unsigned long *,CLIPFORMAT *);
2581 unsigned long __RPC_API HACCEL_UserSize(unsigned long *,unsigned long,HACCEL *);
2582 unsigned char *__RPC_API HACCEL_UserMarshal(unsigned long *,unsigned char *,HACCEL *);
2583 unsigned char *__RPC_API HACCEL_UserUnmarshal(unsigned long *,unsigned char *,HACCEL *);
2584 void __RPC_API HACCEL_UserFree(unsigned long *,HACCEL *);
2585 unsigned long __RPC_API HDC_UserSize(unsigned long *,unsigned long,HDC *);
2586 unsigned char *__RPC_API HDC_UserMarshal(unsigned long *,unsigned char *,HDC *);
2587 unsigned char *__RPC_API HDC_UserUnmarshal(unsigned long *,unsigned char *,HDC *);
2588 void __RPC_API HDC_UserFree(unsigned long *,HDC *);
2589 unsigned long __RPC_API HFONT_UserSize(unsigned long *,unsigned long,HFONT *);
2590 unsigned char *__RPC_API HFONT_UserMarshal(unsigned long *,unsigned char *,HFONT *);
2591 unsigned char *__RPC_API HFONT_UserUnmarshal(unsigned long *,unsigned char *,HFONT *);
2592 void __RPC_API HFONT_UserFree(unsigned long *,HFONT *);
2593 unsigned long __RPC_API HPALETTE_UserSize(unsigned long *,unsigned long,HPALETTE *);
2594 unsigned char *__RPC_API HPALETTE_UserMarshal(unsigned long *,unsigned char *,HPALETTE *);
2595 unsigned char *__RPC_API HPALETTE_UserUnmarshal(unsigned long *,unsigned char *,HPALETTE *);
2596 void __RPC_API HPALETTE_UserFree(unsigned long *,HPALETTE *);
2597 unsigned long __RPC_API HWND_UserSize(unsigned long *,unsigned long,HWND *);
2598 unsigned char *__RPC_API HWND_UserMarshal(unsigned long *,unsigned char *,HWND *);
2599 unsigned char *__RPC_API HWND_UserUnmarshal(unsigned long *,unsigned char *,HWND *);
2600 void __RPC_API HWND_UserFree(unsigned long *,HWND *);
2601 unsigned long __RPC_API VARIANT_UserSize(unsigned long *,unsigned long,VARIANT *);
2602 unsigned char *__RPC_API VARIANT_UserMarshal(unsigned long *,unsigned char *,VARIANT *);
2603 unsigned char *__RPC_API VARIANT_UserUnmarshal(unsigned long *,unsigned char *,VARIANT *);
2604 void __RPC_API VARIANT_UserFree(unsigned long *,VARIANT *);
2605
2606 HRESULT WINAPI IEnumConnections_Next_Proxy(IEnumConnections *This,ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched);
2607 HRESULT WINAPI IEnumConnections_Next_Stub(IEnumConnections *This,ULONG cConnections,LPCONNECTDATA rgcd,ULONG *pcFetched);
2608 HRESULT WINAPI IEnumConnectionPoints_Next_Proxy(IEnumConnectionPoints *This,ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched);
2609 HRESULT WINAPI IEnumConnectionPoints_Next_Stub(IEnumConnectionPoints *This,ULONG cConnections,LPCONNECTIONPOINT *ppCP,ULONG *pcFetched);
2610 HRESULT WINAPI IClassFactory2_CreateInstanceLic_Proxy(IClassFactory2 *This,IUnknown *pUnkOuter,IUnknown *pUnkReserved,REFIID riid,BSTR bstrKey,PVOID *ppvObj);
2611 HRESULT WINAPI IClassFactory2_CreateInstanceLic_Stub(IClassFactory2 *This,REFIID riid,BSTR bstrKey,IUnknown **ppvObj);
2612 HRESULT WINAPI IPersistMemory_Load_Proxy(IPersistMemory *This,LPVOID pMem,ULONG cbSize);
2613 HRESULT WINAPI IPersistMemory_Load_Stub(IPersistMemory *This,BYTE *pMem,ULONG cbSize);
2614 HRESULT WINAPI IPersistMemory_Save_Proxy(IPersistMemory *This,LPVOID pMem,WINBOOL fClearDirty,ULONG cbSize);
2615 HRESULT WINAPI IPersistMemory_Save_Stub(IPersistMemory *This,BYTE *pMem,WINBOOL fClearDirty,ULONG cbSize);
2616 HRESULT WINAPI IEnumOleUndoUnits_Next_Proxy(IEnumOleUndoUnits *This,ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched);
2617 HRESULT WINAPI IEnumOleUndoUnits_Next_Stub(IEnumOleUndoUnits *This,ULONG cElt,IOleUndoUnit **rgElt,ULONG *pcEltFetched);
2618 void WINAPI IAdviseSinkEx_OnViewStatusChange_Proxy(IAdviseSinkEx *This,DWORD dwViewStatus);
2619 HRESULT WINAPI IAdviseSinkEx_OnViewStatusChange_Stub(IAdviseSinkEx *This,DWORD dwViewStatus);
2620 HRESULT WINAPI IQuickActivate_QuickActivate_Proxy(IQuickActivate *This,QACONTAINER *pQaContainer,QACONTROL *pQaControl);
2621 HRESULT WINAPI IQuickActivate_QuickActivate_Stub(IQuickActivate *This,QACONTAINER *pQaContainer,QACONTROL *pQaControl);
2622
2623 #ifdef __cplusplus
2624 }
2625 #endif
2626 #endif