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
{
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
);
104 /*** IUnknown methods ***/
105 #define IOleDocument_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
106 #define IOleDocument_AddRef(p) (p)->lpVtbl->AddRef(p)
107 #define IOleDocument_Release(p) (p)->lpVtbl->Release(p)
108 /*** IOleDocument methods ***/
109 #define IOleDocument_CreateView(p,a,b,c,d) (p)->lpVtbl->CreateView(p,a,b,c,d)
110 #define IOleDocument_GetDocMiscStatus(p,a) (p)->lpVtbl->GetDocMiscStatus(p,a)
111 #define IOleDocument_EnumViews(p,a,b) (p)->lpVtbl->EnumViews(p,a,b)
116 #define IOleDocument_METHODS \
117 /*** IUnknown methods ***/ \
118 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
119 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
120 STDMETHOD_(ULONG,Release)(THIS) PURE; \
121 /*** IOleDocument methods ***/ \
122 STDMETHOD_(HRESULT,CreateView)(THIS_ IOleInPlaceSite* pIPSite, IStream* pstm, DWORD dwReserved, IOleDocumentView** ppView) PURE; \
123 STDMETHOD_(HRESULT,GetDocMiscStatus)(THIS_ DWORD* pdwStatus) PURE; \
124 STDMETHOD_(HRESULT,EnumViews)(THIS_ IEnumOleDocumentViews** ppEnum, IOleDocumentView** ppView) PURE;
126 HRESULT CALLBACK
IOleDocument_CreateView_Proxy(
128 IOleInPlaceSite
* pIPSite
,
131 IOleDocumentView
** ppView
);
132 void __RPC_STUB
IOleDocument_CreateView_Stub(
133 struct IRpcStubBuffer
* This
,
134 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
135 PRPC_MESSAGE pRpcMessage
,
136 DWORD
* pdwStubPhase
);
137 HRESULT CALLBACK
IOleDocument_GetDocMiscStatus_Proxy(
140 void __RPC_STUB
IOleDocument_GetDocMiscStatus_Stub(
141 struct IRpcStubBuffer
* This
,
142 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
143 PRPC_MESSAGE pRpcMessage
,
144 DWORD
* pdwStubPhase
);
145 HRESULT CALLBACK
IOleDocument_EnumViews_Proxy(
147 IEnumOleDocumentViews
** ppEnum
,
148 IOleDocumentView
** ppView
);
149 void __RPC_STUB
IOleDocument_EnumViews_Stub(
150 struct IRpcStubBuffer
* This
,
151 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
152 PRPC_MESSAGE pRpcMessage
,
153 DWORD
* pdwStubPhase
);
155 #endif /* __IOleDocument_INTERFACE_DEFINED__ */
157 #ifndef __IOleDocumentSite_FWD_DEFINED__
158 #define __IOleDocumentSite_FWD_DEFINED__
159 typedef struct IOleDocumentSite IOleDocumentSite
;
162 typedef IOleDocumentSite
*LPOLEDOCUMENTSITE
;
164 /*****************************************************************************
165 * IOleDocumentSite interface
167 #ifndef __IOleDocumentSite_INTERFACE_DEFINED__
168 #define __IOleDocumentSite_INTERFACE_DEFINED__
170 DEFINE_GUID(IID_IOleDocumentSite
, 0xb722bcc7, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
171 #if defined(__cplusplus) && !defined(CINTERFACE)
172 struct IOleDocumentSite
: public IUnknown
174 virtual HRESULT STDMETHODCALLTYPE
ActivateMe(
175 IOleDocumentView
* pViewToActivate
) = 0;
179 typedef struct IOleDocumentSiteVtbl IOleDocumentSiteVtbl
;
180 struct IOleDocumentSite
{
181 const IOleDocumentSiteVtbl
* lpVtbl
;
183 struct IOleDocumentSiteVtbl
{
186 /*** IUnknown methods ***/
187 HRESULT (STDMETHODCALLTYPE
*QueryInterface
)(
188 IOleDocumentSite
* This
,
192 ULONG (STDMETHODCALLTYPE
*AddRef
)(
193 IOleDocumentSite
* This
);
195 ULONG (STDMETHODCALLTYPE
*Release
)(
196 IOleDocumentSite
* This
);
198 /*** IOleDocumentSite methods ***/
199 HRESULT (STDMETHODCALLTYPE
*ActivateMe
)(
200 IOleDocumentSite
* This
,
201 IOleDocumentView
* pViewToActivate
);
207 /*** IUnknown methods ***/
208 #define IOleDocumentSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
209 #define IOleDocumentSite_AddRef(p) (p)->lpVtbl->AddRef(p)
210 #define IOleDocumentSite_Release(p) (p)->lpVtbl->Release(p)
211 /*** IOleDocumentSite methods ***/
212 #define IOleDocumentSite_ActivateMe(p,a) (p)->lpVtbl->ActivateMe(p,a)
217 #define IOleDocumentSite_METHODS \
218 /*** IUnknown methods ***/ \
219 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
220 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
221 STDMETHOD_(ULONG,Release)(THIS) PURE; \
222 /*** IOleDocumentSite methods ***/ \
223 STDMETHOD_(HRESULT,ActivateMe)(THIS_ IOleDocumentView* pViewToActivate) PURE;
225 HRESULT CALLBACK
IOleDocumentSite_ActivateMe_Proxy(
226 IOleDocumentSite
* This
,
227 IOleDocumentView
* pViewToActivate
);
228 void __RPC_STUB
IOleDocumentSite_ActivateMe_Stub(
229 struct IRpcStubBuffer
* This
,
230 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
231 PRPC_MESSAGE pRpcMessage
,
232 DWORD
* pdwStubPhase
);
234 #endif /* __IOleDocumentSite_INTERFACE_DEFINED__ */
236 typedef IOleDocumentView
*LPOLEDOCUMENTVIEW
;
238 /*****************************************************************************
239 * IOleDocumentView interface
241 #ifndef __IOleDocumentView_INTERFACE_DEFINED__
242 #define __IOleDocumentView_INTERFACE_DEFINED__
244 DEFINE_GUID(IID_IOleDocumentView
, 0xb722bcc6, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
245 #if defined(__cplusplus) && !defined(CINTERFACE)
246 struct IOleDocumentView
: public IUnknown
248 virtual HRESULT STDMETHODCALLTYPE
SetInPlaceSite(
249 IOleInPlaceSite
* pIPSite
) = 0;
251 virtual HRESULT STDMETHODCALLTYPE
GetInPlaceSite(
252 IOleInPlaceSite
** ppIPSite
) = 0;
254 virtual HRESULT STDMETHODCALLTYPE
GetDocument(
255 IUnknown
** ppunk
) = 0;
257 virtual HRESULT STDMETHODCALLTYPE
SetRect(
260 virtual HRESULT STDMETHODCALLTYPE
GetRect(
263 virtual HRESULT STDMETHODCALLTYPE
SetRectComplex(
267 LPRECT prcSizeBox
) = 0;
269 virtual HRESULT STDMETHODCALLTYPE
Show(
272 virtual HRESULT STDMETHODCALLTYPE
UIActivate(
273 BOOL fUIActivate
) = 0;
275 virtual HRESULT STDMETHODCALLTYPE
Open(
278 virtual HRESULT STDMETHODCALLTYPE
CloseView(
279 DWORD dwReserved
) = 0;
281 virtual HRESULT STDMETHODCALLTYPE
SaveViewState(
284 virtual HRESULT STDMETHODCALLTYPE
ApplyViewState(
287 virtual HRESULT STDMETHODCALLTYPE
Clone(
288 IOleInPlaceSite
* pIPSiteNew
,
289 IOleDocumentView
** ppViewNew
) = 0;
293 typedef struct IOleDocumentViewVtbl IOleDocumentViewVtbl
;
294 struct IOleDocumentView
{
295 const IOleDocumentViewVtbl
* lpVtbl
;
297 struct IOleDocumentViewVtbl
{
300 /*** IUnknown methods ***/
301 HRESULT (STDMETHODCALLTYPE
*QueryInterface
)(
302 IOleDocumentView
* This
,
306 ULONG (STDMETHODCALLTYPE
*AddRef
)(
307 IOleDocumentView
* This
);
309 ULONG (STDMETHODCALLTYPE
*Release
)(
310 IOleDocumentView
* This
);
312 /*** IOleDocumentView methods ***/
313 HRESULT (STDMETHODCALLTYPE
*SetInPlaceSite
)(
314 IOleDocumentView
* This
,
315 IOleInPlaceSite
* pIPSite
);
317 HRESULT (STDMETHODCALLTYPE
*GetInPlaceSite
)(
318 IOleDocumentView
* This
,
319 IOleInPlaceSite
** ppIPSite
);
321 HRESULT (STDMETHODCALLTYPE
*GetDocument
)(
322 IOleDocumentView
* This
,
325 HRESULT (STDMETHODCALLTYPE
*SetRect
)(
326 IOleDocumentView
* This
,
329 HRESULT (STDMETHODCALLTYPE
*GetRect
)(
330 IOleDocumentView
* This
,
333 HRESULT (STDMETHODCALLTYPE
*SetRectComplex
)(
334 IOleDocumentView
* This
,
340 HRESULT (STDMETHODCALLTYPE
*Show
)(
341 IOleDocumentView
* This
,
344 HRESULT (STDMETHODCALLTYPE
*UIActivate
)(
345 IOleDocumentView
* This
,
348 HRESULT (STDMETHODCALLTYPE
*Open
)(
349 IOleDocumentView
* This
);
351 HRESULT (STDMETHODCALLTYPE
*CloseView
)(
352 IOleDocumentView
* This
,
355 HRESULT (STDMETHODCALLTYPE
*SaveViewState
)(
356 IOleDocumentView
* This
,
359 HRESULT (STDMETHODCALLTYPE
*ApplyViewState
)(
360 IOleDocumentView
* This
,
363 HRESULT (STDMETHODCALLTYPE
*Clone
)(
364 IOleDocumentView
* This
,
365 IOleInPlaceSite
* pIPSiteNew
,
366 IOleDocumentView
** ppViewNew
);
372 /*** IUnknown methods ***/
373 #define IOleDocumentView_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
374 #define IOleDocumentView_AddRef(p) (p)->lpVtbl->AddRef(p)
375 #define IOleDocumentView_Release(p) (p)->lpVtbl->Release(p)
376 /*** IOleDocumentView methods ***/
377 #define IOleDocumentView_SetInPlaceSite(p,a) (p)->lpVtbl->SetInPlaceSite(p,a)
378 #define IOleDocumentView_GetInPlaceSite(p,a) (p)->lpVtbl->GetInPlaceSite(p,a)
379 #define IOleDocumentView_GetDocument(p,a) (p)->lpVtbl->GetDocument(p,a)
380 #define IOleDocumentView_SetRect(p,a) (p)->lpVtbl->SetRect(p,a)
381 #define IOleDocumentView_GetRect(p,a) (p)->lpVtbl->GetRect(p,a)
382 #define IOleDocumentView_SetRectComplex(p,a,b,c,d) (p)->lpVtbl->SetRectComplex(p,a,b,c,d)
383 #define IOleDocumentView_Show(p,a) (p)->lpVtbl->Show(p,a)
384 #define IOleDocumentView_UIActivate(p,a) (p)->lpVtbl->UIActivate(p,a)
385 #define IOleDocumentView_Open(p) (p)->lpVtbl->Open(p)
386 #define IOleDocumentView_CloseView(p,a) (p)->lpVtbl->CloseView(p,a)
387 #define IOleDocumentView_SaveViewState(p,a) (p)->lpVtbl->SaveViewState(p,a)
388 #define IOleDocumentView_ApplyViewState(p,a) (p)->lpVtbl->ApplyViewState(p,a)
389 #define IOleDocumentView_Clone(p,a,b) (p)->lpVtbl->Clone(p,a,b)
394 #define IOleDocumentView_METHODS \
395 /*** IUnknown methods ***/ \
396 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
397 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
398 STDMETHOD_(ULONG,Release)(THIS) PURE; \
399 /*** IOleDocumentView methods ***/ \
400 STDMETHOD_(HRESULT,SetInPlaceSite)(THIS_ IOleInPlaceSite* pIPSite) PURE; \
401 STDMETHOD_(HRESULT,GetInPlaceSite)(THIS_ IOleInPlaceSite** ppIPSite) PURE; \
402 STDMETHOD_(HRESULT,GetDocument)(THIS_ IUnknown** ppunk) PURE; \
403 STDMETHOD_(HRESULT,SetRect)(THIS_ LPRECT prcView) PURE; \
404 STDMETHOD_(HRESULT,GetRect)(THIS_ LPRECT prcView) PURE; \
405 STDMETHOD_(HRESULT,SetRectComplex)(THIS_ LPRECT prcView, LPRECT prcHScroll, LPRECT prcVScroll, LPRECT prcSizeBox) PURE; \
406 STDMETHOD_(HRESULT,Show)(THIS_ BOOL fShow) PURE; \
407 STDMETHOD_(HRESULT,UIActivate)(THIS_ BOOL fUIActivate) PURE; \
408 STDMETHOD_(HRESULT,Open)(THIS) PURE; \
409 STDMETHOD_(HRESULT,CloseView)(THIS_ DWORD dwReserved) PURE; \
410 STDMETHOD_(HRESULT,SaveViewState)(THIS_ LPSTREAM pstm) PURE; \
411 STDMETHOD_(HRESULT,ApplyViewState)(THIS_ LPSTREAM pstm) PURE; \
412 STDMETHOD_(HRESULT,Clone)(THIS_ IOleInPlaceSite* pIPSiteNew, IOleDocumentView** ppViewNew) PURE;
414 HRESULT CALLBACK
IOleDocumentView_SetInPlaceSite_Proxy(
415 IOleDocumentView
* This
,
416 IOleInPlaceSite
* pIPSite
);
417 void __RPC_STUB
IOleDocumentView_SetInPlaceSite_Stub(
418 struct IRpcStubBuffer
* This
,
419 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
420 PRPC_MESSAGE pRpcMessage
,
421 DWORD
* pdwStubPhase
);
422 HRESULT CALLBACK
IOleDocumentView_GetInPlaceSite_Proxy(
423 IOleDocumentView
* This
,
424 IOleInPlaceSite
** ppIPSite
);
425 void __RPC_STUB
IOleDocumentView_GetInPlaceSite_Stub(
426 struct IRpcStubBuffer
* This
,
427 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
428 PRPC_MESSAGE pRpcMessage
,
429 DWORD
* pdwStubPhase
);
430 HRESULT CALLBACK
IOleDocumentView_GetDocument_Proxy(
431 IOleDocumentView
* This
,
433 void __RPC_STUB
IOleDocumentView_GetDocument_Stub(
434 struct IRpcStubBuffer
* This
,
435 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
436 PRPC_MESSAGE pRpcMessage
,
437 DWORD
* pdwStubPhase
);
438 HRESULT CALLBACK
IOleDocumentView_SetRect_Proxy(
439 IOleDocumentView
* This
,
441 void __RPC_STUB
IOleDocumentView_SetRect_Stub(
442 struct IRpcStubBuffer
* This
,
443 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
444 PRPC_MESSAGE pRpcMessage
,
445 DWORD
* pdwStubPhase
);
446 HRESULT CALLBACK
IOleDocumentView_GetRect_Proxy(
447 IOleDocumentView
* This
,
449 void __RPC_STUB
IOleDocumentView_GetRect_Stub(
450 struct IRpcStubBuffer
* This
,
451 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
452 PRPC_MESSAGE pRpcMessage
,
453 DWORD
* pdwStubPhase
);
454 HRESULT CALLBACK
IOleDocumentView_SetRectComplex_Proxy(
455 IOleDocumentView
* This
,
460 void __RPC_STUB
IOleDocumentView_SetRectComplex_Stub(
461 struct IRpcStubBuffer
* This
,
462 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
463 PRPC_MESSAGE pRpcMessage
,
464 DWORD
* pdwStubPhase
);
465 HRESULT CALLBACK
IOleDocumentView_Show_Proxy(
466 IOleDocumentView
* This
,
468 void __RPC_STUB
IOleDocumentView_Show_Stub(
469 struct IRpcStubBuffer
* This
,
470 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
471 PRPC_MESSAGE pRpcMessage
,
472 DWORD
* pdwStubPhase
);
473 HRESULT CALLBACK
IOleDocumentView_UIActivate_Proxy(
474 IOleDocumentView
* This
,
476 void __RPC_STUB
IOleDocumentView_UIActivate_Stub(
477 struct IRpcStubBuffer
* This
,
478 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
479 PRPC_MESSAGE pRpcMessage
,
480 DWORD
* pdwStubPhase
);
481 HRESULT CALLBACK
IOleDocumentView_Open_Proxy(
482 IOleDocumentView
* This
);
483 void __RPC_STUB
IOleDocumentView_Open_Stub(
484 struct IRpcStubBuffer
* This
,
485 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
486 PRPC_MESSAGE pRpcMessage
,
487 DWORD
* pdwStubPhase
);
488 HRESULT CALLBACK
IOleDocumentView_CloseView_Proxy(
489 IOleDocumentView
* This
,
491 void __RPC_STUB
IOleDocumentView_CloseView_Stub(
492 struct IRpcStubBuffer
* This
,
493 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
494 PRPC_MESSAGE pRpcMessage
,
495 DWORD
* pdwStubPhase
);
496 HRESULT CALLBACK
IOleDocumentView_SaveViewState_Proxy(
497 IOleDocumentView
* This
,
499 void __RPC_STUB
IOleDocumentView_SaveViewState_Stub(
500 struct IRpcStubBuffer
* This
,
501 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
502 PRPC_MESSAGE pRpcMessage
,
503 DWORD
* pdwStubPhase
);
504 HRESULT CALLBACK
IOleDocumentView_ApplyViewState_Proxy(
505 IOleDocumentView
* This
,
507 void __RPC_STUB
IOleDocumentView_ApplyViewState_Stub(
508 struct IRpcStubBuffer
* This
,
509 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
510 PRPC_MESSAGE pRpcMessage
,
511 DWORD
* pdwStubPhase
);
512 HRESULT CALLBACK
IOleDocumentView_Clone_Proxy(
513 IOleDocumentView
* This
,
514 IOleInPlaceSite
* pIPSiteNew
,
515 IOleDocumentView
** ppViewNew
);
516 void __RPC_STUB
IOleDocumentView_Clone_Stub(
517 struct IRpcStubBuffer
* This
,
518 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
519 PRPC_MESSAGE pRpcMessage
,
520 DWORD
* pdwStubPhase
);
522 #endif /* __IOleDocumentView_INTERFACE_DEFINED__ */
524 typedef IEnumOleDocumentViews
*LPENUMOLEDOCUMENTVIEWS
;
526 /*****************************************************************************
527 * IEnumOleDocumentViews interface
529 #ifndef __IEnumOleDocumentViews_INTERFACE_DEFINED__
530 #define __IEnumOleDocumentViews_INTERFACE_DEFINED__
532 DEFINE_GUID(IID_IEnumOleDocumentViews
, 0xb722bcc8, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
533 #if defined(__cplusplus) && !defined(CINTERFACE)
534 struct IEnumOleDocumentViews
: public IUnknown
536 virtual HRESULT STDMETHODCALLTYPE
Next(
538 IOleDocumentView
** rgpView
,
539 ULONG
* pcFetched
) = 0;
541 virtual HRESULT STDMETHODCALLTYPE
Skip(
544 virtual HRESULT STDMETHODCALLTYPE
Reset(
547 virtual HRESULT STDMETHODCALLTYPE
Clone(
548 IEnumOleDocumentViews
** ppEnum
) = 0;
552 typedef struct IEnumOleDocumentViewsVtbl IEnumOleDocumentViewsVtbl
;
553 struct IEnumOleDocumentViews
{
554 const IEnumOleDocumentViewsVtbl
* lpVtbl
;
556 struct IEnumOleDocumentViewsVtbl
{
559 /*** IUnknown methods ***/
560 HRESULT (STDMETHODCALLTYPE
*QueryInterface
)(
561 IEnumOleDocumentViews
* This
,
565 ULONG (STDMETHODCALLTYPE
*AddRef
)(
566 IEnumOleDocumentViews
* This
);
568 ULONG (STDMETHODCALLTYPE
*Release
)(
569 IEnumOleDocumentViews
* This
);
571 /*** IEnumOleDocumentViews methods ***/
572 HRESULT (STDMETHODCALLTYPE
*Next
)(
573 IEnumOleDocumentViews
* This
,
575 IOleDocumentView
** rgpView
,
578 HRESULT (STDMETHODCALLTYPE
*Skip
)(
579 IEnumOleDocumentViews
* This
,
582 HRESULT (STDMETHODCALLTYPE
*Reset
)(
583 IEnumOleDocumentViews
* This
);
585 HRESULT (STDMETHODCALLTYPE
*Clone
)(
586 IEnumOleDocumentViews
* This
,
587 IEnumOleDocumentViews
** ppEnum
);
593 /*** IUnknown methods ***/
594 #define IEnumOleDocumentViews_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
595 #define IEnumOleDocumentViews_AddRef(p) (p)->lpVtbl->AddRef(p)
596 #define IEnumOleDocumentViews_Release(p) (p)->lpVtbl->Release(p)
597 /*** IEnumOleDocumentViews methods ***/
598 #define IEnumOleDocumentViews_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
599 #define IEnumOleDocumentViews_Skip(p,a) (p)->lpVtbl->Skip(p,a)
600 #define IEnumOleDocumentViews_Reset(p) (p)->lpVtbl->Reset(p)
601 #define IEnumOleDocumentViews_Clone(p,a) (p)->lpVtbl->Clone(p,a)
606 #define IEnumOleDocumentViews_METHODS \
607 /*** IUnknown methods ***/ \
608 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
609 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
610 STDMETHOD_(ULONG,Release)(THIS) PURE; \
611 /*** IEnumOleDocumentViews methods ***/ \
612 STDMETHOD_(HRESULT,Next)(THIS_ ULONG cViews, IOleDocumentView** rgpView, ULONG* pcFetched) PURE; \
613 STDMETHOD_(HRESULT,Skip)(THIS_ ULONG cViews) PURE; \
614 STDMETHOD_(HRESULT,Reset)(THIS) PURE; \
615 STDMETHOD_(HRESULT,Clone)(THIS_ IEnumOleDocumentViews** ppEnum) PURE;
617 HRESULT CALLBACK
IEnumOleDocumentViews_RemoteNext_Proxy(
618 IEnumOleDocumentViews
* This
,
620 IOleDocumentView
** rgpView
,
622 void __RPC_STUB
IEnumOleDocumentViews_RemoteNext_Stub(
623 struct IRpcStubBuffer
* This
,
624 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
625 PRPC_MESSAGE pRpcMessage
,
626 DWORD
* pdwStubPhase
);
627 HRESULT CALLBACK
IEnumOleDocumentViews_Next_Proxy(
628 IEnumOleDocumentViews
* This
,
630 IOleDocumentView
** rgpView
,
632 HRESULT __RPC_STUB
IEnumOleDocumentViews_Next_Stub(
633 IEnumOleDocumentViews
* This
,
635 IOleDocumentView
** rgpView
,
637 HRESULT CALLBACK
IEnumOleDocumentViews_Skip_Proxy(
638 IEnumOleDocumentViews
* This
,
640 void __RPC_STUB
IEnumOleDocumentViews_Skip_Stub(
641 struct IRpcStubBuffer
* This
,
642 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
643 PRPC_MESSAGE pRpcMessage
,
644 DWORD
* pdwStubPhase
);
645 HRESULT CALLBACK
IEnumOleDocumentViews_Reset_Proxy(
646 IEnumOleDocumentViews
* This
);
647 void __RPC_STUB
IEnumOleDocumentViews_Reset_Stub(
648 struct IRpcStubBuffer
* This
,
649 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
650 PRPC_MESSAGE pRpcMessage
,
651 DWORD
* pdwStubPhase
);
652 HRESULT CALLBACK
IEnumOleDocumentViews_Clone_Proxy(
653 IEnumOleDocumentViews
* This
,
654 IEnumOleDocumentViews
** ppEnum
);
655 void __RPC_STUB
IEnumOleDocumentViews_Clone_Stub(
656 struct IRpcStubBuffer
* This
,
657 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
658 PRPC_MESSAGE pRpcMessage
,
659 DWORD
* pdwStubPhase
);
661 #endif /* __IEnumOleDocumentViews_INTERFACE_DEFINED__ */
663 #ifndef __IOleCommandTarget_FWD_DEFINED__
664 #define __IOleCommandTarget_FWD_DEFINED__
665 typedef struct IOleCommandTarget IOleCommandTarget
;
668 typedef IOleCommandTarget
*LPOLECOMMANDTARGET
;
671 OLECMDF_SUPPORTED
= 0x1,
672 OLECMDF_ENABLED
= 0x2,
673 OLECMDF_LATCHED
= 0x4,
674 OLECMDF_NINCHED
= 0x8,
675 OLECMDF_INVISIBLE
= 0x10,
676 OLECMDF_DEFHIDEONCTXTMENU
= 0x20
679 typedef struct _tagOLECMD
{
684 typedef struct _tagOLECMDTEXT
{
692 OLECMDTEXTF_NONE
= 0,
693 OLECMDTEXTF_NAME
= 1,
694 OLECMDTEXTF_STATUS
= 2
698 OLECMDEXECOPT_DODEFAULT
= 0,
699 OLECMDEXECOPT_PROMPTUSER
= 1,
700 OLECMDEXECOPT_DONTPROMPTUSER
= 2,
701 OLECMDEXECOPT_SHOWHELP
= 3
704 typedef enum OLECMDID
{
709 OLECMDID_SAVECOPYAS
= 5,
711 OLECMDID_PRINTPREVIEW
= 7,
712 OLECMDID_PAGESETUP
= 8,
714 OLECMDID_PROPERTIES
= 10,
718 OLECMDID_PASTESPECIAL
= 14,
721 OLECMDID_SELECTALL
= 17,
722 OLECMDID_CLEARSELECTION
= 18,
724 OLECMDID_GETZOOMRANGE
= 20,
725 OLECMDID_UPDATECOMMANDS
= 21,
726 OLECMDID_REFRESH
= 22,
728 OLECMDID_HIDETOOLBARS
= 24,
729 OLECMDID_SETPROGRESSMAX
= 25,
730 OLECMDID_SETPROGRESSPOS
= 26,
731 OLECMDID_SETPROGRESSTEXT
= 27,
732 OLECMDID_SETTITLE
= 28,
733 OLECMDID_SETDOWNLOADSTATE
= 29,
734 OLECMDID_STOPDOWNLOAD
= 30,
735 OLECMDID_ONTOOLBARACTIVATED
= 31,
737 OLECMDID_DELETE
= 33,
738 OLECMDID_HTTPEQUIV
= 34,
739 OLECMDID_HTTPEQUIV_DONE
= 35,
740 OLECMDID_ENABLE_INTERACTION
= 36,
741 OLECMDID_ONUNLOAD
= 37,
742 OLECMDID_PROPERTYBAG2
= 38,
743 OLECMDID_PREREFRESH
= 39,
744 OLECMDID_SHOWSCRIPTERROR
= 40,
745 OLECMDID_SHOWMESSAGE
= 41,
746 OLECMDID_SHOWFIND
= 42,
747 OLECMDID_SHOWPAGESETUP
= 43,
748 OLECMDID_SHOWPRINT
= 44,
750 OLECMDID_ALLOWUILESSSAVEAS
= 46,
751 OLECMDID_DONTDOWNLOADCSS
= 47,
752 OLECMDID_UPDATEPAGESTATUS
= 48,
753 OLECMDID_PRINT2
= 49,
754 OLECMDID_PRINTPREVIEW2
= 50,
755 OLECMDID_SETPRINTTEMPLATE
= 51,
756 OLECMDID_GETPRINTTEMPLATE
= 52
759 /*****************************************************************************
760 * IOleCommandTarget interface
762 #ifndef __IOleCommandTarget_INTERFACE_DEFINED__
763 #define __IOleCommandTarget_INTERFACE_DEFINED__
765 DEFINE_GUID(IID_IOleCommandTarget
, 0xb722bccb, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
766 #if defined(__cplusplus) && !defined(CINTERFACE)
767 struct IOleCommandTarget
: public IUnknown
769 virtual HRESULT STDMETHODCALLTYPE
QueryStatus(
770 const GUID
* pguidCmdGroup
,
773 OLECMDTEXT
* pCmdText
) = 0;
775 virtual HRESULT STDMETHODCALLTYPE
Exec(
776 const GUID
* pguidCmdGroup
,
780 VARIANT
* pvaOut
) = 0;
784 typedef struct IOleCommandTargetVtbl IOleCommandTargetVtbl
;
785 struct IOleCommandTarget
{
786 const IOleCommandTargetVtbl
* lpVtbl
;
788 struct IOleCommandTargetVtbl
{
791 /*** IUnknown methods ***/
792 HRESULT (STDMETHODCALLTYPE
*QueryInterface
)(
793 IOleCommandTarget
* This
,
797 ULONG (STDMETHODCALLTYPE
*AddRef
)(
798 IOleCommandTarget
* This
);
800 ULONG (STDMETHODCALLTYPE
*Release
)(
801 IOleCommandTarget
* This
);
803 /*** IOleCommandTarget methods ***/
804 HRESULT (STDMETHODCALLTYPE
*QueryStatus
)(
805 IOleCommandTarget
* This
,
806 const GUID
* pguidCmdGroup
,
809 OLECMDTEXT
* pCmdText
);
811 HRESULT (STDMETHODCALLTYPE
*Exec
)(
812 IOleCommandTarget
* This
,
813 const GUID
* pguidCmdGroup
,
823 /*** IUnknown methods ***/
824 #define IOleCommandTarget_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
825 #define IOleCommandTarget_AddRef(p) (p)->lpVtbl->AddRef(p)
826 #define IOleCommandTarget_Release(p) (p)->lpVtbl->Release(p)
827 /*** IOleCommandTarget methods ***/
828 #define IOleCommandTarget_QueryStatus(p,a,b,c,d) (p)->lpVtbl->QueryStatus(p,a,b,c,d)
829 #define IOleCommandTarget_Exec(p,a,b,c,d,e) (p)->lpVtbl->Exec(p,a,b,c,d,e)
834 #define IOleCommandTarget_METHODS \
835 /*** IUnknown methods ***/ \
836 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
837 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
838 STDMETHOD_(ULONG,Release)(THIS) PURE; \
839 /*** IOleCommandTarget methods ***/ \
840 STDMETHOD_(HRESULT,QueryStatus)(THIS_ const GUID* pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT* pCmdText) PURE; \
841 STDMETHOD_(HRESULT,Exec)(THIS_ const GUID* pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT* pvaIn, VARIANT* pvaOut) PURE;
843 HRESULT CALLBACK
IOleCommandTarget_QueryStatus_Proxy(
844 IOleCommandTarget
* This
,
845 const GUID
* pguidCmdGroup
,
848 OLECMDTEXT
* pCmdText
);
849 void __RPC_STUB
IOleCommandTarget_QueryStatus_Stub(
850 struct IRpcStubBuffer
* This
,
851 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
852 PRPC_MESSAGE pRpcMessage
,
853 DWORD
* pdwStubPhase
);
854 HRESULT CALLBACK
IOleCommandTarget_Exec_Proxy(
855 IOleCommandTarget
* This
,
856 const GUID
* pguidCmdGroup
,
861 void __RPC_STUB
IOleCommandTarget_Exec_Stub(
862 struct IRpcStubBuffer
* This
,
863 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
864 PRPC_MESSAGE pRpcMessage
,
865 DWORD
* pdwStubPhase
);
867 #endif /* __IOleCommandTarget_INTERFACE_DEFINED__ */
869 #ifndef __IContinueCallback_FWD_DEFINED__
870 #define __IContinueCallback_FWD_DEFINED__
871 typedef struct IContinueCallback IContinueCallback
;
874 typedef IContinueCallback
*LPCONTINUECALLBACK
;
876 /*****************************************************************************
877 * IContinueCallback interface
879 #ifndef __IContinueCallback_INTERFACE_DEFINED__
880 #define __IContinueCallback_INTERFACE_DEFINED__
882 DEFINE_GUID(IID_IContinueCallback
, 0xb722bcca, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
883 #if defined(__cplusplus) && !defined(CINTERFACE)
884 struct IContinueCallback
: public IUnknown
886 virtual HRESULT STDMETHODCALLTYPE
FContinue(
889 virtual HRESULT STDMETHODCALLTYPE
FContinuePrinting(
892 WCHAR
* pwszPrintStatus
) = 0;
896 typedef struct IContinueCallbackVtbl IContinueCallbackVtbl
;
897 struct IContinueCallback
{
898 const IContinueCallbackVtbl
* lpVtbl
;
900 struct IContinueCallbackVtbl
{
903 /*** IUnknown methods ***/
904 HRESULT (STDMETHODCALLTYPE
*QueryInterface
)(
905 IContinueCallback
* This
,
909 ULONG (STDMETHODCALLTYPE
*AddRef
)(
910 IContinueCallback
* This
);
912 ULONG (STDMETHODCALLTYPE
*Release
)(
913 IContinueCallback
* This
);
915 /*** IContinueCallback methods ***/
916 HRESULT (STDMETHODCALLTYPE
*FContinue
)(
917 IContinueCallback
* This
);
919 HRESULT (STDMETHODCALLTYPE
*FContinuePrinting
)(
920 IContinueCallback
* This
,
923 WCHAR
* pwszPrintStatus
);
929 /*** IUnknown methods ***/
930 #define IContinueCallback_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
931 #define IContinueCallback_AddRef(p) (p)->lpVtbl->AddRef(p)
932 #define IContinueCallback_Release(p) (p)->lpVtbl->Release(p)
933 /*** IContinueCallback methods ***/
934 #define IContinueCallback_FContinue(p) (p)->lpVtbl->FContinue(p)
935 #define IContinueCallback_FContinuePrinting(p,a,b,c) (p)->lpVtbl->FContinuePrinting(p,a,b,c)
940 #define IContinueCallback_METHODS \
941 /*** IUnknown methods ***/ \
942 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
943 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
944 STDMETHOD_(ULONG,Release)(THIS) PURE; \
945 /*** IContinueCallback methods ***/ \
946 STDMETHOD_(HRESULT,FContinue)(THIS) PURE; \
947 STDMETHOD_(HRESULT,FContinuePrinting)(THIS_ LONG nCntPrinted, LONG nCurPage, WCHAR* pwszPrintStatus) PURE;
949 HRESULT CALLBACK
IContinueCallback_FContinue_Proxy(
950 IContinueCallback
* This
);
951 void __RPC_STUB
IContinueCallback_FContinue_Stub(
952 struct IRpcStubBuffer
* This
,
953 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
954 PRPC_MESSAGE pRpcMessage
,
955 DWORD
* pdwStubPhase
);
956 HRESULT CALLBACK
IContinueCallback_FContinuePrinting_Proxy(
957 IContinueCallback
* This
,
960 WCHAR
* pwszPrintStatus
);
961 void __RPC_STUB
IContinueCallback_FContinuePrinting_Stub(
962 struct IRpcStubBuffer
* This
,
963 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
964 PRPC_MESSAGE pRpcMessage
,
965 DWORD
* pdwStubPhase
);
967 #endif /* __IContinueCallback_INTERFACE_DEFINED__ */
969 #ifndef __IPrint_FWD_DEFINED__
970 #define __IPrint_FWD_DEFINED__
971 typedef struct IPrint IPrint
;
974 typedef IPrint
*LPPRINT
;
977 PRINTFLAG_MAYBOTHERUSER
= 1,
978 PRINTFLAG_PROMPTUSER
= 2,
979 PRINTFLAG_USERMAYCHANGEPRINTER
= 4,
980 PRINTFLAG_RECOMPOSETODEVICE
= 8,
981 PRINTFLAG_DONTACTUALLYPRINT
= 16,
982 PRINTFLAG_FORCEPROPERTIES
= 32,
983 PRINTFLAG_PRINTTOFILE
= 64
986 typedef struct tagPAGERANGE
{
991 typedef struct tagPAGESET
{
996 PAGERANGE rgPages
[1];
999 /*****************************************************************************
1002 #ifndef __IPrint_INTERFACE_DEFINED__
1003 #define __IPrint_INTERFACE_DEFINED__
1005 DEFINE_GUID(IID_IPrint
, 0xb722bcc9, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70);
1006 #if defined(__cplusplus) && !defined(CINTERFACE)
1007 struct IPrint
: public IUnknown
1009 virtual HRESULT STDMETHODCALLTYPE
SetInitialPageNum(
1010 LONG nFirstPage
) = 0;
1012 virtual HRESULT STDMETHODCALLTYPE
GetPageInfo(
1016 virtual HRESULT STDMETHODCALLTYPE
Print(
1018 DVTARGETDEVICE
** pptd
,
1019 PAGESET
** ppPageSet
,
1020 STGMEDIUM
* pstgmOptions
,
1021 IContinueCallback
* pcallback
,
1023 LONG
* pcPagesPrinted
,
1024 LONG
* pnLastPage
) = 0;
1028 typedef struct IPrintVtbl IPrintVtbl
;
1030 const IPrintVtbl
* lpVtbl
;
1035 /*** IUnknown methods ***/
1036 HRESULT (STDMETHODCALLTYPE
*QueryInterface
)(
1041 ULONG (STDMETHODCALLTYPE
*AddRef
)(
1044 ULONG (STDMETHODCALLTYPE
*Release
)(
1047 /*** IPrint methods ***/
1048 HRESULT (STDMETHODCALLTYPE
*SetInitialPageNum
)(
1052 HRESULT (STDMETHODCALLTYPE
*GetPageInfo
)(
1057 HRESULT (STDMETHODCALLTYPE
*Print
)(
1060 DVTARGETDEVICE
** pptd
,
1061 PAGESET
** ppPageSet
,
1062 STGMEDIUM
* pstgmOptions
,
1063 IContinueCallback
* pcallback
,
1065 LONG
* pcPagesPrinted
,
1072 /*** IUnknown methods ***/
1073 #define IPrint_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1074 #define IPrint_AddRef(p) (p)->lpVtbl->AddRef(p)
1075 #define IPrint_Release(p) (p)->lpVtbl->Release(p)
1076 /*** IPrint methods ***/
1077 #define IPrint_SetInitialPageNum(p,a) (p)->lpVtbl->SetInitialPageNum(p,a)
1078 #define IPrint_GetPageInfo(p,a,b) (p)->lpVtbl->GetPageInfo(p,a,b)
1079 #define IPrint_Print(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Print(p,a,b,c,d,e,f,g,h)
1084 #define IPrint_METHODS \
1085 /*** IUnknown methods ***/ \
1086 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
1087 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
1088 STDMETHOD_(ULONG,Release)(THIS) PURE; \
1089 /*** IPrint methods ***/ \
1090 STDMETHOD_(HRESULT,SetInitialPageNum)(THIS_ LONG nFirstPage) PURE; \
1091 STDMETHOD_(HRESULT,GetPageInfo)(THIS_ LONG* pnFirstPage, LONG* pcPages) PURE; \
1092 STDMETHOD_(HRESULT,Print)(THIS_ DWORD grfFlags, DVTARGETDEVICE** pptd, PAGESET** ppPageSet, STGMEDIUM* pstgmOptions, IContinueCallback* pcallback, LONG nFirstPage, LONG* pcPagesPrinted, LONG* pnLastPage) PURE;
1094 HRESULT CALLBACK
IPrint_SetInitialPageNum_Proxy(
1097 void __RPC_STUB
IPrint_SetInitialPageNum_Stub(
1098 struct IRpcStubBuffer
* This
,
1099 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
1100 PRPC_MESSAGE pRpcMessage
,
1101 DWORD
* pdwStubPhase
);
1102 HRESULT CALLBACK
IPrint_GetPageInfo_Proxy(
1106 void __RPC_STUB
IPrint_GetPageInfo_Stub(
1107 struct IRpcStubBuffer
* This
,
1108 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
1109 PRPC_MESSAGE pRpcMessage
,
1110 DWORD
* pdwStubPhase
);
1111 HRESULT CALLBACK
IPrint_RemotePrint_Proxy(
1114 DVTARGETDEVICE
** pptd
,
1115 PAGESET
** pppageset
,
1116 RemSTGMEDIUM
* pstgmOptions
,
1117 IContinueCallback
* pcallback
,
1119 LONG
* pcPagesPrinted
,
1121 void __RPC_STUB
IPrint_RemotePrint_Stub(
1122 struct IRpcStubBuffer
* This
,
1123 struct IRpcChannelBuffer
* pRpcChannelBuffer
,
1124 PRPC_MESSAGE pRpcMessage
,
1125 DWORD
* pdwStubPhase
);
1126 HRESULT CALLBACK
IPrint_Print_Proxy(
1129 DVTARGETDEVICE
** pptd
,
1130 PAGESET
** ppPageSet
,
1131 STGMEDIUM
* pstgmOptions
,
1132 IContinueCallback
* pcallback
,
1134 LONG
* pcPagesPrinted
,
1136 HRESULT __RPC_STUB
IPrint_Print_Stub(
1139 DVTARGETDEVICE
** pptd
,
1140 PAGESET
** pppageset
,
1141 RemSTGMEDIUM
* pstgmOptions
,
1142 IContinueCallback
* pcallback
,
1144 LONG
* pcPagesPrinted
,
1147 #endif /* __IPrint_INTERFACE_DEFINED__ */
1149 #define OLECMDERR_E_FIRST (OLE_E_LAST+1)
1150 #define OLECMDERR_E_NOTSUPPORTED (OLECMDERR_E_FIRST)
1151 #define OLECMDERR_E_DISABLED (OLECMDERR_E_FIRST+1)
1152 #define OLECMDERR_E_NOHELP (OLECMDERR_E_FIRST+2)
1153 #define OLECMDERR_E_CANCELED (OLECMDERR_E_FIRST+3)
1154 #define OLECMDERR_E_UNKNOWNGROUP (OLECMDERR_E_FIRST+4)
1155 #define MSOCMDERR_E_FIRST OLECMDERR_E_FIRST
1156 #define MSOCMDERR_E_NOTSUPPORTED OLECMDERR_E_NOTSUPPORTED
1157 #define MSOCMDERR_E_DISABLED OLECMDERR_E_DISABLED
1158 #define MSOCMDERR_E_NOHELP OLECMDERR_E_NOHELP
1159 #define MSOCMDERR_E_CANCELED OLECMDERR_E_CANCELED
1160 #define MSOCMDERR_E_UNKNOWNGROUP OLECMDERR_E_UNKNOWNGROUP
1161 #define LPMSODOCUMENT LPOLEDOCUMENT
1162 #define LPMSODOCUMENTSITE LPOLEDOCUMENTSITE
1163 #define LPMSOVIEW LPOLEDOCUMENTVIEW
1164 #define LPENUMMSOVIEW LPENUMOLEDOCUMENTVIEWS
1165 #define LPMSOCOMMANDTARGET LPOLECOMMANDTARGET
1166 #define IID_IMsoDocument IID_IOleDocument
1167 #define IID_IMsoDocumentSite IID_IOleDocumentSite
1168 #define IID_IMsoView IID_IOleDocumentView
1169 #define IID_IEnumMsoView IID_IEnumOleDocumentViews
1170 #define IID_IMsoCommandTarget IID_IOleCommandTarget
1174 #endif /* __WIDL_DOCOBJ_H */