1 /*** Autogenerated by WIDL 0.1 from docobj.idl - Do not edit ***/
5 #ifndef __WIDL_DOCOBJ_H
6 #define __WIDL_DOCOBJ_H
15 #ifndef __IOleDocumentView_FWD_DEFINED__
16 #define __IOleDocumentView_FWD_DEFINED__
17 typedef struct IOleDocumentView IOleDocumentView;
20 #ifndef __IEnumOleDocumentViews_FWD_DEFINED__
21 #define __IEnumOleDocumentViews_FWD_DEFINED__
22 typedef struct IEnumOleDocumentViews IEnumOleDocumentViews;
25 #ifndef __IOleDocument_FWD_DEFINED__
26 #define __IOleDocument_FWD_DEFINED__
27 typedef struct IOleDocument IOleDocument;
30 typedef IOleDocument *LPOLEDOCUMENT;
33 DOCMISC_CANCREATEMULTIPLEVIEWS = 1,
34 DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2,
35 DOCMISC_CANTOPENEDIT = 4,
36 DOCMISC_NOFILESUPPORT = 8
39 /*****************************************************************************
40 * IOleDocument interface
42 #ifndef __IOleDocument_INTERFACE_DEFINED__
43 #define __IOleDocument_INTERFACE_DEFINED__
45 DEFINE_GUID(IID_IOleDocument, 0xb722bcc5, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
46 #if defined(__cplusplus) && !defined(CINTERFACE)
47 struct IOleDocument : public IUnknown
49 virtual HRESULT STDMETHODCALLTYPE CreateView(
50 IOleInPlaceSite* pIPSite,
53 IOleDocumentView** ppView) = 0;
55 virtual HRESULT STDMETHODCALLTYPE GetDocMiscStatus(
56 DWORD* pdwStatus) = 0;
58 virtual HRESULT STDMETHODCALLTYPE EnumViews(
59 IEnumOleDocumentViews** ppEnum,
60 IOleDocumentView** ppView) = 0;
64 typedef struct IOleDocumentVtbl IOleDocumentVtbl;
66 const IOleDocumentVtbl* lpVtbl;
68 struct IOleDocumentVtbl {
69 ICOM_MSVTABLE_COMPAT_FIELDS
71 /*** IUnknown methods ***/
72 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
77 ULONG (STDMETHODCALLTYPE *AddRef)(
80 ULONG (STDMETHODCALLTYPE *Release)(
83 /*** IOleDocument methods ***/
84 HRESULT (STDMETHODCALLTYPE *CreateView)(
86 IOleInPlaceSite* pIPSite,
89 IOleDocumentView** ppView);
91 HRESULT (STDMETHODCALLTYPE *GetDocMiscStatus)(
95 HRESULT (STDMETHODCALLTYPE *EnumViews)(
97 IEnumOleDocumentViews** ppEnum,
98 IOleDocumentView** ppView);
102 /*** IUnknown methods ***/
103 #define IOleDocument_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
104 #define IOleDocument_AddRef(p) (p)->lpVtbl->AddRef(p)
105 #define IOleDocument_Release(p) (p)->lpVtbl->Release(p)
106 /*** IOleDocument methods ***/
107 #define IOleDocument_CreateView(p,a,b,c,d) (p)->lpVtbl->CreateView(p,a,b,c,d)
108 #define IOleDocument_GetDocMiscStatus(p,a) (p)->lpVtbl->GetDocMiscStatus(p,a)
109 #define IOleDocument_EnumViews(p,a,b) (p)->lpVtbl->EnumViews(p,a,b)
113 #define IOleDocument_METHODS \
114 ICOM_MSVTABLE_COMPAT_FIELDS \
115 /*** IUnknown methods ***/ \
116 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
117 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
118 STDMETHOD_(ULONG,Release)(THIS) PURE; \
119 /*** IOleDocument methods ***/ \
120 STDMETHOD_(HRESULT,CreateView)(THIS_ IOleInPlaceSite* pIPSite, IStream* pstm, DWORD dwReserved, IOleDocumentView** ppView) PURE; \
121 STDMETHOD_(HRESULT,GetDocMiscStatus)(THIS_ DWORD* pdwStatus) PURE; \
122 STDMETHOD_(HRESULT,EnumViews)(THIS_ IEnumOleDocumentViews** ppEnum, IOleDocumentView** ppView) PURE;
124 HRESULT CALLBACK IOleDocument_CreateView_Proxy(
126 IOleInPlaceSite* pIPSite,
129 IOleDocumentView** ppView);
130 void __RPC_STUB IOleDocument_CreateView_Stub(
131 struct IRpcStubBuffer* This,
132 struct IRpcChannelBuffer* pRpcChannelBuffer,
133 PRPC_MESSAGE pRpcMessage,
134 DWORD* pdwStubPhase);
135 HRESULT CALLBACK IOleDocument_GetDocMiscStatus_Proxy(
138 void __RPC_STUB IOleDocument_GetDocMiscStatus_Stub(
139 struct IRpcStubBuffer* This,
140 struct IRpcChannelBuffer* pRpcChannelBuffer,
141 PRPC_MESSAGE pRpcMessage,
142 DWORD* pdwStubPhase);
143 HRESULT CALLBACK IOleDocument_EnumViews_Proxy(
145 IEnumOleDocumentViews** ppEnum,
146 IOleDocumentView** ppView);
147 void __RPC_STUB IOleDocument_EnumViews_Stub(
148 struct IRpcStubBuffer* This,
149 struct IRpcChannelBuffer* pRpcChannelBuffer,
150 PRPC_MESSAGE pRpcMessage,
151 DWORD* pdwStubPhase);
153 #endif /* __IOleDocument_INTERFACE_DEFINED__ */
155 #ifndef __IOleDocumentSite_FWD_DEFINED__
156 #define __IOleDocumentSite_FWD_DEFINED__
157 typedef struct IOleDocumentSite IOleDocumentSite;
160 typedef IOleDocumentSite *LPOLEDOCUMENTSITE;
162 /*****************************************************************************
163 * IOleDocumentSite interface
165 #ifndef __IOleDocumentSite_INTERFACE_DEFINED__
166 #define __IOleDocumentSite_INTERFACE_DEFINED__
168 DEFINE_GUID(IID_IOleDocumentSite, 0xb722bcc7, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
169 #if defined(__cplusplus) && !defined(CINTERFACE)
170 struct IOleDocumentSite : public IUnknown
172 virtual HRESULT STDMETHODCALLTYPE ActivateMe(
173 IOleDocumentView* pViewToActivate) = 0;
177 typedef struct IOleDocumentSiteVtbl IOleDocumentSiteVtbl;
178 struct IOleDocumentSite {
179 const IOleDocumentSiteVtbl* lpVtbl;
181 struct IOleDocumentSiteVtbl {
182 ICOM_MSVTABLE_COMPAT_FIELDS
184 /*** IUnknown methods ***/
185 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
186 IOleDocumentSite* This,
190 ULONG (STDMETHODCALLTYPE *AddRef)(
191 IOleDocumentSite* This);
193 ULONG (STDMETHODCALLTYPE *Release)(
194 IOleDocumentSite* This);
196 /*** IOleDocumentSite methods ***/
197 HRESULT (STDMETHODCALLTYPE *ActivateMe)(
198 IOleDocumentSite* This,
199 IOleDocumentView* pViewToActivate);
203 /*** IUnknown methods ***/
204 #define IOleDocumentSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
205 #define IOleDocumentSite_AddRef(p) (p)->lpVtbl->AddRef(p)
206 #define IOleDocumentSite_Release(p) (p)->lpVtbl->Release(p)
207 /*** IOleDocumentSite methods ***/
208 #define IOleDocumentSite_ActivateMe(p,a) (p)->lpVtbl->ActivateMe(p,a)
212 #define IOleDocumentSite_METHODS \
213 ICOM_MSVTABLE_COMPAT_FIELDS \
214 /*** IUnknown methods ***/ \
215 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
216 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
217 STDMETHOD_(ULONG,Release)(THIS) PURE; \
218 /*** IOleDocumentSite methods ***/ \
219 STDMETHOD_(HRESULT,ActivateMe)(THIS_ IOleDocumentView* pViewToActivate) PURE;
221 HRESULT CALLBACK IOleDocumentSite_ActivateMe_Proxy(
222 IOleDocumentSite* This,
223 IOleDocumentView* pViewToActivate);
224 void __RPC_STUB IOleDocumentSite_ActivateMe_Stub(
225 struct IRpcStubBuffer* This,
226 struct IRpcChannelBuffer* pRpcChannelBuffer,
227 PRPC_MESSAGE pRpcMessage,
228 DWORD* pdwStubPhase);
230 #endif /* __IOleDocumentSite_INTERFACE_DEFINED__ */
232 typedef IOleDocumentView *LPOLEDOCUMENTVIEW;
234 /*****************************************************************************
235 * IOleDocumentView interface
237 #ifndef __IOleDocumentView_INTERFACE_DEFINED__
238 #define __IOleDocumentView_INTERFACE_DEFINED__
240 DEFINE_GUID(IID_IOleDocumentView, 0xb722bcc6, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
241 #if defined(__cplusplus) && !defined(CINTERFACE)
242 struct IOleDocumentView : public IUnknown
244 virtual HRESULT STDMETHODCALLTYPE SetInPlaceSite(
245 IOleInPlaceSite* pIPSite) = 0;
247 virtual HRESULT STDMETHODCALLTYPE GetInPlaceSite(
248 IOleInPlaceSite** ppIPSite) = 0;
250 virtual HRESULT STDMETHODCALLTYPE GetDocument(
251 IUnknown** ppunk) = 0;
253 virtual HRESULT STDMETHODCALLTYPE SetRect(
256 virtual HRESULT STDMETHODCALLTYPE GetRect(
259 virtual HRESULT STDMETHODCALLTYPE SetRectComplex(
263 LPRECT prcSizeBox) = 0;
265 virtual HRESULT STDMETHODCALLTYPE Show(
268 virtual HRESULT STDMETHODCALLTYPE UIActivate(
269 BOOL fUIActivate) = 0;
271 virtual HRESULT STDMETHODCALLTYPE Open(
274 virtual HRESULT STDMETHODCALLTYPE CloseView(
275 DWORD dwReserved) = 0;
277 virtual HRESULT STDMETHODCALLTYPE SaveViewState(
280 virtual HRESULT STDMETHODCALLTYPE ApplyViewState(
283 virtual HRESULT STDMETHODCALLTYPE Clone(
284 IOleInPlaceSite* pIPSiteNew,
285 IOleDocumentView** ppViewNew) = 0;
289 typedef struct IOleDocumentViewVtbl IOleDocumentViewVtbl;
290 struct IOleDocumentView {
291 const IOleDocumentViewVtbl* lpVtbl;
293 struct IOleDocumentViewVtbl {
294 ICOM_MSVTABLE_COMPAT_FIELDS
296 /*** IUnknown methods ***/
297 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
298 IOleDocumentView* This,
302 ULONG (STDMETHODCALLTYPE *AddRef)(
303 IOleDocumentView* This);
305 ULONG (STDMETHODCALLTYPE *Release)(
306 IOleDocumentView* This);
308 /*** IOleDocumentView methods ***/
309 HRESULT (STDMETHODCALLTYPE *SetInPlaceSite)(
310 IOleDocumentView* This,
311 IOleInPlaceSite* pIPSite);
313 HRESULT (STDMETHODCALLTYPE *GetInPlaceSite)(
314 IOleDocumentView* This,
315 IOleInPlaceSite** ppIPSite);
317 HRESULT (STDMETHODCALLTYPE *GetDocument)(
318 IOleDocumentView* This,
321 HRESULT (STDMETHODCALLTYPE *SetRect)(
322 IOleDocumentView* This,
325 HRESULT (STDMETHODCALLTYPE *GetRect)(
326 IOleDocumentView* This,
329 HRESULT (STDMETHODCALLTYPE *SetRectComplex)(
330 IOleDocumentView* This,
336 HRESULT (STDMETHODCALLTYPE *Show)(
337 IOleDocumentView* This,
340 HRESULT (STDMETHODCALLTYPE *UIActivate)(
341 IOleDocumentView* This,
344 HRESULT (STDMETHODCALLTYPE *Open)(
345 IOleDocumentView* This);
347 HRESULT (STDMETHODCALLTYPE *CloseView)(
348 IOleDocumentView* This,
351 HRESULT (STDMETHODCALLTYPE *SaveViewState)(
352 IOleDocumentView* This,
355 HRESULT (STDMETHODCALLTYPE *ApplyViewState)(
356 IOleDocumentView* This,
359 HRESULT (STDMETHODCALLTYPE *Clone)(
360 IOleDocumentView* This,
361 IOleInPlaceSite* pIPSiteNew,
362 IOleDocumentView** ppViewNew);
366 /*** IUnknown methods ***/
367 #define IOleDocumentView_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
368 #define IOleDocumentView_AddRef(p) (p)->lpVtbl->AddRef(p)
369 #define IOleDocumentView_Release(p) (p)->lpVtbl->Release(p)
370 /*** IOleDocumentView methods ***/
371 #define IOleDocumentView_SetInPlaceSite(p,a) (p)->lpVtbl->SetInPlaceSite(p,a)
372 #define IOleDocumentView_GetInPlaceSite(p,a) (p)->lpVtbl->GetInPlaceSite(p,a)
373 #define IOleDocumentView_GetDocument(p,a) (p)->lpVtbl->GetDocument(p,a)
374 #define IOleDocumentView_SetRect(p,a) (p)->lpVtbl->SetRect(p,a)
375 #define IOleDocumentView_GetRect(p,a) (p)->lpVtbl->GetRect(p,a)
376 #define IOleDocumentView_SetRectComplex(p,a,b,c,d) (p)->lpVtbl->SetRectComplex(p,a,b,c,d)
377 #define IOleDocumentView_Show(p,a) (p)->lpVtbl->Show(p,a)
378 #define IOleDocumentView_UIActivate(p,a) (p)->lpVtbl->UIActivate(p,a)
379 #define IOleDocumentView_Open(p) (p)->lpVtbl->Open(p)
380 #define IOleDocumentView_CloseView(p,a) (p)->lpVtbl->CloseView(p,a)
381 #define IOleDocumentView_SaveViewState(p,a) (p)->lpVtbl->SaveViewState(p,a)
382 #define IOleDocumentView_ApplyViewState(p,a) (p)->lpVtbl->ApplyViewState(p,a)
383 #define IOleDocumentView_Clone(p,a,b) (p)->lpVtbl->Clone(p,a,b)
387 #define IOleDocumentView_METHODS \
388 ICOM_MSVTABLE_COMPAT_FIELDS \
389 /*** IUnknown methods ***/ \
390 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
391 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
392 STDMETHOD_(ULONG,Release)(THIS) PURE; \
393 /*** IOleDocumentView methods ***/ \
394 STDMETHOD_(HRESULT,SetInPlaceSite)(THIS_ IOleInPlaceSite* pIPSite) PURE; \
395 STDMETHOD_(HRESULT,GetInPlaceSite)(THIS_ IOleInPlaceSite** ppIPSite) PURE; \
396 STDMETHOD_(HRESULT,GetDocument)(THIS_ IUnknown** ppunk) PURE; \
397 STDMETHOD_(HRESULT,SetRect)(THIS_ LPRECT prcView) PURE; \
398 STDMETHOD_(HRESULT,GetRect)(THIS_ LPRECT prcView) PURE; \
399 STDMETHOD_(HRESULT,SetRectComplex)(THIS_ LPRECT prcView, LPRECT prcHScroll, LPRECT prcVScroll, LPRECT prcSizeBox) PURE; \
400 STDMETHOD_(HRESULT,Show)(THIS_ BOOL fShow) PURE; \
401 STDMETHOD_(HRESULT,UIActivate)(THIS_ BOOL fUIActivate) PURE; \
402 STDMETHOD_(HRESULT,Open)(THIS) PURE; \
403 STDMETHOD_(HRESULT,CloseView)(THIS_ DWORD dwReserved) PURE; \
404 STDMETHOD_(HRESULT,SaveViewState)(THIS_ LPSTREAM pstm) PURE; \
405 STDMETHOD_(HRESULT,ApplyViewState)(THIS_ LPSTREAM pstm) PURE; \
406 STDMETHOD_(HRESULT,Clone)(THIS_ IOleInPlaceSite* pIPSiteNew, IOleDocumentView** ppViewNew) PURE;
408 HRESULT CALLBACK IOleDocumentView_SetInPlaceSite_Proxy(
409 IOleDocumentView* This,
410 IOleInPlaceSite* pIPSite);
411 void __RPC_STUB IOleDocumentView_SetInPlaceSite_Stub(
412 struct IRpcStubBuffer* This,
413 struct IRpcChannelBuffer* pRpcChannelBuffer,
414 PRPC_MESSAGE pRpcMessage,
415 DWORD* pdwStubPhase);
416 HRESULT CALLBACK IOleDocumentView_GetInPlaceSite_Proxy(
417 IOleDocumentView* This,
418 IOleInPlaceSite** ppIPSite);
419 void __RPC_STUB IOleDocumentView_GetInPlaceSite_Stub(
420 struct IRpcStubBuffer* This,
421 struct IRpcChannelBuffer* pRpcChannelBuffer,
422 PRPC_MESSAGE pRpcMessage,
423 DWORD* pdwStubPhase);
424 HRESULT CALLBACK IOleDocumentView_GetDocument_Proxy(
425 IOleDocumentView* This,
427 void __RPC_STUB IOleDocumentView_GetDocument_Stub(
428 struct IRpcStubBuffer* This,
429 struct IRpcChannelBuffer* pRpcChannelBuffer,
430 PRPC_MESSAGE pRpcMessage,
431 DWORD* pdwStubPhase);
432 HRESULT CALLBACK IOleDocumentView_SetRect_Proxy(
433 IOleDocumentView* This,
435 void __RPC_STUB IOleDocumentView_SetRect_Stub(
436 struct IRpcStubBuffer* This,
437 struct IRpcChannelBuffer* pRpcChannelBuffer,
438 PRPC_MESSAGE pRpcMessage,
439 DWORD* pdwStubPhase);
440 HRESULT CALLBACK IOleDocumentView_GetRect_Proxy(
441 IOleDocumentView* This,
443 void __RPC_STUB IOleDocumentView_GetRect_Stub(
444 struct IRpcStubBuffer* This,
445 struct IRpcChannelBuffer* pRpcChannelBuffer,
446 PRPC_MESSAGE pRpcMessage,
447 DWORD* pdwStubPhase);
448 HRESULT CALLBACK IOleDocumentView_SetRectComplex_Proxy(
449 IOleDocumentView* This,
454 void __RPC_STUB IOleDocumentView_SetRectComplex_Stub(
455 struct IRpcStubBuffer* This,
456 struct IRpcChannelBuffer* pRpcChannelBuffer,
457 PRPC_MESSAGE pRpcMessage,
458 DWORD* pdwStubPhase);
459 HRESULT CALLBACK IOleDocumentView_Show_Proxy(
460 IOleDocumentView* This,
462 void __RPC_STUB IOleDocumentView_Show_Stub(
463 struct IRpcStubBuffer* This,
464 struct IRpcChannelBuffer* pRpcChannelBuffer,
465 PRPC_MESSAGE pRpcMessage,
466 DWORD* pdwStubPhase);
467 HRESULT CALLBACK IOleDocumentView_UIActivate_Proxy(
468 IOleDocumentView* This,
470 void __RPC_STUB IOleDocumentView_UIActivate_Stub(
471 struct IRpcStubBuffer* This,
472 struct IRpcChannelBuffer* pRpcChannelBuffer,
473 PRPC_MESSAGE pRpcMessage,
474 DWORD* pdwStubPhase);
475 HRESULT CALLBACK IOleDocumentView_Open_Proxy(
476 IOleDocumentView* This);
477 void __RPC_STUB IOleDocumentView_Open_Stub(
478 struct IRpcStubBuffer* This,
479 struct IRpcChannelBuffer* pRpcChannelBuffer,
480 PRPC_MESSAGE pRpcMessage,
481 DWORD* pdwStubPhase);
482 HRESULT CALLBACK IOleDocumentView_CloseView_Proxy(
483 IOleDocumentView* This,
485 void __RPC_STUB IOleDocumentView_CloseView_Stub(
486 struct IRpcStubBuffer* This,
487 struct IRpcChannelBuffer* pRpcChannelBuffer,
488 PRPC_MESSAGE pRpcMessage,
489 DWORD* pdwStubPhase);
490 HRESULT CALLBACK IOleDocumentView_SaveViewState_Proxy(
491 IOleDocumentView* This,
493 void __RPC_STUB IOleDocumentView_SaveViewState_Stub(
494 struct IRpcStubBuffer* This,
495 struct IRpcChannelBuffer* pRpcChannelBuffer,
496 PRPC_MESSAGE pRpcMessage,
497 DWORD* pdwStubPhase);
498 HRESULT CALLBACK IOleDocumentView_ApplyViewState_Proxy(
499 IOleDocumentView* This,
501 void __RPC_STUB IOleDocumentView_ApplyViewState_Stub(
502 struct IRpcStubBuffer* This,
503 struct IRpcChannelBuffer* pRpcChannelBuffer,
504 PRPC_MESSAGE pRpcMessage,
505 DWORD* pdwStubPhase);
506 HRESULT CALLBACK IOleDocumentView_Clone_Proxy(
507 IOleDocumentView* This,
508 IOleInPlaceSite* pIPSiteNew,
509 IOleDocumentView** ppViewNew);
510 void __RPC_STUB IOleDocumentView_Clone_Stub(
511 struct IRpcStubBuffer* This,
512 struct IRpcChannelBuffer* pRpcChannelBuffer,
513 PRPC_MESSAGE pRpcMessage,
514 DWORD* pdwStubPhase);
516 #endif /* __IOleDocumentView_INTERFACE_DEFINED__ */
518 typedef IEnumOleDocumentViews *LPENUMOLEDOCUMENTVIEWS;
520 /*****************************************************************************
521 * IEnumOleDocumentViews interface
523 #ifndef __IEnumOleDocumentViews_INTERFACE_DEFINED__
524 #define __IEnumOleDocumentViews_INTERFACE_DEFINED__
526 DEFINE_GUID(IID_IEnumOleDocumentViews, 0xb722bcc8, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
527 #if defined(__cplusplus) && !defined(CINTERFACE)
528 struct IEnumOleDocumentViews : public IUnknown
530 virtual HRESULT STDMETHODCALLTYPE Next(
532 IOleDocumentView** rgpView,
533 ULONG* pcFetched) = 0;
535 virtual HRESULT STDMETHODCALLTYPE Skip(
538 virtual HRESULT STDMETHODCALLTYPE Reset(
541 virtual HRESULT STDMETHODCALLTYPE Clone(
542 IEnumOleDocumentViews** ppEnum) = 0;
546 typedef struct IEnumOleDocumentViewsVtbl IEnumOleDocumentViewsVtbl;
547 struct IEnumOleDocumentViews {
548 const IEnumOleDocumentViewsVtbl* lpVtbl;
550 struct IEnumOleDocumentViewsVtbl {
551 ICOM_MSVTABLE_COMPAT_FIELDS
553 /*** IUnknown methods ***/
554 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
555 IEnumOleDocumentViews* This,
559 ULONG (STDMETHODCALLTYPE *AddRef)(
560 IEnumOleDocumentViews* This);
562 ULONG (STDMETHODCALLTYPE *Release)(
563 IEnumOleDocumentViews* This);
565 /*** IEnumOleDocumentViews methods ***/
566 HRESULT (STDMETHODCALLTYPE *Next)(
567 IEnumOleDocumentViews* This,
569 IOleDocumentView** rgpView,
572 HRESULT (STDMETHODCALLTYPE *Skip)(
573 IEnumOleDocumentViews* This,
576 HRESULT (STDMETHODCALLTYPE *Reset)(
577 IEnumOleDocumentViews* This);
579 HRESULT (STDMETHODCALLTYPE *Clone)(
580 IEnumOleDocumentViews* This,
581 IEnumOleDocumentViews** ppEnum);
585 /*** IUnknown methods ***/
586 #define IEnumOleDocumentViews_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
587 #define IEnumOleDocumentViews_AddRef(p) (p)->lpVtbl->AddRef(p)
588 #define IEnumOleDocumentViews_Release(p) (p)->lpVtbl->Release(p)
589 /*** IEnumOleDocumentViews methods ***/
590 #define IEnumOleDocumentViews_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
591 #define IEnumOleDocumentViews_Skip(p,a) (p)->lpVtbl->Skip(p,a)
592 #define IEnumOleDocumentViews_Reset(p) (p)->lpVtbl->Reset(p)
593 #define IEnumOleDocumentViews_Clone(p,a) (p)->lpVtbl->Clone(p,a)
597 #define IEnumOleDocumentViews_METHODS \
598 ICOM_MSVTABLE_COMPAT_FIELDS \
599 /*** IUnknown methods ***/ \
600 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
601 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
602 STDMETHOD_(ULONG,Release)(THIS) PURE; \
603 /*** IEnumOleDocumentViews methods ***/ \
604 STDMETHOD_(HRESULT,Next)(THIS_ ULONG cViews, IOleDocumentView** rgpView, ULONG* pcFetched) PURE; \
605 STDMETHOD_(HRESULT,Skip)(THIS_ ULONG cViews) PURE; \
606 STDMETHOD_(HRESULT,Reset)(THIS) PURE; \
607 STDMETHOD_(HRESULT,Clone)(THIS_ IEnumOleDocumentViews** ppEnum) PURE;
609 HRESULT CALLBACK IEnumOleDocumentViews_RemoteNext_Proxy(
610 IEnumOleDocumentViews* This,
612 IOleDocumentView** rgpView,
614 void __RPC_STUB IEnumOleDocumentViews_RemoteNext_Stub(
615 struct IRpcStubBuffer* This,
616 struct IRpcChannelBuffer* pRpcChannelBuffer,
617 PRPC_MESSAGE pRpcMessage,
618 DWORD* pdwStubPhase);
619 HRESULT CALLBACK IEnumOleDocumentViews_Next_Proxy(
620 IEnumOleDocumentViews* This,
622 IOleDocumentView** rgpView,
624 HRESULT __RPC_STUB IEnumOleDocumentViews_Next_Stub(
625 IEnumOleDocumentViews* This,
627 IOleDocumentView** rgpView,
629 HRESULT CALLBACK IEnumOleDocumentViews_Skip_Proxy(
630 IEnumOleDocumentViews* This,
632 void __RPC_STUB IEnumOleDocumentViews_Skip_Stub(
633 struct IRpcStubBuffer* This,
634 struct IRpcChannelBuffer* pRpcChannelBuffer,
635 PRPC_MESSAGE pRpcMessage,
636 DWORD* pdwStubPhase);
637 HRESULT CALLBACK IEnumOleDocumentViews_Reset_Proxy(
638 IEnumOleDocumentViews* This);
639 void __RPC_STUB IEnumOleDocumentViews_Reset_Stub(
640 struct IRpcStubBuffer* This,
641 struct IRpcChannelBuffer* pRpcChannelBuffer,
642 PRPC_MESSAGE pRpcMessage,
643 DWORD* pdwStubPhase);
644 HRESULT CALLBACK IEnumOleDocumentViews_Clone_Proxy(
645 IEnumOleDocumentViews* This,
646 IEnumOleDocumentViews** ppEnum);
647 void __RPC_STUB IEnumOleDocumentViews_Clone_Stub(
648 struct IRpcStubBuffer* This,
649 struct IRpcChannelBuffer* pRpcChannelBuffer,
650 PRPC_MESSAGE pRpcMessage,
651 DWORD* pdwStubPhase);
653 #endif /* __IEnumOleDocumentViews_INTERFACE_DEFINED__ */
655 #ifndef __IOleCommandTarget_FWD_DEFINED__
656 #define __IOleCommandTarget_FWD_DEFINED__
657 typedef struct IOleCommandTarget IOleCommandTarget;
660 typedef IOleCommandTarget *LPOLECOMMANDTARGET;
663 OLECMDF_SUPPORTED = 0x1,
664 OLECMDF_ENABLED = 0x2,
665 OLECMDF_LATCHED = 0x4,
666 OLECMDF_NINCHED = 0x8,
667 OLECMDF_INVISIBLE = 0x10,
668 OLECMDF_DEFHIDEONCTXTMENU = 0x20
671 typedef struct _tagOLECMD {
676 typedef struct _tagOLECMDTEXT {
684 OLECMDTEXTF_NONE = 0,
685 OLECMDTEXTF_NAME = 1,
686 OLECMDTEXTF_STATUS = 2
690 OLECMDEXECOPT_DODEFAULT = 0,
691 OLECMDEXECOPT_PROMPTUSER = 1,
692 OLECMDEXECOPT_DONTPROMPTUSER = 2,
693 OLECMDEXECOPT_SHOWHELP = 3
696 typedef enum OLECMDID {
701 OLECMDID_SAVECOPYAS = 5,
703 OLECMDID_PRINTPREVIEW = 7,
704 OLECMDID_PAGESETUP = 8,
706 OLECMDID_PROPERTIES = 10,
710 OLECMDID_PASTESPECIAL = 14,
713 OLECMDID_SELECTALL = 17,
714 OLECMDID_CLEARSELECTION = 18,
716 OLECMDID_GETZOOMRANGE = 20,
717 OLECMDID_UPDATECOMMANDS = 21,
718 OLECMDID_REFRESH = 22,
720 OLECMDID_HIDETOOLBARS = 24,
721 OLECMDID_SETPROGRESSMAX = 25,
722 OLECMDID_SETPROGRESSPOS = 26,
723 OLECMDID_SETPROGRESSTEXT = 27,
724 OLECMDID_SETTITLE = 28,
725 OLECMDID_SETDOWNLOADSTATE = 29,
726 OLECMDID_STOPDOWNLOAD = 30,
727 OLECMDID_ONTOOLBARACTIVATED = 31,
729 OLECMDID_DELETE = 33,
730 OLECMDID_HTTPEQUIV = 34,
731 OLECMDID_HTTPEQUIV_DONE = 35,
732 OLECMDID_ENABLE_INTERACTION = 36,
733 OLECMDID_ONUNLOAD = 37,
734 OLECMDID_PROPERTYBAG2 = 38,
735 OLECMDID_PREREFRESH = 39,
736 OLECMDID_SHOWSCRIPTERROR = 40,
737 OLECMDID_SHOWMESSAGE = 41,
738 OLECMDID_SHOWFIND = 42,
739 OLECMDID_SHOWPAGESETUP = 43,
740 OLECMDID_SHOWPRINT = 44,
742 OLECMDID_ALLOWUILESSSAVEAS = 46,
743 OLECMDID_DONTDOWNLOADCSS = 47,
744 OLECMDID_UPDATEPAGESTATUS = 48,
745 OLECMDID_PRINT2 = 49,
746 OLECMDID_PRINTPREVIEW2 = 50,
747 OLECMDID_SETPRINTTEMPLATE = 51,
748 OLECMDID_GETPRINTTEMPLATE = 52
751 /*****************************************************************************
752 * IOleCommandTarget interface
754 #ifndef __IOleCommandTarget_INTERFACE_DEFINED__
755 #define __IOleCommandTarget_INTERFACE_DEFINED__
757 DEFINE_GUID(IID_IOleCommandTarget, 0xb722bccb, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
758 #if defined(__cplusplus) && !defined(CINTERFACE)
759 struct IOleCommandTarget : public IUnknown
761 virtual HRESULT STDMETHODCALLTYPE QueryStatus(
762 const GUID* pguidCmdGroup,
765 OLECMDTEXT* pCmdText) = 0;
767 virtual HRESULT STDMETHODCALLTYPE Exec(
768 const GUID* pguidCmdGroup,
772 VARIANT* pvaOut) = 0;
776 typedef struct IOleCommandTargetVtbl IOleCommandTargetVtbl;
777 struct IOleCommandTarget {
778 const IOleCommandTargetVtbl* lpVtbl;
780 struct IOleCommandTargetVtbl {
781 ICOM_MSVTABLE_COMPAT_FIELDS
783 /*** IUnknown methods ***/
784 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
785 IOleCommandTarget* This,
789 ULONG (STDMETHODCALLTYPE *AddRef)(
790 IOleCommandTarget* This);
792 ULONG (STDMETHODCALLTYPE *Release)(
793 IOleCommandTarget* This);
795 /*** IOleCommandTarget methods ***/
796 HRESULT (STDMETHODCALLTYPE *QueryStatus)(
797 IOleCommandTarget* This,
798 const GUID* pguidCmdGroup,
801 OLECMDTEXT* pCmdText);
803 HRESULT (STDMETHODCALLTYPE *Exec)(
804 IOleCommandTarget* This,
805 const GUID* pguidCmdGroup,
813 /*** IUnknown methods ***/
814 #define IOleCommandTarget_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
815 #define IOleCommandTarget_AddRef(p) (p)->lpVtbl->AddRef(p)
816 #define IOleCommandTarget_Release(p) (p)->lpVtbl->Release(p)
817 /*** IOleCommandTarget methods ***/
818 #define IOleCommandTarget_QueryStatus(p,a,b,c,d) (p)->lpVtbl->QueryStatus(p,a,b,c,d)
819 #define IOleCommandTarget_Exec(p,a,b,c,d,e) (p)->lpVtbl->Exec(p,a,b,c,d,e)
823 #define IOleCommandTarget_METHODS \
824 ICOM_MSVTABLE_COMPAT_FIELDS \
825 /*** IUnknown methods ***/ \
826 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
827 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
828 STDMETHOD_(ULONG,Release)(THIS) PURE; \
829 /*** IOleCommandTarget methods ***/ \
830 STDMETHOD_(HRESULT,QueryStatus)(THIS_ const GUID* pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT* pCmdText) PURE; \
831 STDMETHOD_(HRESULT,Exec)(THIS_ const GUID* pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT* pvaIn, VARIANT* pvaOut) PURE;
833 HRESULT CALLBACK IOleCommandTarget_QueryStatus_Proxy(
834 IOleCommandTarget* This,
835 const GUID* pguidCmdGroup,
838 OLECMDTEXT* pCmdText);
839 void __RPC_STUB IOleCommandTarget_QueryStatus_Stub(
840 struct IRpcStubBuffer* This,
841 struct IRpcChannelBuffer* pRpcChannelBuffer,
842 PRPC_MESSAGE pRpcMessage,
843 DWORD* pdwStubPhase);
844 HRESULT CALLBACK IOleCommandTarget_Exec_Proxy(
845 IOleCommandTarget* This,
846 const GUID* pguidCmdGroup,
851 void __RPC_STUB IOleCommandTarget_Exec_Stub(
852 struct IRpcStubBuffer* This,
853 struct IRpcChannelBuffer* pRpcChannelBuffer,
854 PRPC_MESSAGE pRpcMessage,
855 DWORD* pdwStubPhase);
857 #endif /* __IOleCommandTarget_INTERFACE_DEFINED__ */
859 #ifndef __IContinueCallback_FWD_DEFINED__
860 #define __IContinueCallback_FWD_DEFINED__
861 typedef struct IContinueCallback IContinueCallback;
864 typedef IContinueCallback *LPCONTINUECALLBACK;
866 /*****************************************************************************
867 * IContinueCallback interface
869 #ifndef __IContinueCallback_INTERFACE_DEFINED__
870 #define __IContinueCallback_INTERFACE_DEFINED__
872 DEFINE_GUID(IID_IContinueCallback, 0xb722bcca, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
873 #if defined(__cplusplus) && !defined(CINTERFACE)
874 struct IContinueCallback : public IUnknown
876 virtual HRESULT STDMETHODCALLTYPE FContinue(
879 virtual HRESULT STDMETHODCALLTYPE FContinuePrinting(
882 WCHAR* pwszPrintStatus) = 0;
886 typedef struct IContinueCallbackVtbl IContinueCallbackVtbl;
887 struct IContinueCallback {
888 const IContinueCallbackVtbl* lpVtbl;
890 struct IContinueCallbackVtbl {
891 ICOM_MSVTABLE_COMPAT_FIELDS
893 /*** IUnknown methods ***/
894 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
895 IContinueCallback* This,
899 ULONG (STDMETHODCALLTYPE *AddRef)(
900 IContinueCallback* This);
902 ULONG (STDMETHODCALLTYPE *Release)(
903 IContinueCallback* This);
905 /*** IContinueCallback methods ***/
906 HRESULT (STDMETHODCALLTYPE *FContinue)(
907 IContinueCallback* This);
909 HRESULT (STDMETHODCALLTYPE *FContinuePrinting)(
910 IContinueCallback* This,
913 WCHAR* pwszPrintStatus);
917 /*** IUnknown methods ***/
918 #define IContinueCallback_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
919 #define IContinueCallback_AddRef(p) (p)->lpVtbl->AddRef(p)
920 #define IContinueCallback_Release(p) (p)->lpVtbl->Release(p)
921 /*** IContinueCallback methods ***/
922 #define IContinueCallback_FContinue(p) (p)->lpVtbl->FContinue(p)
923 #define IContinueCallback_FContinuePrinting(p,a,b,c) (p)->lpVtbl->FContinuePrinting(p,a,b,c)
927 #define IContinueCallback_METHODS \
928 ICOM_MSVTABLE_COMPAT_FIELDS \
929 /*** IUnknown methods ***/ \
930 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
931 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
932 STDMETHOD_(ULONG,Release)(THIS) PURE; \
933 /*** IContinueCallback methods ***/ \
934 STDMETHOD_(HRESULT,FContinue)(THIS) PURE; \
935 STDMETHOD_(HRESULT,FContinuePrinting)(THIS_ LONG nCntPrinted, LONG nCurPage, WCHAR* pwszPrintStatus) PURE;
937 HRESULT CALLBACK IContinueCallback_FContinue_Proxy(
938 IContinueCallback* This);
939 void __RPC_STUB IContinueCallback_FContinue_Stub(
940 struct IRpcStubBuffer* This,
941 struct IRpcChannelBuffer* pRpcChannelBuffer,
942 PRPC_MESSAGE pRpcMessage,
943 DWORD* pdwStubPhase);
944 HRESULT CALLBACK IContinueCallback_FContinuePrinting_Proxy(
945 IContinueCallback* This,
948 WCHAR* pwszPrintStatus);
949 void __RPC_STUB IContinueCallback_FContinuePrinting_Stub(
950 struct IRpcStubBuffer* This,
951 struct IRpcChannelBuffer* pRpcChannelBuffer,
952 PRPC_MESSAGE pRpcMessage,
953 DWORD* pdwStubPhase);
955 #endif /* __IContinueCallback_INTERFACE_DEFINED__ */
957 #ifndef __IPrint_FWD_DEFINED__
958 #define __IPrint_FWD_DEFINED__
959 typedef struct IPrint IPrint;
962 typedef IPrint *LPPRINT;
965 PRINTFLAG_MAYBOTHERUSER = 1,
966 PRINTFLAG_PROMPTUSER = 2,
967 PRINTFLAG_USERMAYCHANGEPRINTER = 4,
968 PRINTFLAG_RECOMPOSETODEVICE = 8,
969 PRINTFLAG_DONTACTUALLYPRINT = 16,
970 PRINTFLAG_FORCEPROPERTIES = 32,
971 PRINTFLAG_PRINTTOFILE = 64
974 typedef struct tagPAGERANGE {
979 typedef struct tagPAGESET {
984 PAGERANGE rgPages[1];
987 /*****************************************************************************
990 #ifndef __IPrint_INTERFACE_DEFINED__
991 #define __IPrint_INTERFACE_DEFINED__
993 DEFINE_GUID(IID_IPrint, 0xb722bcc9, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
994 #if defined(__cplusplus) && !defined(CINTERFACE)
995 struct IPrint : public IUnknown
997 virtual HRESULT STDMETHODCALLTYPE SetInitialPageNum(
998 LONG nFirstPage) = 0;
1000 virtual HRESULT STDMETHODCALLTYPE GetPageInfo(
1004 virtual HRESULT STDMETHODCALLTYPE Print(
1006 DVTARGETDEVICE** pptd,
1007 PAGESET** ppPageSet,
1008 STGMEDIUM* pstgmOptions,
1009 IContinueCallback* pcallback,
1011 LONG* pcPagesPrinted,
1012 LONG* pnLastPage) = 0;
1016 typedef struct IPrintVtbl IPrintVtbl;
1018 const IPrintVtbl* lpVtbl;
1021 ICOM_MSVTABLE_COMPAT_FIELDS
1023 /*** IUnknown methods ***/
1024 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1029 ULONG (STDMETHODCALLTYPE *AddRef)(
1032 ULONG (STDMETHODCALLTYPE *Release)(
1035 /*** IPrint methods ***/
1036 HRESULT (STDMETHODCALLTYPE *SetInitialPageNum)(
1040 HRESULT (STDMETHODCALLTYPE *GetPageInfo)(
1045 HRESULT (STDMETHODCALLTYPE *Print)(
1048 DVTARGETDEVICE** pptd,
1049 PAGESET** ppPageSet,
1050 STGMEDIUM* pstgmOptions,
1051 IContinueCallback* pcallback,
1053 LONG* pcPagesPrinted,
1058 /*** IUnknown methods ***/
1059 #define IPrint_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1060 #define IPrint_AddRef(p) (p)->lpVtbl->AddRef(p)
1061 #define IPrint_Release(p) (p)->lpVtbl->Release(p)
1062 /*** IPrint methods ***/
1063 #define IPrint_SetInitialPageNum(p,a) (p)->lpVtbl->SetInitialPageNum(p,a)
1064 #define IPrint_GetPageInfo(p,a,b) (p)->lpVtbl->GetPageInfo(p,a,b)
1065 #define IPrint_Print(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Print(p,a,b,c,d,e,f,g,h)
1069 #define IPrint_METHODS \
1070 ICOM_MSVTABLE_COMPAT_FIELDS \
1071 /*** IUnknown methods ***/ \
1072 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
1073 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
1074 STDMETHOD_(ULONG,Release)(THIS) PURE; \
1075 /*** IPrint methods ***/ \
1076 STDMETHOD_(HRESULT,SetInitialPageNum)(THIS_ LONG nFirstPage) PURE; \
1077 STDMETHOD_(HRESULT,GetPageInfo)(THIS_ LONG* pnFirstPage, LONG* pcPages) PURE; \
1078 STDMETHOD_(HRESULT,Print)(THIS_ DWORD grfFlags, DVTARGETDEVICE** pptd, PAGESET** ppPageSet, STGMEDIUM* pstgmOptions, IContinueCallback* pcallback, LONG nFirstPage, LONG* pcPagesPrinted, LONG* pnLastPage) PURE;
1080 HRESULT CALLBACK IPrint_SetInitialPageNum_Proxy(
1083 void __RPC_STUB IPrint_SetInitialPageNum_Stub(
1084 struct IRpcStubBuffer* This,
1085 struct IRpcChannelBuffer* pRpcChannelBuffer,
1086 PRPC_MESSAGE pRpcMessage,
1087 DWORD* pdwStubPhase);
1088 HRESULT CALLBACK IPrint_GetPageInfo_Proxy(
1092 void __RPC_STUB IPrint_GetPageInfo_Stub(
1093 struct IRpcStubBuffer* This,
1094 struct IRpcChannelBuffer* pRpcChannelBuffer,
1095 PRPC_MESSAGE pRpcMessage,
1096 DWORD* pdwStubPhase);
1097 HRESULT CALLBACK IPrint_RemotePrint_Proxy(
1100 DVTARGETDEVICE** pptd,
1101 PAGESET** pppageset,
1102 RemSTGMEDIUM* pstgmOptions,
1103 IContinueCallback* pcallback,
1105 LONG* pcPagesPrinted,
1107 void __RPC_STUB IPrint_RemotePrint_Stub(
1108 struct IRpcStubBuffer* This,
1109 struct IRpcChannelBuffer* pRpcChannelBuffer,
1110 PRPC_MESSAGE pRpcMessage,
1111 DWORD* pdwStubPhase);
1112 HRESULT CALLBACK IPrint_Print_Proxy(
1115 DVTARGETDEVICE** pptd,
1116 PAGESET** ppPageSet,
1117 STGMEDIUM* pstgmOptions,
1118 IContinueCallback* pcallback,
1120 LONG* pcPagesPrinted,
1122 HRESULT __RPC_STUB IPrint_Print_Stub(
1125 DVTARGETDEVICE** pptd,
1126 PAGESET** pppageset,
1127 RemSTGMEDIUM* pstgmOptions,
1128 IContinueCallback* pcallback,
1130 LONG* pcPagesPrinted,
1133 #endif /* __IPrint_INTERFACE_DEFINED__ */
1135 #define OLECMDERR_E_FIRST (OLE_E_LAST+1)
1136 #define OLECMDERR_E_NOTSUPPORTED (OLECMDERR_E_FIRST)
1137 #define OLECMDERR_E_DISABLED (OLECMDERR_E_FIRST+1)
1138 #define OLECMDERR_E_NOHELP (OLECMDERR_E_FIRST+2)
1139 #define OLECMDERR_E_CANCELED (OLECMDERR_E_FIRST+3)
1140 #define OLECMDERR_E_UNKNOWNGROUP (OLECMDERR_E_FIRST+4)
1141 #define MSOCMDERR_E_FIRST OLECMDERR_E_FIRST
1142 #define MSOCMDERR_E_NOTSUPPORTED OLECMDERR_E_NOTSUPPORTED
1143 #define MSOCMDERR_E_DISABLED OLECMDERR_E_DISABLED
1144 #define MSOCMDERR_E_NOHELP OLECMDERR_E_NOHELP
1145 #define MSOCMDERR_E_CANCELED OLECMDERR_E_CANCELED
1146 #define MSOCMDERR_E_UNKNOWNGROUP OLECMDERR_E_UNKNOWNGROUP
1147 #define LPMSODOCUMENT LPOLEDOCUMENT
1148 #define LPMSODOCUMENTSITE LPOLEDOCUMENTSITE
1149 #define LPMSOVIEW LPOLEDOCUMENTVIEW
1150 #define LPENUMMSOVIEW LPENUMOLEDOCUMENTVIEWS
1151 #define LPMSOCOMMANDTARGET LPOLECOMMANDTARGET
1152 #define IID_IMsoDocument IID_IOleDocument
1153 #define IID_IMsoDocumentSite IID_IOleDocumentSite
1154 #define IID_IMsoView IID_IOleDocumentView
1155 #define IID_IEnumMsoView IID_IEnumOleDocumentViews
1156 #define IID_IMsoCommandTarget IID_IOleCommandTarget
1160 #endif /* __WIDL_DOCOBJ_H */