1 /*** Autogenerated by WIDL 1.5.25 from include/docobj.idl - Do not edit ***/ 2 3 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 4 #define __REQUIRED_RPCNDR_H_VERSION__ 475 5 #endif 6 7 #include <rpc.h> 8 #include <rpcndr.h> 9 10 #ifndef COM_NO_WINDOWS_H 11 #include <windows.h> 12 #include <ole2.h> 13 #endif 14 15 #ifndef __docobj_h__ 16 #define __docobj_h__ 17 18 /* Forward declarations */ 19 20 #ifndef __IOleCommandTarget_FWD_DEFINED__ 21 #define __IOleCommandTarget_FWD_DEFINED__ 22 typedef interface IOleCommandTarget IOleCommandTarget; 23 #endif 24 25 /* Headers for imported files */ 26 27 #include <ocidl.h> 28 #include <objidl.h> 29 #include <oleidl.h> 30 #include <oaidl.h> 31 32 #ifdef __cplusplus 33 extern "C" { 34 #endif 35 36 #ifndef __IOleDocument_FWD_DEFINED__ 37 #define __IOleDocument_FWD_DEFINED__ 38 typedef struct IOleDocument IOleDocument; 39 #endif 40 41 #ifndef __IOleDocumentSite_FWD_DEFINED__ 42 #define __IOleDocumentSite_FWD_DEFINED__ 43 typedef struct IOleDocumentSite IOleDocumentSite; 44 #endif 45 46 #ifndef __IOleDocumentView_FWD_DEFINED__ 47 #define __IOleDocumentView_FWD_DEFINED__ 48 typedef struct IOleDocumentView IOleDocumentView; 49 #endif 50 51 #ifndef __IEnumOleDocumentViews_FWD_DEFINED__ 52 #define __IEnumOleDocumentViews_FWD_DEFINED__ 53 typedef struct IEnumOleDocumentViews IEnumOleDocumentViews; 54 #endif 55 56 #ifndef __IContinueCallback_FWD_DEFINED__ 57 #define __IContinueCallback_FWD_DEFINED__ 58 typedef struct IContinueCallback IContinueCallback; 59 #endif 60 61 #ifndef __IPrint_FWD_DEFINED__ 62 #define __IPrint_FWD_DEFINED__ 63 typedef struct IPrint IPrint; 64 #endif 65 66 #ifndef _LPOLEDOCUMENT_DEFINED 67 #define _LPOLEDOCUMENT_DEFINED 68 69 extern RPC_IF_HANDLE __MIDL_itf_docobj_0000_v0_0_c_ifspec; 70 extern RPC_IF_HANDLE __MIDL_itf_docobj_0000_v0_0_s_ifspec; 71 72 #ifndef __IOleDocument_INTERFACE_DEFINED__ 73 #define __IOleDocument_INTERFACE_DEFINED__ 74 typedef IOleDocument *LPOLEDOCUMENT; 75 typedef enum __MIDL_IOleDocument_0001 { 76 DOCMISC_CANCREATEMULTIPLEVIEWS = 1,DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2,DOCMISC_CANTOPENEDIT = 4,DOCMISC_NOFILESUPPORT = 8 77 } DOCMISC; 78 79 EXTERN_C const IID IID_IOleDocument; 80 #if defined(__cplusplus) && !defined(CINTERFACE) 81 struct IOleDocument : public IUnknown { 82 public: 83 virtual HRESULT WINAPI CreateView(IOleInPlaceSite *pIPSite,IStream *pstm,DWORD dwReserved,IOleDocumentView **ppView) = 0; 84 virtual HRESULT WINAPI GetDocMiscStatus(DWORD *pdwStatus) = 0; 85 virtual HRESULT WINAPI EnumViews(IEnumOleDocumentViews **ppEnum,IOleDocumentView **ppView) = 0; 86 }; 87 #else 88 typedef struct IOleDocumentVtbl { 89 BEGIN_INTERFACE 90 HRESULT (WINAPI *QueryInterface)(IOleDocument *This,REFIID riid,void **ppvObject); 91 ULONG (WINAPI *AddRef)(IOleDocument *This); 92 ULONG (WINAPI *Release)(IOleDocument *This); 93 HRESULT (WINAPI *CreateView)(IOleDocument *This,IOleInPlaceSite *pIPSite,IStream *pstm,DWORD dwReserved,IOleDocumentView **ppView); 94 HRESULT (WINAPI *GetDocMiscStatus)(IOleDocument *This,DWORD *pdwStatus); 95 HRESULT (WINAPI *EnumViews)(IOleDocument *This,IEnumOleDocumentViews **ppEnum,IOleDocumentView **ppView); 96 END_INTERFACE 97 } IOleDocumentVtbl; 98 struct IOleDocument { 99 CONST_VTBL struct IOleDocumentVtbl *lpVtbl; 100 }; 101 #ifdef COBJMACROS 102 #define IOleDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 103 #define IOleDocument_AddRef(This) (This)->lpVtbl->AddRef(This) 104 #define IOleDocument_Release(This) (This)->lpVtbl->Release(This) 105 #define IOleDocument_CreateView(This,pIPSite,pstm,dwReserved,ppView) (This)->lpVtbl->CreateView(This,pIPSite,pstm,dwReserved,ppView) 106 #define IOleDocument_GetDocMiscStatus(This,pdwStatus) (This)->lpVtbl->GetDocMiscStatus(This,pdwStatus) 107 #define IOleDocument_EnumViews(This,ppEnum,ppView) (This)->lpVtbl->EnumViews(This,ppEnum,ppView) 108 #endif 109 #endif 110 HRESULT WINAPI IOleDocument_CreateView_Proxy(IOleDocument *This,IOleInPlaceSite *pIPSite,IStream *pstm,DWORD dwReserved,IOleDocumentView **ppView); 111 void __RPC_STUB IOleDocument_CreateView_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 112 HRESULT WINAPI IOleDocument_GetDocMiscStatus_Proxy(IOleDocument *This,DWORD *pdwStatus); 113 void __RPC_STUB IOleDocument_GetDocMiscStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 114 HRESULT WINAPI IOleDocument_EnumViews_Proxy(IOleDocument *This,IEnumOleDocumentViews **ppEnum,IOleDocumentView **ppView); 115 void __RPC_STUB IOleDocument_EnumViews_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 116 #endif 117 #endif 118 119 #ifndef _LPOLEDOCUMENTSITE_DEFINED 120 #define _LPOLEDOCUMENTSITE_DEFINED 121 extern RPC_IF_HANDLE __MIDL_itf_docobj_0265_v0_0_c_ifspec; 122 extern RPC_IF_HANDLE __MIDL_itf_docobj_0265_v0_0_s_ifspec; 123 #ifndef __IOleDocumentSite_INTERFACE_DEFINED__ 124 #define __IOleDocumentSite_INTERFACE_DEFINED__ 125 typedef IOleDocumentSite *LPOLEDOCUMENTSITE; 126 EXTERN_C const IID IID_IOleDocumentSite; 127 #if defined(__cplusplus) && !defined(CINTERFACE) 128 struct IOleDocumentSite : public IUnknown { 129 public: 130 virtual HRESULT WINAPI ActivateMe(IOleDocumentView *pViewToActivate) = 0; 131 }; 132 #else 133 typedef struct IOleDocumentSiteVtbl { 134 BEGIN_INTERFACE 135 HRESULT (WINAPI *QueryInterface)(IOleDocumentSite *This,REFIID riid,void **ppvObject); 136 ULONG (WINAPI *AddRef)(IOleDocumentSite *This); 137 ULONG (WINAPI *Release)(IOleDocumentSite *This); 138 HRESULT (WINAPI *ActivateMe)(IOleDocumentSite *This,IOleDocumentView *pViewToActivate); 139 END_INTERFACE 140 } IOleDocumentSiteVtbl; 141 struct IOleDocumentSite { 142 CONST_VTBL struct IOleDocumentSiteVtbl *lpVtbl; 143 }; 144 #ifdef COBJMACROS 145 #define IOleDocumentSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 146 #define IOleDocumentSite_AddRef(This) (This)->lpVtbl->AddRef(This) 147 #define IOleDocumentSite_Release(This) (This)->lpVtbl->Release(This) 148 #define IOleDocumentSite_ActivateMe(This,pViewToActivate) (This)->lpVtbl->ActivateMe(This,pViewToActivate) 149 #endif 150 #endif 151 HRESULT WINAPI IOleDocumentSite_ActivateMe_Proxy(IOleDocumentSite *This,IOleDocumentView *pViewToActivate); 152 void __RPC_STUB IOleDocumentSite_ActivateMe_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 153 #endif 154 #endif 155 156 #ifndef _LPOLEDOCUMENTVIEW_DEFINED 157 #define _LPOLEDOCUMENTVIEW_DEFINED 158 extern RPC_IF_HANDLE __MIDL_itf_docobj_0266_v0_0_c_ifspec; 159 extern RPC_IF_HANDLE __MIDL_itf_docobj_0266_v0_0_s_ifspec; 160 161 #ifndef __IOleDocumentView_INTERFACE_DEFINED__ 162 #define __IOleDocumentView_INTERFACE_DEFINED__ 163 typedef IOleDocumentView *LPOLEDOCUMENTVIEW; 164 EXTERN_C const IID IID_IOleDocumentView; 165 #if defined(__cplusplus) && !defined(CINTERFACE) 166 struct IOleDocumentView : public IUnknown { 167 public: 168 virtual HRESULT WINAPI SetInPlaceSite(IOleInPlaceSite *pIPSite) = 0; 169 virtual HRESULT WINAPI GetInPlaceSite(IOleInPlaceSite **ppIPSite) = 0; 170 virtual HRESULT WINAPI GetDocument(IUnknown **ppunk) = 0; 171 virtual HRESULT WINAPI SetRect(LPRECT prcView) = 0; 172 virtual HRESULT WINAPI GetRect(LPRECT prcView) = 0; 173 virtual HRESULT WINAPI SetRectComplex(LPRECT prcView,LPRECT prcHScroll,LPRECT prcVScroll,LPRECT prcSizeBox) = 0; 174 virtual HRESULT WINAPI Show(WINBOOL fShow) = 0; 175 virtual HRESULT WINAPI UIActivate(WINBOOL fUIActivate) = 0; 176 virtual HRESULT WINAPI Open(void) = 0; 177 virtual HRESULT WINAPI CloseView(DWORD dwReserved) = 0; 178 virtual HRESULT WINAPI SaveViewState(LPSTREAM pstm) = 0; 179 virtual HRESULT WINAPI ApplyViewState(LPSTREAM pstm) = 0; 180 virtual HRESULT WINAPI Clone(IOleInPlaceSite *pIPSiteNew,IOleDocumentView **ppViewNew) = 0; 181 }; 182 #else 183 typedef struct IOleDocumentViewVtbl { 184 BEGIN_INTERFACE 185 HRESULT (WINAPI *QueryInterface)(IOleDocumentView *This,REFIID riid,void **ppvObject); 186 ULONG (WINAPI *AddRef)(IOleDocumentView *This); 187 ULONG (WINAPI *Release)(IOleDocumentView *This); 188 HRESULT (WINAPI *SetInPlaceSite)(IOleDocumentView *This,IOleInPlaceSite *pIPSite); 189 HRESULT (WINAPI *GetInPlaceSite)(IOleDocumentView *This,IOleInPlaceSite **ppIPSite); 190 HRESULT (WINAPI *GetDocument)(IOleDocumentView *This,IUnknown **ppunk); 191 HRESULT (WINAPI *SetRect)(IOleDocumentView *This,LPRECT prcView); 192 HRESULT (WINAPI *GetRect)(IOleDocumentView *This,LPRECT prcView); 193 HRESULT (WINAPI *SetRectComplex)(IOleDocumentView *This,LPRECT prcView,LPRECT prcHScroll,LPRECT prcVScroll,LPRECT prcSizeBox); 194 HRESULT (WINAPI *Show)(IOleDocumentView *This,WINBOOL fShow); 195 HRESULT (WINAPI *UIActivate)(IOleDocumentView *This,WINBOOL fUIActivate); 196 HRESULT (WINAPI *Open)(IOleDocumentView *This); 197 HRESULT (WINAPI *CloseView)(IOleDocumentView *This,DWORD dwReserved); 198 HRESULT (WINAPI *SaveViewState)(IOleDocumentView *This,LPSTREAM pstm); 199 HRESULT (WINAPI *ApplyViewState)(IOleDocumentView *This,LPSTREAM pstm); 200 HRESULT (WINAPI *Clone)(IOleDocumentView *This,IOleInPlaceSite *pIPSiteNew,IOleDocumentView **ppViewNew); 201 END_INTERFACE 202 } IOleDocumentViewVtbl; 203 struct IOleDocumentView { 204 CONST_VTBL struct IOleDocumentViewVtbl *lpVtbl; 205 }; 206 #ifdef COBJMACROS 207 #define IOleDocumentView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 208 #define IOleDocumentView_AddRef(This) (This)->lpVtbl->AddRef(This) 209 #define IOleDocumentView_Release(This) (This)->lpVtbl->Release(This) 210 #define IOleDocumentView_SetInPlaceSite(This,pIPSite) (This)->lpVtbl->SetInPlaceSite(This,pIPSite) 211 #define IOleDocumentView_GetInPlaceSite(This,ppIPSite) (This)->lpVtbl->GetInPlaceSite(This,ppIPSite) 212 #define IOleDocumentView_GetDocument(This,ppunk) (This)->lpVtbl->GetDocument(This,ppunk) 213 #define IOleDocumentView_SetRect(This,prcView) (This)->lpVtbl->SetRect(This,prcView) 214 #define IOleDocumentView_GetRect(This,prcView) (This)->lpVtbl->GetRect(This,prcView) 215 #define IOleDocumentView_SetRectComplex(This,prcView,prcHScroll,prcVScroll,prcSizeBox) (This)->lpVtbl->SetRectComplex(This,prcView,prcHScroll,prcVScroll,prcSizeBox) 216 #define IOleDocumentView_Show(This,fShow) (This)->lpVtbl->Show(This,fShow) 217 #define IOleDocumentView_UIActivate(This,fUIActivate) (This)->lpVtbl->UIActivate(This,fUIActivate) 218 #define IOleDocumentView_Open(This) (This)->lpVtbl->Open(This) 219 #define IOleDocumentView_CloseView(This,dwReserved) (This)->lpVtbl->CloseView(This,dwReserved) 220 #define IOleDocumentView_SaveViewState(This,pstm) (This)->lpVtbl->SaveViewState(This,pstm) 221 #define IOleDocumentView_ApplyViewState(This,pstm) (This)->lpVtbl->ApplyViewState(This,pstm) 222 #define IOleDocumentView_Clone(This,pIPSiteNew,ppViewNew) (This)->lpVtbl->Clone(This,pIPSiteNew,ppViewNew) 223 #endif 224 #endif 225 HRESULT WINAPI IOleDocumentView_SetInPlaceSite_Proxy(IOleDocumentView *This,IOleInPlaceSite *pIPSite); 226 void __RPC_STUB IOleDocumentView_SetInPlaceSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 227 HRESULT WINAPI IOleDocumentView_GetInPlaceSite_Proxy(IOleDocumentView *This,IOleInPlaceSite **ppIPSite); 228 void __RPC_STUB IOleDocumentView_GetInPlaceSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 229 HRESULT WINAPI IOleDocumentView_GetDocument_Proxy(IOleDocumentView *This,IUnknown **ppunk); 230 void __RPC_STUB IOleDocumentView_GetDocument_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 231 HRESULT WINAPI IOleDocumentView_SetRect_Proxy(IOleDocumentView *This,LPRECT prcView); 232 void __RPC_STUB IOleDocumentView_SetRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 233 HRESULT WINAPI IOleDocumentView_GetRect_Proxy(IOleDocumentView *This,LPRECT prcView); 234 void __RPC_STUB IOleDocumentView_GetRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 235 HRESULT WINAPI IOleDocumentView_SetRectComplex_Proxy(IOleDocumentView *This,LPRECT prcView,LPRECT prcHScroll,LPRECT prcVScroll,LPRECT prcSizeBox); 236 void __RPC_STUB IOleDocumentView_SetRectComplex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 237 HRESULT WINAPI IOleDocumentView_Show_Proxy(IOleDocumentView *This,WINBOOL fShow); 238 void __RPC_STUB IOleDocumentView_Show_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 239 HRESULT WINAPI IOleDocumentView_UIActivate_Proxy(IOleDocumentView *This,WINBOOL fUIActivate); 240 void __RPC_STUB IOleDocumentView_UIActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 241 HRESULT WINAPI IOleDocumentView_Open_Proxy(IOleDocumentView *This); 242 void __RPC_STUB IOleDocumentView_Open_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 243 HRESULT WINAPI IOleDocumentView_CloseView_Proxy(IOleDocumentView *This,DWORD dwReserved); 244 void __RPC_STUB IOleDocumentView_CloseView_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 245 HRESULT WINAPI IOleDocumentView_SaveViewState_Proxy(IOleDocumentView *This,LPSTREAM pstm); 246 void __RPC_STUB IOleDocumentView_SaveViewState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 247 HRESULT WINAPI IOleDocumentView_ApplyViewState_Proxy(IOleDocumentView *This,LPSTREAM pstm); 248 void __RPC_STUB IOleDocumentView_ApplyViewState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 249 HRESULT WINAPI IOleDocumentView_Clone_Proxy(IOleDocumentView *This,IOleInPlaceSite *pIPSiteNew,IOleDocumentView **ppViewNew); 250 void __RPC_STUB IOleDocumentView_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 251 #endif 252 #endif 253 254 #ifndef _LPENUMOLEDOCUMENTVIEWS_DEFINED 255 #define _LPENUMOLEDOCUMENTVIEWS_DEFINED 256 extern RPC_IF_HANDLE __MIDL_itf_docobj_0267_v0_0_c_ifspec; 257 extern RPC_IF_HANDLE __MIDL_itf_docobj_0267_v0_0_s_ifspec; 258 #ifndef __IEnumOleDocumentViews_INTERFACE_DEFINED__ 259 #define __IEnumOleDocumentViews_INTERFACE_DEFINED__ 260 typedef IEnumOleDocumentViews *LPENUMOLEDOCUMENTVIEWS; 261 EXTERN_C const IID IID_IEnumOleDocumentViews; 262 #if defined(__cplusplus) && !defined(CINTERFACE) 263 struct IEnumOleDocumentViews : public IUnknown { 264 public: 265 virtual HRESULT WINAPI Next(ULONG cViews,IOleDocumentView **rgpView,ULONG *pcFetched) = 0; 266 virtual HRESULT WINAPI Skip(ULONG cViews) = 0; 267 virtual HRESULT WINAPI Reset(void) = 0; 268 virtual HRESULT WINAPI Clone(IEnumOleDocumentViews **ppEnum) = 0; 269 }; 270 #else 271 typedef struct IEnumOleDocumentViewsVtbl { 272 BEGIN_INTERFACE 273 HRESULT (WINAPI *QueryInterface)(IEnumOleDocumentViews *This,REFIID riid,void **ppvObject); 274 ULONG (WINAPI *AddRef)(IEnumOleDocumentViews *This); 275 ULONG (WINAPI *Release)(IEnumOleDocumentViews *This); 276 HRESULT (WINAPI *Next)(IEnumOleDocumentViews *This,ULONG cViews,IOleDocumentView **rgpView,ULONG *pcFetched); 277 HRESULT (WINAPI *Skip)(IEnumOleDocumentViews *This,ULONG cViews); 278 HRESULT (WINAPI *Reset)(IEnumOleDocumentViews *This); 279 HRESULT (WINAPI *Clone)(IEnumOleDocumentViews *This,IEnumOleDocumentViews **ppEnum); 280 END_INTERFACE 281 } IEnumOleDocumentViewsVtbl; 282 struct IEnumOleDocumentViews { 283 CONST_VTBL struct IEnumOleDocumentViewsVtbl *lpVtbl; 284 }; 285 #ifdef COBJMACROS 286 #define IEnumOleDocumentViews_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 287 #define IEnumOleDocumentViews_AddRef(This) (This)->lpVtbl->AddRef(This) 288 #define IEnumOleDocumentViews_Release(This) (This)->lpVtbl->Release(This) 289 #define IEnumOleDocumentViews_Next(This,cViews,rgpView,pcFetched) (This)->lpVtbl->Next(This,cViews,rgpView,pcFetched) 290 #define IEnumOleDocumentViews_Skip(This,cViews) (This)->lpVtbl->Skip(This,cViews) 291 #define IEnumOleDocumentViews_Reset(This) (This)->lpVtbl->Reset(This) 292 #define IEnumOleDocumentViews_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) 293 #endif 294 #endif 295 HRESULT WINAPI IEnumOleDocumentViews_RemoteNext_Proxy(IEnumOleDocumentViews *This,ULONG cViews,IOleDocumentView **rgpView,ULONG *pcFetched); 296 void __RPC_STUB IEnumOleDocumentViews_RemoteNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 297 HRESULT WINAPI IEnumOleDocumentViews_Skip_Proxy(IEnumOleDocumentViews *This,ULONG cViews); 298 void __RPC_STUB IEnumOleDocumentViews_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 299 HRESULT WINAPI IEnumOleDocumentViews_Reset_Proxy(IEnumOleDocumentViews *This); 300 void __RPC_STUB IEnumOleDocumentViews_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 301 HRESULT WINAPI IEnumOleDocumentViews_Clone_Proxy(IEnumOleDocumentViews *This,IEnumOleDocumentViews **ppEnum); 302 void __RPC_STUB IEnumOleDocumentViews_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 303 #endif 304 #endif 305 306 #ifndef _LPCONTINUECALLBACK_DEFINED 307 #define _LPCONTINUECALLBACK_DEFINED 308 extern RPC_IF_HANDLE __MIDL_itf_docobj_0268_v0_0_c_ifspec; 309 extern RPC_IF_HANDLE __MIDL_itf_docobj_0268_v0_0_s_ifspec; 310 #ifndef __IContinueCallback_INTERFACE_DEFINED__ 311 #define __IContinueCallback_INTERFACE_DEFINED__ 312 typedef IContinueCallback *LPCONTINUECALLBACK; 313 EXTERN_C const IID IID_IContinueCallback; 314 #if defined(__cplusplus) && !defined(CINTERFACE) 315 struct IContinueCallback : public IUnknown { 316 public: 317 virtual HRESULT WINAPI FContinue(void) = 0; 318 virtual HRESULT WINAPI FContinuePrinting(LONG nCntPrinted,LONG nCurPage,wchar_t *pwszPrintStatus) = 0; 319 }; 320 #else 321 typedef struct IContinueCallbackVtbl { 322 BEGIN_INTERFACE 323 HRESULT (WINAPI *QueryInterface)(IContinueCallback *This,REFIID riid,void **ppvObject); 324 ULONG (WINAPI *AddRef)(IContinueCallback *This); 325 ULONG (WINAPI *Release)(IContinueCallback *This); 326 HRESULT (WINAPI *FContinue)(IContinueCallback *This); 327 HRESULT (WINAPI *FContinuePrinting)(IContinueCallback *This,LONG nCntPrinted,LONG nCurPage,wchar_t *pwszPrintStatus); 328 END_INTERFACE 329 } IContinueCallbackVtbl; 330 struct IContinueCallback { 331 CONST_VTBL struct IContinueCallbackVtbl *lpVtbl; 332 }; 333 #ifdef COBJMACROS 334 #define IContinueCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 335 #define IContinueCallback_AddRef(This) (This)->lpVtbl->AddRef(This) 336 #define IContinueCallback_Release(This) (This)->lpVtbl->Release(This) 337 #define IContinueCallback_FContinue(This) (This)->lpVtbl->FContinue(This) 338 #define IContinueCallback_FContinuePrinting(This,nCntPrinted,nCurPage,pwszPrintStatus) (This)->lpVtbl->FContinuePrinting(This,nCntPrinted,nCurPage,pwszPrintStatus) 339 #endif 340 #endif 341 HRESULT WINAPI IContinueCallback_FContinue_Proxy(IContinueCallback *This); 342 void __RPC_STUB IContinueCallback_FContinue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 343 HRESULT WINAPI IContinueCallback_FContinuePrinting_Proxy(IContinueCallback *This,LONG nCntPrinted,LONG nCurPage,wchar_t *pwszPrintStatus); 344 void __RPC_STUB IContinueCallback_FContinuePrinting_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 345 #endif 346 #endif 347 348 #ifndef _LPPRINT_DEFINED 349 #define _LPPRINT_DEFINED 350 extern RPC_IF_HANDLE __MIDL_itf_docobj_0269_v0_0_c_ifspec; 351 extern RPC_IF_HANDLE __MIDL_itf_docobj_0269_v0_0_s_ifspec; 352 #ifndef __IPrint_INTERFACE_DEFINED__ 353 #define __IPrint_INTERFACE_DEFINED__ 354 typedef IPrint *LPPRINT; 355 typedef enum __MIDL_IPrint_0001 { 356 PRINTFLAG_MAYBOTHERUSER = 1,PRINTFLAG_PROMPTUSER = 2,PRINTFLAG_USERMAYCHANGEPRINTER = 4,PRINTFLAG_RECOMPOSETODEVICE = 8, 357 PRINTFLAG_DONTACTUALLYPRINT = 16,PRINTFLAG_FORCEPROPERTIES = 32,PRINTFLAG_PRINTTOFILE = 64 358 } PRINTFLAG; 359 typedef struct tagPAGERANGE { 360 LONG nFromPage; 361 LONG nToPage; 362 } PAGERANGE; 363 364 typedef struct tagPAGESET { 365 ULONG cbStruct; 366 WINBOOL fOddPages; 367 WINBOOL fEvenPages; 368 ULONG cPageRange; 369 PAGERANGE rgPages[1 ]; 370 } PAGESET; 371 #define PAGESET_TOLASTPAGE ((WORD)(-1L)) 372 373 EXTERN_C const IID IID_IPrint; 374 #if defined(__cplusplus) && !defined(CINTERFACE) 375 struct IPrint : public IUnknown { 376 public: 377 virtual HRESULT WINAPI SetInitialPageNum(LONG nFirstPage) = 0; 378 virtual HRESULT WINAPI GetPageInfo(LONG *pnFirstPage,LONG *pcPages) = 0; 379 virtual HRESULT WINAPI Print(DWORD grfFlags,DVTARGETDEVICE **pptd,PAGESET **ppPageSet,STGMEDIUM *pstgmOptions,IContinueCallback *pcallback,LONG nFirstPage,LONG *pcPagesPrinted,LONG *pnLastPage) = 0; 380 }; 381 #else 382 typedef struct IPrintVtbl { 383 BEGIN_INTERFACE 384 HRESULT (WINAPI *QueryInterface)(IPrint *This,REFIID riid,void **ppvObject); 385 ULONG (WINAPI *AddRef)(IPrint *This); 386 ULONG (WINAPI *Release)(IPrint *This); 387 HRESULT (WINAPI *SetInitialPageNum)(IPrint *This,LONG nFirstPage); 388 HRESULT (WINAPI *GetPageInfo)(IPrint *This,LONG *pnFirstPage,LONG *pcPages); 389 HRESULT (WINAPI *Print)(IPrint *This,DWORD grfFlags,DVTARGETDEVICE **pptd,PAGESET **ppPageSet,STGMEDIUM *pstgmOptions,IContinueCallback *pcallback,LONG nFirstPage,LONG *pcPagesPrinted,LONG *pnLastPage); 390 END_INTERFACE 391 } IPrintVtbl; 392 struct IPrint { 393 CONST_VTBL struct IPrintVtbl *lpVtbl; 394 }; 395 #ifdef COBJMACROS 396 #define IPrint_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 397 #define IPrint_AddRef(This) (This)->lpVtbl->AddRef(This) 398 #define IPrint_Release(This) (This)->lpVtbl->Release(This) 399 #define IPrint_SetInitialPageNum(This,nFirstPage) (This)->lpVtbl->SetInitialPageNum(This,nFirstPage) 400 #define IPrint_GetPageInfo(This,pnFirstPage,pcPages) (This)->lpVtbl->GetPageInfo(This,pnFirstPage,pcPages) 401 #define IPrint_Print(This,grfFlags,pptd,ppPageSet,pstgmOptions,pcallback,nFirstPage,pcPagesPrinted,pnLastPage) (This)->lpVtbl->Print(This,grfFlags,pptd,ppPageSet,pstgmOptions,pcallback,nFirstPage,pcPagesPrinted,pnLastPage) 402 #endif 403 #endif 404 HRESULT WINAPI IPrint_SetInitialPageNum_Proxy(IPrint *This,LONG nFirstPage); 405 void __RPC_STUB IPrint_SetInitialPageNum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 406 HRESULT WINAPI IPrint_GetPageInfo_Proxy(IPrint *This,LONG *pnFirstPage,LONG *pcPages); 407 void __RPC_STUB IPrint_GetPageInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 408 HRESULT WINAPI IPrint_RemotePrint_Proxy(IPrint *This,DWORD grfFlags,DVTARGETDEVICE **pptd,PAGESET **pppageset,RemSTGMEDIUM *pstgmOptions,IContinueCallback *pcallback,LONG nFirstPage,LONG *pcPagesPrinted,LONG *pnLastPage); 409 void __RPC_STUB IPrint_RemotePrint_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 410 #endif 411 #endif 412 #ifndef _LPOLECOMMANDTARGET_DEFINED 413 #define _LPOLECOMMANDTARGET_DEFINED 414 /***************************************************************************** 415 * IOleCommandTarget interface 416 */ 417 #ifndef __IOleCommandTarget_INTERFACE_DEFINED__ 418 #define __IOleCommandTarget_INTERFACE_DEFINED__ 419 420 typedef IOleCommandTarget *LPOLECOMMANDTARGET; 421 typedef enum OLECMDF { 422 OLECMDF_SUPPORTED = 0x1, 423 OLECMDF_ENABLED = 0x2, 424 OLECMDF_LATCHED = 0x4, 425 OLECMDF_NINCHED = 0x8, 426 OLECMDF_INVISIBLE = 0x10, 427 OLECMDF_DEFHIDEONCTXTMENU = 0x20 428 } OLECMDF; 429 typedef struct _tagOLECMD { 430 ULONG cmdID; 431 DWORD cmdf; 432 } OLECMD; 433 typedef struct _tagOLECMDTEXT { 434 DWORD cmdtextf; 435 ULONG cwActual; 436 ULONG cwBuf; 437 wchar_t rgwz[1]; 438 } OLECMDTEXT; 439 typedef enum OLECMDTEXTF { 440 OLECMDTEXTF_NONE = 0, 441 OLECMDTEXTF_NAME = 1, 442 OLECMDTEXTF_STATUS = 2 443 } OLECMDTEXTF; 444 typedef enum OLECMDEXECOPT { 445 OLECMDEXECOPT_DODEFAULT = 0, 446 OLECMDEXECOPT_PROMPTUSER = 1, 447 OLECMDEXECOPT_DONTPROMPTUSER = 2, 448 OLECMDEXECOPT_SHOWHELP = 3 449 } OLECMDEXECOPT; 450 typedef enum OLECMDID { 451 OLECMDID_OPEN = 1, 452 OLECMDID_NEW = 2, 453 OLECMDID_SAVE = 3, 454 OLECMDID_SAVEAS = 4, 455 OLECMDID_SAVECOPYAS = 5, 456 OLECMDID_PRINT = 6, 457 OLECMDID_PRINTPREVIEW = 7, 458 OLECMDID_PAGESETUP = 8, 459 OLECMDID_SPELL = 9, 460 OLECMDID_PROPERTIES = 10, 461 OLECMDID_CUT = 11, 462 OLECMDID_COPY = 12, 463 OLECMDID_PASTE = 13, 464 OLECMDID_PASTESPECIAL = 14, 465 OLECMDID_UNDO = 15, 466 OLECMDID_REDO = 16, 467 OLECMDID_SELECTALL = 17, 468 OLECMDID_CLEARSELECTION = 18, 469 OLECMDID_ZOOM = 19, 470 OLECMDID_GETZOOMRANGE = 20, 471 OLECMDID_UPDATECOMMANDS = 21, 472 OLECMDID_REFRESH = 22, 473 OLECMDID_STOP = 23, 474 OLECMDID_HIDETOOLBARS = 24, 475 OLECMDID_SETPROGRESSMAX = 25, 476 OLECMDID_SETPROGRESSPOS = 26, 477 OLECMDID_SETPROGRESSTEXT = 27, 478 OLECMDID_SETTITLE = 28, 479 OLECMDID_SETDOWNLOADSTATE = 29, 480 OLECMDID_STOPDOWNLOAD = 30, 481 OLECMDID_ONTOOLBARACTIVATED = 31, 482 OLECMDID_FIND = 32, 483 OLECMDID_DELETE = 33, 484 OLECMDID_HTTPEQUIV = 34, 485 OLECMDID_HTTPEQUIV_DONE = 35, 486 OLECMDID_ENABLE_INTERACTION = 36, 487 OLECMDID_ONUNLOAD = 37, 488 OLECMDID_PROPERTYBAG2 = 38, 489 OLECMDID_PREREFRESH = 39, 490 OLECMDID_SHOWSCRIPTERROR = 40, 491 OLECMDID_SHOWMESSAGE = 41, 492 OLECMDID_SHOWFIND = 42, 493 OLECMDID_SHOWPAGESETUP = 43, 494 OLECMDID_SHOWPRINT = 44, 495 OLECMDID_CLOSE = 45, 496 OLECMDID_ALLOWUILESSSAVEAS = 46, 497 OLECMDID_DONTDOWNLOADCSS = 47, 498 OLECMDID_UPDATEPAGESTATUS = 48, 499 OLECMDID_PRINT2 = 49, 500 OLECMDID_PRINTPREVIEW2 = 50, 501 OLECMDID_SETPRINTTEMPLATE = 51, 502 OLECMDID_GETPRINTTEMPLATE = 52, 503 OLECMDID_PAGEACTIONBLOCKED = 55, 504 OLECMDID_PAGEACTIONUIQUERY = 56, 505 OLECMDID_FOCUSVIEWCONTROLS = 57, 506 OLECMDID_FOCUSVIEWCONTROLSQUERY = 58, 507 OLECMDID_SHOWPAGEACTIONMENU = 59, 508 OLECMDID_ADDTRAVELENTRY = 60, 509 OLECMDID_UPDATETRAVELENTRY = 61, 510 OLECMDID_UPDATEBACKFORWARDSTATE = 62, 511 OLECMDID_OPTICAL_ZOOM = 63, 512 OLECMDID_OPTICAL_GETZOOMRANGE = 64, 513 OLECMDID_WINDOWSTATECHANGED = 65, 514 OLECMDID_ACTIVEXINSTALLSCOPE = 66, 515 OLECMDID_UPDATETRAVELENTRY_DATARECOVERY = 67 516 } OLECMDID; 517 #define OLECMDERR_E_FIRST (OLE_E_LAST+1) 518 #define OLECMDERR_E_NOTSUPPORTED (OLECMDERR_E_FIRST) 519 #define OLECMDERR_E_DISABLED (OLECMDERR_E_FIRST+1) 520 #define OLECMDERR_E_NOHELP (OLECMDERR_E_FIRST+2) 521 #define OLECMDERR_E_CANCELED (OLECMDERR_E_FIRST+3) 522 #define OLECMDERR_E_UNKNOWNGROUP (OLECMDERR_E_FIRST+4) 523 #define MSOCMDERR_E_FIRST OLECMDERR_E_FIRST 524 #define MSOCMDERR_E_NOTSUPPORTED OLECMDERR_E_NOTSUPPORTED 525 #define MSOCMDERR_E_DISABLED OLECMDERR_E_DISABLED 526 #define MSOCMDERR_E_NOHELP OLECMDERR_E_NOHELP 527 #define MSOCMDERR_E_CANCELED OLECMDERR_E_CANCELED 528 #define MSOCMDERR_E_UNKNOWNGROUP OLECMDERR_E_UNKNOWNGROUP 529 #define OLECMDARGINDEX_SHOWPAGEACTIONMENU_HWND 0 530 #define OLECMDARGINDEX_SHOWPAGEACTIONMENU_X 1 531 #define OLECMDARGINDEX_SHOWPAGEACTIONMENU_Y 2 532 #define OLECMDARGINDEX_ACTIVEXINSTALL_PUBLISHER 0 533 #define OLECMDARGINDEX_ACTIVEXINSTALL_DISPLAYNAME 1 534 typedef enum IGNOREMIME { 535 IGNOREMIME_PROMPT = 1, 536 IGNOREMIME_TEXT = 2 537 } IGNOREMIME; 538 typedef enum WPCSETTING { 539 WPCSETTING_LOGGING_ENABLED = 1, 540 WPCSETTING_FILEDOWNLOAD_BLOCKED = 2 541 } WPCSETTING; 542 DEFINE_GUID(IID_IOleCommandTarget, 0xb722bccb, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70); 543 #if defined(__cplusplus) && !defined(CINTERFACE) 544 MIDL_INTERFACE("b722bccb-4e68-101b-a2bc-00aa00404770") 545 IOleCommandTarget : public IUnknown 546 { 547 virtual HRESULT STDMETHODCALLTYPE QueryStatus( 548 const GUID *pguidCmdGroup, 549 ULONG cCmds, 550 OLECMD prgCmds[], 551 OLECMDTEXT *pCmdText) = 0; 552 553 virtual HRESULT STDMETHODCALLTYPE Exec( 554 const GUID *pguidCmdGroup, 555 DWORD nCmdID, 556 DWORD nCmdexecopt, 557 VARIANT *pvaIn, 558 VARIANT *pvaOut) = 0; 559 560 }; 561 #ifdef __CRT_UUID_DECL 562 __CRT_UUID_DECL(IOleCommandTarget, 0xb722bccb, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70) 563 #endif 564 #else 565 typedef struct IOleCommandTargetVtbl { 566 BEGIN_INTERFACE 567 568 /*** IUnknown methods ***/ 569 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 570 IOleCommandTarget* This, 571 REFIID riid, 572 void **ppvObject); 573 574 ULONG (STDMETHODCALLTYPE *AddRef)( 575 IOleCommandTarget* This); 576 577 ULONG (STDMETHODCALLTYPE *Release)( 578 IOleCommandTarget* This); 579 580 /*** IOleCommandTarget methods ***/ 581 HRESULT (STDMETHODCALLTYPE *QueryStatus)( 582 IOleCommandTarget* This, 583 const GUID *pguidCmdGroup, 584 ULONG cCmds, 585 OLECMD prgCmds[], 586 OLECMDTEXT *pCmdText); 587 588 HRESULT (STDMETHODCALLTYPE *Exec)( 589 IOleCommandTarget* This, 590 const GUID *pguidCmdGroup, 591 DWORD nCmdID, 592 DWORD nCmdexecopt, 593 VARIANT *pvaIn, 594 VARIANT *pvaOut); 595 596 END_INTERFACE 597 } IOleCommandTargetVtbl; 598 interface IOleCommandTarget { 599 CONST_VTBL IOleCommandTargetVtbl* lpVtbl; 600 }; 601 602 #ifdef COBJMACROS 603 #ifndef WIDL_C_INLINE_WRAPPERS 604 /*** IUnknown methods ***/ 605 #define IOleCommandTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 606 #define IOleCommandTarget_AddRef(This) (This)->lpVtbl->AddRef(This) 607 #define IOleCommandTarget_Release(This) (This)->lpVtbl->Release(This) 608 /*** IOleCommandTarget methods ***/ 609 #define IOleCommandTarget_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) (This)->lpVtbl->QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) 610 #define IOleCommandTarget_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) (This)->lpVtbl->Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) 611 #else 612 /*** IUnknown methods ***/ 613 static FORCEINLINE HRESULT IOleCommandTarget_QueryInterface(IOleCommandTarget* This,REFIID riid,void **ppvObject) { 614 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 615 } 616 static FORCEINLINE ULONG IOleCommandTarget_AddRef(IOleCommandTarget* This) { 617 return This->lpVtbl->AddRef(This); 618 } 619 static FORCEINLINE ULONG IOleCommandTarget_Release(IOleCommandTarget* This) { 620 return This->lpVtbl->Release(This); 621 } 622 /*** IOleCommandTarget methods ***/ 623 static FORCEINLINE HRESULT IOleCommandTarget_QueryStatus(IOleCommandTarget* This,const GUID *pguidCmdGroup,ULONG cCmds,OLECMD prgCmds[],OLECMDTEXT *pCmdText) { 624 return This->lpVtbl->QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText); 625 } 626 static FORCEINLINE HRESULT IOleCommandTarget_Exec(IOleCommandTarget* This,const GUID *pguidCmdGroup,DWORD nCmdID,DWORD nCmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut) { 627 return This->lpVtbl->Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut); 628 } 629 #endif 630 #endif 631 632 #endif 633 634 HRESULT STDMETHODCALLTYPE IOleCommandTarget_QueryStatus_Proxy( 635 IOleCommandTarget* This, 636 const GUID *pguidCmdGroup, 637 ULONG cCmds, 638 OLECMD prgCmds[], 639 OLECMDTEXT *pCmdText); 640 void __RPC_STUB IOleCommandTarget_QueryStatus_Stub( 641 IRpcStubBuffer* This, 642 IRpcChannelBuffer* pRpcChannelBuffer, 643 PRPC_MESSAGE pRpcMessage, 644 DWORD* pdwStubPhase); 645 HRESULT STDMETHODCALLTYPE IOleCommandTarget_Exec_Proxy( 646 IOleCommandTarget* This, 647 const GUID *pguidCmdGroup, 648 DWORD nCmdID, 649 DWORD nCmdexecopt, 650 VARIANT *pvaIn, 651 VARIANT *pvaOut); 652 void __RPC_STUB IOleCommandTarget_Exec_Stub( 653 IRpcStubBuffer* This, 654 IRpcChannelBuffer* pRpcChannelBuffer, 655 PRPC_MESSAGE pRpcMessage, 656 DWORD* pdwStubPhase); 657 658 #endif /* __IOleCommandTarget_INTERFACE_DEFINED__ */ 659 660 #endif 661 typedef enum { 662 OLECMDIDF_REFRESH_NORMAL = 0,OLECMDIDF_REFRESH_IFEXPIRED = 1,OLECMDIDF_REFRESH_CONTINUE = 2,OLECMDIDF_REFRESH_COMPLETELY = 3, 663 OLECMDIDF_REFRESH_NO_CACHE = 4,OLECMDIDF_REFRESH_RELOAD = 5,OLECMDIDF_REFRESH_LEVELMASK = 0x00FF,OLECMDIDF_REFRESH_CLEARUSERINPUT = 0x1000, 664 OLECMDIDF_REFRESH_PROMPTIFOFFLINE = 0x2000,OLECMDIDF_REFRESH_THROUGHSCRIPT = 0x4000,OLECMDIDF_REFRESH_PAGEACTION_ACTIVEXINSTALL = 0x00010000, 665 OLECMDIDF_REFRESH_PAGEACTION_FILEDOWNLOAD = 0x00020000,OLECMDIDF_REFRESH_PAGEACTION_LOCALMACHINE = 0x00040000, 666 OLECMDIDF_REFRESH_PAGEACTION_POPUPWINDOW = 0x00080000,OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNLOCALMACHINE = 0x00100000, 667 OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNTRUSTED = 0x00200000,OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTRANET = 0x00400000, 668 OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTERNET = 0x00800000,OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNRESTRICTED = 0x01000000 669 } OLECMDID_REFRESHFLAG; 670 671 typedef enum { 672 OLECMDIDF_PAGEACTION_FILEDOWNLOAD = 0x00000001,OLECMDIDF_PAGEACTION_ACTIVEXINSTALL = 0x00000002, 673 OLECMDIDF_PAGEACTION_ACTIVEXTRUSTFAIL = 0x00000004,OLECMDIDF_PAGEACTION_ACTIVEXUSERDISABLE = 0x00000008, 674 OLECMDIDF_PAGEACTION_ACTIVEXDISALLOW = 0x00000010,OLECMDIDF_PAGEACTION_ACTIVEXUNSAFE = 0x00000020,OLECMDIDF_PAGEACTION_POPUPWINDOW = 0x00000040, 675 OLECMDIDF_PAGEACTION_LOCALMACHINE = 0x00000080,OLECMDIDF_PAGEACTION_MIMETEXTPLAIN = 0x00000100,OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE = 0x00000200, 676 OLECMDIDF_PAGEACTION_PROTLOCKDOWNLOCALMACHINE = 0x00000400,OLECMDIDF_PAGEACTION_PROTLOCKDOWNTRUSTED = 0x00000800, 677 OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTRANET = 0x00001000,OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTERNET = 0x00002000, 678 OLECMDIDF_PAGEACTION_PROTLOCKDOWNRESTRICTED = 0x00004000,OLECMDIDF_PAGEACTION_PROTLOCKDOWNDENY = 0x00008000, 679 OLECMDIDF_PAGEACTION_POPUPALLOWED = 0x00010000,OLECMDIDF_PAGEACTION_RESET = 0x80000000 680 } OLECMDID_PAGEACTIONFLAG; 681 682 typedef enum { 683 PAGEACTION_UI_DEFAULT = 0,PAGEACTION_UI_MODAL = 1,PAGEACTION_UI_MODELESS = 2,PAGEACTION_UI_SILENT = 3 684 } PAGEACTION_UI; 685 686 #define IMsoDocument IOleDocument 687 #define IMsoDocumentSite IOleDocumentSite 688 #define IMsoView IOleDocumentView 689 #define IEnumMsoView IEnumOleDocumentViews 690 #define IMsoCommandTarget IOleCommandTarget 691 #define LPMSODOCUMENT LPOLEDOCUMENT 692 #define LPMSODOCUMENTSITE LPOLEDOCUMENTSITE 693 #define LPMSOVIEW LPOLEDOCUMENTVIEW 694 #define LPENUMMSOVIEW LPENUMOLEDOCUMENTVIEWS 695 #define LPMSOCOMMANDTARGET LPOLECOMMANDTARGET 696 #define MSOCMD OLECMD 697 #define MSOCMDTEXT OLECMDTEXT 698 #define IID_IMsoDocument IID_IOleDocument 699 #define IID_IMsoDocumentSite IID_IOleDocumentSite 700 #define IID_IMsoView IID_IOleDocumentView 701 #define IID_IEnumMsoView IID_IEnumOleDocumentViews 702 #define IID_IMsoCommandTarget IID_IOleCommandTarget 703 #define MSOCMDF_SUPPORTED OLECMDF_SUPPORTED 704 #define MSOCMDF_ENABLED OLECMDF_ENABLED 705 #define MSOCMDF_LATCHED OLECMDF_LATCHED 706 #define MSOCMDF_NINCHED OLECMDF_NINCHED 707 #define MSOCMDTEXTF_NONE OLECMDTEXTF_NONE 708 #define MSOCMDTEXTF_NAME OLECMDTEXTF_NAME 709 #define MSOCMDTEXTF_STATUS OLECMDTEXTF_STATUS 710 #define MSOCMDEXECOPT_DODEFAULT OLECMDEXECOPT_DODEFAULT 711 #define MSOCMDEXECOPT_PROMPTUSER OLECMDEXECOPT_PROMPTUSER 712 #define MSOCMDEXECOPT_DONTPROMPTUSER OLECMDEXECOPT_DONTPROMPTUSER 713 #define MSOCMDEXECOPT_SHOWHELP OLECMDEXECOPT_SHOWHELP 714 #define MSOCMDID_OPEN OLECMDID_OPEN 715 #define MSOCMDID_NEW OLECMDID_NEW 716 #define MSOCMDID_SAVE OLECMDID_SAVE 717 #define MSOCMDID_SAVEAS OLECMDID_SAVEAS 718 #define MSOCMDID_SAVECOPYAS OLECMDID_SAVECOPYAS 719 #define MSOCMDID_PRINT OLECMDID_PRINT 720 #define MSOCMDID_PRINTPREVIEW OLECMDID_PRINTPREVIEW 721 #define MSOCMDID_PAGESETUP OLECMDID_PAGESETUP 722 #define MSOCMDID_SPELL OLECMDID_SPELL 723 #define MSOCMDID_PROPERTIES OLECMDID_PROPERTIES 724 #define MSOCMDID_CUT OLECMDID_CUT 725 #define MSOCMDID_COPY OLECMDID_COPY 726 #define MSOCMDID_PASTE OLECMDID_PASTE 727 #define MSOCMDID_PASTESPECIAL OLECMDID_PASTESPECIAL 728 #define MSOCMDID_UNDO OLECMDID_UNDO 729 #define MSOCMDID_REDO OLECMDID_REDO 730 #define MSOCMDID_SELECTALL OLECMDID_SELECTALL 731 #define MSOCMDID_CLEARSELECTION OLECMDID_CLEARSELECTION 732 #define MSOCMDID_ZOOM OLECMDID_ZOOM 733 #define MSOCMDID_GETZOOMRANGE OLECMDID_GETZOOMRANGE 734 EXTERN_C const GUID SID_SContainerDispatch; 735 736 extern RPC_IF_HANDLE __MIDL_itf_docobj_0271_v0_0_c_ifspec; 737 extern RPC_IF_HANDLE __MIDL_itf_docobj_0271_v0_0_s_ifspec; 738 739 HRESULT WINAPI IEnumOleDocumentViews_Next_Proxy(IEnumOleDocumentViews *This,ULONG cViews,IOleDocumentView **rgpView,ULONG *pcFetched); 740 HRESULT WINAPI IEnumOleDocumentViews_Next_Stub(IEnumOleDocumentViews *This,ULONG cViews,IOleDocumentView **rgpView,ULONG *pcFetched); 741 HRESULT WINAPI IPrint_Print_Proxy(IPrint *This,DWORD grfFlags,DVTARGETDEVICE **pptd,PAGESET **ppPageSet,STGMEDIUM *pstgmOptions,IContinueCallback *pcallback,LONG nFirstPage,LONG *pcPagesPrinted,LONG *pnLastPage); 742 HRESULT WINAPI IPrint_Print_Stub(IPrint *This,DWORD grfFlags,DVTARGETDEVICE **pptd,PAGESET **pppageset,RemSTGMEDIUM *pstgmOptions,IContinueCallback *pcallback,LONG nFirstPage,LONG *pcPagesPrinted,LONG *pnLastPage); 743 /* Begin additional prototypes for all interfaces */ 744 745 ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); 746 unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); 747 unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); 748 void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); 749 750 /* End additional prototypes */ 751 752 #ifdef __cplusplus 753 } 754 #endif 755 756 #endif /* __docobj_h__ */ 757