OleIdl.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:143k
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* Compiler settings for oleidl.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __oleidl_h__
- #define __oleidl_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IOleAdviseHolder_FWD_DEFINED__
- #define __IOleAdviseHolder_FWD_DEFINED__
- typedef interface IOleAdviseHolder IOleAdviseHolder;
- #endif /* __IOleAdviseHolder_FWD_DEFINED__ */
- #ifndef __IOleCache_FWD_DEFINED__
- #define __IOleCache_FWD_DEFINED__
- typedef interface IOleCache IOleCache;
- #endif /* __IOleCache_FWD_DEFINED__ */
- #ifndef __IOleCache2_FWD_DEFINED__
- #define __IOleCache2_FWD_DEFINED__
- typedef interface IOleCache2 IOleCache2;
- #endif /* __IOleCache2_FWD_DEFINED__ */
- #ifndef __IOleCacheControl_FWD_DEFINED__
- #define __IOleCacheControl_FWD_DEFINED__
- typedef interface IOleCacheControl IOleCacheControl;
- #endif /* __IOleCacheControl_FWD_DEFINED__ */
- #ifndef __IParseDisplayName_FWD_DEFINED__
- #define __IParseDisplayName_FWD_DEFINED__
- typedef interface IParseDisplayName IParseDisplayName;
- #endif /* __IParseDisplayName_FWD_DEFINED__ */
- #ifndef __IOleContainer_FWD_DEFINED__
- #define __IOleContainer_FWD_DEFINED__
- typedef interface IOleContainer IOleContainer;
- #endif /* __IOleContainer_FWD_DEFINED__ */
- #ifndef __IOleClientSite_FWD_DEFINED__
- #define __IOleClientSite_FWD_DEFINED__
- typedef interface IOleClientSite IOleClientSite;
- #endif /* __IOleClientSite_FWD_DEFINED__ */
- #ifndef __IOleObject_FWD_DEFINED__
- #define __IOleObject_FWD_DEFINED__
- typedef interface IOleObject IOleObject;
- #endif /* __IOleObject_FWD_DEFINED__ */
- #ifndef __IOleWindow_FWD_DEFINED__
- #define __IOleWindow_FWD_DEFINED__
- typedef interface IOleWindow IOleWindow;
- #endif /* __IOleWindow_FWD_DEFINED__ */
- #ifndef __IOleLink_FWD_DEFINED__
- #define __IOleLink_FWD_DEFINED__
- typedef interface IOleLink IOleLink;
- #endif /* __IOleLink_FWD_DEFINED__ */
- #ifndef __IOleItemContainer_FWD_DEFINED__
- #define __IOleItemContainer_FWD_DEFINED__
- typedef interface IOleItemContainer IOleItemContainer;
- #endif /* __IOleItemContainer_FWD_DEFINED__ */
- #ifndef __IOleInPlaceUIWindow_FWD_DEFINED__
- #define __IOleInPlaceUIWindow_FWD_DEFINED__
- typedef interface IOleInPlaceUIWindow IOleInPlaceUIWindow;
- #endif /* __IOleInPlaceUIWindow_FWD_DEFINED__ */
- #ifndef __IOleInPlaceActiveObject_FWD_DEFINED__
- #define __IOleInPlaceActiveObject_FWD_DEFINED__
- typedef interface IOleInPlaceActiveObject IOleInPlaceActiveObject;
- #endif /* __IOleInPlaceActiveObject_FWD_DEFINED__ */
- #ifndef __IOleInPlaceFrame_FWD_DEFINED__
- #define __IOleInPlaceFrame_FWD_DEFINED__
- typedef interface IOleInPlaceFrame IOleInPlaceFrame;
- #endif /* __IOleInPlaceFrame_FWD_DEFINED__ */
- #ifndef __IOleInPlaceObject_FWD_DEFINED__
- #define __IOleInPlaceObject_FWD_DEFINED__
- typedef interface IOleInPlaceObject IOleInPlaceObject;
- #endif /* __IOleInPlaceObject_FWD_DEFINED__ */
- #ifndef __IOleInPlaceSite_FWD_DEFINED__
- #define __IOleInPlaceSite_FWD_DEFINED__
- typedef interface IOleInPlaceSite IOleInPlaceSite;
- #endif /* __IOleInPlaceSite_FWD_DEFINED__ */
- #ifndef __IContinue_FWD_DEFINED__
- #define __IContinue_FWD_DEFINED__
- typedef interface IContinue IContinue;
- #endif /* __IContinue_FWD_DEFINED__ */
- #ifndef __IViewObject_FWD_DEFINED__
- #define __IViewObject_FWD_DEFINED__
- typedef interface IViewObject IViewObject;
- #endif /* __IViewObject_FWD_DEFINED__ */
- #ifndef __IViewObject2_FWD_DEFINED__
- #define __IViewObject2_FWD_DEFINED__
- typedef interface IViewObject2 IViewObject2;
- #endif /* __IViewObject2_FWD_DEFINED__ */
- #ifndef __IDropSource_FWD_DEFINED__
- #define __IDropSource_FWD_DEFINED__
- typedef interface IDropSource IDropSource;
- #endif /* __IDropSource_FWD_DEFINED__ */
- #ifndef __IDropTarget_FWD_DEFINED__
- #define __IDropTarget_FWD_DEFINED__
- typedef interface IDropTarget IDropTarget;
- #endif /* __IDropTarget_FWD_DEFINED__ */
- #ifndef __IEnumOLEVERB_FWD_DEFINED__
- #define __IEnumOLEVERB_FWD_DEFINED__
- typedef interface IEnumOLEVERB IEnumOLEVERB;
- #endif /* __IEnumOLEVERB_FWD_DEFINED__ */
- /* header files for imported files */
- #include "objidl.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_oleidl_0000 */
- /* [local] */
- //+-------------------------------------------------------------------------
- //
- // Microsoft Windows
- // Copyright (c) Microsoft Corporation. All rights reserved.
- //
- //--------------------------------------------------------------------------
- #if ( _MSC_VER >= 1020 )
- #pragma once
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_oleidl_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_oleidl_0000_v0_0_s_ifspec;
- #ifndef __IOleAdviseHolder_INTERFACE_DEFINED__
- #define __IOleAdviseHolder_INTERFACE_DEFINED__
- /* interface IOleAdviseHolder */
- /* [uuid][object][local] */
- typedef /* [unique] */ IOleAdviseHolder *LPOLEADVISEHOLDER;
- EXTERN_C const IID IID_IOleAdviseHolder;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000111-0000-0000-C000-000000000046")
- IOleAdviseHolder : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Advise(
- /* [unique][in] */ IAdviseSink *pAdvise,
- /* [out] */ DWORD *pdwConnection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Unadvise(
- /* [in] */ DWORD dwConnection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
- /* [out] */ IEnumSTATDATA **ppenumAdvise) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SendOnRename(
- /* [unique][in] */ IMoniker *pmk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SendOnSave( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SendOnClose( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleAdviseHolderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleAdviseHolder * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleAdviseHolder * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleAdviseHolder * This);
-
- HRESULT ( STDMETHODCALLTYPE *Advise )(
- IOleAdviseHolder * This,
- /* [unique][in] */ IAdviseSink *pAdvise,
- /* [out] */ DWORD *pdwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *Unadvise )(
- IOleAdviseHolder * This,
- /* [in] */ DWORD dwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *EnumAdvise )(
- IOleAdviseHolder * This,
- /* [out] */ IEnumSTATDATA **ppenumAdvise);
-
- HRESULT ( STDMETHODCALLTYPE *SendOnRename )(
- IOleAdviseHolder * This,
- /* [unique][in] */ IMoniker *pmk);
-
- HRESULT ( STDMETHODCALLTYPE *SendOnSave )(
- IOleAdviseHolder * This);
-
- HRESULT ( STDMETHODCALLTYPE *SendOnClose )(
- IOleAdviseHolder * This);
-
- END_INTERFACE
- } IOleAdviseHolderVtbl;
- interface IOleAdviseHolder
- {
- CONST_VTBL struct IOleAdviseHolderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleAdviseHolder_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleAdviseHolder_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleAdviseHolder_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleAdviseHolder_Advise(This,pAdvise,pdwConnection)
- (This)->lpVtbl -> Advise(This,pAdvise,pdwConnection)
- #define IOleAdviseHolder_Unadvise(This,dwConnection)
- (This)->lpVtbl -> Unadvise(This,dwConnection)
- #define IOleAdviseHolder_EnumAdvise(This,ppenumAdvise)
- (This)->lpVtbl -> EnumAdvise(This,ppenumAdvise)
- #define IOleAdviseHolder_SendOnRename(This,pmk)
- (This)->lpVtbl -> SendOnRename(This,pmk)
- #define IOleAdviseHolder_SendOnSave(This)
- (This)->lpVtbl -> SendOnSave(This)
- #define IOleAdviseHolder_SendOnClose(This)
- (This)->lpVtbl -> SendOnClose(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleAdviseHolder_Advise_Proxy(
- IOleAdviseHolder * This,
- /* [unique][in] */ IAdviseSink *pAdvise,
- /* [out] */ DWORD *pdwConnection);
- void __RPC_STUB IOleAdviseHolder_Advise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleAdviseHolder_Unadvise_Proxy(
- IOleAdviseHolder * This,
- /* [in] */ DWORD dwConnection);
- void __RPC_STUB IOleAdviseHolder_Unadvise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleAdviseHolder_EnumAdvise_Proxy(
- IOleAdviseHolder * This,
- /* [out] */ IEnumSTATDATA **ppenumAdvise);
- void __RPC_STUB IOleAdviseHolder_EnumAdvise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnRename_Proxy(
- IOleAdviseHolder * This,
- /* [unique][in] */ IMoniker *pmk);
- void __RPC_STUB IOleAdviseHolder_SendOnRename_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnSave_Proxy(
- IOleAdviseHolder * This);
- void __RPC_STUB IOleAdviseHolder_SendOnSave_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnClose_Proxy(
- IOleAdviseHolder * This);
- void __RPC_STUB IOleAdviseHolder_SendOnClose_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleAdviseHolder_INTERFACE_DEFINED__ */
- #ifndef __IOleCache_INTERFACE_DEFINED__
- #define __IOleCache_INTERFACE_DEFINED__
- /* interface IOleCache */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleCache *LPOLECACHE;
- EXTERN_C const IID IID_IOleCache;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000011e-0000-0000-C000-000000000046")
- IOleCache : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Cache(
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [in] */ DWORD advf,
- /* [out] */ DWORD *pdwConnection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Uncache(
- /* [in] */ DWORD dwConnection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumCache(
- /* [out] */ IEnumSTATDATA **ppenumSTATDATA) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InitCache(
- /* [unique][in] */ IDataObject *pDataObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetData(
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [unique][in] */ STGMEDIUM *pmedium,
- /* [in] */ BOOL fRelease) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleCacheVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleCache * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleCache * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleCache * This);
-
- HRESULT ( STDMETHODCALLTYPE *Cache )(
- IOleCache * This,
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [in] */ DWORD advf,
- /* [out] */ DWORD *pdwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *Uncache )(
- IOleCache * This,
- /* [in] */ DWORD dwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *EnumCache )(
- IOleCache * This,
- /* [out] */ IEnumSTATDATA **ppenumSTATDATA);
-
- HRESULT ( STDMETHODCALLTYPE *InitCache )(
- IOleCache * This,
- /* [unique][in] */ IDataObject *pDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *SetData )(
- IOleCache * This,
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [unique][in] */ STGMEDIUM *pmedium,
- /* [in] */ BOOL fRelease);
-
- END_INTERFACE
- } IOleCacheVtbl;
- interface IOleCache
- {
- CONST_VTBL struct IOleCacheVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleCache_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleCache_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleCache_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleCache_Cache(This,pformatetc,advf,pdwConnection)
- (This)->lpVtbl -> Cache(This,pformatetc,advf,pdwConnection)
- #define IOleCache_Uncache(This,dwConnection)
- (This)->lpVtbl -> Uncache(This,dwConnection)
- #define IOleCache_EnumCache(This,ppenumSTATDATA)
- (This)->lpVtbl -> EnumCache(This,ppenumSTATDATA)
- #define IOleCache_InitCache(This,pDataObject)
- (This)->lpVtbl -> InitCache(This,pDataObject)
- #define IOleCache_SetData(This,pformatetc,pmedium,fRelease)
- (This)->lpVtbl -> SetData(This,pformatetc,pmedium,fRelease)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleCache_Cache_Proxy(
- IOleCache * This,
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [in] */ DWORD advf,
- /* [out] */ DWORD *pdwConnection);
- void __RPC_STUB IOleCache_Cache_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleCache_Uncache_Proxy(
- IOleCache * This,
- /* [in] */ DWORD dwConnection);
- void __RPC_STUB IOleCache_Uncache_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleCache_EnumCache_Proxy(
- IOleCache * This,
- /* [out] */ IEnumSTATDATA **ppenumSTATDATA);
- void __RPC_STUB IOleCache_EnumCache_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleCache_InitCache_Proxy(
- IOleCache * This,
- /* [unique][in] */ IDataObject *pDataObject);
- void __RPC_STUB IOleCache_InitCache_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleCache_SetData_Proxy(
- IOleCache * This,
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [unique][in] */ STGMEDIUM *pmedium,
- /* [in] */ BOOL fRelease);
- void __RPC_STUB IOleCache_SetData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleCache_INTERFACE_DEFINED__ */
- #ifndef __IOleCache2_INTERFACE_DEFINED__
- #define __IOleCache2_INTERFACE_DEFINED__
- /* interface IOleCache2 */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleCache2 *LPOLECACHE2;
- #define UPDFCACHE_NODATACACHE ( 0x1 )
- #define UPDFCACHE_ONSAVECACHE ( 0x2 )
- #define UPDFCACHE_ONSTOPCACHE ( 0x4 )
- #define UPDFCACHE_NORMALCACHE ( 0x8 )
- #define UPDFCACHE_IFBLANK ( 0x10 )
- #define UPDFCACHE_ONLYIFBLANK ( 0x80000000 )
- #define UPDFCACHE_IFBLANKORONSAVECACHE ( UPDFCACHE_IFBLANK | UPDFCACHE_ONSAVECACHE )
- #define UPDFCACHE_ALL ( ( DWORD )~UPDFCACHE_ONLYIFBLANK )
- #define UPDFCACHE_ALLBUTNODATACACHE ( UPDFCACHE_ALL & ( DWORD )~UPDFCACHE_NODATACACHE )
- typedef /* [v1_enum] */
- enum tagDISCARDCACHE
- { DISCARDCACHE_SAVEIFDIRTY = 0,
- DISCARDCACHE_NOSAVE = 1
- } DISCARDCACHE;
- EXTERN_C const IID IID_IOleCache2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000128-0000-0000-C000-000000000046")
- IOleCache2 : public IOleCache
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE UpdateCache(
- /* [in] */ LPDATAOBJECT pDataObject,
- /* [in] */ DWORD grfUpdf,
- /* [in] */ LPVOID pReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DiscardCache(
- /* [in] */ DWORD dwDiscardOptions) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleCache2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleCache2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleCache2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleCache2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *Cache )(
- IOleCache2 * This,
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [in] */ DWORD advf,
- /* [out] */ DWORD *pdwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *Uncache )(
- IOleCache2 * This,
- /* [in] */ DWORD dwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *EnumCache )(
- IOleCache2 * This,
- /* [out] */ IEnumSTATDATA **ppenumSTATDATA);
-
- HRESULT ( STDMETHODCALLTYPE *InitCache )(
- IOleCache2 * This,
- /* [unique][in] */ IDataObject *pDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *SetData )(
- IOleCache2 * This,
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [unique][in] */ STGMEDIUM *pmedium,
- /* [in] */ BOOL fRelease);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *UpdateCache )(
- IOleCache2 * This,
- /* [in] */ LPDATAOBJECT pDataObject,
- /* [in] */ DWORD grfUpdf,
- /* [in] */ LPVOID pReserved);
-
- HRESULT ( STDMETHODCALLTYPE *DiscardCache )(
- IOleCache2 * This,
- /* [in] */ DWORD dwDiscardOptions);
-
- END_INTERFACE
- } IOleCache2Vtbl;
- interface IOleCache2
- {
- CONST_VTBL struct IOleCache2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleCache2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleCache2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleCache2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleCache2_Cache(This,pformatetc,advf,pdwConnection)
- (This)->lpVtbl -> Cache(This,pformatetc,advf,pdwConnection)
- #define IOleCache2_Uncache(This,dwConnection)
- (This)->lpVtbl -> Uncache(This,dwConnection)
- #define IOleCache2_EnumCache(This,ppenumSTATDATA)
- (This)->lpVtbl -> EnumCache(This,ppenumSTATDATA)
- #define IOleCache2_InitCache(This,pDataObject)
- (This)->lpVtbl -> InitCache(This,pDataObject)
- #define IOleCache2_SetData(This,pformatetc,pmedium,fRelease)
- (This)->lpVtbl -> SetData(This,pformatetc,pmedium,fRelease)
- #define IOleCache2_UpdateCache(This,pDataObject,grfUpdf,pReserved)
- (This)->lpVtbl -> UpdateCache(This,pDataObject,grfUpdf,pReserved)
- #define IOleCache2_DiscardCache(This,dwDiscardOptions)
- (This)->lpVtbl -> DiscardCache(This,dwDiscardOptions)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IOleCache2_RemoteUpdateCache_Proxy(
- IOleCache2 * This,
- /* [in] */ LPDATAOBJECT pDataObject,
- /* [in] */ DWORD grfUpdf,
- /* [in] */ LONG_PTR pReserved);
- void __RPC_STUB IOleCache2_RemoteUpdateCache_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleCache2_DiscardCache_Proxy(
- IOleCache2 * This,
- /* [in] */ DWORD dwDiscardOptions);
- void __RPC_STUB IOleCache2_DiscardCache_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleCache2_INTERFACE_DEFINED__ */
- #ifndef __IOleCacheControl_INTERFACE_DEFINED__
- #define __IOleCacheControl_INTERFACE_DEFINED__
- /* interface IOleCacheControl */
- /* [uuid][object] */
- typedef /* [unique] */ IOleCacheControl *LPOLECACHECONTROL;
- EXTERN_C const IID IID_IOleCacheControl;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000129-0000-0000-C000-000000000046")
- IOleCacheControl : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnRun(
- LPDATAOBJECT pDataObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnStop( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleCacheControlVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleCacheControl * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleCacheControl * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleCacheControl * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnRun )(
- IOleCacheControl * This,
- LPDATAOBJECT pDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *OnStop )(
- IOleCacheControl * This);
-
- END_INTERFACE
- } IOleCacheControlVtbl;
- interface IOleCacheControl
- {
- CONST_VTBL struct IOleCacheControlVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleCacheControl_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleCacheControl_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleCacheControl_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleCacheControl_OnRun(This,pDataObject)
- (This)->lpVtbl -> OnRun(This,pDataObject)
- #define IOleCacheControl_OnStop(This)
- (This)->lpVtbl -> OnStop(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleCacheControl_OnRun_Proxy(
- IOleCacheControl * This,
- LPDATAOBJECT pDataObject);
- void __RPC_STUB IOleCacheControl_OnRun_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleCacheControl_OnStop_Proxy(
- IOleCacheControl * This);
- void __RPC_STUB IOleCacheControl_OnStop_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleCacheControl_INTERFACE_DEFINED__ */
- #ifndef __IParseDisplayName_INTERFACE_DEFINED__
- #define __IParseDisplayName_INTERFACE_DEFINED__
- /* interface IParseDisplayName */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IParseDisplayName *LPPARSEDISPLAYNAME;
- EXTERN_C const IID IID_IParseDisplayName;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000011a-0000-0000-C000-000000000046")
- IParseDisplayName : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE ParseDisplayName(
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ LPOLESTR pszDisplayName,
- /* [out] */ ULONG *pchEaten,
- /* [out] */ IMoniker **ppmkOut) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IParseDisplayNameVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IParseDisplayName * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IParseDisplayName * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IParseDisplayName * This);
-
- HRESULT ( STDMETHODCALLTYPE *ParseDisplayName )(
- IParseDisplayName * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ LPOLESTR pszDisplayName,
- /* [out] */ ULONG *pchEaten,
- /* [out] */ IMoniker **ppmkOut);
-
- END_INTERFACE
- } IParseDisplayNameVtbl;
- interface IParseDisplayName
- {
- CONST_VTBL struct IParseDisplayNameVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IParseDisplayName_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IParseDisplayName_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IParseDisplayName_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IParseDisplayName_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
- (This)->lpVtbl -> ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IParseDisplayName_ParseDisplayName_Proxy(
- IParseDisplayName * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ LPOLESTR pszDisplayName,
- /* [out] */ ULONG *pchEaten,
- /* [out] */ IMoniker **ppmkOut);
- void __RPC_STUB IParseDisplayName_ParseDisplayName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IParseDisplayName_INTERFACE_DEFINED__ */
- #ifndef __IOleContainer_INTERFACE_DEFINED__
- #define __IOleContainer_INTERFACE_DEFINED__
- /* interface IOleContainer */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleContainer *LPOLECONTAINER;
- EXTERN_C const IID IID_IOleContainer;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000011b-0000-0000-C000-000000000046")
- IOleContainer : public IParseDisplayName
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE EnumObjects(
- /* [in] */ DWORD grfFlags,
- /* [out] */ IEnumUnknown **ppenum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE LockContainer(
- /* [in] */ BOOL fLock) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleContainerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleContainer * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleContainer * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleContainer * This);
-
- HRESULT ( STDMETHODCALLTYPE *ParseDisplayName )(
- IOleContainer * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ LPOLESTR pszDisplayName,
- /* [out] */ ULONG *pchEaten,
- /* [out] */ IMoniker **ppmkOut);
-
- HRESULT ( STDMETHODCALLTYPE *EnumObjects )(
- IOleContainer * This,
- /* [in] */ DWORD grfFlags,
- /* [out] */ IEnumUnknown **ppenum);
-
- HRESULT ( STDMETHODCALLTYPE *LockContainer )(
- IOleContainer * This,
- /* [in] */ BOOL fLock);
-
- END_INTERFACE
- } IOleContainerVtbl;
- interface IOleContainer
- {
- CONST_VTBL struct IOleContainerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleContainer_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleContainer_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleContainer_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleContainer_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
- (This)->lpVtbl -> ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
- #define IOleContainer_EnumObjects(This,grfFlags,ppenum)
- (This)->lpVtbl -> EnumObjects(This,grfFlags,ppenum)
- #define IOleContainer_LockContainer(This,fLock)
- (This)->lpVtbl -> LockContainer(This,fLock)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleContainer_EnumObjects_Proxy(
- IOleContainer * This,
- /* [in] */ DWORD grfFlags,
- /* [out] */ IEnumUnknown **ppenum);
- void __RPC_STUB IOleContainer_EnumObjects_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleContainer_LockContainer_Proxy(
- IOleContainer * This,
- /* [in] */ BOOL fLock);
- void __RPC_STUB IOleContainer_LockContainer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleContainer_INTERFACE_DEFINED__ */
- #ifndef __IOleClientSite_INTERFACE_DEFINED__
- #define __IOleClientSite_INTERFACE_DEFINED__
- /* interface IOleClientSite */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleClientSite *LPOLECLIENTSITE;
- EXTERN_C const IID IID_IOleClientSite;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000118-0000-0000-C000-000000000046")
- IOleClientSite : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SaveObject( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMoniker(
- /* [in] */ DWORD dwAssign,
- /* [in] */ DWORD dwWhichMoniker,
- /* [out] */ IMoniker **ppmk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContainer(
- /* [out] */ IOleContainer **ppContainer) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShowObject( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnShowWindow(
- /* [in] */ BOOL fShow) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RequestNewObjectLayout( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleClientSiteVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleClientSite * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleClientSite * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleClientSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *SaveObject )(
- IOleClientSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetMoniker )(
- IOleClientSite * This,
- /* [in] */ DWORD dwAssign,
- /* [in] */ DWORD dwWhichMoniker,
- /* [out] */ IMoniker **ppmk);
-
- HRESULT ( STDMETHODCALLTYPE *GetContainer )(
- IOleClientSite * This,
- /* [out] */ IOleContainer **ppContainer);
-
- HRESULT ( STDMETHODCALLTYPE *ShowObject )(
- IOleClientSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnShowWindow )(
- IOleClientSite * This,
- /* [in] */ BOOL fShow);
-
- HRESULT ( STDMETHODCALLTYPE *RequestNewObjectLayout )(
- IOleClientSite * This);
-
- END_INTERFACE
- } IOleClientSiteVtbl;
- interface IOleClientSite
- {
- CONST_VTBL struct IOleClientSiteVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleClientSite_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleClientSite_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleClientSite_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleClientSite_SaveObject(This)
- (This)->lpVtbl -> SaveObject(This)
- #define IOleClientSite_GetMoniker(This,dwAssign,dwWhichMoniker,ppmk)
- (This)->lpVtbl -> GetMoniker(This,dwAssign,dwWhichMoniker,ppmk)
- #define IOleClientSite_GetContainer(This,ppContainer)
- (This)->lpVtbl -> GetContainer(This,ppContainer)
- #define IOleClientSite_ShowObject(This)
- (This)->lpVtbl -> ShowObject(This)
- #define IOleClientSite_OnShowWindow(This,fShow)
- (This)->lpVtbl -> OnShowWindow(This,fShow)
- #define IOleClientSite_RequestNewObjectLayout(This)
- (This)->lpVtbl -> RequestNewObjectLayout(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleClientSite_SaveObject_Proxy(
- IOleClientSite * This);
- void __RPC_STUB IOleClientSite_SaveObject_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleClientSite_GetMoniker_Proxy(
- IOleClientSite * This,
- /* [in] */ DWORD dwAssign,
- /* [in] */ DWORD dwWhichMoniker,
- /* [out] */ IMoniker **ppmk);
- void __RPC_STUB IOleClientSite_GetMoniker_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleClientSite_GetContainer_Proxy(
- IOleClientSite * This,
- /* [out] */ IOleContainer **ppContainer);
- void __RPC_STUB IOleClientSite_GetContainer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleClientSite_ShowObject_Proxy(
- IOleClientSite * This);
- void __RPC_STUB IOleClientSite_ShowObject_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleClientSite_OnShowWindow_Proxy(
- IOleClientSite * This,
- /* [in] */ BOOL fShow);
- void __RPC_STUB IOleClientSite_OnShowWindow_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleClientSite_RequestNewObjectLayout_Proxy(
- IOleClientSite * This);
- void __RPC_STUB IOleClientSite_RequestNewObjectLayout_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleClientSite_INTERFACE_DEFINED__ */
- #ifndef __IOleObject_INTERFACE_DEFINED__
- #define __IOleObject_INTERFACE_DEFINED__
- /* interface IOleObject */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleObject *LPOLEOBJECT;
- typedef
- enum tagOLEGETMONIKER
- { OLEGETMONIKER_ONLYIFTHERE = 1,
- OLEGETMONIKER_FORCEASSIGN = 2,
- OLEGETMONIKER_UNASSIGN = 3,
- OLEGETMONIKER_TEMPFORUSER = 4
- } OLEGETMONIKER;
- typedef
- enum tagOLEWHICHMK
- { OLEWHICHMK_CONTAINER = 1,
- OLEWHICHMK_OBJREL = 2,
- OLEWHICHMK_OBJFULL = 3
- } OLEWHICHMK;
- typedef
- enum tagUSERCLASSTYPE
- { USERCLASSTYPE_FULL = 1,
- USERCLASSTYPE_SHORT = 2,
- USERCLASSTYPE_APPNAME = 3
- } USERCLASSTYPE;
- typedef
- enum tagOLEMISC
- { OLEMISC_RECOMPOSEONRESIZE = 0x1,
- OLEMISC_ONLYICONIC = 0x2,
- OLEMISC_INSERTNOTREPLACE = 0x4,
- OLEMISC_STATIC = 0x8,
- OLEMISC_CANTLINKINSIDE = 0x10,
- OLEMISC_CANLINKBYOLE1 = 0x20,
- OLEMISC_ISLINKOBJECT = 0x40,
- OLEMISC_INSIDEOUT = 0x80,
- OLEMISC_ACTIVATEWHENVISIBLE = 0x100,
- OLEMISC_RENDERINGISDEVICEINDEPENDENT = 0x200,
- OLEMISC_INVISIBLEATRUNTIME = 0x400,
- OLEMISC_ALWAYSRUN = 0x800,
- OLEMISC_ACTSLIKEBUTTON = 0x1000,
- OLEMISC_ACTSLIKELABEL = 0x2000,
- OLEMISC_NOUIACTIVATE = 0x4000,
- OLEMISC_ALIGNABLE = 0x8000,
- OLEMISC_SIMPLEFRAME = 0x10000,
- OLEMISC_SETCLIENTSITEFIRST = 0x20000,
- OLEMISC_IMEMODE = 0x40000,
- OLEMISC_IGNOREACTIVATEWHENVISIBLE = 0x80000,
- OLEMISC_WANTSTOMENUMERGE = 0x100000,
- OLEMISC_SUPPORTSMULTILEVELUNDO = 0x200000
- } OLEMISC;
- typedef
- enum tagOLECLOSE
- { OLECLOSE_SAVEIFDIRTY = 0,
- OLECLOSE_NOSAVE = 1,
- OLECLOSE_PROMPTSAVE = 2
- } OLECLOSE;
- EXTERN_C const IID IID_IOleObject;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000112-0000-0000-C000-000000000046")
- IOleObject : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetClientSite(
- /* [unique][in] */ IOleClientSite *pClientSite) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetClientSite(
- /* [out] */ IOleClientSite **ppClientSite) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetHostNames(
- /* [in] */ LPCOLESTR szContainerApp,
- /* [unique][in] */ LPCOLESTR szContainerObj) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Close(
- /* [in] */ DWORD dwSaveOption) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetMoniker(
- /* [in] */ DWORD dwWhichMoniker,
- /* [unique][in] */ IMoniker *pmk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMoniker(
- /* [in] */ DWORD dwAssign,
- /* [in] */ DWORD dwWhichMoniker,
- /* [out] */ IMoniker **ppmk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InitFromData(
- /* [unique][in] */ IDataObject *pDataObject,
- /* [in] */ BOOL fCreation,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetClipboardData(
- /* [in] */ DWORD dwReserved,
- /* [out] */ IDataObject **ppDataObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DoVerb(
- /* [in] */ LONG iVerb,
- /* [unique][in] */ LPMSG lpmsg,
- /* [unique][in] */ IOleClientSite *pActiveSite,
- /* [in] */ LONG lindex,
- /* [in] */ HWND hwndParent,
- /* [unique][in] */ LPCRECT lprcPosRect) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumVerbs(
- /* [out] */ IEnumOLEVERB **ppEnumOleVerb) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Update( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsUpToDate( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetUserClassID(
- /* [out] */ CLSID *pClsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetUserType(
- /* [in] */ DWORD dwFormOfType,
- /* [out] */ LPOLESTR *pszUserType) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetExtent(
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ SIZEL *psizel) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetExtent(
- /* [in] */ DWORD dwDrawAspect,
- /* [out] */ SIZEL *psizel) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Advise(
- /* [unique][in] */ IAdviseSink *pAdvSink,
- /* [out] */ DWORD *pdwConnection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Unadvise(
- /* [in] */ DWORD dwConnection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
- /* [out] */ IEnumSTATDATA **ppenumAdvise) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMiscStatus(
- /* [in] */ DWORD dwAspect,
- /* [out] */ DWORD *pdwStatus) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetColorScheme(
- /* [in] */ LOGPALETTE *pLogpal) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleObjectVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleObject * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleObject * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleObject * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetClientSite )(
- IOleObject * This,
- /* [unique][in] */ IOleClientSite *pClientSite);
-
- HRESULT ( STDMETHODCALLTYPE *GetClientSite )(
- IOleObject * This,
- /* [out] */ IOleClientSite **ppClientSite);
-
- HRESULT ( STDMETHODCALLTYPE *SetHostNames )(
- IOleObject * This,
- /* [in] */ LPCOLESTR szContainerApp,
- /* [unique][in] */ LPCOLESTR szContainerObj);
-
- HRESULT ( STDMETHODCALLTYPE *Close )(
- IOleObject * This,
- /* [in] */ DWORD dwSaveOption);
-
- HRESULT ( STDMETHODCALLTYPE *SetMoniker )(
- IOleObject * This,
- /* [in] */ DWORD dwWhichMoniker,
- /* [unique][in] */ IMoniker *pmk);
-
- HRESULT ( STDMETHODCALLTYPE *GetMoniker )(
- IOleObject * This,
- /* [in] */ DWORD dwAssign,
- /* [in] */ DWORD dwWhichMoniker,
- /* [out] */ IMoniker **ppmk);
-
- HRESULT ( STDMETHODCALLTYPE *InitFromData )(
- IOleObject * This,
- /* [unique][in] */ IDataObject *pDataObject,
- /* [in] */ BOOL fCreation,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *GetClipboardData )(
- IOleObject * This,
- /* [in] */ DWORD dwReserved,
- /* [out] */ IDataObject **ppDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *DoVerb )(
- IOleObject * This,
- /* [in] */ LONG iVerb,
- /* [unique][in] */ LPMSG lpmsg,
- /* [unique][in] */ IOleClientSite *pActiveSite,
- /* [in] */ LONG lindex,
- /* [in] */ HWND hwndParent,
- /* [unique][in] */ LPCRECT lprcPosRect);
-
- HRESULT ( STDMETHODCALLTYPE *EnumVerbs )(
- IOleObject * This,
- /* [out] */ IEnumOLEVERB **ppEnumOleVerb);
-
- HRESULT ( STDMETHODCALLTYPE *Update )(
- IOleObject * This);
-
- HRESULT ( STDMETHODCALLTYPE *IsUpToDate )(
- IOleObject * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetUserClassID )(
- IOleObject * This,
- /* [out] */ CLSID *pClsid);
-
- HRESULT ( STDMETHODCALLTYPE *GetUserType )(
- IOleObject * This,
- /* [in] */ DWORD dwFormOfType,
- /* [out] */ LPOLESTR *pszUserType);
-
- HRESULT ( STDMETHODCALLTYPE *SetExtent )(
- IOleObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ SIZEL *psizel);
-
- HRESULT ( STDMETHODCALLTYPE *GetExtent )(
- IOleObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [out] */ SIZEL *psizel);
-
- HRESULT ( STDMETHODCALLTYPE *Advise )(
- IOleObject * This,
- /* [unique][in] */ IAdviseSink *pAdvSink,
- /* [out] */ DWORD *pdwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *Unadvise )(
- IOleObject * This,
- /* [in] */ DWORD dwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *EnumAdvise )(
- IOleObject * This,
- /* [out] */ IEnumSTATDATA **ppenumAdvise);
-
- HRESULT ( STDMETHODCALLTYPE *GetMiscStatus )(
- IOleObject * This,
- /* [in] */ DWORD dwAspect,
- /* [out] */ DWORD *pdwStatus);
-
- HRESULT ( STDMETHODCALLTYPE *SetColorScheme )(
- IOleObject * This,
- /* [in] */ LOGPALETTE *pLogpal);
-
- END_INTERFACE
- } IOleObjectVtbl;
- interface IOleObject
- {
- CONST_VTBL struct IOleObjectVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleObject_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleObject_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleObject_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleObject_SetClientSite(This,pClientSite)
- (This)->lpVtbl -> SetClientSite(This,pClientSite)
- #define IOleObject_GetClientSite(This,ppClientSite)
- (This)->lpVtbl -> GetClientSite(This,ppClientSite)
- #define IOleObject_SetHostNames(This,szContainerApp,szContainerObj)
- (This)->lpVtbl -> SetHostNames(This,szContainerApp,szContainerObj)
- #define IOleObject_Close(This,dwSaveOption)
- (This)->lpVtbl -> Close(This,dwSaveOption)
- #define IOleObject_SetMoniker(This,dwWhichMoniker,pmk)
- (This)->lpVtbl -> SetMoniker(This,dwWhichMoniker,pmk)
- #define IOleObject_GetMoniker(This,dwAssign,dwWhichMoniker,ppmk)
- (This)->lpVtbl -> GetMoniker(This,dwAssign,dwWhichMoniker,ppmk)
- #define IOleObject_InitFromData(This,pDataObject,fCreation,dwReserved)
- (This)->lpVtbl -> InitFromData(This,pDataObject,fCreation,dwReserved)
- #define IOleObject_GetClipboardData(This,dwReserved,ppDataObject)
- (This)->lpVtbl -> GetClipboardData(This,dwReserved,ppDataObject)
- #define IOleObject_DoVerb(This,iVerb,lpmsg,pActiveSite,lindex,hwndParent,lprcPosRect)
- (This)->lpVtbl -> DoVerb(This,iVerb,lpmsg,pActiveSite,lindex,hwndParent,lprcPosRect)
- #define IOleObject_EnumVerbs(This,ppEnumOleVerb)
- (This)->lpVtbl -> EnumVerbs(This,ppEnumOleVerb)
- #define IOleObject_Update(This)
- (This)->lpVtbl -> Update(This)
- #define IOleObject_IsUpToDate(This)
- (This)->lpVtbl -> IsUpToDate(This)
- #define IOleObject_GetUserClassID(This,pClsid)
- (This)->lpVtbl -> GetUserClassID(This,pClsid)
- #define IOleObject_GetUserType(This,dwFormOfType,pszUserType)
- (This)->lpVtbl -> GetUserType(This,dwFormOfType,pszUserType)
- #define IOleObject_SetExtent(This,dwDrawAspect,psizel)
- (This)->lpVtbl -> SetExtent(This,dwDrawAspect,psizel)
- #define IOleObject_GetExtent(This,dwDrawAspect,psizel)
- (This)->lpVtbl -> GetExtent(This,dwDrawAspect,psizel)
- #define IOleObject_Advise(This,pAdvSink,pdwConnection)
- (This)->lpVtbl -> Advise(This,pAdvSink,pdwConnection)
- #define IOleObject_Unadvise(This,dwConnection)
- (This)->lpVtbl -> Unadvise(This,dwConnection)
- #define IOleObject_EnumAdvise(This,ppenumAdvise)
- (This)->lpVtbl -> EnumAdvise(This,ppenumAdvise)
- #define IOleObject_GetMiscStatus(This,dwAspect,pdwStatus)
- (This)->lpVtbl -> GetMiscStatus(This,dwAspect,pdwStatus)
- #define IOleObject_SetColorScheme(This,pLogpal)
- (This)->lpVtbl -> SetColorScheme(This,pLogpal)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleObject_SetClientSite_Proxy(
- IOleObject * This,
- /* [unique][in] */ IOleClientSite *pClientSite);
- void __RPC_STUB IOleObject_SetClientSite_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_GetClientSite_Proxy(
- IOleObject * This,
- /* [out] */ IOleClientSite **ppClientSite);
- void __RPC_STUB IOleObject_GetClientSite_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_SetHostNames_Proxy(
- IOleObject * This,
- /* [in] */ LPCOLESTR szContainerApp,
- /* [unique][in] */ LPCOLESTR szContainerObj);
- void __RPC_STUB IOleObject_SetHostNames_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_Close_Proxy(
- IOleObject * This,
- /* [in] */ DWORD dwSaveOption);
- void __RPC_STUB IOleObject_Close_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_SetMoniker_Proxy(
- IOleObject * This,
- /* [in] */ DWORD dwWhichMoniker,
- /* [unique][in] */ IMoniker *pmk);
- void __RPC_STUB IOleObject_SetMoniker_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_GetMoniker_Proxy(
- IOleObject * This,
- /* [in] */ DWORD dwAssign,
- /* [in] */ DWORD dwWhichMoniker,
- /* [out] */ IMoniker **ppmk);
- void __RPC_STUB IOleObject_GetMoniker_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_InitFromData_Proxy(
- IOleObject * This,
- /* [unique][in] */ IDataObject *pDataObject,
- /* [in] */ BOOL fCreation,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IOleObject_InitFromData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_GetClipboardData_Proxy(
- IOleObject * This,
- /* [in] */ DWORD dwReserved,
- /* [out] */ IDataObject **ppDataObject);
- void __RPC_STUB IOleObject_GetClipboardData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_DoVerb_Proxy(
- IOleObject * This,
- /* [in] */ LONG iVerb,
- /* [unique][in] */ LPMSG lpmsg,
- /* [unique][in] */ IOleClientSite *pActiveSite,
- /* [in] */ LONG lindex,
- /* [in] */ HWND hwndParent,
- /* [unique][in] */ LPCRECT lprcPosRect);
- void __RPC_STUB IOleObject_DoVerb_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_EnumVerbs_Proxy(
- IOleObject * This,
- /* [out] */ IEnumOLEVERB **ppEnumOleVerb);
- void __RPC_STUB IOleObject_EnumVerbs_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_Update_Proxy(
- IOleObject * This);
- void __RPC_STUB IOleObject_Update_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_IsUpToDate_Proxy(
- IOleObject * This);
- void __RPC_STUB IOleObject_IsUpToDate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_GetUserClassID_Proxy(
- IOleObject * This,
- /* [out] */ CLSID *pClsid);
- void __RPC_STUB IOleObject_GetUserClassID_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_GetUserType_Proxy(
- IOleObject * This,
- /* [in] */ DWORD dwFormOfType,
- /* [out] */ LPOLESTR *pszUserType);
- void __RPC_STUB IOleObject_GetUserType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_SetExtent_Proxy(
- IOleObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ SIZEL *psizel);
- void __RPC_STUB IOleObject_SetExtent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_GetExtent_Proxy(
- IOleObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [out] */ SIZEL *psizel);
- void __RPC_STUB IOleObject_GetExtent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_Advise_Proxy(
- IOleObject * This,
- /* [unique][in] */ IAdviseSink *pAdvSink,
- /* [out] */ DWORD *pdwConnection);
- void __RPC_STUB IOleObject_Advise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_Unadvise_Proxy(
- IOleObject * This,
- /* [in] */ DWORD dwConnection);
- void __RPC_STUB IOleObject_Unadvise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_EnumAdvise_Proxy(
- IOleObject * This,
- /* [out] */ IEnumSTATDATA **ppenumAdvise);
- void __RPC_STUB IOleObject_EnumAdvise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_GetMiscStatus_Proxy(
- IOleObject * This,
- /* [in] */ DWORD dwAspect,
- /* [out] */ DWORD *pdwStatus);
- void __RPC_STUB IOleObject_GetMiscStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleObject_SetColorScheme_Proxy(
- IOleObject * This,
- /* [in] */ LOGPALETTE *pLogpal);
- void __RPC_STUB IOleObject_SetColorScheme_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleObject_INTERFACE_DEFINED__ */
- #ifndef __IOLETypes_INTERFACE_DEFINED__
- #define __IOLETypes_INTERFACE_DEFINED__
- /* interface IOLETypes */
- /* [auto_handle][uuid] */
- typedef
- enum tagOLERENDER
- { OLERENDER_NONE = 0,
- OLERENDER_DRAW = 1,
- OLERENDER_FORMAT = 2,
- OLERENDER_ASIS = 3
- } OLERENDER;
- typedef OLERENDER *LPOLERENDER;
- typedef struct tagOBJECTDESCRIPTOR
- {
- ULONG cbSize;
- CLSID clsid;
- DWORD dwDrawAspect;
- SIZEL sizel;
- POINTL pointl;
- DWORD dwStatus;
- DWORD dwFullUserTypeName;
- DWORD dwSrcOfCopy;
- } OBJECTDESCRIPTOR;
- typedef struct tagOBJECTDESCRIPTOR *POBJECTDESCRIPTOR;
- typedef struct tagOBJECTDESCRIPTOR *LPOBJECTDESCRIPTOR;
- typedef struct tagOBJECTDESCRIPTOR LINKSRCDESCRIPTOR;
- typedef struct tagOBJECTDESCRIPTOR *PLINKSRCDESCRIPTOR;
- typedef struct tagOBJECTDESCRIPTOR *LPLINKSRCDESCRIPTOR;
- extern RPC_IF_HANDLE IOLETypes_v0_0_c_ifspec;
- extern RPC_IF_HANDLE IOLETypes_v0_0_s_ifspec;
- #endif /* __IOLETypes_INTERFACE_DEFINED__ */
- #ifndef __IOleWindow_INTERFACE_DEFINED__
- #define __IOleWindow_INTERFACE_DEFINED__
- /* interface IOleWindow */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleWindow *LPOLEWINDOW;
- EXTERN_C const IID IID_IOleWindow;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000114-0000-0000-C000-000000000046")
- IOleWindow : public IUnknown
- {
- public:
- virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE GetWindow(
- /* [out] */ HWND *phwnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp(
- /* [in] */ BOOL fEnterMode) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleWindowVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleWindow * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleWindow * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleWindow * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
- IOleWindow * This,
- /* [out] */ HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
- IOleWindow * This,
- /* [in] */ BOOL fEnterMode);
-
- END_INTERFACE
- } IOleWindowVtbl;
- interface IOleWindow
- {
- CONST_VTBL struct IOleWindowVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleWindow_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleWindow_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleWindow_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleWindow_GetWindow(This,phwnd)
- (This)->lpVtbl -> GetWindow(This,phwnd)
- #define IOleWindow_ContextSensitiveHelp(This,fEnterMode)
- (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleWindow_GetWindow_Proxy(
- IOleWindow * This,
- /* [out] */ HWND *phwnd);
- void __RPC_STUB IOleWindow_GetWindow_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleWindow_ContextSensitiveHelp_Proxy(
- IOleWindow * This,
- /* [in] */ BOOL fEnterMode);
- void __RPC_STUB IOleWindow_ContextSensitiveHelp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleWindow_INTERFACE_DEFINED__ */
- #ifndef __IOleLink_INTERFACE_DEFINED__
- #define __IOleLink_INTERFACE_DEFINED__
- /* interface IOleLink */
- /* [uuid][object] */
- typedef /* [unique] */ IOleLink *LPOLELINK;
- typedef
- enum tagOLEUPDATE
- { OLEUPDATE_ALWAYS = 1,
- OLEUPDATE_ONCALL = 3
- } OLEUPDATE;
- typedef OLEUPDATE *LPOLEUPDATE;
- typedef OLEUPDATE *POLEUPDATE;
- typedef
- enum tagOLELINKBIND
- { OLELINKBIND_EVENIFCLASSDIFF = 1
- } OLELINKBIND;
- EXTERN_C const IID IID_IOleLink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000011d-0000-0000-C000-000000000046")
- IOleLink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetUpdateOptions(
- /* [in] */ DWORD dwUpdateOpt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetUpdateOptions(
- /* [out] */ DWORD *pdwUpdateOpt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSourceMoniker(
- /* [unique][in] */ IMoniker *pmk,
- /* [in] */ REFCLSID rclsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSourceMoniker(
- /* [out] */ IMoniker **ppmk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSourceDisplayName(
- /* [in] */ LPCOLESTR pszStatusText) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSourceDisplayName(
- /* [out] */ LPOLESTR *ppszDisplayName) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE BindToSource(
- /* [in] */ DWORD bindflags,
- /* [unique][in] */ IBindCtx *pbc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE BindIfRunning( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetBoundSource(
- /* [out] */ IUnknown **ppunk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnbindSource( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Update(
- /* [unique][in] */ IBindCtx *pbc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleLinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleLink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleLink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleLink * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetUpdateOptions )(
- IOleLink * This,
- /* [in] */ DWORD dwUpdateOpt);
-
- HRESULT ( STDMETHODCALLTYPE *GetUpdateOptions )(
- IOleLink * This,
- /* [out] */ DWORD *pdwUpdateOpt);
-
- HRESULT ( STDMETHODCALLTYPE *SetSourceMoniker )(
- IOleLink * This,
- /* [unique][in] */ IMoniker *pmk,
- /* [in] */ REFCLSID rclsid);
-
- HRESULT ( STDMETHODCALLTYPE *GetSourceMoniker )(
- IOleLink * This,
- /* [out] */ IMoniker **ppmk);
-
- HRESULT ( STDMETHODCALLTYPE *SetSourceDisplayName )(
- IOleLink * This,
- /* [in] */ LPCOLESTR pszStatusText);
-
- HRESULT ( STDMETHODCALLTYPE *GetSourceDisplayName )(
- IOleLink * This,
- /* [out] */ LPOLESTR *ppszDisplayName);
-
- HRESULT ( STDMETHODCALLTYPE *BindToSource )(
- IOleLink * This,
- /* [in] */ DWORD bindflags,
- /* [unique][in] */ IBindCtx *pbc);
-
- HRESULT ( STDMETHODCALLTYPE *BindIfRunning )(
- IOleLink * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetBoundSource )(
- IOleLink * This,
- /* [out] */ IUnknown **ppunk);
-
- HRESULT ( STDMETHODCALLTYPE *UnbindSource )(
- IOleLink * This);
-
- HRESULT ( STDMETHODCALLTYPE *Update )(
- IOleLink * This,
- /* [unique][in] */ IBindCtx *pbc);
-
- END_INTERFACE
- } IOleLinkVtbl;
- interface IOleLink
- {
- CONST_VTBL struct IOleLinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleLink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleLink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleLink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleLink_SetUpdateOptions(This,dwUpdateOpt)
- (This)->lpVtbl -> SetUpdateOptions(This,dwUpdateOpt)
- #define IOleLink_GetUpdateOptions(This,pdwUpdateOpt)
- (This)->lpVtbl -> GetUpdateOptions(This,pdwUpdateOpt)
- #define IOleLink_SetSourceMoniker(This,pmk,rclsid)
- (This)->lpVtbl -> SetSourceMoniker(This,pmk,rclsid)
- #define IOleLink_GetSourceMoniker(This,ppmk)
- (This)->lpVtbl -> GetSourceMoniker(This,ppmk)
- #define IOleLink_SetSourceDisplayName(This,pszStatusText)
- (This)->lpVtbl -> SetSourceDisplayName(This,pszStatusText)
- #define IOleLink_GetSourceDisplayName(This,ppszDisplayName)
- (This)->lpVtbl -> GetSourceDisplayName(This,ppszDisplayName)
- #define IOleLink_BindToSource(This,bindflags,pbc)
- (This)->lpVtbl -> BindToSource(This,bindflags,pbc)
- #define IOleLink_BindIfRunning(This)
- (This)->lpVtbl -> BindIfRunning(This)
- #define IOleLink_GetBoundSource(This,ppunk)
- (This)->lpVtbl -> GetBoundSource(This,ppunk)
- #define IOleLink_UnbindSource(This)
- (This)->lpVtbl -> UnbindSource(This)
- #define IOleLink_Update(This,pbc)
- (This)->lpVtbl -> Update(This,pbc)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleLink_SetUpdateOptions_Proxy(
- IOleLink * This,
- /* [in] */ DWORD dwUpdateOpt);
- void __RPC_STUB IOleLink_SetUpdateOptions_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_GetUpdateOptions_Proxy(
- IOleLink * This,
- /* [out] */ DWORD *pdwUpdateOpt);
- void __RPC_STUB IOleLink_GetUpdateOptions_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_SetSourceMoniker_Proxy(
- IOleLink * This,
- /* [unique][in] */ IMoniker *pmk,
- /* [in] */ REFCLSID rclsid);
- void __RPC_STUB IOleLink_SetSourceMoniker_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_GetSourceMoniker_Proxy(
- IOleLink * This,
- /* [out] */ IMoniker **ppmk);
- void __RPC_STUB IOleLink_GetSourceMoniker_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_SetSourceDisplayName_Proxy(
- IOleLink * This,
- /* [in] */ LPCOLESTR pszStatusText);
- void __RPC_STUB IOleLink_SetSourceDisplayName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_GetSourceDisplayName_Proxy(
- IOleLink * This,
- /* [out] */ LPOLESTR *ppszDisplayName);
- void __RPC_STUB IOleLink_GetSourceDisplayName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_BindToSource_Proxy(
- IOleLink * This,
- /* [in] */ DWORD bindflags,
- /* [unique][in] */ IBindCtx *pbc);
- void __RPC_STUB IOleLink_BindToSource_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_BindIfRunning_Proxy(
- IOleLink * This);
- void __RPC_STUB IOleLink_BindIfRunning_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_GetBoundSource_Proxy(
- IOleLink * This,
- /* [out] */ IUnknown **ppunk);
- void __RPC_STUB IOleLink_GetBoundSource_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_UnbindSource_Proxy(
- IOleLink * This);
- void __RPC_STUB IOleLink_UnbindSource_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleLink_Update_Proxy(
- IOleLink * This,
- /* [unique][in] */ IBindCtx *pbc);
- void __RPC_STUB IOleLink_Update_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleLink_INTERFACE_DEFINED__ */
- #ifndef __IOleItemContainer_INTERFACE_DEFINED__
- #define __IOleItemContainer_INTERFACE_DEFINED__
- /* interface IOleItemContainer */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleItemContainer *LPOLEITEMCONTAINER;
- typedef
- enum tagBINDSPEED
- { BINDSPEED_INDEFINITE = 1,
- BINDSPEED_MODERATE = 2,
- BINDSPEED_IMMEDIATE = 3
- } BINDSPEED;
- typedef /* [v1_enum] */
- enum tagOLECONTF
- { OLECONTF_EMBEDDINGS = 1,
- OLECONTF_LINKS = 2,
- OLECONTF_OTHERS = 4,
- OLECONTF_ONLYUSER = 8,
- OLECONTF_ONLYIFRUNNING = 16
- } OLECONTF;
- EXTERN_C const IID IID_IOleItemContainer;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000011c-0000-0000-C000-000000000046")
- IOleItemContainer : public IOleContainer
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetObject(
- /* [in] */ LPOLESTR pszItem,
- /* [in] */ DWORD dwSpeedNeeded,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetObjectStorage(