1 | /*** Autogenerated by WIDL 1.1.43 from ../../include/oleidl.idl - Do not edit ***/
|
---|
2 |
|
---|
3 | #include <rpc.h>
|
---|
4 | #include <rpcndr.h>
|
---|
5 |
|
---|
6 | #ifndef __WIDL_OLEIDL_H
|
---|
7 | #define __WIDL_OLEIDL_H
|
---|
8 |
|
---|
9 | #ifdef __cplusplus
|
---|
10 | extern "C" {
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | /* Headers for imported files */
|
---|
14 |
|
---|
15 | #include <objidl.h>
|
---|
16 |
|
---|
17 | /* Forward declarations */
|
---|
18 |
|
---|
19 | #ifndef __IOleWindow_FWD_DEFINED__
|
---|
20 | #define __IOleWindow_FWD_DEFINED__
|
---|
21 | typedef interface IOleWindow IOleWindow;
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #ifndef __IOleInPlaceObject_FWD_DEFINED__
|
---|
25 | #define __IOleInPlaceObject_FWD_DEFINED__
|
---|
26 | typedef interface IOleInPlaceObject IOleInPlaceObject;
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #ifndef __IOleInPlaceUIWindow_FWD_DEFINED__
|
---|
30 | #define __IOleInPlaceUIWindow_FWD_DEFINED__
|
---|
31 | typedef interface IOleInPlaceUIWindow IOleInPlaceUIWindow;
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #ifndef __IOleInPlaceFrame_FWD_DEFINED__
|
---|
35 | #define __IOleInPlaceFrame_FWD_DEFINED__
|
---|
36 | typedef interface IOleInPlaceFrame IOleInPlaceFrame;
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | #ifndef __IOleInPlaceActiveObject_FWD_DEFINED__
|
---|
40 | #define __IOleInPlaceActiveObject_FWD_DEFINED__
|
---|
41 | typedef interface IOleInPlaceActiveObject IOleInPlaceActiveObject;
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | #ifndef __IOleInPlaceSite_FWD_DEFINED__
|
---|
45 | #define __IOleInPlaceSite_FWD_DEFINED__
|
---|
46 | typedef interface IOleInPlaceSite IOleInPlaceSite;
|
---|
47 | #endif
|
---|
48 |
|
---|
49 | #ifndef __IParseDisplayName_FWD_DEFINED__
|
---|
50 | #define __IParseDisplayName_FWD_DEFINED__
|
---|
51 | typedef interface IParseDisplayName IParseDisplayName;
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #ifndef __IOleContainer_FWD_DEFINED__
|
---|
55 | #define __IOleContainer_FWD_DEFINED__
|
---|
56 | typedef interface IOleContainer IOleContainer;
|
---|
57 | #endif
|
---|
58 |
|
---|
59 | #ifndef __IOleItemContainer_FWD_DEFINED__
|
---|
60 | #define __IOleItemContainer_FWD_DEFINED__
|
---|
61 | typedef interface IOleItemContainer IOleItemContainer;
|
---|
62 | #endif
|
---|
63 |
|
---|
64 | #ifndef __IOleLink_FWD_DEFINED__
|
---|
65 | #define __IOleLink_FWD_DEFINED__
|
---|
66 | typedef interface IOleLink IOleLink;
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | #ifndef __IOleClientSite_FWD_DEFINED__
|
---|
70 | #define __IOleClientSite_FWD_DEFINED__
|
---|
71 | typedef interface IOleClientSite IOleClientSite;
|
---|
72 | #endif
|
---|
73 |
|
---|
74 | #ifndef __IOleCache_FWD_DEFINED__
|
---|
75 | #define __IOleCache_FWD_DEFINED__
|
---|
76 | typedef interface IOleCache IOleCache;
|
---|
77 | #endif
|
---|
78 |
|
---|
79 | #ifndef __IOleCache2_FWD_DEFINED__
|
---|
80 | #define __IOleCache2_FWD_DEFINED__
|
---|
81 | typedef interface IOleCache2 IOleCache2;
|
---|
82 | #endif
|
---|
83 |
|
---|
84 | #ifndef __IOleCacheControl_FWD_DEFINED__
|
---|
85 | #define __IOleCacheControl_FWD_DEFINED__
|
---|
86 | typedef interface IOleCacheControl IOleCacheControl;
|
---|
87 | #endif
|
---|
88 |
|
---|
89 | #ifndef __IEnumOLEVERB_FWD_DEFINED__
|
---|
90 | #define __IEnumOLEVERB_FWD_DEFINED__
|
---|
91 | typedef interface IEnumOLEVERB IEnumOLEVERB;
|
---|
92 | #endif
|
---|
93 |
|
---|
94 | #ifndef __IOleObject_FWD_DEFINED__
|
---|
95 | #define __IOleObject_FWD_DEFINED__
|
---|
96 | typedef interface IOleObject IOleObject;
|
---|
97 | #endif
|
---|
98 |
|
---|
99 | #ifndef __IOleAdviseHolder_FWD_DEFINED__
|
---|
100 | #define __IOleAdviseHolder_FWD_DEFINED__
|
---|
101 | typedef interface IOleAdviseHolder IOleAdviseHolder;
|
---|
102 | #endif
|
---|
103 |
|
---|
104 | #ifndef __IContinue_FWD_DEFINED__
|
---|
105 | #define __IContinue_FWD_DEFINED__
|
---|
106 | typedef interface IContinue IContinue;
|
---|
107 | #endif
|
---|
108 |
|
---|
109 | #ifndef __IViewObject_FWD_DEFINED__
|
---|
110 | #define __IViewObject_FWD_DEFINED__
|
---|
111 | typedef interface IViewObject IViewObject;
|
---|
112 | #endif
|
---|
113 |
|
---|
114 | #ifndef __IViewObject2_FWD_DEFINED__
|
---|
115 | #define __IViewObject2_FWD_DEFINED__
|
---|
116 | typedef interface IViewObject2 IViewObject2;
|
---|
117 | #endif
|
---|
118 |
|
---|
119 | #ifndef __IDropSource_FWD_DEFINED__
|
---|
120 | #define __IDropSource_FWD_DEFINED__
|
---|
121 | typedef interface IDropSource IDropSource;
|
---|
122 | #endif
|
---|
123 |
|
---|
124 | #ifndef __IDropTarget_FWD_DEFINED__
|
---|
125 | #define __IDropTarget_FWD_DEFINED__
|
---|
126 | typedef interface IDropTarget IDropTarget;
|
---|
127 | #endif
|
---|
128 |
|
---|
129 |
|
---|
130 | #ifndef __IOleInPlaceActiveObject_FWD_DEFINED__
|
---|
131 | #define __IOleInPlaceActiveObject_FWD_DEFINED__
|
---|
132 | typedef interface IOleInPlaceActiveObject IOleInPlaceActiveObject;
|
---|
133 | #endif
|
---|
134 |
|
---|
135 | #include <winuser.h>
|
---|
136 | void * __RPC_USER MIDL_user_allocate(SIZE_T);
|
---|
137 | void __RPC_USER MIDL_user_free(void *);
|
---|
138 |
|
---|
139 | /*****************************************************************************
|
---|
140 | * IOLETypes interface (v0.0)
|
---|
141 | */
|
---|
142 | #ifndef __IOLETypes_INTERFACE_DEFINED__
|
---|
143 | #define __IOLETypes_INTERFACE_DEFINED__
|
---|
144 |
|
---|
145 | extern RPC_IF_HANDLE IOLETypes_v0_0_c_ifspec;
|
---|
146 | extern RPC_IF_HANDLE IOLETypes_v0_0_s_ifspec;
|
---|
147 | typedef enum tagOLERENDER {
|
---|
148 | OLERENDER_NONE = 0,
|
---|
149 | OLERENDER_DRAW = 1,
|
---|
150 | OLERENDER_FORMAT = 2,
|
---|
151 | OLERENDER_ASIS = 3
|
---|
152 | } OLERENDER;
|
---|
153 | typedef enum tagOLERENDER *LPOLERENDER;
|
---|
154 | typedef struct tagOBJECTDESCRIPTOR {
|
---|
155 | ULONG cbSize;
|
---|
156 | CLSID clsid;
|
---|
157 | DWORD dwDrawAspect;
|
---|
158 | SIZEL sizel;
|
---|
159 | POINTL pointl;
|
---|
160 | DWORD dwStatus;
|
---|
161 | DWORD dwFullUserTypeName;
|
---|
162 | DWORD dwSrcOfCopy;
|
---|
163 | } OBJECTDESCRIPTOR;
|
---|
164 | typedef struct tagOBJECTDESCRIPTOR *POBJECTDESCRIPTOR;
|
---|
165 | typedef struct tagOBJECTDESCRIPTOR *LPOBJECTDESCRIPTOR;
|
---|
166 | typedef struct tagOBJECTDESCRIPTOR LINKSRCDESCRIPTOR;
|
---|
167 | typedef struct tagOBJECTDESCRIPTOR *PLINKSRCDESCRIPTOR;
|
---|
168 | typedef struct tagOBJECTDESCRIPTOR *LPLINKSRCDESCRIPTOR;
|
---|
169 |
|
---|
170 | #endif /* __IOLETypes_INTERFACE_DEFINED__ */
|
---|
171 |
|
---|
172 | /*****************************************************************************
|
---|
173 | * IOleWindow interface
|
---|
174 | */
|
---|
175 | #ifndef __IOleWindow_INTERFACE_DEFINED__
|
---|
176 | #define __IOleWindow_INTERFACE_DEFINED__
|
---|
177 |
|
---|
178 | typedef IOleWindow *LPOLEWINDOW;
|
---|
179 | DEFINE_GUID(IID_IOleWindow, 0x00000114, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
180 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
181 | interface IOleWindow : public IUnknown
|
---|
182 | {
|
---|
183 | virtual HRESULT STDMETHODCALLTYPE GetWindow(
|
---|
184 | HWND *phwnd) = 0;
|
---|
185 |
|
---|
186 | virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp(
|
---|
187 | BOOL fEnterMode) = 0;
|
---|
188 |
|
---|
189 | };
|
---|
190 | #else
|
---|
191 | typedef struct IOleWindowVtbl {
|
---|
192 | BEGIN_INTERFACE
|
---|
193 |
|
---|
194 | /*** IUnknown methods ***/
|
---|
195 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
196 | IOleWindow* This,
|
---|
197 | REFIID riid,
|
---|
198 | void **ppvObject);
|
---|
199 |
|
---|
200 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
201 | IOleWindow* This);
|
---|
202 |
|
---|
203 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
204 | IOleWindow* This);
|
---|
205 |
|
---|
206 | /*** IOleWindow methods ***/
|
---|
207 | HRESULT (STDMETHODCALLTYPE *GetWindow)(
|
---|
208 | IOleWindow* This,
|
---|
209 | HWND *phwnd);
|
---|
210 |
|
---|
211 | HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)(
|
---|
212 | IOleWindow* This,
|
---|
213 | BOOL fEnterMode);
|
---|
214 |
|
---|
215 | END_INTERFACE
|
---|
216 | } IOleWindowVtbl;
|
---|
217 | interface IOleWindow {
|
---|
218 | CONST_VTBL IOleWindowVtbl* lpVtbl;
|
---|
219 | };
|
---|
220 |
|
---|
221 | #ifdef COBJMACROS
|
---|
222 | /*** IUnknown methods ***/
|
---|
223 | #define IOleWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
224 | #define IOleWindow_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
225 | #define IOleWindow_Release(This) (This)->lpVtbl->Release(This)
|
---|
226 | /*** IOleWindow methods ***/
|
---|
227 | #define IOleWindow_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
|
---|
228 | #define IOleWindow_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
|
---|
229 | #endif
|
---|
230 |
|
---|
231 | #endif
|
---|
232 |
|
---|
233 | HRESULT STDMETHODCALLTYPE IOleWindow_GetWindow_Proxy(
|
---|
234 | IOleWindow* This,
|
---|
235 | HWND *phwnd);
|
---|
236 | void __RPC_STUB IOleWindow_GetWindow_Stub(
|
---|
237 | IRpcStubBuffer* This,
|
---|
238 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
239 | PRPC_MESSAGE pRpcMessage,
|
---|
240 | DWORD* pdwStubPhase);
|
---|
241 | HRESULT STDMETHODCALLTYPE IOleWindow_ContextSensitiveHelp_Proxy(
|
---|
242 | IOleWindow* This,
|
---|
243 | BOOL fEnterMode);
|
---|
244 | void __RPC_STUB IOleWindow_ContextSensitiveHelp_Stub(
|
---|
245 | IRpcStubBuffer* This,
|
---|
246 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
247 | PRPC_MESSAGE pRpcMessage,
|
---|
248 | DWORD* pdwStubPhase);
|
---|
249 |
|
---|
250 | #endif /* __IOleWindow_INTERFACE_DEFINED__ */
|
---|
251 |
|
---|
252 | /*****************************************************************************
|
---|
253 | * IOleInPlaceObject interface
|
---|
254 | */
|
---|
255 | #ifndef __IOleInPlaceObject_INTERFACE_DEFINED__
|
---|
256 | #define __IOleInPlaceObject_INTERFACE_DEFINED__
|
---|
257 |
|
---|
258 | typedef IOleInPlaceObject *LPOLEINPLACEOBJECT;
|
---|
259 | DEFINE_GUID(IID_IOleInPlaceObject, 0x00000113, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
260 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
261 | interface IOleInPlaceObject : public IOleWindow
|
---|
262 | {
|
---|
263 | virtual HRESULT STDMETHODCALLTYPE InPlaceDeactivate(
|
---|
264 | ) = 0;
|
---|
265 |
|
---|
266 | virtual HRESULT STDMETHODCALLTYPE UIDeactivate(
|
---|
267 | ) = 0;
|
---|
268 |
|
---|
269 | virtual HRESULT STDMETHODCALLTYPE SetObjectRects(
|
---|
270 | LPCRECT lprcPosRect,
|
---|
271 | LPCRECT lprcClipRect) = 0;
|
---|
272 |
|
---|
273 | virtual HRESULT STDMETHODCALLTYPE ReactivateAndUndo(
|
---|
274 | ) = 0;
|
---|
275 |
|
---|
276 | };
|
---|
277 | #else
|
---|
278 | typedef struct IOleInPlaceObjectVtbl {
|
---|
279 | BEGIN_INTERFACE
|
---|
280 |
|
---|
281 | /*** IUnknown methods ***/
|
---|
282 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
283 | IOleInPlaceObject* This,
|
---|
284 | REFIID riid,
|
---|
285 | void **ppvObject);
|
---|
286 |
|
---|
287 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
288 | IOleInPlaceObject* This);
|
---|
289 |
|
---|
290 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
291 | IOleInPlaceObject* This);
|
---|
292 |
|
---|
293 | /*** IOleWindow methods ***/
|
---|
294 | HRESULT (STDMETHODCALLTYPE *GetWindow)(
|
---|
295 | IOleInPlaceObject* This,
|
---|
296 | HWND *phwnd);
|
---|
297 |
|
---|
298 | HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)(
|
---|
299 | IOleInPlaceObject* This,
|
---|
300 | BOOL fEnterMode);
|
---|
301 |
|
---|
302 | /*** IOleInPlaceObject methods ***/
|
---|
303 | HRESULT (STDMETHODCALLTYPE *InPlaceDeactivate)(
|
---|
304 | IOleInPlaceObject* This);
|
---|
305 |
|
---|
306 | HRESULT (STDMETHODCALLTYPE *UIDeactivate)(
|
---|
307 | IOleInPlaceObject* This);
|
---|
308 |
|
---|
309 | HRESULT (STDMETHODCALLTYPE *SetObjectRects)(
|
---|
310 | IOleInPlaceObject* This,
|
---|
311 | LPCRECT lprcPosRect,
|
---|
312 | LPCRECT lprcClipRect);
|
---|
313 |
|
---|
314 | HRESULT (STDMETHODCALLTYPE *ReactivateAndUndo)(
|
---|
315 | IOleInPlaceObject* This);
|
---|
316 |
|
---|
317 | END_INTERFACE
|
---|
318 | } IOleInPlaceObjectVtbl;
|
---|
319 | interface IOleInPlaceObject {
|
---|
320 | CONST_VTBL IOleInPlaceObjectVtbl* lpVtbl;
|
---|
321 | };
|
---|
322 |
|
---|
323 | #ifdef COBJMACROS
|
---|
324 | /*** IUnknown methods ***/
|
---|
325 | #define IOleInPlaceObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
326 | #define IOleInPlaceObject_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
327 | #define IOleInPlaceObject_Release(This) (This)->lpVtbl->Release(This)
|
---|
328 | /*** IOleWindow methods ***/
|
---|
329 | #define IOleInPlaceObject_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
|
---|
330 | #define IOleInPlaceObject_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
|
---|
331 | /*** IOleInPlaceObject methods ***/
|
---|
332 | #define IOleInPlaceObject_InPlaceDeactivate(This) (This)->lpVtbl->InPlaceDeactivate(This)
|
---|
333 | #define IOleInPlaceObject_UIDeactivate(This) (This)->lpVtbl->UIDeactivate(This)
|
---|
334 | #define IOleInPlaceObject_SetObjectRects(This,lprcPosRect,lprcClipRect) (This)->lpVtbl->SetObjectRects(This,lprcPosRect,lprcClipRect)
|
---|
335 | #define IOleInPlaceObject_ReactivateAndUndo(This) (This)->lpVtbl->ReactivateAndUndo(This)
|
---|
336 | #endif
|
---|
337 |
|
---|
338 | #endif
|
---|
339 |
|
---|
340 | HRESULT STDMETHODCALLTYPE IOleInPlaceObject_InPlaceDeactivate_Proxy(
|
---|
341 | IOleInPlaceObject* This);
|
---|
342 | void __RPC_STUB IOleInPlaceObject_InPlaceDeactivate_Stub(
|
---|
343 | IRpcStubBuffer* This,
|
---|
344 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
345 | PRPC_MESSAGE pRpcMessage,
|
---|
346 | DWORD* pdwStubPhase);
|
---|
347 | HRESULT STDMETHODCALLTYPE IOleInPlaceObject_UIDeactivate_Proxy(
|
---|
348 | IOleInPlaceObject* This);
|
---|
349 | void __RPC_STUB IOleInPlaceObject_UIDeactivate_Stub(
|
---|
350 | IRpcStubBuffer* This,
|
---|
351 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
352 | PRPC_MESSAGE pRpcMessage,
|
---|
353 | DWORD* pdwStubPhase);
|
---|
354 | HRESULT STDMETHODCALLTYPE IOleInPlaceObject_SetObjectRects_Proxy(
|
---|
355 | IOleInPlaceObject* This,
|
---|
356 | LPCRECT lprcPosRect,
|
---|
357 | LPCRECT lprcClipRect);
|
---|
358 | void __RPC_STUB IOleInPlaceObject_SetObjectRects_Stub(
|
---|
359 | IRpcStubBuffer* This,
|
---|
360 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
361 | PRPC_MESSAGE pRpcMessage,
|
---|
362 | DWORD* pdwStubPhase);
|
---|
363 | HRESULT STDMETHODCALLTYPE IOleInPlaceObject_ReactivateAndUndo_Proxy(
|
---|
364 | IOleInPlaceObject* This);
|
---|
365 | void __RPC_STUB IOleInPlaceObject_ReactivateAndUndo_Stub(
|
---|
366 | IRpcStubBuffer* This,
|
---|
367 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
368 | PRPC_MESSAGE pRpcMessage,
|
---|
369 | DWORD* pdwStubPhase);
|
---|
370 |
|
---|
371 | #endif /* __IOleInPlaceObject_INTERFACE_DEFINED__ */
|
---|
372 |
|
---|
373 | /*****************************************************************************
|
---|
374 | * IOleInPlaceUIWindow interface
|
---|
375 | */
|
---|
376 | #ifndef __IOleInPlaceUIWindow_INTERFACE_DEFINED__
|
---|
377 | #define __IOleInPlaceUIWindow_INTERFACE_DEFINED__
|
---|
378 |
|
---|
379 | typedef IOleInPlaceUIWindow *LPOLEINPLACEUIWINDOW;
|
---|
380 | typedef RECT BORDERWIDTHS;
|
---|
381 | typedef LPRECT LPBORDERWIDTHS;
|
---|
382 | typedef LPCRECT LPCBORDERWIDTHS;
|
---|
383 | DEFINE_GUID(IID_IOleInPlaceUIWindow, 0x00000115, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
384 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
385 | interface IOleInPlaceUIWindow : public IOleWindow
|
---|
386 | {
|
---|
387 | virtual HRESULT STDMETHODCALLTYPE GetBorder(
|
---|
388 | LPRECT lprectBorder) = 0;
|
---|
389 |
|
---|
390 | virtual HRESULT STDMETHODCALLTYPE RequestBorderSpace(
|
---|
391 | LPCBORDERWIDTHS pborderwidths) = 0;
|
---|
392 |
|
---|
393 | virtual HRESULT STDMETHODCALLTYPE SetBorderSpace(
|
---|
394 | LPCBORDERWIDTHS pborderwidths) = 0;
|
---|
395 |
|
---|
396 | virtual HRESULT STDMETHODCALLTYPE SetActiveObject(
|
---|
397 | IOleInPlaceActiveObject *pActiveObject,
|
---|
398 | LPCOLESTR pszObjName) = 0;
|
---|
399 |
|
---|
400 | };
|
---|
401 | #else
|
---|
402 | typedef struct IOleInPlaceUIWindowVtbl {
|
---|
403 | BEGIN_INTERFACE
|
---|
404 |
|
---|
405 | /*** IUnknown methods ***/
|
---|
406 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
407 | IOleInPlaceUIWindow* This,
|
---|
408 | REFIID riid,
|
---|
409 | void **ppvObject);
|
---|
410 |
|
---|
411 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
412 | IOleInPlaceUIWindow* This);
|
---|
413 |
|
---|
414 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
415 | IOleInPlaceUIWindow* This);
|
---|
416 |
|
---|
417 | /*** IOleWindow methods ***/
|
---|
418 | HRESULT (STDMETHODCALLTYPE *GetWindow)(
|
---|
419 | IOleInPlaceUIWindow* This,
|
---|
420 | HWND *phwnd);
|
---|
421 |
|
---|
422 | HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)(
|
---|
423 | IOleInPlaceUIWindow* This,
|
---|
424 | BOOL fEnterMode);
|
---|
425 |
|
---|
426 | /*** IOleInPlaceUIWindow methods ***/
|
---|
427 | HRESULT (STDMETHODCALLTYPE *GetBorder)(
|
---|
428 | IOleInPlaceUIWindow* This,
|
---|
429 | LPRECT lprectBorder);
|
---|
430 |
|
---|
431 | HRESULT (STDMETHODCALLTYPE *RequestBorderSpace)(
|
---|
432 | IOleInPlaceUIWindow* This,
|
---|
433 | LPCBORDERWIDTHS pborderwidths);
|
---|
434 |
|
---|
435 | HRESULT (STDMETHODCALLTYPE *SetBorderSpace)(
|
---|
436 | IOleInPlaceUIWindow* This,
|
---|
437 | LPCBORDERWIDTHS pborderwidths);
|
---|
438 |
|
---|
439 | HRESULT (STDMETHODCALLTYPE *SetActiveObject)(
|
---|
440 | IOleInPlaceUIWindow* This,
|
---|
441 | IOleInPlaceActiveObject *pActiveObject,
|
---|
442 | LPCOLESTR pszObjName);
|
---|
443 |
|
---|
444 | END_INTERFACE
|
---|
445 | } IOleInPlaceUIWindowVtbl;
|
---|
446 | interface IOleInPlaceUIWindow {
|
---|
447 | CONST_VTBL IOleInPlaceUIWindowVtbl* lpVtbl;
|
---|
448 | };
|
---|
449 |
|
---|
450 | #ifdef COBJMACROS
|
---|
451 | /*** IUnknown methods ***/
|
---|
452 | #define IOleInPlaceUIWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
453 | #define IOleInPlaceUIWindow_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
454 | #define IOleInPlaceUIWindow_Release(This) (This)->lpVtbl->Release(This)
|
---|
455 | /*** IOleWindow methods ***/
|
---|
456 | #define IOleInPlaceUIWindow_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
|
---|
457 | #define IOleInPlaceUIWindow_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
|
---|
458 | /*** IOleInPlaceUIWindow methods ***/
|
---|
459 | #define IOleInPlaceUIWindow_GetBorder(This,lprectBorder) (This)->lpVtbl->GetBorder(This,lprectBorder)
|
---|
460 | #define IOleInPlaceUIWindow_RequestBorderSpace(This,pborderwidths) (This)->lpVtbl->RequestBorderSpace(This,pborderwidths)
|
---|
461 | #define IOleInPlaceUIWindow_SetBorderSpace(This,pborderwidths) (This)->lpVtbl->SetBorderSpace(This,pborderwidths)
|
---|
462 | #define IOleInPlaceUIWindow_SetActiveObject(This,pActiveObject,pszObjName) (This)->lpVtbl->SetActiveObject(This,pActiveObject,pszObjName)
|
---|
463 | #endif
|
---|
464 |
|
---|
465 | #endif
|
---|
466 |
|
---|
467 | HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_GetBorder_Proxy(
|
---|
468 | IOleInPlaceUIWindow* This,
|
---|
469 | LPRECT lprectBorder);
|
---|
470 | void __RPC_STUB IOleInPlaceUIWindow_GetBorder_Stub(
|
---|
471 | IRpcStubBuffer* This,
|
---|
472 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
473 | PRPC_MESSAGE pRpcMessage,
|
---|
474 | DWORD* pdwStubPhase);
|
---|
475 | HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_RequestBorderSpace_Proxy(
|
---|
476 | IOleInPlaceUIWindow* This,
|
---|
477 | LPCBORDERWIDTHS pborderwidths);
|
---|
478 | void __RPC_STUB IOleInPlaceUIWindow_RequestBorderSpace_Stub(
|
---|
479 | IRpcStubBuffer* This,
|
---|
480 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
481 | PRPC_MESSAGE pRpcMessage,
|
---|
482 | DWORD* pdwStubPhase);
|
---|
483 | HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_SetBorderSpace_Proxy(
|
---|
484 | IOleInPlaceUIWindow* This,
|
---|
485 | LPCBORDERWIDTHS pborderwidths);
|
---|
486 | void __RPC_STUB IOleInPlaceUIWindow_SetBorderSpace_Stub(
|
---|
487 | IRpcStubBuffer* This,
|
---|
488 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
489 | PRPC_MESSAGE pRpcMessage,
|
---|
490 | DWORD* pdwStubPhase);
|
---|
491 | HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_SetActiveObject_Proxy(
|
---|
492 | IOleInPlaceUIWindow* This,
|
---|
493 | IOleInPlaceActiveObject *pActiveObject,
|
---|
494 | LPCOLESTR pszObjName);
|
---|
495 | void __RPC_STUB IOleInPlaceUIWindow_SetActiveObject_Stub(
|
---|
496 | IRpcStubBuffer* This,
|
---|
497 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
498 | PRPC_MESSAGE pRpcMessage,
|
---|
499 | DWORD* pdwStubPhase);
|
---|
500 |
|
---|
501 | #endif /* __IOleInPlaceUIWindow_INTERFACE_DEFINED__ */
|
---|
502 |
|
---|
503 | #ifdef WINE_NO_UNICODE_MACROS
|
---|
504 | #undef TranslateAccelerator
|
---|
505 | #endif
|
---|
506 | /*****************************************************************************
|
---|
507 | * IOleInPlaceFrame interface
|
---|
508 | */
|
---|
509 | #ifndef __IOleInPlaceFrame_INTERFACE_DEFINED__
|
---|
510 | #define __IOleInPlaceFrame_INTERFACE_DEFINED__
|
---|
511 |
|
---|
512 | typedef IOleInPlaceFrame *LPOLEINPLACEFRAME;
|
---|
513 | typedef struct tagOleInPlaceFrameInfo {
|
---|
514 | UINT cb;
|
---|
515 | BOOL fMDIApp;
|
---|
516 | HWND hwndFrame;
|
---|
517 | HACCEL haccel;
|
---|
518 | UINT cAccelEntries;
|
---|
519 | } OLEINPLACEFRAMEINFO;
|
---|
520 | typedef struct tagOleInPlaceFrameInfo *LPOLEINPLACEFRAMEINFO;
|
---|
521 | typedef struct tagOleMenuGroupWidths {
|
---|
522 | LONG width[6];
|
---|
523 | } OLEMENUGROUPWIDTHS;
|
---|
524 | typedef struct tagOleMenuGroupWidths *LPOLEMENUGROUPWIDTHS;
|
---|
525 | typedef HGLOBAL HOLEMENU;
|
---|
526 | DEFINE_GUID(IID_IOleInPlaceFrame, 0x00000116, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
527 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
528 | interface IOleInPlaceFrame : public IOleInPlaceUIWindow
|
---|
529 | {
|
---|
530 | virtual HRESULT STDMETHODCALLTYPE InsertMenus(
|
---|
531 | HMENU hmenuShared,
|
---|
532 | LPOLEMENUGROUPWIDTHS lpMenuWidths) = 0;
|
---|
533 |
|
---|
534 | virtual HRESULT STDMETHODCALLTYPE SetMenu(
|
---|
535 | HMENU hmenuShared,
|
---|
536 | HOLEMENU holemenu,
|
---|
537 | HWND hwndActiveObject) = 0;
|
---|
538 |
|
---|
539 | virtual HRESULT STDMETHODCALLTYPE RemoveMenus(
|
---|
540 | HMENU hmenuShared) = 0;
|
---|
541 |
|
---|
542 | virtual HRESULT STDMETHODCALLTYPE SetStatusText(
|
---|
543 | LPCOLESTR pszStatusText) = 0;
|
---|
544 |
|
---|
545 | virtual HRESULT STDMETHODCALLTYPE EnableModeless(
|
---|
546 | BOOL fEnable) = 0;
|
---|
547 |
|
---|
548 | virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
|
---|
549 | LPMSG lpmsg,
|
---|
550 | WORD wID) = 0;
|
---|
551 |
|
---|
552 | };
|
---|
553 | #else
|
---|
554 | typedef struct IOleInPlaceFrameVtbl {
|
---|
555 | BEGIN_INTERFACE
|
---|
556 |
|
---|
557 | /*** IUnknown methods ***/
|
---|
558 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
559 | IOleInPlaceFrame* This,
|
---|
560 | REFIID riid,
|
---|
561 | void **ppvObject);
|
---|
562 |
|
---|
563 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
564 | IOleInPlaceFrame* This);
|
---|
565 |
|
---|
566 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
567 | IOleInPlaceFrame* This);
|
---|
568 |
|
---|
569 | /*** IOleWindow methods ***/
|
---|
570 | HRESULT (STDMETHODCALLTYPE *GetWindow)(
|
---|
571 | IOleInPlaceFrame* This,
|
---|
572 | HWND *phwnd);
|
---|
573 |
|
---|
574 | HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)(
|
---|
575 | IOleInPlaceFrame* This,
|
---|
576 | BOOL fEnterMode);
|
---|
577 |
|
---|
578 | /*** IOleInPlaceUIWindow methods ***/
|
---|
579 | HRESULT (STDMETHODCALLTYPE *GetBorder)(
|
---|
580 | IOleInPlaceFrame* This,
|
---|
581 | LPRECT lprectBorder);
|
---|
582 |
|
---|
583 | HRESULT (STDMETHODCALLTYPE *RequestBorderSpace)(
|
---|
584 | IOleInPlaceFrame* This,
|
---|
585 | LPCBORDERWIDTHS pborderwidths);
|
---|
586 |
|
---|
587 | HRESULT (STDMETHODCALLTYPE *SetBorderSpace)(
|
---|
588 | IOleInPlaceFrame* This,
|
---|
589 | LPCBORDERWIDTHS pborderwidths);
|
---|
590 |
|
---|
591 | HRESULT (STDMETHODCALLTYPE *SetActiveObject)(
|
---|
592 | IOleInPlaceFrame* This,
|
---|
593 | IOleInPlaceActiveObject *pActiveObject,
|
---|
594 | LPCOLESTR pszObjName);
|
---|
595 |
|
---|
596 | /*** IOleInPlaceFrame methods ***/
|
---|
597 | HRESULT (STDMETHODCALLTYPE *InsertMenus)(
|
---|
598 | IOleInPlaceFrame* This,
|
---|
599 | HMENU hmenuShared,
|
---|
600 | LPOLEMENUGROUPWIDTHS lpMenuWidths);
|
---|
601 |
|
---|
602 | HRESULT (STDMETHODCALLTYPE *SetMenu)(
|
---|
603 | IOleInPlaceFrame* This,
|
---|
604 | HMENU hmenuShared,
|
---|
605 | HOLEMENU holemenu,
|
---|
606 | HWND hwndActiveObject);
|
---|
607 |
|
---|
608 | HRESULT (STDMETHODCALLTYPE *RemoveMenus)(
|
---|
609 | IOleInPlaceFrame* This,
|
---|
610 | HMENU hmenuShared);
|
---|
611 |
|
---|
612 | HRESULT (STDMETHODCALLTYPE *SetStatusText)(
|
---|
613 | IOleInPlaceFrame* This,
|
---|
614 | LPCOLESTR pszStatusText);
|
---|
615 |
|
---|
616 | HRESULT (STDMETHODCALLTYPE *EnableModeless)(
|
---|
617 | IOleInPlaceFrame* This,
|
---|
618 | BOOL fEnable);
|
---|
619 |
|
---|
620 | HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)(
|
---|
621 | IOleInPlaceFrame* This,
|
---|
622 | LPMSG lpmsg,
|
---|
623 | WORD wID);
|
---|
624 |
|
---|
625 | END_INTERFACE
|
---|
626 | } IOleInPlaceFrameVtbl;
|
---|
627 | interface IOleInPlaceFrame {
|
---|
628 | CONST_VTBL IOleInPlaceFrameVtbl* lpVtbl;
|
---|
629 | };
|
---|
630 |
|
---|
631 | #ifdef COBJMACROS
|
---|
632 | /*** IUnknown methods ***/
|
---|
633 | #define IOleInPlaceFrame_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
634 | #define IOleInPlaceFrame_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
635 | #define IOleInPlaceFrame_Release(This) (This)->lpVtbl->Release(This)
|
---|
636 | /*** IOleWindow methods ***/
|
---|
637 | #define IOleInPlaceFrame_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
|
---|
638 | #define IOleInPlaceFrame_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
|
---|
639 | /*** IOleInPlaceUIWindow methods ***/
|
---|
640 | #define IOleInPlaceFrame_GetBorder(This,lprectBorder) (This)->lpVtbl->GetBorder(This,lprectBorder)
|
---|
641 | #define IOleInPlaceFrame_RequestBorderSpace(This,pborderwidths) (This)->lpVtbl->RequestBorderSpace(This,pborderwidths)
|
---|
642 | #define IOleInPlaceFrame_SetBorderSpace(This,pborderwidths) (This)->lpVtbl->SetBorderSpace(This,pborderwidths)
|
---|
643 | #define IOleInPlaceFrame_SetActiveObject(This,pActiveObject,pszObjName) (This)->lpVtbl->SetActiveObject(This,pActiveObject,pszObjName)
|
---|
644 | /*** IOleInPlaceFrame methods ***/
|
---|
645 | #define IOleInPlaceFrame_InsertMenus(This,hmenuShared,lpMenuWidths) (This)->lpVtbl->InsertMenus(This,hmenuShared,lpMenuWidths)
|
---|
646 | #define IOleInPlaceFrame_SetMenu(This,hmenuShared,holemenu,hwndActiveObject) (This)->lpVtbl->SetMenu(This,hmenuShared,holemenu,hwndActiveObject)
|
---|
647 | #define IOleInPlaceFrame_RemoveMenus(This,hmenuShared) (This)->lpVtbl->RemoveMenus(This,hmenuShared)
|
---|
648 | #define IOleInPlaceFrame_SetStatusText(This,pszStatusText) (This)->lpVtbl->SetStatusText(This,pszStatusText)
|
---|
649 | #define IOleInPlaceFrame_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable)
|
---|
650 | #define IOleInPlaceFrame_TranslateAccelerator(This,lpmsg,wID) (This)->lpVtbl->TranslateAccelerator(This,lpmsg,wID)
|
---|
651 | #endif
|
---|
652 |
|
---|
653 | #endif
|
---|
654 |
|
---|
655 | HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_InsertMenus_Proxy(
|
---|
656 | IOleInPlaceFrame* This,
|
---|
657 | HMENU hmenuShared,
|
---|
658 | LPOLEMENUGROUPWIDTHS lpMenuWidths);
|
---|
659 | void __RPC_STUB IOleInPlaceFrame_InsertMenus_Stub(
|
---|
660 | IRpcStubBuffer* This,
|
---|
661 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
662 | PRPC_MESSAGE pRpcMessage,
|
---|
663 | DWORD* pdwStubPhase);
|
---|
664 | HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_SetMenu_Proxy(
|
---|
665 | IOleInPlaceFrame* This,
|
---|
666 | HMENU hmenuShared,
|
---|
667 | HOLEMENU holemenu,
|
---|
668 | HWND hwndActiveObject);
|
---|
669 | void __RPC_STUB IOleInPlaceFrame_SetMenu_Stub(
|
---|
670 | IRpcStubBuffer* This,
|
---|
671 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
672 | PRPC_MESSAGE pRpcMessage,
|
---|
673 | DWORD* pdwStubPhase);
|
---|
674 | HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_RemoveMenus_Proxy(
|
---|
675 | IOleInPlaceFrame* This,
|
---|
676 | HMENU hmenuShared);
|
---|
677 | void __RPC_STUB IOleInPlaceFrame_RemoveMenus_Stub(
|
---|
678 | IRpcStubBuffer* This,
|
---|
679 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
680 | PRPC_MESSAGE pRpcMessage,
|
---|
681 | DWORD* pdwStubPhase);
|
---|
682 | HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_SetStatusText_Proxy(
|
---|
683 | IOleInPlaceFrame* This,
|
---|
684 | LPCOLESTR pszStatusText);
|
---|
685 | void __RPC_STUB IOleInPlaceFrame_SetStatusText_Stub(
|
---|
686 | IRpcStubBuffer* This,
|
---|
687 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
688 | PRPC_MESSAGE pRpcMessage,
|
---|
689 | DWORD* pdwStubPhase);
|
---|
690 | HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_EnableModeless_Proxy(
|
---|
691 | IOleInPlaceFrame* This,
|
---|
692 | BOOL fEnable);
|
---|
693 | void __RPC_STUB IOleInPlaceFrame_EnableModeless_Stub(
|
---|
694 | IRpcStubBuffer* This,
|
---|
695 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
696 | PRPC_MESSAGE pRpcMessage,
|
---|
697 | DWORD* pdwStubPhase);
|
---|
698 | HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_TranslateAccelerator_Proxy(
|
---|
699 | IOleInPlaceFrame* This,
|
---|
700 | LPMSG lpmsg,
|
---|
701 | WORD wID);
|
---|
702 | void __RPC_STUB IOleInPlaceFrame_TranslateAccelerator_Stub(
|
---|
703 | IRpcStubBuffer* This,
|
---|
704 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
705 | PRPC_MESSAGE pRpcMessage,
|
---|
706 | DWORD* pdwStubPhase);
|
---|
707 |
|
---|
708 | #endif /* __IOleInPlaceFrame_INTERFACE_DEFINED__ */
|
---|
709 |
|
---|
710 | /*****************************************************************************
|
---|
711 | * IOleInPlaceActiveObject interface
|
---|
712 | */
|
---|
713 | #ifndef __IOleInPlaceActiveObject_INTERFACE_DEFINED__
|
---|
714 | #define __IOleInPlaceActiveObject_INTERFACE_DEFINED__
|
---|
715 |
|
---|
716 | typedef IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT;
|
---|
717 | DEFINE_GUID(IID_IOleInPlaceActiveObject, 0x00000117, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
718 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
719 | interface IOleInPlaceActiveObject : public IOleWindow
|
---|
720 | {
|
---|
721 | virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
|
---|
722 | LPMSG lpmsg) = 0;
|
---|
723 |
|
---|
724 | virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate(
|
---|
725 | BOOL fActivate) = 0;
|
---|
726 |
|
---|
727 | virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate(
|
---|
728 | BOOL fActivate) = 0;
|
---|
729 |
|
---|
730 | virtual HRESULT STDMETHODCALLTYPE ResizeBorder(
|
---|
731 | LPCRECT prcBorder,
|
---|
732 | IOleInPlaceUIWindow *pUIWindow,
|
---|
733 | BOOL fFrameWindow) = 0;
|
---|
734 |
|
---|
735 | virtual HRESULT STDMETHODCALLTYPE EnableModeless(
|
---|
736 | BOOL fEnable) = 0;
|
---|
737 |
|
---|
738 | };
|
---|
739 | #else
|
---|
740 | typedef struct IOleInPlaceActiveObjectVtbl {
|
---|
741 | BEGIN_INTERFACE
|
---|
742 |
|
---|
743 | /*** IUnknown methods ***/
|
---|
744 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
745 | IOleInPlaceActiveObject* This,
|
---|
746 | REFIID riid,
|
---|
747 | void **ppvObject);
|
---|
748 |
|
---|
749 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
750 | IOleInPlaceActiveObject* This);
|
---|
751 |
|
---|
752 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
753 | IOleInPlaceActiveObject* This);
|
---|
754 |
|
---|
755 | /*** IOleWindow methods ***/
|
---|
756 | HRESULT (STDMETHODCALLTYPE *GetWindow)(
|
---|
757 | IOleInPlaceActiveObject* This,
|
---|
758 | HWND *phwnd);
|
---|
759 |
|
---|
760 | HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)(
|
---|
761 | IOleInPlaceActiveObject* This,
|
---|
762 | BOOL fEnterMode);
|
---|
763 |
|
---|
764 | /*** IOleInPlaceActiveObject methods ***/
|
---|
765 | HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)(
|
---|
766 | IOleInPlaceActiveObject* This,
|
---|
767 | LPMSG lpmsg);
|
---|
768 |
|
---|
769 | HRESULT (STDMETHODCALLTYPE *OnFrameWindowActivate)(
|
---|
770 | IOleInPlaceActiveObject* This,
|
---|
771 | BOOL fActivate);
|
---|
772 |
|
---|
773 | HRESULT (STDMETHODCALLTYPE *OnDocWindowActivate)(
|
---|
774 | IOleInPlaceActiveObject* This,
|
---|
775 | BOOL fActivate);
|
---|
776 |
|
---|
777 | HRESULT (STDMETHODCALLTYPE *ResizeBorder)(
|
---|
778 | IOleInPlaceActiveObject* This,
|
---|
779 | LPCRECT prcBorder,
|
---|
780 | IOleInPlaceUIWindow *pUIWindow,
|
---|
781 | BOOL fFrameWindow);
|
---|
782 |
|
---|
783 | HRESULT (STDMETHODCALLTYPE *EnableModeless)(
|
---|
784 | IOleInPlaceActiveObject* This,
|
---|
785 | BOOL fEnable);
|
---|
786 |
|
---|
787 | END_INTERFACE
|
---|
788 | } IOleInPlaceActiveObjectVtbl;
|
---|
789 | interface IOleInPlaceActiveObject {
|
---|
790 | CONST_VTBL IOleInPlaceActiveObjectVtbl* lpVtbl;
|
---|
791 | };
|
---|
792 |
|
---|
793 | #ifdef COBJMACROS
|
---|
794 | /*** IUnknown methods ***/
|
---|
795 | #define IOleInPlaceActiveObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
796 | #define IOleInPlaceActiveObject_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
797 | #define IOleInPlaceActiveObject_Release(This) (This)->lpVtbl->Release(This)
|
---|
798 | /*** IOleWindow methods ***/
|
---|
799 | #define IOleInPlaceActiveObject_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
|
---|
800 | #define IOleInPlaceActiveObject_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
|
---|
801 | /*** IOleInPlaceActiveObject methods ***/
|
---|
802 | #define IOleInPlaceActiveObject_TranslateAccelerator(This,lpmsg) (This)->lpVtbl->TranslateAccelerator(This,lpmsg)
|
---|
803 | #define IOleInPlaceActiveObject_OnFrameWindowActivate(This,fActivate) (This)->lpVtbl->OnFrameWindowActivate(This,fActivate)
|
---|
804 | #define IOleInPlaceActiveObject_OnDocWindowActivate(This,fActivate) (This)->lpVtbl->OnDocWindowActivate(This,fActivate)
|
---|
805 | #define IOleInPlaceActiveObject_ResizeBorder(This,prcBorder,pUIWindow,fFrameWindow) (This)->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fFrameWindow)
|
---|
806 | #define IOleInPlaceActiveObject_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable)
|
---|
807 | #endif
|
---|
808 |
|
---|
809 | #endif
|
---|
810 |
|
---|
811 | HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteTranslateAccelerator_Proxy(
|
---|
812 | IOleInPlaceActiveObject* This);
|
---|
813 | void __RPC_STUB IOleInPlaceActiveObject_RemoteTranslateAccelerator_Stub(
|
---|
814 | IRpcStubBuffer* This,
|
---|
815 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
816 | PRPC_MESSAGE pRpcMessage,
|
---|
817 | DWORD* pdwStubPhase);
|
---|
818 | HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_OnFrameWindowActivate_Proxy(
|
---|
819 | IOleInPlaceActiveObject* This,
|
---|
820 | BOOL fActivate);
|
---|
821 | void __RPC_STUB IOleInPlaceActiveObject_OnFrameWindowActivate_Stub(
|
---|
822 | IRpcStubBuffer* This,
|
---|
823 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
824 | PRPC_MESSAGE pRpcMessage,
|
---|
825 | DWORD* pdwStubPhase);
|
---|
826 | HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_OnDocWindowActivate_Proxy(
|
---|
827 | IOleInPlaceActiveObject* This,
|
---|
828 | BOOL fActivate);
|
---|
829 | void __RPC_STUB IOleInPlaceActiveObject_OnDocWindowActivate_Stub(
|
---|
830 | IRpcStubBuffer* This,
|
---|
831 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
832 | PRPC_MESSAGE pRpcMessage,
|
---|
833 | DWORD* pdwStubPhase);
|
---|
834 | HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteResizeBorder_Proxy(
|
---|
835 | IOleInPlaceActiveObject* This,
|
---|
836 | LPCRECT prcBorder,
|
---|
837 | REFIID riid,
|
---|
838 | IOleInPlaceUIWindow *pUIWindow,
|
---|
839 | BOOL fFrameWindow);
|
---|
840 | void __RPC_STUB IOleInPlaceActiveObject_RemoteResizeBorder_Stub(
|
---|
841 | IRpcStubBuffer* This,
|
---|
842 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
843 | PRPC_MESSAGE pRpcMessage,
|
---|
844 | DWORD* pdwStubPhase);
|
---|
845 | HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_EnableModeless_Proxy(
|
---|
846 | IOleInPlaceActiveObject* This,
|
---|
847 | BOOL fEnable);
|
---|
848 | void __RPC_STUB IOleInPlaceActiveObject_EnableModeless_Stub(
|
---|
849 | IRpcStubBuffer* This,
|
---|
850 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
851 | PRPC_MESSAGE pRpcMessage,
|
---|
852 | DWORD* pdwStubPhase);
|
---|
853 | HRESULT CALLBACK IOleInPlaceActiveObject_TranslateAccelerator_Proxy(
|
---|
854 | IOleInPlaceActiveObject* This,
|
---|
855 | LPMSG lpmsg);
|
---|
856 | HRESULT __RPC_STUB IOleInPlaceActiveObject_TranslateAccelerator_Stub(
|
---|
857 | IOleInPlaceActiveObject* This);
|
---|
858 | HRESULT CALLBACK IOleInPlaceActiveObject_ResizeBorder_Proxy(
|
---|
859 | IOleInPlaceActiveObject* This,
|
---|
860 | LPCRECT prcBorder,
|
---|
861 | IOleInPlaceUIWindow *pUIWindow,
|
---|
862 | BOOL fFrameWindow);
|
---|
863 | HRESULT __RPC_STUB IOleInPlaceActiveObject_ResizeBorder_Stub(
|
---|
864 | IOleInPlaceActiveObject* This,
|
---|
865 | LPCRECT prcBorder,
|
---|
866 | REFIID riid,
|
---|
867 | IOleInPlaceUIWindow *pUIWindow,
|
---|
868 | BOOL fFrameWindow);
|
---|
869 |
|
---|
870 | #endif /* __IOleInPlaceActiveObject_INTERFACE_DEFINED__ */
|
---|
871 |
|
---|
872 | /*****************************************************************************
|
---|
873 | * IOleInPlaceSite interface
|
---|
874 | */
|
---|
875 | #ifndef __IOleInPlaceSite_INTERFACE_DEFINED__
|
---|
876 | #define __IOleInPlaceSite_INTERFACE_DEFINED__
|
---|
877 |
|
---|
878 | typedef IOleInPlaceSite *LPOLEINPLACESITE;
|
---|
879 | DEFINE_GUID(IID_IOleInPlaceSite, 0x00000119, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
880 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
881 | interface IOleInPlaceSite : public IOleWindow
|
---|
882 | {
|
---|
883 | virtual HRESULT STDMETHODCALLTYPE CanInPlaceActivate(
|
---|
884 | ) = 0;
|
---|
885 |
|
---|
886 | virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivate(
|
---|
887 | ) = 0;
|
---|
888 |
|
---|
889 | virtual HRESULT STDMETHODCALLTYPE OnUIActivate(
|
---|
890 | ) = 0;
|
---|
891 |
|
---|
892 | virtual HRESULT STDMETHODCALLTYPE GetWindowContext(
|
---|
893 | IOleInPlaceFrame **ppFrame,
|
---|
894 | IOleInPlaceUIWindow **ppDoc,
|
---|
895 | LPRECT lprcPosRect,
|
---|
896 | LPRECT lprcClipRect,
|
---|
897 | LPOLEINPLACEFRAMEINFO lpFrameInfo) = 0;
|
---|
898 |
|
---|
899 | virtual HRESULT STDMETHODCALLTYPE Scroll(
|
---|
900 | SIZE scrollExtent) = 0;
|
---|
901 |
|
---|
902 | virtual HRESULT STDMETHODCALLTYPE OnUIDeactivate(
|
---|
903 | BOOL fUndoable) = 0;
|
---|
904 |
|
---|
905 | virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivate(
|
---|
906 | ) = 0;
|
---|
907 |
|
---|
908 | virtual HRESULT STDMETHODCALLTYPE DiscardUndoState(
|
---|
909 | ) = 0;
|
---|
910 |
|
---|
911 | virtual HRESULT STDMETHODCALLTYPE DeactivateAndUndo(
|
---|
912 | ) = 0;
|
---|
913 |
|
---|
914 | virtual HRESULT STDMETHODCALLTYPE OnPosRectChange(
|
---|
915 | LPCRECT lprcPosRect) = 0;
|
---|
916 |
|
---|
917 | };
|
---|
918 | #else
|
---|
919 | typedef struct IOleInPlaceSiteVtbl {
|
---|
920 | BEGIN_INTERFACE
|
---|
921 |
|
---|
922 | /*** IUnknown methods ***/
|
---|
923 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
924 | IOleInPlaceSite* This,
|
---|
925 | REFIID riid,
|
---|
926 | void **ppvObject);
|
---|
927 |
|
---|
928 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
929 | IOleInPlaceSite* This);
|
---|
930 |
|
---|
931 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
932 | IOleInPlaceSite* This);
|
---|
933 |
|
---|
934 | /*** IOleWindow methods ***/
|
---|
935 | HRESULT (STDMETHODCALLTYPE *GetWindow)(
|
---|
936 | IOleInPlaceSite* This,
|
---|
937 | HWND *phwnd);
|
---|
938 |
|
---|
939 | HRESULT (STDMETHODCALLTYPE *ContextSensitiveHelp)(
|
---|
940 | IOleInPlaceSite* This,
|
---|
941 | BOOL fEnterMode);
|
---|
942 |
|
---|
943 | /*** IOleInPlaceSite methods ***/
|
---|
944 | HRESULT (STDMETHODCALLTYPE *CanInPlaceActivate)(
|
---|
945 | IOleInPlaceSite* This);
|
---|
946 |
|
---|
947 | HRESULT (STDMETHODCALLTYPE *OnInPlaceActivate)(
|
---|
948 | IOleInPlaceSite* This);
|
---|
949 |
|
---|
950 | HRESULT (STDMETHODCALLTYPE *OnUIActivate)(
|
---|
951 | IOleInPlaceSite* This);
|
---|
952 |
|
---|
953 | HRESULT (STDMETHODCALLTYPE *GetWindowContext)(
|
---|
954 | IOleInPlaceSite* This,
|
---|
955 | IOleInPlaceFrame **ppFrame,
|
---|
956 | IOleInPlaceUIWindow **ppDoc,
|
---|
957 | LPRECT lprcPosRect,
|
---|
958 | LPRECT lprcClipRect,
|
---|
959 | LPOLEINPLACEFRAMEINFO lpFrameInfo);
|
---|
960 |
|
---|
961 | HRESULT (STDMETHODCALLTYPE *Scroll)(
|
---|
962 | IOleInPlaceSite* This,
|
---|
963 | SIZE scrollExtent);
|
---|
964 |
|
---|
965 | HRESULT (STDMETHODCALLTYPE *OnUIDeactivate)(
|
---|
966 | IOleInPlaceSite* This,
|
---|
967 | BOOL fUndoable);
|
---|
968 |
|
---|
969 | HRESULT (STDMETHODCALLTYPE *OnInPlaceDeactivate)(
|
---|
970 | IOleInPlaceSite* This);
|
---|
971 |
|
---|
972 | HRESULT (STDMETHODCALLTYPE *DiscardUndoState)(
|
---|
973 | IOleInPlaceSite* This);
|
---|
974 |
|
---|
975 | HRESULT (STDMETHODCALLTYPE *DeactivateAndUndo)(
|
---|
976 | IOleInPlaceSite* This);
|
---|
977 |
|
---|
978 | HRESULT (STDMETHODCALLTYPE *OnPosRectChange)(
|
---|
979 | IOleInPlaceSite* This,
|
---|
980 | LPCRECT lprcPosRect);
|
---|
981 |
|
---|
982 | END_INTERFACE
|
---|
983 | } IOleInPlaceSiteVtbl;
|
---|
984 | interface IOleInPlaceSite {
|
---|
985 | CONST_VTBL IOleInPlaceSiteVtbl* lpVtbl;
|
---|
986 | };
|
---|
987 |
|
---|
988 | #ifdef COBJMACROS
|
---|
989 | /*** IUnknown methods ***/
|
---|
990 | #define IOleInPlaceSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
991 | #define IOleInPlaceSite_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
992 | #define IOleInPlaceSite_Release(This) (This)->lpVtbl->Release(This)
|
---|
993 | /*** IOleWindow methods ***/
|
---|
994 | #define IOleInPlaceSite_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
|
---|
995 | #define IOleInPlaceSite_ContextSensitiveHelp(This,fEnterMode) (This)->lpVtbl->ContextSensitiveHelp(This,fEnterMode)
|
---|
996 | /*** IOleInPlaceSite methods ***/
|
---|
997 | #define IOleInPlaceSite_CanInPlaceActivate(This) (This)->lpVtbl->CanInPlaceActivate(This)
|
---|
998 | #define IOleInPlaceSite_OnInPlaceActivate(This) (This)->lpVtbl->OnInPlaceActivate(This)
|
---|
999 | #define IOleInPlaceSite_OnUIActivate(This) (This)->lpVtbl->OnUIActivate(This)
|
---|
1000 | #define IOleInPlaceSite_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo) (This)->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
|
---|
1001 | #define IOleInPlaceSite_Scroll(This,scrollExtent) (This)->lpVtbl->Scroll(This,scrollExtent)
|
---|
1002 | #define IOleInPlaceSite_OnUIDeactivate(This,fUndoable) (This)->lpVtbl->OnUIDeactivate(This,fUndoable)
|
---|
1003 | #define IOleInPlaceSite_OnInPlaceDeactivate(This) (This)->lpVtbl->OnInPlaceDeactivate(This)
|
---|
1004 | #define IOleInPlaceSite_DiscardUndoState(This) (This)->lpVtbl->DiscardUndoState(This)
|
---|
1005 | #define IOleInPlaceSite_DeactivateAndUndo(This) (This)->lpVtbl->DeactivateAndUndo(This)
|
---|
1006 | #define IOleInPlaceSite_OnPosRectChange(This,lprcPosRect) (This)->lpVtbl->OnPosRectChange(This,lprcPosRect)
|
---|
1007 | #endif
|
---|
1008 |
|
---|
1009 | #endif
|
---|
1010 |
|
---|
1011 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_CanInPlaceActivate_Proxy(
|
---|
1012 | IOleInPlaceSite* This);
|
---|
1013 | void __RPC_STUB IOleInPlaceSite_CanInPlaceActivate_Stub(
|
---|
1014 | IRpcStubBuffer* This,
|
---|
1015 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1016 | PRPC_MESSAGE pRpcMessage,
|
---|
1017 | DWORD* pdwStubPhase);
|
---|
1018 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnInPlaceActivate_Proxy(
|
---|
1019 | IOleInPlaceSite* This);
|
---|
1020 | void __RPC_STUB IOleInPlaceSite_OnInPlaceActivate_Stub(
|
---|
1021 | IRpcStubBuffer* This,
|
---|
1022 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1023 | PRPC_MESSAGE pRpcMessage,
|
---|
1024 | DWORD* pdwStubPhase);
|
---|
1025 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnUIActivate_Proxy(
|
---|
1026 | IOleInPlaceSite* This);
|
---|
1027 | void __RPC_STUB IOleInPlaceSite_OnUIActivate_Stub(
|
---|
1028 | IRpcStubBuffer* This,
|
---|
1029 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1030 | PRPC_MESSAGE pRpcMessage,
|
---|
1031 | DWORD* pdwStubPhase);
|
---|
1032 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_GetWindowContext_Proxy(
|
---|
1033 | IOleInPlaceSite* This,
|
---|
1034 | IOleInPlaceFrame **ppFrame,
|
---|
1035 | IOleInPlaceUIWindow **ppDoc,
|
---|
1036 | LPRECT lprcPosRect,
|
---|
1037 | LPRECT lprcClipRect,
|
---|
1038 | LPOLEINPLACEFRAMEINFO lpFrameInfo);
|
---|
1039 | void __RPC_STUB IOleInPlaceSite_GetWindowContext_Stub(
|
---|
1040 | IRpcStubBuffer* This,
|
---|
1041 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1042 | PRPC_MESSAGE pRpcMessage,
|
---|
1043 | DWORD* pdwStubPhase);
|
---|
1044 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_Scroll_Proxy(
|
---|
1045 | IOleInPlaceSite* This,
|
---|
1046 | SIZE scrollExtent);
|
---|
1047 | void __RPC_STUB IOleInPlaceSite_Scroll_Stub(
|
---|
1048 | IRpcStubBuffer* This,
|
---|
1049 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1050 | PRPC_MESSAGE pRpcMessage,
|
---|
1051 | DWORD* pdwStubPhase);
|
---|
1052 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnUIDeactivate_Proxy(
|
---|
1053 | IOleInPlaceSite* This,
|
---|
1054 | BOOL fUndoable);
|
---|
1055 | void __RPC_STUB IOleInPlaceSite_OnUIDeactivate_Stub(
|
---|
1056 | IRpcStubBuffer* This,
|
---|
1057 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1058 | PRPC_MESSAGE pRpcMessage,
|
---|
1059 | DWORD* pdwStubPhase);
|
---|
1060 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnInPlaceDeactivate_Proxy(
|
---|
1061 | IOleInPlaceSite* This);
|
---|
1062 | void __RPC_STUB IOleInPlaceSite_OnInPlaceDeactivate_Stub(
|
---|
1063 | IRpcStubBuffer* This,
|
---|
1064 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1065 | PRPC_MESSAGE pRpcMessage,
|
---|
1066 | DWORD* pdwStubPhase);
|
---|
1067 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_DiscardUndoState_Proxy(
|
---|
1068 | IOleInPlaceSite* This);
|
---|
1069 | void __RPC_STUB IOleInPlaceSite_DiscardUndoState_Stub(
|
---|
1070 | IRpcStubBuffer* This,
|
---|
1071 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1072 | PRPC_MESSAGE pRpcMessage,
|
---|
1073 | DWORD* pdwStubPhase);
|
---|
1074 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_DeactivateAndUndo_Proxy(
|
---|
1075 | IOleInPlaceSite* This);
|
---|
1076 | void __RPC_STUB IOleInPlaceSite_DeactivateAndUndo_Stub(
|
---|
1077 | IRpcStubBuffer* This,
|
---|
1078 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1079 | PRPC_MESSAGE pRpcMessage,
|
---|
1080 | DWORD* pdwStubPhase);
|
---|
1081 | HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnPosRectChange_Proxy(
|
---|
1082 | IOleInPlaceSite* This,
|
---|
1083 | LPCRECT lprcPosRect);
|
---|
1084 | void __RPC_STUB IOleInPlaceSite_OnPosRectChange_Stub(
|
---|
1085 | IRpcStubBuffer* This,
|
---|
1086 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1087 | PRPC_MESSAGE pRpcMessage,
|
---|
1088 | DWORD* pdwStubPhase);
|
---|
1089 |
|
---|
1090 | #endif /* __IOleInPlaceSite_INTERFACE_DEFINED__ */
|
---|
1091 |
|
---|
1092 | /*****************************************************************************
|
---|
1093 | * IParseDisplayName interface
|
---|
1094 | */
|
---|
1095 | #ifndef __IParseDisplayName_INTERFACE_DEFINED__
|
---|
1096 | #define __IParseDisplayName_INTERFACE_DEFINED__
|
---|
1097 |
|
---|
1098 | typedef IParseDisplayName *LPPARSEDISPLAYNAME;
|
---|
1099 | DEFINE_GUID(IID_IParseDisplayName, 0x0000011a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1100 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1101 | interface IParseDisplayName : public IUnknown
|
---|
1102 | {
|
---|
1103 | virtual HRESULT STDMETHODCALLTYPE ParseDisplayName(
|
---|
1104 | IBindCtx *pbc,
|
---|
1105 | LPOLESTR pszDisplayName,
|
---|
1106 | ULONG *pchEaten,
|
---|
1107 | IMoniker **ppmkOut) = 0;
|
---|
1108 |
|
---|
1109 | };
|
---|
1110 | #else
|
---|
1111 | typedef struct IParseDisplayNameVtbl {
|
---|
1112 | BEGIN_INTERFACE
|
---|
1113 |
|
---|
1114 | /*** IUnknown methods ***/
|
---|
1115 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1116 | IParseDisplayName* This,
|
---|
1117 | REFIID riid,
|
---|
1118 | void **ppvObject);
|
---|
1119 |
|
---|
1120 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1121 | IParseDisplayName* This);
|
---|
1122 |
|
---|
1123 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1124 | IParseDisplayName* This);
|
---|
1125 |
|
---|
1126 | /*** IParseDisplayName methods ***/
|
---|
1127 | HRESULT (STDMETHODCALLTYPE *ParseDisplayName)(
|
---|
1128 | IParseDisplayName* This,
|
---|
1129 | IBindCtx *pbc,
|
---|
1130 | LPOLESTR pszDisplayName,
|
---|
1131 | ULONG *pchEaten,
|
---|
1132 | IMoniker **ppmkOut);
|
---|
1133 |
|
---|
1134 | END_INTERFACE
|
---|
1135 | } IParseDisplayNameVtbl;
|
---|
1136 | interface IParseDisplayName {
|
---|
1137 | CONST_VTBL IParseDisplayNameVtbl* lpVtbl;
|
---|
1138 | };
|
---|
1139 |
|
---|
1140 | #ifdef COBJMACROS
|
---|
1141 | /*** IUnknown methods ***/
|
---|
1142 | #define IParseDisplayName_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1143 | #define IParseDisplayName_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1144 | #define IParseDisplayName_Release(This) (This)->lpVtbl->Release(This)
|
---|
1145 | /*** IParseDisplayName methods ***/
|
---|
1146 | #define IParseDisplayName_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
|
---|
1147 | #endif
|
---|
1148 |
|
---|
1149 | #endif
|
---|
1150 |
|
---|
1151 | HRESULT STDMETHODCALLTYPE IParseDisplayName_ParseDisplayName_Proxy(
|
---|
1152 | IParseDisplayName* This,
|
---|
1153 | IBindCtx *pbc,
|
---|
1154 | LPOLESTR pszDisplayName,
|
---|
1155 | ULONG *pchEaten,
|
---|
1156 | IMoniker **ppmkOut);
|
---|
1157 | void __RPC_STUB IParseDisplayName_ParseDisplayName_Stub(
|
---|
1158 | IRpcStubBuffer* This,
|
---|
1159 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1160 | PRPC_MESSAGE pRpcMessage,
|
---|
1161 | DWORD* pdwStubPhase);
|
---|
1162 |
|
---|
1163 | #endif /* __IParseDisplayName_INTERFACE_DEFINED__ */
|
---|
1164 |
|
---|
1165 | /*****************************************************************************
|
---|
1166 | * IOleContainer interface
|
---|
1167 | */
|
---|
1168 | #ifndef __IOleContainer_INTERFACE_DEFINED__
|
---|
1169 | #define __IOleContainer_INTERFACE_DEFINED__
|
---|
1170 |
|
---|
1171 | typedef IOleContainer *LPOLECONTAINER;
|
---|
1172 | DEFINE_GUID(IID_IOleContainer, 0x0000011b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1173 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1174 | interface IOleContainer : public IParseDisplayName
|
---|
1175 | {
|
---|
1176 | virtual HRESULT STDMETHODCALLTYPE EnumObjects(
|
---|
1177 | DWORD grfFlags,
|
---|
1178 | IEnumUnknown **ppenum) = 0;
|
---|
1179 |
|
---|
1180 | virtual HRESULT STDMETHODCALLTYPE LockContainer(
|
---|
1181 | BOOL fLock) = 0;
|
---|
1182 |
|
---|
1183 | };
|
---|
1184 | #else
|
---|
1185 | typedef struct IOleContainerVtbl {
|
---|
1186 | BEGIN_INTERFACE
|
---|
1187 |
|
---|
1188 | /*** IUnknown methods ***/
|
---|
1189 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1190 | IOleContainer* This,
|
---|
1191 | REFIID riid,
|
---|
1192 | void **ppvObject);
|
---|
1193 |
|
---|
1194 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1195 | IOleContainer* This);
|
---|
1196 |
|
---|
1197 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1198 | IOleContainer* This);
|
---|
1199 |
|
---|
1200 | /*** IParseDisplayName methods ***/
|
---|
1201 | HRESULT (STDMETHODCALLTYPE *ParseDisplayName)(
|
---|
1202 | IOleContainer* This,
|
---|
1203 | IBindCtx *pbc,
|
---|
1204 | LPOLESTR pszDisplayName,
|
---|
1205 | ULONG *pchEaten,
|
---|
1206 | IMoniker **ppmkOut);
|
---|
1207 |
|
---|
1208 | /*** IOleContainer methods ***/
|
---|
1209 | HRESULT (STDMETHODCALLTYPE *EnumObjects)(
|
---|
1210 | IOleContainer* This,
|
---|
1211 | DWORD grfFlags,
|
---|
1212 | IEnumUnknown **ppenum);
|
---|
1213 |
|
---|
1214 | HRESULT (STDMETHODCALLTYPE *LockContainer)(
|
---|
1215 | IOleContainer* This,
|
---|
1216 | BOOL fLock);
|
---|
1217 |
|
---|
1218 | END_INTERFACE
|
---|
1219 | } IOleContainerVtbl;
|
---|
1220 | interface IOleContainer {
|
---|
1221 | CONST_VTBL IOleContainerVtbl* lpVtbl;
|
---|
1222 | };
|
---|
1223 |
|
---|
1224 | #ifdef COBJMACROS
|
---|
1225 | /*** IUnknown methods ***/
|
---|
1226 | #define IOleContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1227 | #define IOleContainer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1228 | #define IOleContainer_Release(This) (This)->lpVtbl->Release(This)
|
---|
1229 | /*** IParseDisplayName methods ***/
|
---|
1230 | #define IOleContainer_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
|
---|
1231 | /*** IOleContainer methods ***/
|
---|
1232 | #define IOleContainer_EnumObjects(This,grfFlags,ppenum) (This)->lpVtbl->EnumObjects(This,grfFlags,ppenum)
|
---|
1233 | #define IOleContainer_LockContainer(This,fLock) (This)->lpVtbl->LockContainer(This,fLock)
|
---|
1234 | #endif
|
---|
1235 |
|
---|
1236 | #endif
|
---|
1237 |
|
---|
1238 | HRESULT STDMETHODCALLTYPE IOleContainer_EnumObjects_Proxy(
|
---|
1239 | IOleContainer* This,
|
---|
1240 | DWORD grfFlags,
|
---|
1241 | IEnumUnknown **ppenum);
|
---|
1242 | void __RPC_STUB IOleContainer_EnumObjects_Stub(
|
---|
1243 | IRpcStubBuffer* This,
|
---|
1244 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1245 | PRPC_MESSAGE pRpcMessage,
|
---|
1246 | DWORD* pdwStubPhase);
|
---|
1247 | HRESULT STDMETHODCALLTYPE IOleContainer_LockContainer_Proxy(
|
---|
1248 | IOleContainer* This,
|
---|
1249 | BOOL fLock);
|
---|
1250 | void __RPC_STUB IOleContainer_LockContainer_Stub(
|
---|
1251 | IRpcStubBuffer* This,
|
---|
1252 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1253 | PRPC_MESSAGE pRpcMessage,
|
---|
1254 | DWORD* pdwStubPhase);
|
---|
1255 |
|
---|
1256 | #endif /* __IOleContainer_INTERFACE_DEFINED__ */
|
---|
1257 |
|
---|
1258 | /*****************************************************************************
|
---|
1259 | * IOleItemContainer interface
|
---|
1260 | */
|
---|
1261 | #ifndef __IOleItemContainer_INTERFACE_DEFINED__
|
---|
1262 | #define __IOleItemContainer_INTERFACE_DEFINED__
|
---|
1263 |
|
---|
1264 | typedef IOleItemContainer *LPOLEITEMCONTAINER;
|
---|
1265 | typedef enum tagBINDSPEED {
|
---|
1266 | BINDSPEED_INDEFINITE = 1,
|
---|
1267 | BINDSPEED_MODERATE = 2,
|
---|
1268 | BINDSPEED_IMMEDIATE = 3
|
---|
1269 | } BINDSPEED;
|
---|
1270 | typedef enum tagOLECONTF {
|
---|
1271 | OLECONTF_EMBEDDINGS = 1,
|
---|
1272 | OLECONTF_LINKS = 2,
|
---|
1273 | OLECONTF_OTHERS = 4,
|
---|
1274 | OLECONTF_ONLYUSER = 8,
|
---|
1275 | OLECONTF_ONLYIFRUNNING = 16
|
---|
1276 | } OLECONTF;
|
---|
1277 | #ifdef WINE_NO_UNICODE_MACROS
|
---|
1278 | #undef GetObject
|
---|
1279 | #endif
|
---|
1280 | DEFINE_GUID(IID_IOleItemContainer, 0x0000011c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1281 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1282 | interface IOleItemContainer : public IOleContainer
|
---|
1283 | {
|
---|
1284 | virtual HRESULT STDMETHODCALLTYPE GetObject(
|
---|
1285 | LPOLESTR pszItem,
|
---|
1286 | DWORD dwSpeedNeeded,
|
---|
1287 | IBindCtx *pbc,
|
---|
1288 | REFIID riid,
|
---|
1289 | void **ppvObject) = 0;
|
---|
1290 |
|
---|
1291 | virtual HRESULT STDMETHODCALLTYPE GetObjectStorage(
|
---|
1292 | LPOLESTR pszItem,
|
---|
1293 | IBindCtx *pbc,
|
---|
1294 | REFIID riid,
|
---|
1295 | void **ppvStorage) = 0;
|
---|
1296 |
|
---|
1297 | virtual HRESULT STDMETHODCALLTYPE IsRunning(
|
---|
1298 | LPOLESTR pszItem) = 0;
|
---|
1299 |
|
---|
1300 | };
|
---|
1301 | #else
|
---|
1302 | typedef struct IOleItemContainerVtbl {
|
---|
1303 | BEGIN_INTERFACE
|
---|
1304 |
|
---|
1305 | /*** IUnknown methods ***/
|
---|
1306 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1307 | IOleItemContainer* This,
|
---|
1308 | REFIID riid,
|
---|
1309 | void **ppvObject);
|
---|
1310 |
|
---|
1311 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1312 | IOleItemContainer* This);
|
---|
1313 |
|
---|
1314 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1315 | IOleItemContainer* This);
|
---|
1316 |
|
---|
1317 | /*** IParseDisplayName methods ***/
|
---|
1318 | HRESULT (STDMETHODCALLTYPE *ParseDisplayName)(
|
---|
1319 | IOleItemContainer* This,
|
---|
1320 | IBindCtx *pbc,
|
---|
1321 | LPOLESTR pszDisplayName,
|
---|
1322 | ULONG *pchEaten,
|
---|
1323 | IMoniker **ppmkOut);
|
---|
1324 |
|
---|
1325 | /*** IOleContainer methods ***/
|
---|
1326 | HRESULT (STDMETHODCALLTYPE *EnumObjects)(
|
---|
1327 | IOleItemContainer* This,
|
---|
1328 | DWORD grfFlags,
|
---|
1329 | IEnumUnknown **ppenum);
|
---|
1330 |
|
---|
1331 | HRESULT (STDMETHODCALLTYPE *LockContainer)(
|
---|
1332 | IOleItemContainer* This,
|
---|
1333 | BOOL fLock);
|
---|
1334 |
|
---|
1335 | /*** IOleItemContainer methods ***/
|
---|
1336 | HRESULT (STDMETHODCALLTYPE *GetObject)(
|
---|
1337 | IOleItemContainer* This,
|
---|
1338 | LPOLESTR pszItem,
|
---|
1339 | DWORD dwSpeedNeeded,
|
---|
1340 | IBindCtx *pbc,
|
---|
1341 | REFIID riid,
|
---|
1342 | void **ppvObject);
|
---|
1343 |
|
---|
1344 | HRESULT (STDMETHODCALLTYPE *GetObjectStorage)(
|
---|
1345 | IOleItemContainer* This,
|
---|
1346 | LPOLESTR pszItem,
|
---|
1347 | IBindCtx *pbc,
|
---|
1348 | REFIID riid,
|
---|
1349 | void **ppvStorage);
|
---|
1350 |
|
---|
1351 | HRESULT (STDMETHODCALLTYPE *IsRunning)(
|
---|
1352 | IOleItemContainer* This,
|
---|
1353 | LPOLESTR pszItem);
|
---|
1354 |
|
---|
1355 | END_INTERFACE
|
---|
1356 | } IOleItemContainerVtbl;
|
---|
1357 | interface IOleItemContainer {
|
---|
1358 | CONST_VTBL IOleItemContainerVtbl* lpVtbl;
|
---|
1359 | };
|
---|
1360 |
|
---|
1361 | #ifdef COBJMACROS
|
---|
1362 | /*** IUnknown methods ***/
|
---|
1363 | #define IOleItemContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1364 | #define IOleItemContainer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1365 | #define IOleItemContainer_Release(This) (This)->lpVtbl->Release(This)
|
---|
1366 | /*** IParseDisplayName methods ***/
|
---|
1367 | #define IOleItemContainer_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut) (This)->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
|
---|
1368 | /*** IOleContainer methods ***/
|
---|
1369 | #define IOleItemContainer_EnumObjects(This,grfFlags,ppenum) (This)->lpVtbl->EnumObjects(This,grfFlags,ppenum)
|
---|
1370 | #define IOleItemContainer_LockContainer(This,fLock) (This)->lpVtbl->LockContainer(This,fLock)
|
---|
1371 | /*** IOleItemContainer methods ***/
|
---|
1372 | #define IOleItemContainer_GetObject(This,pszItem,dwSpeedNeeded,pbc,riid,ppvObject) (This)->lpVtbl->GetObject(This,pszItem,dwSpeedNeeded,pbc,riid,ppvObject)
|
---|
1373 | #define IOleItemContainer_GetObjectStorage(This,pszItem,pbc,riid,ppvStorage) (This)->lpVtbl->GetObjectStorage(This,pszItem,pbc,riid,ppvStorage)
|
---|
1374 | #define IOleItemContainer_IsRunning(This,pszItem) (This)->lpVtbl->IsRunning(This,pszItem)
|
---|
1375 | #endif
|
---|
1376 |
|
---|
1377 | #endif
|
---|
1378 |
|
---|
1379 | HRESULT STDMETHODCALLTYPE IOleItemContainer_GetObject_Proxy(
|
---|
1380 | IOleItemContainer* This,
|
---|
1381 | LPOLESTR pszItem,
|
---|
1382 | DWORD dwSpeedNeeded,
|
---|
1383 | IBindCtx *pbc,
|
---|
1384 | REFIID riid,
|
---|
1385 | void **ppvObject);
|
---|
1386 | void __RPC_STUB IOleItemContainer_GetObject_Stub(
|
---|
1387 | IRpcStubBuffer* This,
|
---|
1388 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1389 | PRPC_MESSAGE pRpcMessage,
|
---|
1390 | DWORD* pdwStubPhase);
|
---|
1391 | HRESULT STDMETHODCALLTYPE IOleItemContainer_GetObjectStorage_Proxy(
|
---|
1392 | IOleItemContainer* This,
|
---|
1393 | LPOLESTR pszItem,
|
---|
1394 | IBindCtx *pbc,
|
---|
1395 | REFIID riid,
|
---|
1396 | void **ppvStorage);
|
---|
1397 | void __RPC_STUB IOleItemContainer_GetObjectStorage_Stub(
|
---|
1398 | IRpcStubBuffer* This,
|
---|
1399 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1400 | PRPC_MESSAGE pRpcMessage,
|
---|
1401 | DWORD* pdwStubPhase);
|
---|
1402 | HRESULT STDMETHODCALLTYPE IOleItemContainer_IsRunning_Proxy(
|
---|
1403 | IOleItemContainer* This,
|
---|
1404 | LPOLESTR pszItem);
|
---|
1405 | void __RPC_STUB IOleItemContainer_IsRunning_Stub(
|
---|
1406 | IRpcStubBuffer* This,
|
---|
1407 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1408 | PRPC_MESSAGE pRpcMessage,
|
---|
1409 | DWORD* pdwStubPhase);
|
---|
1410 |
|
---|
1411 | #endif /* __IOleItemContainer_INTERFACE_DEFINED__ */
|
---|
1412 |
|
---|
1413 | /*****************************************************************************
|
---|
1414 | * IOleLink interface
|
---|
1415 | */
|
---|
1416 | #ifndef __IOleLink_INTERFACE_DEFINED__
|
---|
1417 | #define __IOleLink_INTERFACE_DEFINED__
|
---|
1418 |
|
---|
1419 | typedef IOleLink *LPOLELINK;
|
---|
1420 | typedef enum tagOLEUPDATE {
|
---|
1421 | OLEUPDATE_ALWAYS = 1,
|
---|
1422 | OLEUPDATE_ONCALL = 3
|
---|
1423 | } OLEUPDATE;
|
---|
1424 | typedef enum tagOLEUPDATE *POLEUPDATE;
|
---|
1425 | typedef enum tagOLEUPDATE *LPOLEUPDATE;
|
---|
1426 | typedef enum tagOLELINKBIND {
|
---|
1427 | OLELINKBIND_EVENIFCLASSDIFF = 1
|
---|
1428 | } OLELINKBIND;
|
---|
1429 | DEFINE_GUID(IID_IOleLink, 0x0000011d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1430 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1431 | interface IOleLink : public IUnknown
|
---|
1432 | {
|
---|
1433 | virtual HRESULT STDMETHODCALLTYPE SetUpdateOptions(
|
---|
1434 | DWORD dwUpdateOpt) = 0;
|
---|
1435 |
|
---|
1436 | virtual HRESULT STDMETHODCALLTYPE GetUpdateOptions(
|
---|
1437 | DWORD *pdwUpdateOpt) = 0;
|
---|
1438 |
|
---|
1439 | virtual HRESULT STDMETHODCALLTYPE SetSourceMoniker(
|
---|
1440 | IMoniker *pmk,
|
---|
1441 | REFCLSID rclsid) = 0;
|
---|
1442 |
|
---|
1443 | virtual HRESULT STDMETHODCALLTYPE GetSourceMoniker(
|
---|
1444 | IMoniker **ppmk) = 0;
|
---|
1445 |
|
---|
1446 | virtual HRESULT STDMETHODCALLTYPE SetSourceDisplayName(
|
---|
1447 | LPCOLESTR pszStatusText) = 0;
|
---|
1448 |
|
---|
1449 | virtual HRESULT STDMETHODCALLTYPE GetSourceDisplayName(
|
---|
1450 | LPOLESTR *ppszDisplayName) = 0;
|
---|
1451 |
|
---|
1452 | virtual HRESULT STDMETHODCALLTYPE BindToSource(
|
---|
1453 | DWORD bindflags,
|
---|
1454 | IBindCtx *pbc) = 0;
|
---|
1455 |
|
---|
1456 | virtual HRESULT STDMETHODCALLTYPE BindIfRunning(
|
---|
1457 | ) = 0;
|
---|
1458 |
|
---|
1459 | virtual HRESULT STDMETHODCALLTYPE GetBoundSource(
|
---|
1460 | IUnknown **ppunk) = 0;
|
---|
1461 |
|
---|
1462 | virtual HRESULT STDMETHODCALLTYPE UnbindSource(
|
---|
1463 | ) = 0;
|
---|
1464 |
|
---|
1465 | virtual HRESULT STDMETHODCALLTYPE Update(
|
---|
1466 | IBindCtx *pbc) = 0;
|
---|
1467 |
|
---|
1468 | };
|
---|
1469 | #else
|
---|
1470 | typedef struct IOleLinkVtbl {
|
---|
1471 | BEGIN_INTERFACE
|
---|
1472 |
|
---|
1473 | /*** IUnknown methods ***/
|
---|
1474 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1475 | IOleLink* This,
|
---|
1476 | REFIID riid,
|
---|
1477 | void **ppvObject);
|
---|
1478 |
|
---|
1479 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1480 | IOleLink* This);
|
---|
1481 |
|
---|
1482 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1483 | IOleLink* This);
|
---|
1484 |
|
---|
1485 | /*** IOleLink methods ***/
|
---|
1486 | HRESULT (STDMETHODCALLTYPE *SetUpdateOptions)(
|
---|
1487 | IOleLink* This,
|
---|
1488 | DWORD dwUpdateOpt);
|
---|
1489 |
|
---|
1490 | HRESULT (STDMETHODCALLTYPE *GetUpdateOptions)(
|
---|
1491 | IOleLink* This,
|
---|
1492 | DWORD *pdwUpdateOpt);
|
---|
1493 |
|
---|
1494 | HRESULT (STDMETHODCALLTYPE *SetSourceMoniker)(
|
---|
1495 | IOleLink* This,
|
---|
1496 | IMoniker *pmk,
|
---|
1497 | REFCLSID rclsid);
|
---|
1498 |
|
---|
1499 | HRESULT (STDMETHODCALLTYPE *GetSourceMoniker)(
|
---|
1500 | IOleLink* This,
|
---|
1501 | IMoniker **ppmk);
|
---|
1502 |
|
---|
1503 | HRESULT (STDMETHODCALLTYPE *SetSourceDisplayName)(
|
---|
1504 | IOleLink* This,
|
---|
1505 | LPCOLESTR pszStatusText);
|
---|
1506 |
|
---|
1507 | HRESULT (STDMETHODCALLTYPE *GetSourceDisplayName)(
|
---|
1508 | IOleLink* This,
|
---|
1509 | LPOLESTR *ppszDisplayName);
|
---|
1510 |
|
---|
1511 | HRESULT (STDMETHODCALLTYPE *BindToSource)(
|
---|
1512 | IOleLink* This,
|
---|
1513 | DWORD bindflags,
|
---|
1514 | IBindCtx *pbc);
|
---|
1515 |
|
---|
1516 | HRESULT (STDMETHODCALLTYPE *BindIfRunning)(
|
---|
1517 | IOleLink* This);
|
---|
1518 |
|
---|
1519 | HRESULT (STDMETHODCALLTYPE *GetBoundSource)(
|
---|
1520 | IOleLink* This,
|
---|
1521 | IUnknown **ppunk);
|
---|
1522 |
|
---|
1523 | HRESULT (STDMETHODCALLTYPE *UnbindSource)(
|
---|
1524 | IOleLink* This);
|
---|
1525 |
|
---|
1526 | HRESULT (STDMETHODCALLTYPE *Update)(
|
---|
1527 | IOleLink* This,
|
---|
1528 | IBindCtx *pbc);
|
---|
1529 |
|
---|
1530 | END_INTERFACE
|
---|
1531 | } IOleLinkVtbl;
|
---|
1532 | interface IOleLink {
|
---|
1533 | CONST_VTBL IOleLinkVtbl* lpVtbl;
|
---|
1534 | };
|
---|
1535 |
|
---|
1536 | #ifdef COBJMACROS
|
---|
1537 | /*** IUnknown methods ***/
|
---|
1538 | #define IOleLink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1539 | #define IOleLink_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1540 | #define IOleLink_Release(This) (This)->lpVtbl->Release(This)
|
---|
1541 | /*** IOleLink methods ***/
|
---|
1542 | #define IOleLink_SetUpdateOptions(This,dwUpdateOpt) (This)->lpVtbl->SetUpdateOptions(This,dwUpdateOpt)
|
---|
1543 | #define IOleLink_GetUpdateOptions(This,pdwUpdateOpt) (This)->lpVtbl->GetUpdateOptions(This,pdwUpdateOpt)
|
---|
1544 | #define IOleLink_SetSourceMoniker(This,pmk,rclsid) (This)->lpVtbl->SetSourceMoniker(This,pmk,rclsid)
|
---|
1545 | #define IOleLink_GetSourceMoniker(This,ppmk) (This)->lpVtbl->GetSourceMoniker(This,ppmk)
|
---|
1546 | #define IOleLink_SetSourceDisplayName(This,pszStatusText) (This)->lpVtbl->SetSourceDisplayName(This,pszStatusText)
|
---|
1547 | #define IOleLink_GetSourceDisplayName(This,ppszDisplayName) (This)->lpVtbl->GetSourceDisplayName(This,ppszDisplayName)
|
---|
1548 | #define IOleLink_BindToSource(This,bindflags,pbc) (This)->lpVtbl->BindToSource(This,bindflags,pbc)
|
---|
1549 | #define IOleLink_BindIfRunning(This) (This)->lpVtbl->BindIfRunning(This)
|
---|
1550 | #define IOleLink_GetBoundSource(This,ppunk) (This)->lpVtbl->GetBoundSource(This,ppunk)
|
---|
1551 | #define IOleLink_UnbindSource(This) (This)->lpVtbl->UnbindSource(This)
|
---|
1552 | #define IOleLink_Update(This,pbc) (This)->lpVtbl->Update(This,pbc)
|
---|
1553 | #endif
|
---|
1554 |
|
---|
1555 | #endif
|
---|
1556 |
|
---|
1557 | HRESULT STDMETHODCALLTYPE IOleLink_SetUpdateOptions_Proxy(
|
---|
1558 | IOleLink* This,
|
---|
1559 | DWORD dwUpdateOpt);
|
---|
1560 | void __RPC_STUB IOleLink_SetUpdateOptions_Stub(
|
---|
1561 | IRpcStubBuffer* This,
|
---|
1562 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1563 | PRPC_MESSAGE pRpcMessage,
|
---|
1564 | DWORD* pdwStubPhase);
|
---|
1565 | HRESULT STDMETHODCALLTYPE IOleLink_GetUpdateOptions_Proxy(
|
---|
1566 | IOleLink* This,
|
---|
1567 | DWORD *pdwUpdateOpt);
|
---|
1568 | void __RPC_STUB IOleLink_GetUpdateOptions_Stub(
|
---|
1569 | IRpcStubBuffer* This,
|
---|
1570 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1571 | PRPC_MESSAGE pRpcMessage,
|
---|
1572 | DWORD* pdwStubPhase);
|
---|
1573 | HRESULT STDMETHODCALLTYPE IOleLink_SetSourceMoniker_Proxy(
|
---|
1574 | IOleLink* This,
|
---|
1575 | IMoniker *pmk,
|
---|
1576 | REFCLSID rclsid);
|
---|
1577 | void __RPC_STUB IOleLink_SetSourceMoniker_Stub(
|
---|
1578 | IRpcStubBuffer* This,
|
---|
1579 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1580 | PRPC_MESSAGE pRpcMessage,
|
---|
1581 | DWORD* pdwStubPhase);
|
---|
1582 | HRESULT STDMETHODCALLTYPE IOleLink_GetSourceMoniker_Proxy(
|
---|
1583 | IOleLink* This,
|
---|
1584 | IMoniker **ppmk);
|
---|
1585 | void __RPC_STUB IOleLink_GetSourceMoniker_Stub(
|
---|
1586 | IRpcStubBuffer* This,
|
---|
1587 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1588 | PRPC_MESSAGE pRpcMessage,
|
---|
1589 | DWORD* pdwStubPhase);
|
---|
1590 | HRESULT STDMETHODCALLTYPE IOleLink_SetSourceDisplayName_Proxy(
|
---|
1591 | IOleLink* This,
|
---|
1592 | LPCOLESTR pszStatusText);
|
---|
1593 | void __RPC_STUB IOleLink_SetSourceDisplayName_Stub(
|
---|
1594 | IRpcStubBuffer* This,
|
---|
1595 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1596 | PRPC_MESSAGE pRpcMessage,
|
---|
1597 | DWORD* pdwStubPhase);
|
---|
1598 | HRESULT STDMETHODCALLTYPE IOleLink_GetSourceDisplayName_Proxy(
|
---|
1599 | IOleLink* This,
|
---|
1600 | LPOLESTR *ppszDisplayName);
|
---|
1601 | void __RPC_STUB IOleLink_GetSourceDisplayName_Stub(
|
---|
1602 | IRpcStubBuffer* This,
|
---|
1603 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1604 | PRPC_MESSAGE pRpcMessage,
|
---|
1605 | DWORD* pdwStubPhase);
|
---|
1606 | HRESULT STDMETHODCALLTYPE IOleLink_BindToSource_Proxy(
|
---|
1607 | IOleLink* This,
|
---|
1608 | DWORD bindflags,
|
---|
1609 | IBindCtx *pbc);
|
---|
1610 | void __RPC_STUB IOleLink_BindToSource_Stub(
|
---|
1611 | IRpcStubBuffer* This,
|
---|
1612 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1613 | PRPC_MESSAGE pRpcMessage,
|
---|
1614 | DWORD* pdwStubPhase);
|
---|
1615 | HRESULT STDMETHODCALLTYPE IOleLink_BindIfRunning_Proxy(
|
---|
1616 | IOleLink* This);
|
---|
1617 | void __RPC_STUB IOleLink_BindIfRunning_Stub(
|
---|
1618 | IRpcStubBuffer* This,
|
---|
1619 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1620 | PRPC_MESSAGE pRpcMessage,
|
---|
1621 | DWORD* pdwStubPhase);
|
---|
1622 | HRESULT STDMETHODCALLTYPE IOleLink_GetBoundSource_Proxy(
|
---|
1623 | IOleLink* This,
|
---|
1624 | IUnknown **ppunk);
|
---|
1625 | void __RPC_STUB IOleLink_GetBoundSource_Stub(
|
---|
1626 | IRpcStubBuffer* This,
|
---|
1627 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1628 | PRPC_MESSAGE pRpcMessage,
|
---|
1629 | DWORD* pdwStubPhase);
|
---|
1630 | HRESULT STDMETHODCALLTYPE IOleLink_UnbindSource_Proxy(
|
---|
1631 | IOleLink* This);
|
---|
1632 | void __RPC_STUB IOleLink_UnbindSource_Stub(
|
---|
1633 | IRpcStubBuffer* This,
|
---|
1634 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1635 | PRPC_MESSAGE pRpcMessage,
|
---|
1636 | DWORD* pdwStubPhase);
|
---|
1637 | HRESULT STDMETHODCALLTYPE IOleLink_Update_Proxy(
|
---|
1638 | IOleLink* This,
|
---|
1639 | IBindCtx *pbc);
|
---|
1640 | void __RPC_STUB IOleLink_Update_Stub(
|
---|
1641 | IRpcStubBuffer* This,
|
---|
1642 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1643 | PRPC_MESSAGE pRpcMessage,
|
---|
1644 | DWORD* pdwStubPhase);
|
---|
1645 |
|
---|
1646 | #endif /* __IOleLink_INTERFACE_DEFINED__ */
|
---|
1647 |
|
---|
1648 | /*****************************************************************************
|
---|
1649 | * IOleClientSite interface
|
---|
1650 | */
|
---|
1651 | #ifndef __IOleClientSite_INTERFACE_DEFINED__
|
---|
1652 | #define __IOleClientSite_INTERFACE_DEFINED__
|
---|
1653 |
|
---|
1654 | typedef IOleClientSite *LPOLECLIENTSITE;
|
---|
1655 | DEFINE_GUID(IID_IOleClientSite, 0x00000118, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1656 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1657 | interface IOleClientSite : public IUnknown
|
---|
1658 | {
|
---|
1659 | virtual HRESULT STDMETHODCALLTYPE SaveObject(
|
---|
1660 | ) = 0;
|
---|
1661 |
|
---|
1662 | virtual HRESULT STDMETHODCALLTYPE GetMoniker(
|
---|
1663 | DWORD dwAssign,
|
---|
1664 | DWORD dwWhichMoniker,
|
---|
1665 | IMoniker **ppmk) = 0;
|
---|
1666 |
|
---|
1667 | virtual HRESULT STDMETHODCALLTYPE GetContainer(
|
---|
1668 | IOleContainer **ppContainer) = 0;
|
---|
1669 |
|
---|
1670 | virtual HRESULT STDMETHODCALLTYPE ShowObject(
|
---|
1671 | ) = 0;
|
---|
1672 |
|
---|
1673 | virtual HRESULT STDMETHODCALLTYPE OnShowWindow(
|
---|
1674 | BOOL fShow) = 0;
|
---|
1675 |
|
---|
1676 | virtual HRESULT STDMETHODCALLTYPE RequestNewObjectLayout(
|
---|
1677 | ) = 0;
|
---|
1678 |
|
---|
1679 | };
|
---|
1680 | #else
|
---|
1681 | typedef struct IOleClientSiteVtbl {
|
---|
1682 | BEGIN_INTERFACE
|
---|
1683 |
|
---|
1684 | /*** IUnknown methods ***/
|
---|
1685 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1686 | IOleClientSite* This,
|
---|
1687 | REFIID riid,
|
---|
1688 | void **ppvObject);
|
---|
1689 |
|
---|
1690 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1691 | IOleClientSite* This);
|
---|
1692 |
|
---|
1693 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1694 | IOleClientSite* This);
|
---|
1695 |
|
---|
1696 | /*** IOleClientSite methods ***/
|
---|
1697 | HRESULT (STDMETHODCALLTYPE *SaveObject)(
|
---|
1698 | IOleClientSite* This);
|
---|
1699 |
|
---|
1700 | HRESULT (STDMETHODCALLTYPE *GetMoniker)(
|
---|
1701 | IOleClientSite* This,
|
---|
1702 | DWORD dwAssign,
|
---|
1703 | DWORD dwWhichMoniker,
|
---|
1704 | IMoniker **ppmk);
|
---|
1705 |
|
---|
1706 | HRESULT (STDMETHODCALLTYPE *GetContainer)(
|
---|
1707 | IOleClientSite* This,
|
---|
1708 | IOleContainer **ppContainer);
|
---|
1709 |
|
---|
1710 | HRESULT (STDMETHODCALLTYPE *ShowObject)(
|
---|
1711 | IOleClientSite* This);
|
---|
1712 |
|
---|
1713 | HRESULT (STDMETHODCALLTYPE *OnShowWindow)(
|
---|
1714 | IOleClientSite* This,
|
---|
1715 | BOOL fShow);
|
---|
1716 |
|
---|
1717 | HRESULT (STDMETHODCALLTYPE *RequestNewObjectLayout)(
|
---|
1718 | IOleClientSite* This);
|
---|
1719 |
|
---|
1720 | END_INTERFACE
|
---|
1721 | } IOleClientSiteVtbl;
|
---|
1722 | interface IOleClientSite {
|
---|
1723 | CONST_VTBL IOleClientSiteVtbl* lpVtbl;
|
---|
1724 | };
|
---|
1725 |
|
---|
1726 | #ifdef COBJMACROS
|
---|
1727 | /*** IUnknown methods ***/
|
---|
1728 | #define IOleClientSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1729 | #define IOleClientSite_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1730 | #define IOleClientSite_Release(This) (This)->lpVtbl->Release(This)
|
---|
1731 | /*** IOleClientSite methods ***/
|
---|
1732 | #define IOleClientSite_SaveObject(This) (This)->lpVtbl->SaveObject(This)
|
---|
1733 | #define IOleClientSite_GetMoniker(This,dwAssign,dwWhichMoniker,ppmk) (This)->lpVtbl->GetMoniker(This,dwAssign,dwWhichMoniker,ppmk)
|
---|
1734 | #define IOleClientSite_GetContainer(This,ppContainer) (This)->lpVtbl->GetContainer(This,ppContainer)
|
---|
1735 | #define IOleClientSite_ShowObject(This) (This)->lpVtbl->ShowObject(This)
|
---|
1736 | #define IOleClientSite_OnShowWindow(This,fShow) (This)->lpVtbl->OnShowWindow(This,fShow)
|
---|
1737 | #define IOleClientSite_RequestNewObjectLayout(This) (This)->lpVtbl->RequestNewObjectLayout(This)
|
---|
1738 | #endif
|
---|
1739 |
|
---|
1740 | #endif
|
---|
1741 |
|
---|
1742 | HRESULT STDMETHODCALLTYPE IOleClientSite_SaveObject_Proxy(
|
---|
1743 | IOleClientSite* This);
|
---|
1744 | void __RPC_STUB IOleClientSite_SaveObject_Stub(
|
---|
1745 | IRpcStubBuffer* This,
|
---|
1746 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1747 | PRPC_MESSAGE pRpcMessage,
|
---|
1748 | DWORD* pdwStubPhase);
|
---|
1749 | HRESULT STDMETHODCALLTYPE IOleClientSite_GetMoniker_Proxy(
|
---|
1750 | IOleClientSite* This,
|
---|
1751 | DWORD dwAssign,
|
---|
1752 | DWORD dwWhichMoniker,
|
---|
1753 | IMoniker **ppmk);
|
---|
1754 | void __RPC_STUB IOleClientSite_GetMoniker_Stub(
|
---|
1755 | IRpcStubBuffer* This,
|
---|
1756 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1757 | PRPC_MESSAGE pRpcMessage,
|
---|
1758 | DWORD* pdwStubPhase);
|
---|
1759 | HRESULT STDMETHODCALLTYPE IOleClientSite_GetContainer_Proxy(
|
---|
1760 | IOleClientSite* This,
|
---|
1761 | IOleContainer **ppContainer);
|
---|
1762 | void __RPC_STUB IOleClientSite_GetContainer_Stub(
|
---|
1763 | IRpcStubBuffer* This,
|
---|
1764 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1765 | PRPC_MESSAGE pRpcMessage,
|
---|
1766 | DWORD* pdwStubPhase);
|
---|
1767 | HRESULT STDMETHODCALLTYPE IOleClientSite_ShowObject_Proxy(
|
---|
1768 | IOleClientSite* This);
|
---|
1769 | void __RPC_STUB IOleClientSite_ShowObject_Stub(
|
---|
1770 | IRpcStubBuffer* This,
|
---|
1771 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1772 | PRPC_MESSAGE pRpcMessage,
|
---|
1773 | DWORD* pdwStubPhase);
|
---|
1774 | HRESULT STDMETHODCALLTYPE IOleClientSite_OnShowWindow_Proxy(
|
---|
1775 | IOleClientSite* This,
|
---|
1776 | BOOL fShow);
|
---|
1777 | void __RPC_STUB IOleClientSite_OnShowWindow_Stub(
|
---|
1778 | IRpcStubBuffer* This,
|
---|
1779 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1780 | PRPC_MESSAGE pRpcMessage,
|
---|
1781 | DWORD* pdwStubPhase);
|
---|
1782 | HRESULT STDMETHODCALLTYPE IOleClientSite_RequestNewObjectLayout_Proxy(
|
---|
1783 | IOleClientSite* This);
|
---|
1784 | void __RPC_STUB IOleClientSite_RequestNewObjectLayout_Stub(
|
---|
1785 | IRpcStubBuffer* This,
|
---|
1786 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1787 | PRPC_MESSAGE pRpcMessage,
|
---|
1788 | DWORD* pdwStubPhase);
|
---|
1789 |
|
---|
1790 | #endif /* __IOleClientSite_INTERFACE_DEFINED__ */
|
---|
1791 |
|
---|
1792 | /*****************************************************************************
|
---|
1793 | * IOleCache interface
|
---|
1794 | */
|
---|
1795 | #ifndef __IOleCache_INTERFACE_DEFINED__
|
---|
1796 | #define __IOleCache_INTERFACE_DEFINED__
|
---|
1797 |
|
---|
1798 | typedef IOleCache *LPOLECACHE;
|
---|
1799 | DEFINE_GUID(IID_IOleCache, 0x0000011e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1800 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1801 | interface IOleCache : public IUnknown
|
---|
1802 | {
|
---|
1803 | virtual HRESULT STDMETHODCALLTYPE Cache(
|
---|
1804 | FORMATETC *pformatetc,
|
---|
1805 | DWORD advf,
|
---|
1806 | DWORD *pdwConnection) = 0;
|
---|
1807 |
|
---|
1808 | virtual HRESULT STDMETHODCALLTYPE Uncache(
|
---|
1809 | DWORD dwConnection) = 0;
|
---|
1810 |
|
---|
1811 | virtual HRESULT STDMETHODCALLTYPE EnumCache(
|
---|
1812 | IEnumSTATDATA **ppenumSTATDATA) = 0;
|
---|
1813 |
|
---|
1814 | virtual HRESULT STDMETHODCALLTYPE InitCache(
|
---|
1815 | IDataObject *pDataObject) = 0;
|
---|
1816 |
|
---|
1817 | virtual HRESULT STDMETHODCALLTYPE SetData(
|
---|
1818 | FORMATETC *pformatetc,
|
---|
1819 | STGMEDIUM *pmedium,
|
---|
1820 | BOOL fRelease) = 0;
|
---|
1821 |
|
---|
1822 | };
|
---|
1823 | #else
|
---|
1824 | typedef struct IOleCacheVtbl {
|
---|
1825 | BEGIN_INTERFACE
|
---|
1826 |
|
---|
1827 | /*** IUnknown methods ***/
|
---|
1828 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1829 | IOleCache* This,
|
---|
1830 | REFIID riid,
|
---|
1831 | void **ppvObject);
|
---|
1832 |
|
---|
1833 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1834 | IOleCache* This);
|
---|
1835 |
|
---|
1836 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1837 | IOleCache* This);
|
---|
1838 |
|
---|
1839 | /*** IOleCache methods ***/
|
---|
1840 | HRESULT (STDMETHODCALLTYPE *Cache)(
|
---|
1841 | IOleCache* This,
|
---|
1842 | FORMATETC *pformatetc,
|
---|
1843 | DWORD advf,
|
---|
1844 | DWORD *pdwConnection);
|
---|
1845 |
|
---|
1846 | HRESULT (STDMETHODCALLTYPE *Uncache)(
|
---|
1847 | IOleCache* This,
|
---|
1848 | DWORD dwConnection);
|
---|
1849 |
|
---|
1850 | HRESULT (STDMETHODCALLTYPE *EnumCache)(
|
---|
1851 | IOleCache* This,
|
---|
1852 | IEnumSTATDATA **ppenumSTATDATA);
|
---|
1853 |
|
---|
1854 | HRESULT (STDMETHODCALLTYPE *InitCache)(
|
---|
1855 | IOleCache* This,
|
---|
1856 | IDataObject *pDataObject);
|
---|
1857 |
|
---|
1858 | HRESULT (STDMETHODCALLTYPE *SetData)(
|
---|
1859 | IOleCache* This,
|
---|
1860 | FORMATETC *pformatetc,
|
---|
1861 | STGMEDIUM *pmedium,
|
---|
1862 | BOOL fRelease);
|
---|
1863 |
|
---|
1864 | END_INTERFACE
|
---|
1865 | } IOleCacheVtbl;
|
---|
1866 | interface IOleCache {
|
---|
1867 | CONST_VTBL IOleCacheVtbl* lpVtbl;
|
---|
1868 | };
|
---|
1869 |
|
---|
1870 | #ifdef COBJMACROS
|
---|
1871 | /*** IUnknown methods ***/
|
---|
1872 | #define IOleCache_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1873 | #define IOleCache_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1874 | #define IOleCache_Release(This) (This)->lpVtbl->Release(This)
|
---|
1875 | /*** IOleCache methods ***/
|
---|
1876 | #define IOleCache_Cache(This,pformatetc,advf,pdwConnection) (This)->lpVtbl->Cache(This,pformatetc,advf,pdwConnection)
|
---|
1877 | #define IOleCache_Uncache(This,dwConnection) (This)->lpVtbl->Uncache(This,dwConnection)
|
---|
1878 | #define IOleCache_EnumCache(This,ppenumSTATDATA) (This)->lpVtbl->EnumCache(This,ppenumSTATDATA)
|
---|
1879 | #define IOleCache_InitCache(This,pDataObject) (This)->lpVtbl->InitCache(This,pDataObject)
|
---|
1880 | #define IOleCache_SetData(This,pformatetc,pmedium,fRelease) (This)->lpVtbl->SetData(This,pformatetc,pmedium,fRelease)
|
---|
1881 | #endif
|
---|
1882 |
|
---|
1883 | #endif
|
---|
1884 |
|
---|
1885 | HRESULT STDMETHODCALLTYPE IOleCache_Cache_Proxy(
|
---|
1886 | IOleCache* This,
|
---|
1887 | FORMATETC *pformatetc,
|
---|
1888 | DWORD advf,
|
---|
1889 | DWORD *pdwConnection);
|
---|
1890 | void __RPC_STUB IOleCache_Cache_Stub(
|
---|
1891 | IRpcStubBuffer* This,
|
---|
1892 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1893 | PRPC_MESSAGE pRpcMessage,
|
---|
1894 | DWORD* pdwStubPhase);
|
---|
1895 | HRESULT STDMETHODCALLTYPE IOleCache_Uncache_Proxy(
|
---|
1896 | IOleCache* This,
|
---|
1897 | DWORD dwConnection);
|
---|
1898 | void __RPC_STUB IOleCache_Uncache_Stub(
|
---|
1899 | IRpcStubBuffer* This,
|
---|
1900 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1901 | PRPC_MESSAGE pRpcMessage,
|
---|
1902 | DWORD* pdwStubPhase);
|
---|
1903 | HRESULT STDMETHODCALLTYPE IOleCache_EnumCache_Proxy(
|
---|
1904 | IOleCache* This,
|
---|
1905 | IEnumSTATDATA **ppenumSTATDATA);
|
---|
1906 | void __RPC_STUB IOleCache_EnumCache_Stub(
|
---|
1907 | IRpcStubBuffer* This,
|
---|
1908 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1909 | PRPC_MESSAGE pRpcMessage,
|
---|
1910 | DWORD* pdwStubPhase);
|
---|
1911 | HRESULT STDMETHODCALLTYPE IOleCache_InitCache_Proxy(
|
---|
1912 | IOleCache* This,
|
---|
1913 | IDataObject *pDataObject);
|
---|
1914 | void __RPC_STUB IOleCache_InitCache_Stub(
|
---|
1915 | IRpcStubBuffer* This,
|
---|
1916 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1917 | PRPC_MESSAGE pRpcMessage,
|
---|
1918 | DWORD* pdwStubPhase);
|
---|
1919 | HRESULT STDMETHODCALLTYPE IOleCache_SetData_Proxy(
|
---|
1920 | IOleCache* This,
|
---|
1921 | FORMATETC *pformatetc,
|
---|
1922 | STGMEDIUM *pmedium,
|
---|
1923 | BOOL fRelease);
|
---|
1924 | void __RPC_STUB IOleCache_SetData_Stub(
|
---|
1925 | IRpcStubBuffer* This,
|
---|
1926 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
1927 | PRPC_MESSAGE pRpcMessage,
|
---|
1928 | DWORD* pdwStubPhase);
|
---|
1929 |
|
---|
1930 | #endif /* __IOleCache_INTERFACE_DEFINED__ */
|
---|
1931 |
|
---|
1932 | /*****************************************************************************
|
---|
1933 | * IOleCache2 interface
|
---|
1934 | */
|
---|
1935 | #ifndef __IOleCache2_INTERFACE_DEFINED__
|
---|
1936 | #define __IOleCache2_INTERFACE_DEFINED__
|
---|
1937 |
|
---|
1938 | typedef IOleCache2 *LPOLECACHE2;
|
---|
1939 | #define UPDFCACHE_NODATACACHE (0x1)
|
---|
1940 |
|
---|
1941 | #define UPDFCACHE_ONSAVECACHE (0x2)
|
---|
1942 |
|
---|
1943 | #define UPDFCACHE_ONSTOPCACHE (0x4)
|
---|
1944 |
|
---|
1945 | #define UPDFCACHE_NORMALCACHE (0x8)
|
---|
1946 |
|
---|
1947 | #define UPDFCACHE_IFBLANK (0x10)
|
---|
1948 |
|
---|
1949 | #define UPDFCACHE_ONLYIFBLANK (0x80000000)
|
---|
1950 |
|
---|
1951 | #define UPDFCACHE_IFBLANKORONSAVECACHE (UPDFCACHE_IFBLANK | UPDFCACHE_ONSAVECACHE)
|
---|
1952 |
|
---|
1953 | #define UPDFCACHE_ALL ((DWORD)~UPDFCACHE_ONLYIFBLANK)
|
---|
1954 |
|
---|
1955 | #define UPDFCACHE_ALLBUTNODATACACHE (UPDFCACHE_ALL & (DWORD)~UPDFCACHE_NODATACACHE)
|
---|
1956 |
|
---|
1957 | typedef enum tagDISCARDCACHE {
|
---|
1958 | DISCARDCACHE_SAVEIFDIRTY = 0,
|
---|
1959 | DISCARDCACHE_NOSAVE = 1
|
---|
1960 | } DISCARDCACHE;
|
---|
1961 | DEFINE_GUID(IID_IOleCache2, 0x00000128, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
1962 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1963 | interface IOleCache2 : public IOleCache
|
---|
1964 | {
|
---|
1965 | virtual HRESULT STDMETHODCALLTYPE UpdateCache(
|
---|
1966 | LPDATAOBJECT pDataObject,
|
---|
1967 | DWORD grfUpdf,
|
---|
1968 | LPVOID pReserved) = 0;
|
---|
1969 |
|
---|
1970 | virtual HRESULT STDMETHODCALLTYPE DiscardCache(
|
---|
1971 | DWORD dwDiscardOptions) = 0;
|
---|
1972 |
|
---|
1973 | };
|
---|
1974 | #else
|
---|
1975 | typedef struct IOleCache2Vtbl {
|
---|
1976 | BEGIN_INTERFACE
|
---|
1977 |
|
---|
1978 | /*** IUnknown methods ***/
|
---|
1979 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1980 | IOleCache2* This,
|
---|
1981 | REFIID riid,
|
---|
1982 | void **ppvObject);
|
---|
1983 |
|
---|
1984 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1985 | IOleCache2* This);
|
---|
1986 |
|
---|
1987 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1988 | IOleCache2* This);
|
---|
1989 |
|
---|
1990 | /*** IOleCache methods ***/
|
---|
1991 | HRESULT (STDMETHODCALLTYPE *Cache)(
|
---|
1992 | IOleCache2* This,
|
---|
1993 | FORMATETC *pformatetc,
|
---|
1994 | DWORD advf,
|
---|
1995 | DWORD *pdwConnection);
|
---|
1996 |
|
---|
1997 | HRESULT (STDMETHODCALLTYPE *Uncache)(
|
---|
1998 | IOleCache2* This,
|
---|
1999 | DWORD dwConnection);
|
---|
2000 |
|
---|
2001 | HRESULT (STDMETHODCALLTYPE *EnumCache)(
|
---|
2002 | IOleCache2* This,
|
---|
2003 | IEnumSTATDATA **ppenumSTATDATA);
|
---|
2004 |
|
---|
2005 | HRESULT (STDMETHODCALLTYPE *InitCache)(
|
---|
2006 | IOleCache2* This,
|
---|
2007 | IDataObject *pDataObject);
|
---|
2008 |
|
---|
2009 | HRESULT (STDMETHODCALLTYPE *SetData)(
|
---|
2010 | IOleCache2* This,
|
---|
2011 | FORMATETC *pformatetc,
|
---|
2012 | STGMEDIUM *pmedium,
|
---|
2013 | BOOL fRelease);
|
---|
2014 |
|
---|
2015 | /*** IOleCache2 methods ***/
|
---|
2016 | HRESULT (STDMETHODCALLTYPE *UpdateCache)(
|
---|
2017 | IOleCache2* This,
|
---|
2018 | LPDATAOBJECT pDataObject,
|
---|
2019 | DWORD grfUpdf,
|
---|
2020 | LPVOID pReserved);
|
---|
2021 |
|
---|
2022 | HRESULT (STDMETHODCALLTYPE *DiscardCache)(
|
---|
2023 | IOleCache2* This,
|
---|
2024 | DWORD dwDiscardOptions);
|
---|
2025 |
|
---|
2026 | END_INTERFACE
|
---|
2027 | } IOleCache2Vtbl;
|
---|
2028 | interface IOleCache2 {
|
---|
2029 | CONST_VTBL IOleCache2Vtbl* lpVtbl;
|
---|
2030 | };
|
---|
2031 |
|
---|
2032 | #ifdef COBJMACROS
|
---|
2033 | /*** IUnknown methods ***/
|
---|
2034 | #define IOleCache2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2035 | #define IOleCache2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2036 | #define IOleCache2_Release(This) (This)->lpVtbl->Release(This)
|
---|
2037 | /*** IOleCache methods ***/
|
---|
2038 | #define IOleCache2_Cache(This,pformatetc,advf,pdwConnection) (This)->lpVtbl->Cache(This,pformatetc,advf,pdwConnection)
|
---|
2039 | #define IOleCache2_Uncache(This,dwConnection) (This)->lpVtbl->Uncache(This,dwConnection)
|
---|
2040 | #define IOleCache2_EnumCache(This,ppenumSTATDATA) (This)->lpVtbl->EnumCache(This,ppenumSTATDATA)
|
---|
2041 | #define IOleCache2_InitCache(This,pDataObject) (This)->lpVtbl->InitCache(This,pDataObject)
|
---|
2042 | #define IOleCache2_SetData(This,pformatetc,pmedium,fRelease) (This)->lpVtbl->SetData(This,pformatetc,pmedium,fRelease)
|
---|
2043 | /*** IOleCache2 methods ***/
|
---|
2044 | #define IOleCache2_UpdateCache(This,pDataObject,grfUpdf,pReserved) (This)->lpVtbl->UpdateCache(This,pDataObject,grfUpdf,pReserved)
|
---|
2045 | #define IOleCache2_DiscardCache(This,dwDiscardOptions) (This)->lpVtbl->DiscardCache(This,dwDiscardOptions)
|
---|
2046 | #endif
|
---|
2047 |
|
---|
2048 | #endif
|
---|
2049 |
|
---|
2050 | HRESULT STDMETHODCALLTYPE IOleCache2_RemoteUpdateCache_Proxy(
|
---|
2051 | IOleCache2* This,
|
---|
2052 | LPDATAOBJECT pDataObject,
|
---|
2053 | DWORD grfUpdf,
|
---|
2054 | LONG_PTR pReserved);
|
---|
2055 | void __RPC_STUB IOleCache2_RemoteUpdateCache_Stub(
|
---|
2056 | IRpcStubBuffer* This,
|
---|
2057 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2058 | PRPC_MESSAGE pRpcMessage,
|
---|
2059 | DWORD* pdwStubPhase);
|
---|
2060 | HRESULT STDMETHODCALLTYPE IOleCache2_DiscardCache_Proxy(
|
---|
2061 | IOleCache2* This,
|
---|
2062 | DWORD dwDiscardOptions);
|
---|
2063 | void __RPC_STUB IOleCache2_DiscardCache_Stub(
|
---|
2064 | IRpcStubBuffer* This,
|
---|
2065 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2066 | PRPC_MESSAGE pRpcMessage,
|
---|
2067 | DWORD* pdwStubPhase);
|
---|
2068 | HRESULT CALLBACK IOleCache2_UpdateCache_Proxy(
|
---|
2069 | IOleCache2* This,
|
---|
2070 | LPDATAOBJECT pDataObject,
|
---|
2071 | DWORD grfUpdf,
|
---|
2072 | LPVOID pReserved);
|
---|
2073 | HRESULT __RPC_STUB IOleCache2_UpdateCache_Stub(
|
---|
2074 | IOleCache2* This,
|
---|
2075 | LPDATAOBJECT pDataObject,
|
---|
2076 | DWORD grfUpdf,
|
---|
2077 | LONG_PTR pReserved);
|
---|
2078 |
|
---|
2079 | #endif /* __IOleCache2_INTERFACE_DEFINED__ */
|
---|
2080 |
|
---|
2081 | /*****************************************************************************
|
---|
2082 | * IOleCacheControl interface
|
---|
2083 | */
|
---|
2084 | #ifndef __IOleCacheControl_INTERFACE_DEFINED__
|
---|
2085 | #define __IOleCacheControl_INTERFACE_DEFINED__
|
---|
2086 |
|
---|
2087 | typedef IOleCacheControl *LPOLECACHECONTROL;
|
---|
2088 | DEFINE_GUID(IID_IOleCacheControl, 0x00000129, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2089 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2090 | interface IOleCacheControl : public IUnknown
|
---|
2091 | {
|
---|
2092 | virtual HRESULT STDMETHODCALLTYPE OnRun(
|
---|
2093 | LPDATAOBJECT pDataObject) = 0;
|
---|
2094 |
|
---|
2095 | virtual HRESULT STDMETHODCALLTYPE OnStop(
|
---|
2096 | ) = 0;
|
---|
2097 |
|
---|
2098 | };
|
---|
2099 | #else
|
---|
2100 | typedef struct IOleCacheControlVtbl {
|
---|
2101 | BEGIN_INTERFACE
|
---|
2102 |
|
---|
2103 | /*** IUnknown methods ***/
|
---|
2104 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2105 | IOleCacheControl* This,
|
---|
2106 | REFIID riid,
|
---|
2107 | void **ppvObject);
|
---|
2108 |
|
---|
2109 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2110 | IOleCacheControl* This);
|
---|
2111 |
|
---|
2112 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2113 | IOleCacheControl* This);
|
---|
2114 |
|
---|
2115 | /*** IOleCacheControl methods ***/
|
---|
2116 | HRESULT (STDMETHODCALLTYPE *OnRun)(
|
---|
2117 | IOleCacheControl* This,
|
---|
2118 | LPDATAOBJECT pDataObject);
|
---|
2119 |
|
---|
2120 | HRESULT (STDMETHODCALLTYPE *OnStop)(
|
---|
2121 | IOleCacheControl* This);
|
---|
2122 |
|
---|
2123 | END_INTERFACE
|
---|
2124 | } IOleCacheControlVtbl;
|
---|
2125 | interface IOleCacheControl {
|
---|
2126 | CONST_VTBL IOleCacheControlVtbl* lpVtbl;
|
---|
2127 | };
|
---|
2128 |
|
---|
2129 | #ifdef COBJMACROS
|
---|
2130 | /*** IUnknown methods ***/
|
---|
2131 | #define IOleCacheControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2132 | #define IOleCacheControl_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2133 | #define IOleCacheControl_Release(This) (This)->lpVtbl->Release(This)
|
---|
2134 | /*** IOleCacheControl methods ***/
|
---|
2135 | #define IOleCacheControl_OnRun(This,pDataObject) (This)->lpVtbl->OnRun(This,pDataObject)
|
---|
2136 | #define IOleCacheControl_OnStop(This) (This)->lpVtbl->OnStop(This)
|
---|
2137 | #endif
|
---|
2138 |
|
---|
2139 | #endif
|
---|
2140 |
|
---|
2141 | HRESULT STDMETHODCALLTYPE IOleCacheControl_OnRun_Proxy(
|
---|
2142 | IOleCacheControl* This,
|
---|
2143 | LPDATAOBJECT pDataObject);
|
---|
2144 | void __RPC_STUB IOleCacheControl_OnRun_Stub(
|
---|
2145 | IRpcStubBuffer* This,
|
---|
2146 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2147 | PRPC_MESSAGE pRpcMessage,
|
---|
2148 | DWORD* pdwStubPhase);
|
---|
2149 | HRESULT STDMETHODCALLTYPE IOleCacheControl_OnStop_Proxy(
|
---|
2150 | IOleCacheControl* This);
|
---|
2151 | void __RPC_STUB IOleCacheControl_OnStop_Stub(
|
---|
2152 | IRpcStubBuffer* This,
|
---|
2153 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2154 | PRPC_MESSAGE pRpcMessage,
|
---|
2155 | DWORD* pdwStubPhase);
|
---|
2156 |
|
---|
2157 | #endif /* __IOleCacheControl_INTERFACE_DEFINED__ */
|
---|
2158 |
|
---|
2159 | /*****************************************************************************
|
---|
2160 | * IEnumOLEVERB interface
|
---|
2161 | */
|
---|
2162 | #ifndef __IEnumOLEVERB_INTERFACE_DEFINED__
|
---|
2163 | #define __IEnumOLEVERB_INTERFACE_DEFINED__
|
---|
2164 |
|
---|
2165 | typedef IEnumOLEVERB *LPENUMOLEVERB;
|
---|
2166 | typedef struct tagOLEVERB {
|
---|
2167 | LONG lVerb;
|
---|
2168 | LPOLESTR lpszVerbName;
|
---|
2169 | DWORD fuFlags;
|
---|
2170 | DWORD grfAttribs;
|
---|
2171 | } OLEVERB;
|
---|
2172 | typedef struct tagOLEVERB *LPOLEVERB;
|
---|
2173 | typedef enum tagOLEVERBATTRIB {
|
---|
2174 | OLEVERBATTRIB_NEVERDIRTIES = 1,
|
---|
2175 | OLEVERBATTRIB_ONCONTAINERMENU = 2
|
---|
2176 | } OLEVERBATTRIB;
|
---|
2177 | DEFINE_GUID(IID_IEnumOLEVERB, 0x00000104, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2178 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2179 | interface IEnumOLEVERB : public IUnknown
|
---|
2180 | {
|
---|
2181 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
2182 | ULONG celt,
|
---|
2183 | LPOLEVERB rgelt,
|
---|
2184 | ULONG *pceltFetched) = 0;
|
---|
2185 |
|
---|
2186 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
2187 | ULONG celt) = 0;
|
---|
2188 |
|
---|
2189 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
2190 | ) = 0;
|
---|
2191 |
|
---|
2192 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
2193 | IEnumOLEVERB **ppenum) = 0;
|
---|
2194 |
|
---|
2195 | };
|
---|
2196 | #else
|
---|
2197 | typedef struct IEnumOLEVERBVtbl {
|
---|
2198 | BEGIN_INTERFACE
|
---|
2199 |
|
---|
2200 | /*** IUnknown methods ***/
|
---|
2201 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2202 | IEnumOLEVERB* This,
|
---|
2203 | REFIID riid,
|
---|
2204 | void **ppvObject);
|
---|
2205 |
|
---|
2206 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2207 | IEnumOLEVERB* This);
|
---|
2208 |
|
---|
2209 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2210 | IEnumOLEVERB* This);
|
---|
2211 |
|
---|
2212 | /*** IEnumOLEVERB methods ***/
|
---|
2213 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
2214 | IEnumOLEVERB* This,
|
---|
2215 | ULONG celt,
|
---|
2216 | LPOLEVERB rgelt,
|
---|
2217 | ULONG *pceltFetched);
|
---|
2218 |
|
---|
2219 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
2220 | IEnumOLEVERB* This,
|
---|
2221 | ULONG celt);
|
---|
2222 |
|
---|
2223 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
2224 | IEnumOLEVERB* This);
|
---|
2225 |
|
---|
2226 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
2227 | IEnumOLEVERB* This,
|
---|
2228 | IEnumOLEVERB **ppenum);
|
---|
2229 |
|
---|
2230 | END_INTERFACE
|
---|
2231 | } IEnumOLEVERBVtbl;
|
---|
2232 | interface IEnumOLEVERB {
|
---|
2233 | CONST_VTBL IEnumOLEVERBVtbl* lpVtbl;
|
---|
2234 | };
|
---|
2235 |
|
---|
2236 | #ifdef COBJMACROS
|
---|
2237 | /*** IUnknown methods ***/
|
---|
2238 | #define IEnumOLEVERB_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2239 | #define IEnumOLEVERB_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2240 | #define IEnumOLEVERB_Release(This) (This)->lpVtbl->Release(This)
|
---|
2241 | /*** IEnumOLEVERB methods ***/
|
---|
2242 | #define IEnumOLEVERB_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
|
---|
2243 | #define IEnumOLEVERB_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
|
---|
2244 | #define IEnumOLEVERB_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
2245 | #define IEnumOLEVERB_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
|
---|
2246 | #endif
|
---|
2247 |
|
---|
2248 | #endif
|
---|
2249 |
|
---|
2250 | HRESULT STDMETHODCALLTYPE IEnumOLEVERB_RemoteNext_Proxy(
|
---|
2251 | IEnumOLEVERB* This,
|
---|
2252 | ULONG celt,
|
---|
2253 | LPOLEVERB rgelt,
|
---|
2254 | ULONG *pceltFetched);
|
---|
2255 | void __RPC_STUB IEnumOLEVERB_RemoteNext_Stub(
|
---|
2256 | IRpcStubBuffer* This,
|
---|
2257 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2258 | PRPC_MESSAGE pRpcMessage,
|
---|
2259 | DWORD* pdwStubPhase);
|
---|
2260 | HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Skip_Proxy(
|
---|
2261 | IEnumOLEVERB* This,
|
---|
2262 | ULONG celt);
|
---|
2263 | void __RPC_STUB IEnumOLEVERB_Skip_Stub(
|
---|
2264 | IRpcStubBuffer* This,
|
---|
2265 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2266 | PRPC_MESSAGE pRpcMessage,
|
---|
2267 | DWORD* pdwStubPhase);
|
---|
2268 | HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Reset_Proxy(
|
---|
2269 | IEnumOLEVERB* This);
|
---|
2270 | void __RPC_STUB IEnumOLEVERB_Reset_Stub(
|
---|
2271 | IRpcStubBuffer* This,
|
---|
2272 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2273 | PRPC_MESSAGE pRpcMessage,
|
---|
2274 | DWORD* pdwStubPhase);
|
---|
2275 | HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Clone_Proxy(
|
---|
2276 | IEnumOLEVERB* This,
|
---|
2277 | IEnumOLEVERB **ppenum);
|
---|
2278 | void __RPC_STUB IEnumOLEVERB_Clone_Stub(
|
---|
2279 | IRpcStubBuffer* This,
|
---|
2280 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2281 | PRPC_MESSAGE pRpcMessage,
|
---|
2282 | DWORD* pdwStubPhase);
|
---|
2283 | HRESULT CALLBACK IEnumOLEVERB_Next_Proxy(
|
---|
2284 | IEnumOLEVERB* This,
|
---|
2285 | ULONG celt,
|
---|
2286 | LPOLEVERB rgelt,
|
---|
2287 | ULONG *pceltFetched);
|
---|
2288 | HRESULT __RPC_STUB IEnumOLEVERB_Next_Stub(
|
---|
2289 | IEnumOLEVERB* This,
|
---|
2290 | ULONG celt,
|
---|
2291 | LPOLEVERB rgelt,
|
---|
2292 | ULONG *pceltFetched);
|
---|
2293 |
|
---|
2294 | #endif /* __IEnumOLEVERB_INTERFACE_DEFINED__ */
|
---|
2295 |
|
---|
2296 | /*****************************************************************************
|
---|
2297 | * IOleObject interface
|
---|
2298 | */
|
---|
2299 | #ifndef __IOleObject_INTERFACE_DEFINED__
|
---|
2300 | #define __IOleObject_INTERFACE_DEFINED__
|
---|
2301 |
|
---|
2302 | typedef IOleObject *LPOLEOBJECT;
|
---|
2303 | typedef enum tagOLEGETMONIKER {
|
---|
2304 | OLEGETMONIKER_ONLYIFTHERE = 1,
|
---|
2305 | OLEGETMONIKER_FORCEASSIGN = 2,
|
---|
2306 | OLEGETMONIKER_UNASSIGN = 3,
|
---|
2307 | OLEGETMONIKER_TEMPFORUSER = 4
|
---|
2308 | } OLEGETMONIKER;
|
---|
2309 | typedef enum tagOLEWHICHMK {
|
---|
2310 | OLEWHICHMK_CONTAINER = 1,
|
---|
2311 | OLEWHICHMK_OBJREL = 2,
|
---|
2312 | OLEWHICHMK_OBJFULL = 3
|
---|
2313 | } OLEWHICHMK;
|
---|
2314 | typedef enum tagUSERCLASSTYPE {
|
---|
2315 | USERCLASSTYPE_FULL = 1,
|
---|
2316 | USERCLASSTYPE_SHORT = 2,
|
---|
2317 | USERCLASSTYPE_APPNAME = 3
|
---|
2318 | } USERCLASSTYPE;
|
---|
2319 | typedef enum tagOLEMISC {
|
---|
2320 | OLEMISC_RECOMPOSEONRESIZE = 0x1,
|
---|
2321 | OLEMISC_ONLYICONIC = 0x2,
|
---|
2322 | OLEMISC_INSERTNOTREPLACE = 0x4,
|
---|
2323 | OLEMISC_STATIC = 0x8,
|
---|
2324 | OLEMISC_CANTLINKINSIDE = 0x10,
|
---|
2325 | OLEMISC_CANLINKBYOLE1 = 0x20,
|
---|
2326 | OLEMISC_ISLINKOBJECT = 0x40,
|
---|
2327 | OLEMISC_INSIDEOUT = 0x80,
|
---|
2328 | OLEMISC_ACTIVATEWHENVISIBLE = 0x100,
|
---|
2329 | OLEMISC_RENDERINGISDEVICEINDEPENDENT = 0x200,
|
---|
2330 | OLEMISC_INVISIBLEATRUNTIME = 0x400,
|
---|
2331 | OLEMISC_ALWAYSRUN = 0x800,
|
---|
2332 | OLEMISC_ACTSLIKEBUTTON = 0x1000,
|
---|
2333 | OLEMISC_ACTSLIKELABEL = 0x2000,
|
---|
2334 | OLEMISC_NOUIACTIVATE = 0x4000,
|
---|
2335 | OLEMISC_ALIGNABLE = 0x8000,
|
---|
2336 | OLEMISC_SIMPLEFRAME = 0x10000,
|
---|
2337 | OLEMISC_SETCLIENTSITEFIRST = 0x20000,
|
---|
2338 | OLEMISC_IMEMODE = 0x40000,
|
---|
2339 | OLEMISC_IGNOREACTIVATEWHENVISIBLE = 0x80000,
|
---|
2340 | OLEMISC_WANTSTOMENUMERGE = 0x100000,
|
---|
2341 | OLEMISC_SUPPORTSMULTILEVELUNDO = 0x200000
|
---|
2342 | } OLEMISC;
|
---|
2343 | typedef enum tagOLECLOSE {
|
---|
2344 | OLECLOSE_SAVEIFDIRTY = 0,
|
---|
2345 | OLECLOSE_NOSAVE = 1,
|
---|
2346 | OLECLOSE_PROMPTSAVE = 2
|
---|
2347 | } OLECLOSE;
|
---|
2348 | DEFINE_GUID(IID_IOleObject, 0x00000112, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2349 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2350 | interface IOleObject : public IUnknown
|
---|
2351 | {
|
---|
2352 | virtual HRESULT STDMETHODCALLTYPE SetClientSite(
|
---|
2353 | IOleClientSite *pClientSite) = 0;
|
---|
2354 |
|
---|
2355 | virtual HRESULT STDMETHODCALLTYPE GetClientSite(
|
---|
2356 | IOleClientSite **ppClientSite) = 0;
|
---|
2357 |
|
---|
2358 | virtual HRESULT STDMETHODCALLTYPE SetHostNames(
|
---|
2359 | LPCOLESTR szContainerApp,
|
---|
2360 | LPCOLESTR szContainerObj) = 0;
|
---|
2361 |
|
---|
2362 | virtual HRESULT STDMETHODCALLTYPE Close(
|
---|
2363 | DWORD dwSaveOption) = 0;
|
---|
2364 |
|
---|
2365 | virtual HRESULT STDMETHODCALLTYPE SetMoniker(
|
---|
2366 | DWORD dwWhichMoniker,
|
---|
2367 | IMoniker *pmk) = 0;
|
---|
2368 |
|
---|
2369 | virtual HRESULT STDMETHODCALLTYPE GetMoniker(
|
---|
2370 | DWORD dwAssign,
|
---|
2371 | DWORD dwWhichMoniker,
|
---|
2372 | IMoniker **ppmk) = 0;
|
---|
2373 |
|
---|
2374 | virtual HRESULT STDMETHODCALLTYPE InitFromData(
|
---|
2375 | IDataObject *pDataObject,
|
---|
2376 | BOOL fCreation,
|
---|
2377 | DWORD dwReserved) = 0;
|
---|
2378 |
|
---|
2379 | virtual HRESULT STDMETHODCALLTYPE GetClipboardData(
|
---|
2380 | DWORD dwReserved,
|
---|
2381 | IDataObject **ppDataObject) = 0;
|
---|
2382 |
|
---|
2383 | virtual HRESULT STDMETHODCALLTYPE DoVerb(
|
---|
2384 | LONG iVerb,
|
---|
2385 | LPMSG lpmsg,
|
---|
2386 | IOleClientSite *pActiveSite,
|
---|
2387 | LONG lindex,
|
---|
2388 | HWND hwndParent,
|
---|
2389 | LPCRECT lprcPosRect) = 0;
|
---|
2390 |
|
---|
2391 | virtual HRESULT STDMETHODCALLTYPE EnumVerbs(
|
---|
2392 | IEnumOLEVERB **ppEnumOleVerb) = 0;
|
---|
2393 |
|
---|
2394 | virtual HRESULT STDMETHODCALLTYPE Update(
|
---|
2395 | ) = 0;
|
---|
2396 |
|
---|
2397 | virtual HRESULT STDMETHODCALLTYPE IsUpToDate(
|
---|
2398 | ) = 0;
|
---|
2399 |
|
---|
2400 | virtual HRESULT STDMETHODCALLTYPE GetUserClassID(
|
---|
2401 | CLSID *pClsid) = 0;
|
---|
2402 |
|
---|
2403 | virtual HRESULT STDMETHODCALLTYPE GetUserType(
|
---|
2404 | DWORD dwFormOfType,
|
---|
2405 | LPOLESTR *pszUserType) = 0;
|
---|
2406 |
|
---|
2407 | virtual HRESULT STDMETHODCALLTYPE SetExtent(
|
---|
2408 | DWORD dwDrawAspect,
|
---|
2409 | SIZEL *psizel) = 0;
|
---|
2410 |
|
---|
2411 | virtual HRESULT STDMETHODCALLTYPE GetExtent(
|
---|
2412 | DWORD dwDrawAspect,
|
---|
2413 | SIZEL *psizel) = 0;
|
---|
2414 |
|
---|
2415 | virtual HRESULT STDMETHODCALLTYPE Advise(
|
---|
2416 | IAdviseSink *pAdvSink,
|
---|
2417 | DWORD *pdwConnection) = 0;
|
---|
2418 |
|
---|
2419 | virtual HRESULT STDMETHODCALLTYPE Unadvise(
|
---|
2420 | DWORD dwConnection) = 0;
|
---|
2421 |
|
---|
2422 | virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
|
---|
2423 | IEnumSTATDATA **ppenumAdvise) = 0;
|
---|
2424 |
|
---|
2425 | virtual HRESULT STDMETHODCALLTYPE GetMiscStatus(
|
---|
2426 | DWORD dwAspect,
|
---|
2427 | DWORD *pdwStatus) = 0;
|
---|
2428 |
|
---|
2429 | virtual HRESULT STDMETHODCALLTYPE SetColorScheme(
|
---|
2430 | LOGPALETTE *pLogpal) = 0;
|
---|
2431 |
|
---|
2432 | };
|
---|
2433 | #else
|
---|
2434 | typedef struct IOleObjectVtbl {
|
---|
2435 | BEGIN_INTERFACE
|
---|
2436 |
|
---|
2437 | /*** IUnknown methods ***/
|
---|
2438 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2439 | IOleObject* This,
|
---|
2440 | REFIID riid,
|
---|
2441 | void **ppvObject);
|
---|
2442 |
|
---|
2443 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2444 | IOleObject* This);
|
---|
2445 |
|
---|
2446 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2447 | IOleObject* This);
|
---|
2448 |
|
---|
2449 | /*** IOleObject methods ***/
|
---|
2450 | HRESULT (STDMETHODCALLTYPE *SetClientSite)(
|
---|
2451 | IOleObject* This,
|
---|
2452 | IOleClientSite *pClientSite);
|
---|
2453 |
|
---|
2454 | HRESULT (STDMETHODCALLTYPE *GetClientSite)(
|
---|
2455 | IOleObject* This,
|
---|
2456 | IOleClientSite **ppClientSite);
|
---|
2457 |
|
---|
2458 | HRESULT (STDMETHODCALLTYPE *SetHostNames)(
|
---|
2459 | IOleObject* This,
|
---|
2460 | LPCOLESTR szContainerApp,
|
---|
2461 | LPCOLESTR szContainerObj);
|
---|
2462 |
|
---|
2463 | HRESULT (STDMETHODCALLTYPE *Close)(
|
---|
2464 | IOleObject* This,
|
---|
2465 | DWORD dwSaveOption);
|
---|
2466 |
|
---|
2467 | HRESULT (STDMETHODCALLTYPE *SetMoniker)(
|
---|
2468 | IOleObject* This,
|
---|
2469 | DWORD dwWhichMoniker,
|
---|
2470 | IMoniker *pmk);
|
---|
2471 |
|
---|
2472 | HRESULT (STDMETHODCALLTYPE *GetMoniker)(
|
---|
2473 | IOleObject* This,
|
---|
2474 | DWORD dwAssign,
|
---|
2475 | DWORD dwWhichMoniker,
|
---|
2476 | IMoniker **ppmk);
|
---|
2477 |
|
---|
2478 | HRESULT (STDMETHODCALLTYPE *InitFromData)(
|
---|
2479 | IOleObject* This,
|
---|
2480 | IDataObject *pDataObject,
|
---|
2481 | BOOL fCreation,
|
---|
2482 | DWORD dwReserved);
|
---|
2483 |
|
---|
2484 | HRESULT (STDMETHODCALLTYPE *GetClipboardData)(
|
---|
2485 | IOleObject* This,
|
---|
2486 | DWORD dwReserved,
|
---|
2487 | IDataObject **ppDataObject);
|
---|
2488 |
|
---|
2489 | HRESULT (STDMETHODCALLTYPE *DoVerb)(
|
---|
2490 | IOleObject* This,
|
---|
2491 | LONG iVerb,
|
---|
2492 | LPMSG lpmsg,
|
---|
2493 | IOleClientSite *pActiveSite,
|
---|
2494 | LONG lindex,
|
---|
2495 | HWND hwndParent,
|
---|
2496 | LPCRECT lprcPosRect);
|
---|
2497 |
|
---|
2498 | HRESULT (STDMETHODCALLTYPE *EnumVerbs)(
|
---|
2499 | IOleObject* This,
|
---|
2500 | IEnumOLEVERB **ppEnumOleVerb);
|
---|
2501 |
|
---|
2502 | HRESULT (STDMETHODCALLTYPE *Update)(
|
---|
2503 | IOleObject* This);
|
---|
2504 |
|
---|
2505 | HRESULT (STDMETHODCALLTYPE *IsUpToDate)(
|
---|
2506 | IOleObject* This);
|
---|
2507 |
|
---|
2508 | HRESULT (STDMETHODCALLTYPE *GetUserClassID)(
|
---|
2509 | IOleObject* This,
|
---|
2510 | CLSID *pClsid);
|
---|
2511 |
|
---|
2512 | HRESULT (STDMETHODCALLTYPE *GetUserType)(
|
---|
2513 | IOleObject* This,
|
---|
2514 | DWORD dwFormOfType,
|
---|
2515 | LPOLESTR *pszUserType);
|
---|
2516 |
|
---|
2517 | HRESULT (STDMETHODCALLTYPE *SetExtent)(
|
---|
2518 | IOleObject* This,
|
---|
2519 | DWORD dwDrawAspect,
|
---|
2520 | SIZEL *psizel);
|
---|
2521 |
|
---|
2522 | HRESULT (STDMETHODCALLTYPE *GetExtent)(
|
---|
2523 | IOleObject* This,
|
---|
2524 | DWORD dwDrawAspect,
|
---|
2525 | SIZEL *psizel);
|
---|
2526 |
|
---|
2527 | HRESULT (STDMETHODCALLTYPE *Advise)(
|
---|
2528 | IOleObject* This,
|
---|
2529 | IAdviseSink *pAdvSink,
|
---|
2530 | DWORD *pdwConnection);
|
---|
2531 |
|
---|
2532 | HRESULT (STDMETHODCALLTYPE *Unadvise)(
|
---|
2533 | IOleObject* This,
|
---|
2534 | DWORD dwConnection);
|
---|
2535 |
|
---|
2536 | HRESULT (STDMETHODCALLTYPE *EnumAdvise)(
|
---|
2537 | IOleObject* This,
|
---|
2538 | IEnumSTATDATA **ppenumAdvise);
|
---|
2539 |
|
---|
2540 | HRESULT (STDMETHODCALLTYPE *GetMiscStatus)(
|
---|
2541 | IOleObject* This,
|
---|
2542 | DWORD dwAspect,
|
---|
2543 | DWORD *pdwStatus);
|
---|
2544 |
|
---|
2545 | HRESULT (STDMETHODCALLTYPE *SetColorScheme)(
|
---|
2546 | IOleObject* This,
|
---|
2547 | LOGPALETTE *pLogpal);
|
---|
2548 |
|
---|
2549 | END_INTERFACE
|
---|
2550 | } IOleObjectVtbl;
|
---|
2551 | interface IOleObject {
|
---|
2552 | CONST_VTBL IOleObjectVtbl* lpVtbl;
|
---|
2553 | };
|
---|
2554 |
|
---|
2555 | #ifdef COBJMACROS
|
---|
2556 | /*** IUnknown methods ***/
|
---|
2557 | #define IOleObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2558 | #define IOleObject_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2559 | #define IOleObject_Release(This) (This)->lpVtbl->Release(This)
|
---|
2560 | /*** IOleObject methods ***/
|
---|
2561 | #define IOleObject_SetClientSite(This,pClientSite) (This)->lpVtbl->SetClientSite(This,pClientSite)
|
---|
2562 | #define IOleObject_GetClientSite(This,ppClientSite) (This)->lpVtbl->GetClientSite(This,ppClientSite)
|
---|
2563 | #define IOleObject_SetHostNames(This,szContainerApp,szContainerObj) (This)->lpVtbl->SetHostNames(This,szContainerApp,szContainerObj)
|
---|
2564 | #define IOleObject_Close(This,dwSaveOption) (This)->lpVtbl->Close(This,dwSaveOption)
|
---|
2565 | #define IOleObject_SetMoniker(This,dwWhichMoniker,pmk) (This)->lpVtbl->SetMoniker(This,dwWhichMoniker,pmk)
|
---|
2566 | #define IOleObject_GetMoniker(This,dwAssign,dwWhichMoniker,ppmk) (This)->lpVtbl->GetMoniker(This,dwAssign,dwWhichMoniker,ppmk)
|
---|
2567 | #define IOleObject_InitFromData(This,pDataObject,fCreation,dwReserved) (This)->lpVtbl->InitFromData(This,pDataObject,fCreation,dwReserved)
|
---|
2568 | #define IOleObject_GetClipboardData(This,dwReserved,ppDataObject) (This)->lpVtbl->GetClipboardData(This,dwReserved,ppDataObject)
|
---|
2569 | #define IOleObject_DoVerb(This,iVerb,lpmsg,pActiveSite,lindex,hwndParent,lprcPosRect) (This)->lpVtbl->DoVerb(This,iVerb,lpmsg,pActiveSite,lindex,hwndParent,lprcPosRect)
|
---|
2570 | #define IOleObject_EnumVerbs(This,ppEnumOleVerb) (This)->lpVtbl->EnumVerbs(This,ppEnumOleVerb)
|
---|
2571 | #define IOleObject_Update(This) (This)->lpVtbl->Update(This)
|
---|
2572 | #define IOleObject_IsUpToDate(This) (This)->lpVtbl->IsUpToDate(This)
|
---|
2573 | #define IOleObject_GetUserClassID(This,pClsid) (This)->lpVtbl->GetUserClassID(This,pClsid)
|
---|
2574 | #define IOleObject_GetUserType(This,dwFormOfType,pszUserType) (This)->lpVtbl->GetUserType(This,dwFormOfType,pszUserType)
|
---|
2575 | #define IOleObject_SetExtent(This,dwDrawAspect,psizel) (This)->lpVtbl->SetExtent(This,dwDrawAspect,psizel)
|
---|
2576 | #define IOleObject_GetExtent(This,dwDrawAspect,psizel) (This)->lpVtbl->GetExtent(This,dwDrawAspect,psizel)
|
---|
2577 | #define IOleObject_Advise(This,pAdvSink,pdwConnection) (This)->lpVtbl->Advise(This,pAdvSink,pdwConnection)
|
---|
2578 | #define IOleObject_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection)
|
---|
2579 | #define IOleObject_EnumAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumAdvise(This,ppenumAdvise)
|
---|
2580 | #define IOleObject_GetMiscStatus(This,dwAspect,pdwStatus) (This)->lpVtbl->GetMiscStatus(This,dwAspect,pdwStatus)
|
---|
2581 | #define IOleObject_SetColorScheme(This,pLogpal) (This)->lpVtbl->SetColorScheme(This,pLogpal)
|
---|
2582 | #endif
|
---|
2583 |
|
---|
2584 | #endif
|
---|
2585 |
|
---|
2586 | HRESULT STDMETHODCALLTYPE IOleObject_SetClientSite_Proxy(
|
---|
2587 | IOleObject* This,
|
---|
2588 | IOleClientSite *pClientSite);
|
---|
2589 | void __RPC_STUB IOleObject_SetClientSite_Stub(
|
---|
2590 | IRpcStubBuffer* This,
|
---|
2591 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2592 | PRPC_MESSAGE pRpcMessage,
|
---|
2593 | DWORD* pdwStubPhase);
|
---|
2594 | HRESULT STDMETHODCALLTYPE IOleObject_GetClientSite_Proxy(
|
---|
2595 | IOleObject* This,
|
---|
2596 | IOleClientSite **ppClientSite);
|
---|
2597 | void __RPC_STUB IOleObject_GetClientSite_Stub(
|
---|
2598 | IRpcStubBuffer* This,
|
---|
2599 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2600 | PRPC_MESSAGE pRpcMessage,
|
---|
2601 | DWORD* pdwStubPhase);
|
---|
2602 | HRESULT STDMETHODCALLTYPE IOleObject_SetHostNames_Proxy(
|
---|
2603 | IOleObject* This,
|
---|
2604 | LPCOLESTR szContainerApp,
|
---|
2605 | LPCOLESTR szContainerObj);
|
---|
2606 | void __RPC_STUB IOleObject_SetHostNames_Stub(
|
---|
2607 | IRpcStubBuffer* This,
|
---|
2608 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2609 | PRPC_MESSAGE pRpcMessage,
|
---|
2610 | DWORD* pdwStubPhase);
|
---|
2611 | HRESULT STDMETHODCALLTYPE IOleObject_Close_Proxy(
|
---|
2612 | IOleObject* This,
|
---|
2613 | DWORD dwSaveOption);
|
---|
2614 | void __RPC_STUB IOleObject_Close_Stub(
|
---|
2615 | IRpcStubBuffer* This,
|
---|
2616 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2617 | PRPC_MESSAGE pRpcMessage,
|
---|
2618 | DWORD* pdwStubPhase);
|
---|
2619 | HRESULT STDMETHODCALLTYPE IOleObject_SetMoniker_Proxy(
|
---|
2620 | IOleObject* This,
|
---|
2621 | DWORD dwWhichMoniker,
|
---|
2622 | IMoniker *pmk);
|
---|
2623 | void __RPC_STUB IOleObject_SetMoniker_Stub(
|
---|
2624 | IRpcStubBuffer* This,
|
---|
2625 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2626 | PRPC_MESSAGE pRpcMessage,
|
---|
2627 | DWORD* pdwStubPhase);
|
---|
2628 | HRESULT STDMETHODCALLTYPE IOleObject_GetMoniker_Proxy(
|
---|
2629 | IOleObject* This,
|
---|
2630 | DWORD dwAssign,
|
---|
2631 | DWORD dwWhichMoniker,
|
---|
2632 | IMoniker **ppmk);
|
---|
2633 | void __RPC_STUB IOleObject_GetMoniker_Stub(
|
---|
2634 | IRpcStubBuffer* This,
|
---|
2635 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2636 | PRPC_MESSAGE pRpcMessage,
|
---|
2637 | DWORD* pdwStubPhase);
|
---|
2638 | HRESULT STDMETHODCALLTYPE IOleObject_InitFromData_Proxy(
|
---|
2639 | IOleObject* This,
|
---|
2640 | IDataObject *pDataObject,
|
---|
2641 | BOOL fCreation,
|
---|
2642 | DWORD dwReserved);
|
---|
2643 | void __RPC_STUB IOleObject_InitFromData_Stub(
|
---|
2644 | IRpcStubBuffer* This,
|
---|
2645 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2646 | PRPC_MESSAGE pRpcMessage,
|
---|
2647 | DWORD* pdwStubPhase);
|
---|
2648 | HRESULT STDMETHODCALLTYPE IOleObject_GetClipboardData_Proxy(
|
---|
2649 | IOleObject* This,
|
---|
2650 | DWORD dwReserved,
|
---|
2651 | IDataObject **ppDataObject);
|
---|
2652 | void __RPC_STUB IOleObject_GetClipboardData_Stub(
|
---|
2653 | IRpcStubBuffer* This,
|
---|
2654 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2655 | PRPC_MESSAGE pRpcMessage,
|
---|
2656 | DWORD* pdwStubPhase);
|
---|
2657 | HRESULT STDMETHODCALLTYPE IOleObject_DoVerb_Proxy(
|
---|
2658 | IOleObject* This,
|
---|
2659 | LONG iVerb,
|
---|
2660 | LPMSG lpmsg,
|
---|
2661 | IOleClientSite *pActiveSite,
|
---|
2662 | LONG lindex,
|
---|
2663 | HWND hwndParent,
|
---|
2664 | LPCRECT lprcPosRect);
|
---|
2665 | void __RPC_STUB IOleObject_DoVerb_Stub(
|
---|
2666 | IRpcStubBuffer* This,
|
---|
2667 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2668 | PRPC_MESSAGE pRpcMessage,
|
---|
2669 | DWORD* pdwStubPhase);
|
---|
2670 | HRESULT STDMETHODCALLTYPE IOleObject_EnumVerbs_Proxy(
|
---|
2671 | IOleObject* This,
|
---|
2672 | IEnumOLEVERB **ppEnumOleVerb);
|
---|
2673 | void __RPC_STUB IOleObject_EnumVerbs_Stub(
|
---|
2674 | IRpcStubBuffer* This,
|
---|
2675 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2676 | PRPC_MESSAGE pRpcMessage,
|
---|
2677 | DWORD* pdwStubPhase);
|
---|
2678 | HRESULT STDMETHODCALLTYPE IOleObject_Update_Proxy(
|
---|
2679 | IOleObject* This);
|
---|
2680 | void __RPC_STUB IOleObject_Update_Stub(
|
---|
2681 | IRpcStubBuffer* This,
|
---|
2682 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2683 | PRPC_MESSAGE pRpcMessage,
|
---|
2684 | DWORD* pdwStubPhase);
|
---|
2685 | HRESULT STDMETHODCALLTYPE IOleObject_IsUpToDate_Proxy(
|
---|
2686 | IOleObject* This);
|
---|
2687 | void __RPC_STUB IOleObject_IsUpToDate_Stub(
|
---|
2688 | IRpcStubBuffer* This,
|
---|
2689 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2690 | PRPC_MESSAGE pRpcMessage,
|
---|
2691 | DWORD* pdwStubPhase);
|
---|
2692 | HRESULT STDMETHODCALLTYPE IOleObject_GetUserClassID_Proxy(
|
---|
2693 | IOleObject* This,
|
---|
2694 | CLSID *pClsid);
|
---|
2695 | void __RPC_STUB IOleObject_GetUserClassID_Stub(
|
---|
2696 | IRpcStubBuffer* This,
|
---|
2697 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2698 | PRPC_MESSAGE pRpcMessage,
|
---|
2699 | DWORD* pdwStubPhase);
|
---|
2700 | HRESULT STDMETHODCALLTYPE IOleObject_GetUserType_Proxy(
|
---|
2701 | IOleObject* This,
|
---|
2702 | DWORD dwFormOfType,
|
---|
2703 | LPOLESTR *pszUserType);
|
---|
2704 | void __RPC_STUB IOleObject_GetUserType_Stub(
|
---|
2705 | IRpcStubBuffer* This,
|
---|
2706 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2707 | PRPC_MESSAGE pRpcMessage,
|
---|
2708 | DWORD* pdwStubPhase);
|
---|
2709 | HRESULT STDMETHODCALLTYPE IOleObject_SetExtent_Proxy(
|
---|
2710 | IOleObject* This,
|
---|
2711 | DWORD dwDrawAspect,
|
---|
2712 | SIZEL *psizel);
|
---|
2713 | void __RPC_STUB IOleObject_SetExtent_Stub(
|
---|
2714 | IRpcStubBuffer* This,
|
---|
2715 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2716 | PRPC_MESSAGE pRpcMessage,
|
---|
2717 | DWORD* pdwStubPhase);
|
---|
2718 | HRESULT STDMETHODCALLTYPE IOleObject_GetExtent_Proxy(
|
---|
2719 | IOleObject* This,
|
---|
2720 | DWORD dwDrawAspect,
|
---|
2721 | SIZEL *psizel);
|
---|
2722 | void __RPC_STUB IOleObject_GetExtent_Stub(
|
---|
2723 | IRpcStubBuffer* This,
|
---|
2724 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2725 | PRPC_MESSAGE pRpcMessage,
|
---|
2726 | DWORD* pdwStubPhase);
|
---|
2727 | HRESULT STDMETHODCALLTYPE IOleObject_Advise_Proxy(
|
---|
2728 | IOleObject* This,
|
---|
2729 | IAdviseSink *pAdvSink,
|
---|
2730 | DWORD *pdwConnection);
|
---|
2731 | void __RPC_STUB IOleObject_Advise_Stub(
|
---|
2732 | IRpcStubBuffer* This,
|
---|
2733 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2734 | PRPC_MESSAGE pRpcMessage,
|
---|
2735 | DWORD* pdwStubPhase);
|
---|
2736 | HRESULT STDMETHODCALLTYPE IOleObject_Unadvise_Proxy(
|
---|
2737 | IOleObject* This,
|
---|
2738 | DWORD dwConnection);
|
---|
2739 | void __RPC_STUB IOleObject_Unadvise_Stub(
|
---|
2740 | IRpcStubBuffer* This,
|
---|
2741 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2742 | PRPC_MESSAGE pRpcMessage,
|
---|
2743 | DWORD* pdwStubPhase);
|
---|
2744 | HRESULT STDMETHODCALLTYPE IOleObject_EnumAdvise_Proxy(
|
---|
2745 | IOleObject* This,
|
---|
2746 | IEnumSTATDATA **ppenumAdvise);
|
---|
2747 | void __RPC_STUB IOleObject_EnumAdvise_Stub(
|
---|
2748 | IRpcStubBuffer* This,
|
---|
2749 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2750 | PRPC_MESSAGE pRpcMessage,
|
---|
2751 | DWORD* pdwStubPhase);
|
---|
2752 | HRESULT STDMETHODCALLTYPE IOleObject_GetMiscStatus_Proxy(
|
---|
2753 | IOleObject* This,
|
---|
2754 | DWORD dwAspect,
|
---|
2755 | DWORD *pdwStatus);
|
---|
2756 | void __RPC_STUB IOleObject_GetMiscStatus_Stub(
|
---|
2757 | IRpcStubBuffer* This,
|
---|
2758 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2759 | PRPC_MESSAGE pRpcMessage,
|
---|
2760 | DWORD* pdwStubPhase);
|
---|
2761 | HRESULT STDMETHODCALLTYPE IOleObject_SetColorScheme_Proxy(
|
---|
2762 | IOleObject* This,
|
---|
2763 | LOGPALETTE *pLogpal);
|
---|
2764 | void __RPC_STUB IOleObject_SetColorScheme_Stub(
|
---|
2765 | IRpcStubBuffer* This,
|
---|
2766 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2767 | PRPC_MESSAGE pRpcMessage,
|
---|
2768 | DWORD* pdwStubPhase);
|
---|
2769 |
|
---|
2770 | #endif /* __IOleObject_INTERFACE_DEFINED__ */
|
---|
2771 |
|
---|
2772 | /*****************************************************************************
|
---|
2773 | * IOleAdviseHolder interface
|
---|
2774 | */
|
---|
2775 | #ifndef __IOleAdviseHolder_INTERFACE_DEFINED__
|
---|
2776 | #define __IOleAdviseHolder_INTERFACE_DEFINED__
|
---|
2777 |
|
---|
2778 | typedef IOleAdviseHolder *LPOLEADVISEHOLDER;
|
---|
2779 | DEFINE_GUID(IID_IOleAdviseHolder, 0x00000111, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2780 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2781 | interface IOleAdviseHolder : public IUnknown
|
---|
2782 | {
|
---|
2783 | virtual HRESULT STDMETHODCALLTYPE Advise(
|
---|
2784 | IAdviseSink *pAdvise,
|
---|
2785 | DWORD *pdwConnection) = 0;
|
---|
2786 |
|
---|
2787 | virtual HRESULT STDMETHODCALLTYPE Unadvise(
|
---|
2788 | DWORD dwConnection) = 0;
|
---|
2789 |
|
---|
2790 | virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
|
---|
2791 | IEnumSTATDATA **ppenumAdvise) = 0;
|
---|
2792 |
|
---|
2793 | virtual HRESULT STDMETHODCALLTYPE SendOnRename(
|
---|
2794 | IMoniker *pmk) = 0;
|
---|
2795 |
|
---|
2796 | virtual HRESULT STDMETHODCALLTYPE SendOnSave(
|
---|
2797 | ) = 0;
|
---|
2798 |
|
---|
2799 | virtual HRESULT STDMETHODCALLTYPE SendOnClose(
|
---|
2800 | ) = 0;
|
---|
2801 |
|
---|
2802 | };
|
---|
2803 | #else
|
---|
2804 | typedef struct IOleAdviseHolderVtbl {
|
---|
2805 | BEGIN_INTERFACE
|
---|
2806 |
|
---|
2807 | /*** IUnknown methods ***/
|
---|
2808 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2809 | IOleAdviseHolder* This,
|
---|
2810 | REFIID riid,
|
---|
2811 | void **ppvObject);
|
---|
2812 |
|
---|
2813 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2814 | IOleAdviseHolder* This);
|
---|
2815 |
|
---|
2816 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2817 | IOleAdviseHolder* This);
|
---|
2818 |
|
---|
2819 | /*** IOleAdviseHolder methods ***/
|
---|
2820 | HRESULT (STDMETHODCALLTYPE *Advise)(
|
---|
2821 | IOleAdviseHolder* This,
|
---|
2822 | IAdviseSink *pAdvise,
|
---|
2823 | DWORD *pdwConnection);
|
---|
2824 |
|
---|
2825 | HRESULT (STDMETHODCALLTYPE *Unadvise)(
|
---|
2826 | IOleAdviseHolder* This,
|
---|
2827 | DWORD dwConnection);
|
---|
2828 |
|
---|
2829 | HRESULT (STDMETHODCALLTYPE *EnumAdvise)(
|
---|
2830 | IOleAdviseHolder* This,
|
---|
2831 | IEnumSTATDATA **ppenumAdvise);
|
---|
2832 |
|
---|
2833 | HRESULT (STDMETHODCALLTYPE *SendOnRename)(
|
---|
2834 | IOleAdviseHolder* This,
|
---|
2835 | IMoniker *pmk);
|
---|
2836 |
|
---|
2837 | HRESULT (STDMETHODCALLTYPE *SendOnSave)(
|
---|
2838 | IOleAdviseHolder* This);
|
---|
2839 |
|
---|
2840 | HRESULT (STDMETHODCALLTYPE *SendOnClose)(
|
---|
2841 | IOleAdviseHolder* This);
|
---|
2842 |
|
---|
2843 | END_INTERFACE
|
---|
2844 | } IOleAdviseHolderVtbl;
|
---|
2845 | interface IOleAdviseHolder {
|
---|
2846 | CONST_VTBL IOleAdviseHolderVtbl* lpVtbl;
|
---|
2847 | };
|
---|
2848 |
|
---|
2849 | #ifdef COBJMACROS
|
---|
2850 | /*** IUnknown methods ***/
|
---|
2851 | #define IOleAdviseHolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2852 | #define IOleAdviseHolder_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2853 | #define IOleAdviseHolder_Release(This) (This)->lpVtbl->Release(This)
|
---|
2854 | /*** IOleAdviseHolder methods ***/
|
---|
2855 | #define IOleAdviseHolder_Advise(This,pAdvise,pdwConnection) (This)->lpVtbl->Advise(This,pAdvise,pdwConnection)
|
---|
2856 | #define IOleAdviseHolder_Unadvise(This,dwConnection) (This)->lpVtbl->Unadvise(This,dwConnection)
|
---|
2857 | #define IOleAdviseHolder_EnumAdvise(This,ppenumAdvise) (This)->lpVtbl->EnumAdvise(This,ppenumAdvise)
|
---|
2858 | #define IOleAdviseHolder_SendOnRename(This,pmk) (This)->lpVtbl->SendOnRename(This,pmk)
|
---|
2859 | #define IOleAdviseHolder_SendOnSave(This) (This)->lpVtbl->SendOnSave(This)
|
---|
2860 | #define IOleAdviseHolder_SendOnClose(This) (This)->lpVtbl->SendOnClose(This)
|
---|
2861 | #endif
|
---|
2862 |
|
---|
2863 | #endif
|
---|
2864 |
|
---|
2865 | HRESULT STDMETHODCALLTYPE IOleAdviseHolder_Advise_Proxy(
|
---|
2866 | IOleAdviseHolder* This,
|
---|
2867 | IAdviseSink *pAdvise,
|
---|
2868 | DWORD *pdwConnection);
|
---|
2869 | void __RPC_STUB IOleAdviseHolder_Advise_Stub(
|
---|
2870 | IRpcStubBuffer* This,
|
---|
2871 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2872 | PRPC_MESSAGE pRpcMessage,
|
---|
2873 | DWORD* pdwStubPhase);
|
---|
2874 | HRESULT STDMETHODCALLTYPE IOleAdviseHolder_Unadvise_Proxy(
|
---|
2875 | IOleAdviseHolder* This,
|
---|
2876 | DWORD dwConnection);
|
---|
2877 | void __RPC_STUB IOleAdviseHolder_Unadvise_Stub(
|
---|
2878 | IRpcStubBuffer* This,
|
---|
2879 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2880 | PRPC_MESSAGE pRpcMessage,
|
---|
2881 | DWORD* pdwStubPhase);
|
---|
2882 | HRESULT STDMETHODCALLTYPE IOleAdviseHolder_EnumAdvise_Proxy(
|
---|
2883 | IOleAdviseHolder* This,
|
---|
2884 | IEnumSTATDATA **ppenumAdvise);
|
---|
2885 | void __RPC_STUB IOleAdviseHolder_EnumAdvise_Stub(
|
---|
2886 | IRpcStubBuffer* This,
|
---|
2887 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2888 | PRPC_MESSAGE pRpcMessage,
|
---|
2889 | DWORD* pdwStubPhase);
|
---|
2890 | HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnRename_Proxy(
|
---|
2891 | IOleAdviseHolder* This,
|
---|
2892 | IMoniker *pmk);
|
---|
2893 | void __RPC_STUB IOleAdviseHolder_SendOnRename_Stub(
|
---|
2894 | IRpcStubBuffer* This,
|
---|
2895 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2896 | PRPC_MESSAGE pRpcMessage,
|
---|
2897 | DWORD* pdwStubPhase);
|
---|
2898 | HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnSave_Proxy(
|
---|
2899 | IOleAdviseHolder* This);
|
---|
2900 | void __RPC_STUB IOleAdviseHolder_SendOnSave_Stub(
|
---|
2901 | IRpcStubBuffer* This,
|
---|
2902 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2903 | PRPC_MESSAGE pRpcMessage,
|
---|
2904 | DWORD* pdwStubPhase);
|
---|
2905 | HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnClose_Proxy(
|
---|
2906 | IOleAdviseHolder* This);
|
---|
2907 | void __RPC_STUB IOleAdviseHolder_SendOnClose_Stub(
|
---|
2908 | IRpcStubBuffer* This,
|
---|
2909 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2910 | PRPC_MESSAGE pRpcMessage,
|
---|
2911 | DWORD* pdwStubPhase);
|
---|
2912 |
|
---|
2913 | #endif /* __IOleAdviseHolder_INTERFACE_DEFINED__ */
|
---|
2914 |
|
---|
2915 | /*****************************************************************************
|
---|
2916 | * IContinue interface
|
---|
2917 | */
|
---|
2918 | #ifndef __IContinue_INTERFACE_DEFINED__
|
---|
2919 | #define __IContinue_INTERFACE_DEFINED__
|
---|
2920 |
|
---|
2921 | DEFINE_GUID(IID_IContinue, 0x0000012a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2922 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2923 | interface IContinue : public IUnknown
|
---|
2924 | {
|
---|
2925 | virtual HRESULT STDMETHODCALLTYPE FContinue(
|
---|
2926 | ) = 0;
|
---|
2927 |
|
---|
2928 | };
|
---|
2929 | #else
|
---|
2930 | typedef struct IContinueVtbl {
|
---|
2931 | BEGIN_INTERFACE
|
---|
2932 |
|
---|
2933 | /*** IUnknown methods ***/
|
---|
2934 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2935 | IContinue* This,
|
---|
2936 | REFIID riid,
|
---|
2937 | void **ppvObject);
|
---|
2938 |
|
---|
2939 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2940 | IContinue* This);
|
---|
2941 |
|
---|
2942 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2943 | IContinue* This);
|
---|
2944 |
|
---|
2945 | /*** IContinue methods ***/
|
---|
2946 | HRESULT (STDMETHODCALLTYPE *FContinue)(
|
---|
2947 | IContinue* This);
|
---|
2948 |
|
---|
2949 | END_INTERFACE
|
---|
2950 | } IContinueVtbl;
|
---|
2951 | interface IContinue {
|
---|
2952 | CONST_VTBL IContinueVtbl* lpVtbl;
|
---|
2953 | };
|
---|
2954 |
|
---|
2955 | #ifdef COBJMACROS
|
---|
2956 | /*** IUnknown methods ***/
|
---|
2957 | #define IContinue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2958 | #define IContinue_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2959 | #define IContinue_Release(This) (This)->lpVtbl->Release(This)
|
---|
2960 | /*** IContinue methods ***/
|
---|
2961 | #define IContinue_FContinue(This) (This)->lpVtbl->FContinue(This)
|
---|
2962 | #endif
|
---|
2963 |
|
---|
2964 | #endif
|
---|
2965 |
|
---|
2966 | HRESULT STDMETHODCALLTYPE IContinue_FContinue_Proxy(
|
---|
2967 | IContinue* This);
|
---|
2968 | void __RPC_STUB IContinue_FContinue_Stub(
|
---|
2969 | IRpcStubBuffer* This,
|
---|
2970 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2971 | PRPC_MESSAGE pRpcMessage,
|
---|
2972 | DWORD* pdwStubPhase);
|
---|
2973 |
|
---|
2974 | #endif /* __IContinue_INTERFACE_DEFINED__ */
|
---|
2975 |
|
---|
2976 | /*****************************************************************************
|
---|
2977 | * IViewObject interface
|
---|
2978 | */
|
---|
2979 | #ifndef __IViewObject_INTERFACE_DEFINED__
|
---|
2980 | #define __IViewObject_INTERFACE_DEFINED__
|
---|
2981 |
|
---|
2982 | typedef IViewObject *LPVIEWOBJECT;
|
---|
2983 | DEFINE_GUID(IID_IViewObject, 0x0000010d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
2984 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2985 | interface IViewObject : public IUnknown
|
---|
2986 | {
|
---|
2987 | virtual HRESULT STDMETHODCALLTYPE Draw(
|
---|
2988 | DWORD dwDrawAspect,
|
---|
2989 | LONG lindex,
|
---|
2990 | void *pvAspect,
|
---|
2991 | DVTARGETDEVICE *ptd,
|
---|
2992 | HDC hdcTargetDev,
|
---|
2993 | HDC hdcDraw,
|
---|
2994 | LPCRECTL lprcBounds,
|
---|
2995 | LPCRECTL lprcWBounds,
|
---|
2996 | BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),
|
---|
2997 | ULONG_PTR dwContinue) = 0;
|
---|
2998 |
|
---|
2999 | virtual HRESULT STDMETHODCALLTYPE GetColorSet(
|
---|
3000 | DWORD dwDrawAspect,
|
---|
3001 | LONG lindex,
|
---|
3002 | void *pvAspect,
|
---|
3003 | DVTARGETDEVICE *ptd,
|
---|
3004 | HDC hicTargetDev,
|
---|
3005 | LOGPALETTE **ppColorSet) = 0;
|
---|
3006 |
|
---|
3007 | virtual HRESULT STDMETHODCALLTYPE Freeze(
|
---|
3008 | DWORD dwDrawAspect,
|
---|
3009 | LONG lindex,
|
---|
3010 | void *pvAspect,
|
---|
3011 | DWORD *pdwFreeze) = 0;
|
---|
3012 |
|
---|
3013 | virtual HRESULT STDMETHODCALLTYPE Unfreeze(
|
---|
3014 | DWORD dwFreeze) = 0;
|
---|
3015 |
|
---|
3016 | virtual HRESULT STDMETHODCALLTYPE SetAdvise(
|
---|
3017 | DWORD aspects,
|
---|
3018 | DWORD advf,
|
---|
3019 | IAdviseSink *pAdvSink) = 0;
|
---|
3020 |
|
---|
3021 | virtual HRESULT STDMETHODCALLTYPE GetAdvise(
|
---|
3022 | DWORD *pAspects,
|
---|
3023 | DWORD *pAdvf,
|
---|
3024 | IAdviseSink **ppAdvSink) = 0;
|
---|
3025 |
|
---|
3026 | };
|
---|
3027 | #else
|
---|
3028 | typedef struct IViewObjectVtbl {
|
---|
3029 | BEGIN_INTERFACE
|
---|
3030 |
|
---|
3031 | /*** IUnknown methods ***/
|
---|
3032 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3033 | IViewObject* This,
|
---|
3034 | REFIID riid,
|
---|
3035 | void **ppvObject);
|
---|
3036 |
|
---|
3037 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3038 | IViewObject* This);
|
---|
3039 |
|
---|
3040 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3041 | IViewObject* This);
|
---|
3042 |
|
---|
3043 | /*** IViewObject methods ***/
|
---|
3044 | HRESULT (STDMETHODCALLTYPE *Draw)(
|
---|
3045 | IViewObject* This,
|
---|
3046 | DWORD dwDrawAspect,
|
---|
3047 | LONG lindex,
|
---|
3048 | void *pvAspect,
|
---|
3049 | DVTARGETDEVICE *ptd,
|
---|
3050 | HDC hdcTargetDev,
|
---|
3051 | HDC hdcDraw,
|
---|
3052 | LPCRECTL lprcBounds,
|
---|
3053 | LPCRECTL lprcWBounds,
|
---|
3054 | BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),
|
---|
3055 | ULONG_PTR dwContinue);
|
---|
3056 |
|
---|
3057 | HRESULT (STDMETHODCALLTYPE *GetColorSet)(
|
---|
3058 | IViewObject* This,
|
---|
3059 | DWORD dwDrawAspect,
|
---|
3060 | LONG lindex,
|
---|
3061 | void *pvAspect,
|
---|
3062 | DVTARGETDEVICE *ptd,
|
---|
3063 | HDC hicTargetDev,
|
---|
3064 | LOGPALETTE **ppColorSet);
|
---|
3065 |
|
---|
3066 | HRESULT (STDMETHODCALLTYPE *Freeze)(
|
---|
3067 | IViewObject* This,
|
---|
3068 | DWORD dwDrawAspect,
|
---|
3069 | LONG lindex,
|
---|
3070 | void *pvAspect,
|
---|
3071 | DWORD *pdwFreeze);
|
---|
3072 |
|
---|
3073 | HRESULT (STDMETHODCALLTYPE *Unfreeze)(
|
---|
3074 | IViewObject* This,
|
---|
3075 | DWORD dwFreeze);
|
---|
3076 |
|
---|
3077 | HRESULT (STDMETHODCALLTYPE *SetAdvise)(
|
---|
3078 | IViewObject* This,
|
---|
3079 | DWORD aspects,
|
---|
3080 | DWORD advf,
|
---|
3081 | IAdviseSink *pAdvSink);
|
---|
3082 |
|
---|
3083 | HRESULT (STDMETHODCALLTYPE *GetAdvise)(
|
---|
3084 | IViewObject* This,
|
---|
3085 | DWORD *pAspects,
|
---|
3086 | DWORD *pAdvf,
|
---|
3087 | IAdviseSink **ppAdvSink);
|
---|
3088 |
|
---|
3089 | END_INTERFACE
|
---|
3090 | } IViewObjectVtbl;
|
---|
3091 | interface IViewObject {
|
---|
3092 | CONST_VTBL IViewObjectVtbl* lpVtbl;
|
---|
3093 | };
|
---|
3094 |
|
---|
3095 | #ifdef COBJMACROS
|
---|
3096 | /*** IUnknown methods ***/
|
---|
3097 | #define IViewObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3098 | #define IViewObject_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3099 | #define IViewObject_Release(This) (This)->lpVtbl->Release(This)
|
---|
3100 | /*** IViewObject methods ***/
|
---|
3101 | #define IViewObject_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)
|
---|
3102 | #define IViewObject_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) (This)->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
|
---|
3103 | #define IViewObject_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) (This)->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
|
---|
3104 | #define IViewObject_Unfreeze(This,dwFreeze) (This)->lpVtbl->Unfreeze(This,dwFreeze)
|
---|
3105 | #define IViewObject_SetAdvise(This,aspects,advf,pAdvSink) (This)->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink)
|
---|
3106 | #define IViewObject_GetAdvise(This,pAspects,pAdvf,ppAdvSink) (This)->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink)
|
---|
3107 | #endif
|
---|
3108 |
|
---|
3109 | #endif
|
---|
3110 |
|
---|
3111 | HRESULT STDMETHODCALLTYPE IViewObject_RemoteDraw_Proxy(
|
---|
3112 | IViewObject* This,
|
---|
3113 | DWORD dwDrawAspect,
|
---|
3114 | LONG lindex,
|
---|
3115 | ULONG_PTR pvAspect,
|
---|
3116 | DVTARGETDEVICE *ptd,
|
---|
3117 | ULONG_PTR hdcTargetDev,
|
---|
3118 | ULONG_PTR hdcDraw,
|
---|
3119 | LPCRECTL lprcBounds,
|
---|
3120 | LPCRECTL lprcWBounds,
|
---|
3121 | IContinue *pContinue);
|
---|
3122 | void __RPC_STUB IViewObject_RemoteDraw_Stub(
|
---|
3123 | IRpcStubBuffer* This,
|
---|
3124 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3125 | PRPC_MESSAGE pRpcMessage,
|
---|
3126 | DWORD* pdwStubPhase);
|
---|
3127 | HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetColorSet_Proxy(
|
---|
3128 | IViewObject* This,
|
---|
3129 | DWORD dwDrawAspect,
|
---|
3130 | LONG lindex,
|
---|
3131 | ULONG_PTR pvAspect,
|
---|
3132 | DVTARGETDEVICE *ptd,
|
---|
3133 | ULONG_PTR hicTargetDev,
|
---|
3134 | LOGPALETTE **ppColorSet);
|
---|
3135 | void __RPC_STUB IViewObject_RemoteGetColorSet_Stub(
|
---|
3136 | IRpcStubBuffer* This,
|
---|
3137 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3138 | PRPC_MESSAGE pRpcMessage,
|
---|
3139 | DWORD* pdwStubPhase);
|
---|
3140 | HRESULT STDMETHODCALLTYPE IViewObject_RemoteFreeze_Proxy(
|
---|
3141 | IViewObject* This,
|
---|
3142 | DWORD dwDrawAspect,
|
---|
3143 | LONG lindex,
|
---|
3144 | ULONG_PTR pvAspect,
|
---|
3145 | DWORD *pdwFreeze);
|
---|
3146 | void __RPC_STUB IViewObject_RemoteFreeze_Stub(
|
---|
3147 | IRpcStubBuffer* This,
|
---|
3148 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3149 | PRPC_MESSAGE pRpcMessage,
|
---|
3150 | DWORD* pdwStubPhase);
|
---|
3151 | HRESULT STDMETHODCALLTYPE IViewObject_Unfreeze_Proxy(
|
---|
3152 | IViewObject* This,
|
---|
3153 | DWORD dwFreeze);
|
---|
3154 | void __RPC_STUB IViewObject_Unfreeze_Stub(
|
---|
3155 | IRpcStubBuffer* This,
|
---|
3156 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3157 | PRPC_MESSAGE pRpcMessage,
|
---|
3158 | DWORD* pdwStubPhase);
|
---|
3159 | HRESULT STDMETHODCALLTYPE IViewObject_SetAdvise_Proxy(
|
---|
3160 | IViewObject* This,
|
---|
3161 | DWORD aspects,
|
---|
3162 | DWORD advf,
|
---|
3163 | IAdviseSink *pAdvSink);
|
---|
3164 | void __RPC_STUB IViewObject_SetAdvise_Stub(
|
---|
3165 | IRpcStubBuffer* This,
|
---|
3166 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3167 | PRPC_MESSAGE pRpcMessage,
|
---|
3168 | DWORD* pdwStubPhase);
|
---|
3169 | HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetAdvise_Proxy(
|
---|
3170 | IViewObject* This,
|
---|
3171 | DWORD *pAspects,
|
---|
3172 | DWORD *pAdvf,
|
---|
3173 | IAdviseSink **ppAdvSink);
|
---|
3174 | void __RPC_STUB IViewObject_RemoteGetAdvise_Stub(
|
---|
3175 | IRpcStubBuffer* This,
|
---|
3176 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3177 | PRPC_MESSAGE pRpcMessage,
|
---|
3178 | DWORD* pdwStubPhase);
|
---|
3179 | HRESULT CALLBACK IViewObject_Draw_Proxy(
|
---|
3180 | IViewObject* This,
|
---|
3181 | DWORD dwDrawAspect,
|
---|
3182 | LONG lindex,
|
---|
3183 | void *pvAspect,
|
---|
3184 | DVTARGETDEVICE *ptd,
|
---|
3185 | HDC hdcTargetDev,
|
---|
3186 | HDC hdcDraw,
|
---|
3187 | LPCRECTL lprcBounds,
|
---|
3188 | LPCRECTL lprcWBounds,
|
---|
3189 | BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),
|
---|
3190 | ULONG_PTR dwContinue);
|
---|
3191 | HRESULT __RPC_STUB IViewObject_Draw_Stub(
|
---|
3192 | IViewObject* This,
|
---|
3193 | DWORD dwDrawAspect,
|
---|
3194 | LONG lindex,
|
---|
3195 | ULONG_PTR pvAspect,
|
---|
3196 | DVTARGETDEVICE *ptd,
|
---|
3197 | ULONG_PTR hdcTargetDev,
|
---|
3198 | ULONG_PTR hdcDraw,
|
---|
3199 | LPCRECTL lprcBounds,
|
---|
3200 | LPCRECTL lprcWBounds,
|
---|
3201 | IContinue *pContinue);
|
---|
3202 | HRESULT CALLBACK IViewObject_GetColorSet_Proxy(
|
---|
3203 | IViewObject* This,
|
---|
3204 | DWORD dwDrawAspect,
|
---|
3205 | LONG lindex,
|
---|
3206 | void *pvAspect,
|
---|
3207 | DVTARGETDEVICE *ptd,
|
---|
3208 | HDC hicTargetDev,
|
---|
3209 | LOGPALETTE **ppColorSet);
|
---|
3210 | HRESULT __RPC_STUB IViewObject_GetColorSet_Stub(
|
---|
3211 | IViewObject* This,
|
---|
3212 | DWORD dwDrawAspect,
|
---|
3213 | LONG lindex,
|
---|
3214 | ULONG_PTR pvAspect,
|
---|
3215 | DVTARGETDEVICE *ptd,
|
---|
3216 | ULONG_PTR hicTargetDev,
|
---|
3217 | LOGPALETTE **ppColorSet);
|
---|
3218 | HRESULT CALLBACK IViewObject_Freeze_Proxy(
|
---|
3219 | IViewObject* This,
|
---|
3220 | DWORD dwDrawAspect,
|
---|
3221 | LONG lindex,
|
---|
3222 | void *pvAspect,
|
---|
3223 | DWORD *pdwFreeze);
|
---|
3224 | HRESULT __RPC_STUB IViewObject_Freeze_Stub(
|
---|
3225 | IViewObject* This,
|
---|
3226 | DWORD dwDrawAspect,
|
---|
3227 | LONG lindex,
|
---|
3228 | ULONG_PTR pvAspect,
|
---|
3229 | DWORD *pdwFreeze);
|
---|
3230 | HRESULT CALLBACK IViewObject_GetAdvise_Proxy(
|
---|
3231 | IViewObject* This,
|
---|
3232 | DWORD *pAspects,
|
---|
3233 | DWORD *pAdvf,
|
---|
3234 | IAdviseSink **ppAdvSink);
|
---|
3235 | HRESULT __RPC_STUB IViewObject_GetAdvise_Stub(
|
---|
3236 | IViewObject* This,
|
---|
3237 | DWORD *pAspects,
|
---|
3238 | DWORD *pAdvf,
|
---|
3239 | IAdviseSink **ppAdvSink);
|
---|
3240 |
|
---|
3241 | #endif /* __IViewObject_INTERFACE_DEFINED__ */
|
---|
3242 |
|
---|
3243 | /*****************************************************************************
|
---|
3244 | * IViewObject2 interface
|
---|
3245 | */
|
---|
3246 | #ifndef __IViewObject2_INTERFACE_DEFINED__
|
---|
3247 | #define __IViewObject2_INTERFACE_DEFINED__
|
---|
3248 |
|
---|
3249 | typedef IViewObject2 *LPVIEWOBJECT2;
|
---|
3250 | DEFINE_GUID(IID_IViewObject2, 0x00000127, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
3251 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3252 | interface IViewObject2 : public IViewObject
|
---|
3253 | {
|
---|
3254 | virtual HRESULT STDMETHODCALLTYPE GetExtent(
|
---|
3255 | DWORD dwDrawAspect,
|
---|
3256 | LONG lindex,
|
---|
3257 | DVTARGETDEVICE *ptd,
|
---|
3258 | LPSIZEL lpsizel) = 0;
|
---|
3259 |
|
---|
3260 | };
|
---|
3261 | #else
|
---|
3262 | typedef struct IViewObject2Vtbl {
|
---|
3263 | BEGIN_INTERFACE
|
---|
3264 |
|
---|
3265 | /*** IUnknown methods ***/
|
---|
3266 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3267 | IViewObject2* This,
|
---|
3268 | REFIID riid,
|
---|
3269 | void **ppvObject);
|
---|
3270 |
|
---|
3271 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3272 | IViewObject2* This);
|
---|
3273 |
|
---|
3274 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3275 | IViewObject2* This);
|
---|
3276 |
|
---|
3277 | /*** IViewObject methods ***/
|
---|
3278 | HRESULT (STDMETHODCALLTYPE *Draw)(
|
---|
3279 | IViewObject2* This,
|
---|
3280 | DWORD dwDrawAspect,
|
---|
3281 | LONG lindex,
|
---|
3282 | void *pvAspect,
|
---|
3283 | DVTARGETDEVICE *ptd,
|
---|
3284 | HDC hdcTargetDev,
|
---|
3285 | HDC hdcDraw,
|
---|
3286 | LPCRECTL lprcBounds,
|
---|
3287 | LPCRECTL lprcWBounds,
|
---|
3288 | BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),
|
---|
3289 | ULONG_PTR dwContinue);
|
---|
3290 |
|
---|
3291 | HRESULT (STDMETHODCALLTYPE *GetColorSet)(
|
---|
3292 | IViewObject2* This,
|
---|
3293 | DWORD dwDrawAspect,
|
---|
3294 | LONG lindex,
|
---|
3295 | void *pvAspect,
|
---|
3296 | DVTARGETDEVICE *ptd,
|
---|
3297 | HDC hicTargetDev,
|
---|
3298 | LOGPALETTE **ppColorSet);
|
---|
3299 |
|
---|
3300 | HRESULT (STDMETHODCALLTYPE *Freeze)(
|
---|
3301 | IViewObject2* This,
|
---|
3302 | DWORD dwDrawAspect,
|
---|
3303 | LONG lindex,
|
---|
3304 | void *pvAspect,
|
---|
3305 | DWORD *pdwFreeze);
|
---|
3306 |
|
---|
3307 | HRESULT (STDMETHODCALLTYPE *Unfreeze)(
|
---|
3308 | IViewObject2* This,
|
---|
3309 | DWORD dwFreeze);
|
---|
3310 |
|
---|
3311 | HRESULT (STDMETHODCALLTYPE *SetAdvise)(
|
---|
3312 | IViewObject2* This,
|
---|
3313 | DWORD aspects,
|
---|
3314 | DWORD advf,
|
---|
3315 | IAdviseSink *pAdvSink);
|
---|
3316 |
|
---|
3317 | HRESULT (STDMETHODCALLTYPE *GetAdvise)(
|
---|
3318 | IViewObject2* This,
|
---|
3319 | DWORD *pAspects,
|
---|
3320 | DWORD *pAdvf,
|
---|
3321 | IAdviseSink **ppAdvSink);
|
---|
3322 |
|
---|
3323 | /*** IViewObject2 methods ***/
|
---|
3324 | HRESULT (STDMETHODCALLTYPE *GetExtent)(
|
---|
3325 | IViewObject2* This,
|
---|
3326 | DWORD dwDrawAspect,
|
---|
3327 | LONG lindex,
|
---|
3328 | DVTARGETDEVICE *ptd,
|
---|
3329 | LPSIZEL lpsizel);
|
---|
3330 |
|
---|
3331 | END_INTERFACE
|
---|
3332 | } IViewObject2Vtbl;
|
---|
3333 | interface IViewObject2 {
|
---|
3334 | CONST_VTBL IViewObject2Vtbl* lpVtbl;
|
---|
3335 | };
|
---|
3336 |
|
---|
3337 | #ifdef COBJMACROS
|
---|
3338 | /*** IUnknown methods ***/
|
---|
3339 | #define IViewObject2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3340 | #define IViewObject2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3341 | #define IViewObject2_Release(This) (This)->lpVtbl->Release(This)
|
---|
3342 | /*** IViewObject methods ***/
|
---|
3343 | #define IViewObject2_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)
|
---|
3344 | #define IViewObject2_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet) (This)->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
|
---|
3345 | #define IViewObject2_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze) (This)->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
|
---|
3346 | #define IViewObject2_Unfreeze(This,dwFreeze) (This)->lpVtbl->Unfreeze(This,dwFreeze)
|
---|
3347 | #define IViewObject2_SetAdvise(This,aspects,advf,pAdvSink) (This)->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink)
|
---|
3348 | #define IViewObject2_GetAdvise(This,pAspects,pAdvf,ppAdvSink) (This)->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink)
|
---|
3349 | /*** IViewObject2 methods ***/
|
---|
3350 | #define IViewObject2_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel) (This)->lpVtbl->GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)
|
---|
3351 | #endif
|
---|
3352 |
|
---|
3353 | #endif
|
---|
3354 |
|
---|
3355 | HRESULT STDMETHODCALLTYPE IViewObject2_GetExtent_Proxy(
|
---|
3356 | IViewObject2* This,
|
---|
3357 | DWORD dwDrawAspect,
|
---|
3358 | LONG lindex,
|
---|
3359 | DVTARGETDEVICE *ptd,
|
---|
3360 | LPSIZEL lpsizel);
|
---|
3361 | void __RPC_STUB IViewObject2_GetExtent_Stub(
|
---|
3362 | IRpcStubBuffer* This,
|
---|
3363 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3364 | PRPC_MESSAGE pRpcMessage,
|
---|
3365 | DWORD* pdwStubPhase);
|
---|
3366 |
|
---|
3367 | #endif /* __IViewObject2_INTERFACE_DEFINED__ */
|
---|
3368 |
|
---|
3369 | /*****************************************************************************
|
---|
3370 | * IDropSource interface
|
---|
3371 | */
|
---|
3372 | #ifndef __IDropSource_INTERFACE_DEFINED__
|
---|
3373 | #define __IDropSource_INTERFACE_DEFINED__
|
---|
3374 |
|
---|
3375 | typedef IDropSource *LPDROPSOURCE;
|
---|
3376 | DEFINE_GUID(IID_IDropSource, 0x00000121, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
3377 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3378 | interface IDropSource : public IUnknown
|
---|
3379 | {
|
---|
3380 | virtual HRESULT STDMETHODCALLTYPE QueryContinueDrag(
|
---|
3381 | BOOL fEscapePressed,
|
---|
3382 | DWORD grfKeyState) = 0;
|
---|
3383 |
|
---|
3384 | virtual HRESULT STDMETHODCALLTYPE GiveFeedback(
|
---|
3385 | DWORD dwEffect) = 0;
|
---|
3386 |
|
---|
3387 | };
|
---|
3388 | #else
|
---|
3389 | typedef struct IDropSourceVtbl {
|
---|
3390 | BEGIN_INTERFACE
|
---|
3391 |
|
---|
3392 | /*** IUnknown methods ***/
|
---|
3393 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3394 | IDropSource* This,
|
---|
3395 | REFIID riid,
|
---|
3396 | void **ppvObject);
|
---|
3397 |
|
---|
3398 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3399 | IDropSource* This);
|
---|
3400 |
|
---|
3401 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3402 | IDropSource* This);
|
---|
3403 |
|
---|
3404 | /*** IDropSource methods ***/
|
---|
3405 | HRESULT (STDMETHODCALLTYPE *QueryContinueDrag)(
|
---|
3406 | IDropSource* This,
|
---|
3407 | BOOL fEscapePressed,
|
---|
3408 | DWORD grfKeyState);
|
---|
3409 |
|
---|
3410 | HRESULT (STDMETHODCALLTYPE *GiveFeedback)(
|
---|
3411 | IDropSource* This,
|
---|
3412 | DWORD dwEffect);
|
---|
3413 |
|
---|
3414 | END_INTERFACE
|
---|
3415 | } IDropSourceVtbl;
|
---|
3416 | interface IDropSource {
|
---|
3417 | CONST_VTBL IDropSourceVtbl* lpVtbl;
|
---|
3418 | };
|
---|
3419 |
|
---|
3420 | #ifdef COBJMACROS
|
---|
3421 | /*** IUnknown methods ***/
|
---|
3422 | #define IDropSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3423 | #define IDropSource_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3424 | #define IDropSource_Release(This) (This)->lpVtbl->Release(This)
|
---|
3425 | /*** IDropSource methods ***/
|
---|
3426 | #define IDropSource_QueryContinueDrag(This,fEscapePressed,grfKeyState) (This)->lpVtbl->QueryContinueDrag(This,fEscapePressed,grfKeyState)
|
---|
3427 | #define IDropSource_GiveFeedback(This,dwEffect) (This)->lpVtbl->GiveFeedback(This,dwEffect)
|
---|
3428 | #endif
|
---|
3429 |
|
---|
3430 | #endif
|
---|
3431 |
|
---|
3432 | HRESULT STDMETHODCALLTYPE IDropSource_QueryContinueDrag_Proxy(
|
---|
3433 | IDropSource* This,
|
---|
3434 | BOOL fEscapePressed,
|
---|
3435 | DWORD grfKeyState);
|
---|
3436 | void __RPC_STUB IDropSource_QueryContinueDrag_Stub(
|
---|
3437 | IRpcStubBuffer* This,
|
---|
3438 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3439 | PRPC_MESSAGE pRpcMessage,
|
---|
3440 | DWORD* pdwStubPhase);
|
---|
3441 | HRESULT STDMETHODCALLTYPE IDropSource_GiveFeedback_Proxy(
|
---|
3442 | IDropSource* This,
|
---|
3443 | DWORD dwEffect);
|
---|
3444 | void __RPC_STUB IDropSource_GiveFeedback_Stub(
|
---|
3445 | IRpcStubBuffer* This,
|
---|
3446 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3447 | PRPC_MESSAGE pRpcMessage,
|
---|
3448 | DWORD* pdwStubPhase);
|
---|
3449 |
|
---|
3450 | #endif /* __IDropSource_INTERFACE_DEFINED__ */
|
---|
3451 |
|
---|
3452 | /*****************************************************************************
|
---|
3453 | * IDropTarget interface
|
---|
3454 | */
|
---|
3455 | #ifndef __IDropTarget_INTERFACE_DEFINED__
|
---|
3456 | #define __IDropTarget_INTERFACE_DEFINED__
|
---|
3457 |
|
---|
3458 | typedef IDropTarget *LPDROPTARGET;
|
---|
3459 | #define MK_ALT (0x20)
|
---|
3460 |
|
---|
3461 | #define DROPEFFECT_NONE (0)
|
---|
3462 |
|
---|
3463 | #define DROPEFFECT_COPY (1)
|
---|
3464 |
|
---|
3465 | #define DROPEFFECT_MOVE (2)
|
---|
3466 |
|
---|
3467 | #define DROPEFFECT_LINK (4)
|
---|
3468 |
|
---|
3469 | #define DROPEFFECT_SCROLL (0x80000000)
|
---|
3470 |
|
---|
3471 | #define DD_DEFSCROLLINSET (11)
|
---|
3472 |
|
---|
3473 | #define DD_DEFSCROLLDELAY (50)
|
---|
3474 |
|
---|
3475 | #define DD_DEFSCROLLINTERVAL (50)
|
---|
3476 |
|
---|
3477 | #define DD_DEFDRAGDELAY (200)
|
---|
3478 |
|
---|
3479 | #define DD_DEFDRAGMINDIST (2)
|
---|
3480 |
|
---|
3481 | DEFINE_GUID(IID_IDropTarget, 0x00000122, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
3482 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3483 | interface IDropTarget : public IUnknown
|
---|
3484 | {
|
---|
3485 | virtual HRESULT STDMETHODCALLTYPE DragEnter(
|
---|
3486 | IDataObject *pDataObj,
|
---|
3487 | DWORD grfKeyState,
|
---|
3488 | POINTL pt,
|
---|
3489 | DWORD *pdwEffect) = 0;
|
---|
3490 |
|
---|
3491 | virtual HRESULT STDMETHODCALLTYPE DragOver(
|
---|
3492 | DWORD grfKeyState,
|
---|
3493 | POINTL pt,
|
---|
3494 | DWORD *pdwEffect) = 0;
|
---|
3495 |
|
---|
3496 | virtual HRESULT STDMETHODCALLTYPE DragLeave(
|
---|
3497 | ) = 0;
|
---|
3498 |
|
---|
3499 | virtual HRESULT STDMETHODCALLTYPE Drop(
|
---|
3500 | IDataObject *pDataObj,
|
---|
3501 | DWORD grfKeyState,
|
---|
3502 | POINTL pt,
|
---|
3503 | DWORD *pdwEffect) = 0;
|
---|
3504 |
|
---|
3505 | };
|
---|
3506 | #else
|
---|
3507 | typedef struct IDropTargetVtbl {
|
---|
3508 | BEGIN_INTERFACE
|
---|
3509 |
|
---|
3510 | /*** IUnknown methods ***/
|
---|
3511 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3512 | IDropTarget* This,
|
---|
3513 | REFIID riid,
|
---|
3514 | void **ppvObject);
|
---|
3515 |
|
---|
3516 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3517 | IDropTarget* This);
|
---|
3518 |
|
---|
3519 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3520 | IDropTarget* This);
|
---|
3521 |
|
---|
3522 | /*** IDropTarget methods ***/
|
---|
3523 | HRESULT (STDMETHODCALLTYPE *DragEnter)(
|
---|
3524 | IDropTarget* This,
|
---|
3525 | IDataObject *pDataObj,
|
---|
3526 | DWORD grfKeyState,
|
---|
3527 | POINTL pt,
|
---|
3528 | DWORD *pdwEffect);
|
---|
3529 |
|
---|
3530 | HRESULT (STDMETHODCALLTYPE *DragOver)(
|
---|
3531 | IDropTarget* This,
|
---|
3532 | DWORD grfKeyState,
|
---|
3533 | POINTL pt,
|
---|
3534 | DWORD *pdwEffect);
|
---|
3535 |
|
---|
3536 | HRESULT (STDMETHODCALLTYPE *DragLeave)(
|
---|
3537 | IDropTarget* This);
|
---|
3538 |
|
---|
3539 | HRESULT (STDMETHODCALLTYPE *Drop)(
|
---|
3540 | IDropTarget* This,
|
---|
3541 | IDataObject *pDataObj,
|
---|
3542 | DWORD grfKeyState,
|
---|
3543 | POINTL pt,
|
---|
3544 | DWORD *pdwEffect);
|
---|
3545 |
|
---|
3546 | END_INTERFACE
|
---|
3547 | } IDropTargetVtbl;
|
---|
3548 | interface IDropTarget {
|
---|
3549 | CONST_VTBL IDropTargetVtbl* lpVtbl;
|
---|
3550 | };
|
---|
3551 |
|
---|
3552 | #ifdef COBJMACROS
|
---|
3553 | /*** IUnknown methods ***/
|
---|
3554 | #define IDropTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3555 | #define IDropTarget_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3556 | #define IDropTarget_Release(This) (This)->lpVtbl->Release(This)
|
---|
3557 | /*** IDropTarget methods ***/
|
---|
3558 | #define IDropTarget_DragEnter(This,pDataObj,grfKeyState,pt,pdwEffect) (This)->lpVtbl->DragEnter(This,pDataObj,grfKeyState,pt,pdwEffect)
|
---|
3559 | #define IDropTarget_DragOver(This,grfKeyState,pt,pdwEffect) (This)->lpVtbl->DragOver(This,grfKeyState,pt,pdwEffect)
|
---|
3560 | #define IDropTarget_DragLeave(This) (This)->lpVtbl->DragLeave(This)
|
---|
3561 | #define IDropTarget_Drop(This,pDataObj,grfKeyState,pt,pdwEffect) (This)->lpVtbl->Drop(This,pDataObj,grfKeyState,pt,pdwEffect)
|
---|
3562 | #endif
|
---|
3563 |
|
---|
3564 | #endif
|
---|
3565 |
|
---|
3566 | HRESULT STDMETHODCALLTYPE IDropTarget_DragEnter_Proxy(
|
---|
3567 | IDropTarget* This,
|
---|
3568 | IDataObject *pDataObj,
|
---|
3569 | DWORD grfKeyState,
|
---|
3570 | POINTL pt,
|
---|
3571 | DWORD *pdwEffect);
|
---|
3572 | void __RPC_STUB IDropTarget_DragEnter_Stub(
|
---|
3573 | IRpcStubBuffer* This,
|
---|
3574 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3575 | PRPC_MESSAGE pRpcMessage,
|
---|
3576 | DWORD* pdwStubPhase);
|
---|
3577 | HRESULT STDMETHODCALLTYPE IDropTarget_DragOver_Proxy(
|
---|
3578 | IDropTarget* This,
|
---|
3579 | DWORD grfKeyState,
|
---|
3580 | POINTL pt,
|
---|
3581 | DWORD *pdwEffect);
|
---|
3582 | void __RPC_STUB IDropTarget_DragOver_Stub(
|
---|
3583 | IRpcStubBuffer* This,
|
---|
3584 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3585 | PRPC_MESSAGE pRpcMessage,
|
---|
3586 | DWORD* pdwStubPhase);
|
---|
3587 | HRESULT STDMETHODCALLTYPE IDropTarget_DragLeave_Proxy(
|
---|
3588 | IDropTarget* This);
|
---|
3589 | void __RPC_STUB IDropTarget_DragLeave_Stub(
|
---|
3590 | IRpcStubBuffer* This,
|
---|
3591 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3592 | PRPC_MESSAGE pRpcMessage,
|
---|
3593 | DWORD* pdwStubPhase);
|
---|
3594 | HRESULT STDMETHODCALLTYPE IDropTarget_Drop_Proxy(
|
---|
3595 | IDropTarget* This,
|
---|
3596 | IDataObject *pDataObj,
|
---|
3597 | DWORD grfKeyState,
|
---|
3598 | POINTL pt,
|
---|
3599 | DWORD *pdwEffect);
|
---|
3600 | void __RPC_STUB IDropTarget_Drop_Stub(
|
---|
3601 | IRpcStubBuffer* This,
|
---|
3602 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3603 | PRPC_MESSAGE pRpcMessage,
|
---|
3604 | DWORD* pdwStubPhase);
|
---|
3605 |
|
---|
3606 | #endif /* __IDropTarget_INTERFACE_DEFINED__ */
|
---|
3607 |
|
---|
3608 | /* Begin additional prototypes for all interfaces */
|
---|
3609 |
|
---|
3610 | ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *);
|
---|
3611 | unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *);
|
---|
3612 | unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
|
---|
3613 | void __RPC_USER HWND_UserFree (ULONG *, HWND *);
|
---|
3614 | ULONG __RPC_USER HMENU_UserSize (ULONG *, ULONG, HMENU *);
|
---|
3615 | unsigned char * __RPC_USER HMENU_UserMarshal (ULONG *, unsigned char *, HMENU *);
|
---|
3616 | unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *);
|
---|
3617 | void __RPC_USER HMENU_UserFree (ULONG *, HMENU *);
|
---|
3618 | ULONG __RPC_USER HGLOBAL_UserSize (ULONG *, ULONG, HGLOBAL *);
|
---|
3619 | unsigned char * __RPC_USER HGLOBAL_UserMarshal (ULONG *, unsigned char *, HGLOBAL *);
|
---|
3620 | unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *);
|
---|
3621 | void __RPC_USER HGLOBAL_UserFree (ULONG *, HGLOBAL *);
|
---|
3622 | ULONG __RPC_USER HACCEL_UserSize (ULONG *, ULONG, HACCEL *);
|
---|
3623 | unsigned char * __RPC_USER HACCEL_UserMarshal (ULONG *, unsigned char *, HACCEL *);
|
---|
3624 | unsigned char * __RPC_USER HACCEL_UserUnmarshal(ULONG *, unsigned char *, HACCEL *);
|
---|
3625 | void __RPC_USER HACCEL_UserFree (ULONG *, HACCEL *);
|
---|
3626 | ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *);
|
---|
3627 | unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *);
|
---|
3628 | unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
|
---|
3629 | void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *);
|
---|
3630 | ULONG __RPC_USER STGMEDIUM_UserSize (ULONG *, ULONG, STGMEDIUM *);
|
---|
3631 | unsigned char * __RPC_USER STGMEDIUM_UserMarshal (ULONG *, unsigned char *, STGMEDIUM *);
|
---|
3632 | unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
|
---|
3633 | void __RPC_USER STGMEDIUM_UserFree (ULONG *, STGMEDIUM *);
|
---|
3634 | ULONG __RPC_USER HDC_UserSize (ULONG *, ULONG, HDC *);
|
---|
3635 | unsigned char * __RPC_USER HDC_UserMarshal (ULONG *, unsigned char *, HDC *);
|
---|
3636 | unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
|
---|
3637 | void __RPC_USER HDC_UserFree (ULONG *, HDC *);
|
---|
3638 |
|
---|
3639 | /* End additional prototypes */
|
---|
3640 |
|
---|
3641 | #ifdef __cplusplus
|
---|
3642 | }
|
---|
3643 | #endif
|
---|
3644 |
|
---|
3645 | #endif /* __WIDL_OLEIDL_H */
|
---|