ObjIdl.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:418k
- IMoniker * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [unique][in] */ IMoniker *pmkToLeft,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppvObj);
- void __RPC_STUB IMoniker_RemoteBindToStorage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_Reduce_Proxy(
- IMoniker * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ DWORD dwReduceHowFar,
- /* [unique][out][in] */ IMoniker **ppmkToLeft,
- /* [out] */ IMoniker **ppmkReduced);
- void __RPC_STUB IMoniker_Reduce_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_ComposeWith_Proxy(
- IMoniker * This,
- /* [unique][in] */ IMoniker *pmkRight,
- /* [in] */ BOOL fOnlyIfNotGeneric,
- /* [out] */ IMoniker **ppmkComposite);
- void __RPC_STUB IMoniker_ComposeWith_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_Enum_Proxy(
- IMoniker * This,
- /* [in] */ BOOL fForward,
- /* [out] */ IEnumMoniker **ppenumMoniker);
- void __RPC_STUB IMoniker_Enum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_IsEqual_Proxy(
- IMoniker * This,
- /* [unique][in] */ IMoniker *pmkOtherMoniker);
- void __RPC_STUB IMoniker_IsEqual_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_Hash_Proxy(
- IMoniker * This,
- /* [out] */ DWORD *pdwHash);
- void __RPC_STUB IMoniker_Hash_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_IsRunning_Proxy(
- IMoniker * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [unique][in] */ IMoniker *pmkToLeft,
- /* [unique][in] */ IMoniker *pmkNewlyRunning);
- void __RPC_STUB IMoniker_IsRunning_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_GetTimeOfLastChange_Proxy(
- IMoniker * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [unique][in] */ IMoniker *pmkToLeft,
- /* [out] */ FILETIME *pFileTime);
- void __RPC_STUB IMoniker_GetTimeOfLastChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_Inverse_Proxy(
- IMoniker * This,
- /* [out] */ IMoniker **ppmk);
- void __RPC_STUB IMoniker_Inverse_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_CommonPrefixWith_Proxy(
- IMoniker * This,
- /* [unique][in] */ IMoniker *pmkOther,
- /* [out] */ IMoniker **ppmkPrefix);
- void __RPC_STUB IMoniker_CommonPrefixWith_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_RelativePathTo_Proxy(
- IMoniker * This,
- /* [unique][in] */ IMoniker *pmkOther,
- /* [out] */ IMoniker **ppmkRelPath);
- void __RPC_STUB IMoniker_RelativePathTo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_GetDisplayName_Proxy(
- IMoniker * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [unique][in] */ IMoniker *pmkToLeft,
- /* [out] */ LPOLESTR *ppszDisplayName);
- void __RPC_STUB IMoniker_GetDisplayName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_ParseDisplayName_Proxy(
- IMoniker * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [unique][in] */ IMoniker *pmkToLeft,
- /* [in] */ LPOLESTR pszDisplayName,
- /* [out] */ ULONG *pchEaten,
- /* [out] */ IMoniker **ppmkOut);
- void __RPC_STUB IMoniker_ParseDisplayName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMoniker_IsSystemMoniker_Proxy(
- IMoniker * This,
- /* [out] */ DWORD *pdwMksys);
- void __RPC_STUB IMoniker_IsSystemMoniker_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMoniker_INTERFACE_DEFINED__ */
- #ifndef __IROTData_INTERFACE_DEFINED__
- #define __IROTData_INTERFACE_DEFINED__
- /* interface IROTData */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IROTData;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("f29f6bc0-5021-11ce-aa15-00006901293f")
- IROTData : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetComparisonData(
- /* [size_is][out] */ byte *pbData,
- /* [in] */ ULONG cbMax,
- /* [out] */ ULONG *pcbData) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IROTDataVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IROTData * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IROTData * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IROTData * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetComparisonData )(
- IROTData * This,
- /* [size_is][out] */ byte *pbData,
- /* [in] */ ULONG cbMax,
- /* [out] */ ULONG *pcbData);
-
- END_INTERFACE
- } IROTDataVtbl;
- interface IROTData
- {
- CONST_VTBL struct IROTDataVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IROTData_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IROTData_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IROTData_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IROTData_GetComparisonData(This,pbData,cbMax,pcbData)
- (This)->lpVtbl -> GetComparisonData(This,pbData,cbMax,pcbData)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IROTData_GetComparisonData_Proxy(
- IROTData * This,
- /* [size_is][out] */ byte *pbData,
- /* [in] */ ULONG cbMax,
- /* [out] */ ULONG *pcbData);
- void __RPC_STUB IROTData_GetComparisonData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IROTData_INTERFACE_DEFINED__ */
- #ifndef __IEnumString_INTERFACE_DEFINED__
- #define __IEnumString_INTERFACE_DEFINED__
- /* interface IEnumString */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IEnumString *LPENUMSTRING;
- EXTERN_C const IID IID_IEnumString;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000101-0000-0000-C000-000000000046")
- IEnumString : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ LPOLESTR *rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumString **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumStringVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumString * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumString * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumString * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumString * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ LPOLESTR *rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumString * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumString * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumString * This,
- /* [out] */ IEnumString **ppenum);
-
- END_INTERFACE
- } IEnumStringVtbl;
- interface IEnumString
- {
- CONST_VTBL struct IEnumStringVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumString_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumString_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumString_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumString_Next(This,celt,rgelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumString_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumString_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumString_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumString_RemoteNext_Proxy(
- IEnumString * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ LPOLESTR *rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumString_RemoteNext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumString_Skip_Proxy(
- IEnumString * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumString_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumString_Reset_Proxy(
- IEnumString * This);
- void __RPC_STUB IEnumString_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumString_Clone_Proxy(
- IEnumString * This,
- /* [out] */ IEnumString **ppenum);
- void __RPC_STUB IEnumString_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumString_INTERFACE_DEFINED__ */
- #ifndef __ISequentialStream_INTERFACE_DEFINED__
- #define __ISequentialStream_INTERFACE_DEFINED__
- /* interface ISequentialStream */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ISequentialStream;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0c733a30-2a1c-11ce-ade5-00aa0044773d")
- ISequentialStream : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Read(
- /* [length_is][size_is][out] */ void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbRead) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Write(
- /* [size_is][in] */ const void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISequentialStreamVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISequentialStream * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISequentialStream * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISequentialStream * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Read )(
- ISequentialStream * This,
- /* [length_is][size_is][out] */ void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbRead);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Write )(
- ISequentialStream * This,
- /* [size_is][in] */ const void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten);
-
- END_INTERFACE
- } ISequentialStreamVtbl;
- interface ISequentialStream
- {
- CONST_VTBL struct ISequentialStreamVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISequentialStream_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISequentialStream_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISequentialStream_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISequentialStream_Read(This,pv,cb,pcbRead)
- (This)->lpVtbl -> Read(This,pv,cb,pcbRead)
- #define ISequentialStream_Write(This,pv,cb,pcbWritten)
- (This)->lpVtbl -> Write(This,pv,cb,pcbWritten)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteRead_Proxy(
- ISequentialStream * This,
- /* [length_is][size_is][out] */ byte *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbRead);
- void __RPC_STUB ISequentialStream_RemoteRead_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteWrite_Proxy(
- ISequentialStream * This,
- /* [size_is][in] */ const byte *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten);
- void __RPC_STUB ISequentialStream_RemoteWrite_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISequentialStream_INTERFACE_DEFINED__ */
- #ifndef __IStream_INTERFACE_DEFINED__
- #define __IStream_INTERFACE_DEFINED__
- /* interface IStream */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IStream *LPSTREAM;
- //FSSpec is Macintosh only, defined in macosfiles.h
- #ifdef _MAC
- typedef struct tagSTATSTG
- {
- LPOLESTR pwcsName;
- FSSpec *pspec;
- DWORD type;
- ULARGE_INTEGER cbSize;
- FILETIME mtime;
- FILETIME ctime;
- FILETIME atime;
- DWORD grfMode;
- DWORD grfLocksSupported;
- CLSID clsid;
- DWORD grfStateBits;
- DWORD reserved;
- } STATSTG;
- #else //_MAC
- typedef struct tagSTATSTG
- {
- LPOLESTR pwcsName;
- DWORD type;
- ULARGE_INTEGER cbSize;
- FILETIME mtime;
- FILETIME ctime;
- FILETIME atime;
- DWORD grfMode;
- DWORD grfLocksSupported;
- CLSID clsid;
- DWORD grfStateBits;
- DWORD reserved;
- } STATSTG;
- #endif //_MAC
- typedef
- enum tagSTGTY
- { STGTY_STORAGE = 1,
- STGTY_STREAM = 2,
- STGTY_LOCKBYTES = 3,
- STGTY_PROPERTY = 4
- } STGTY;
- typedef
- enum tagSTREAM_SEEK
- { STREAM_SEEK_SET = 0,
- STREAM_SEEK_CUR = 1,
- STREAM_SEEK_END = 2
- } STREAM_SEEK;
- typedef
- enum tagLOCKTYPE
- { LOCK_WRITE = 1,
- LOCK_EXCLUSIVE = 2,
- LOCK_ONLYONCE = 4
- } LOCKTYPE;
- EXTERN_C const IID IID_IStream;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000000c-0000-0000-C000-000000000046")
- IStream : public ISequentialStream
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Seek(
- /* [in] */ LARGE_INTEGER dlibMove,
- /* [in] */ DWORD dwOrigin,
- /* [out] */ ULARGE_INTEGER *plibNewPosition) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSize(
- /* [in] */ ULARGE_INTEGER libNewSize) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE CopyTo(
- /* [unique][in] */ IStream *pstm,
- /* [in] */ ULARGE_INTEGER cb,
- /* [out] */ ULARGE_INTEGER *pcbRead,
- /* [out] */ ULARGE_INTEGER *pcbWritten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Commit(
- /* [in] */ DWORD grfCommitFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Revert( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE LockRegion(
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnlockRegion(
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Stat(
- /* [out] */ STATSTG *pstatstg,
- /* [in] */ DWORD grfStatFlag) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IStream **ppstm) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IStreamVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IStream * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IStream * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IStream * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Read )(
- IStream * This,
- /* [length_is][size_is][out] */ void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbRead);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Write )(
- IStream * This,
- /* [size_is][in] */ const void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
- IStream * This,
- /* [in] */ LARGE_INTEGER dlibMove,
- /* [in] */ DWORD dwOrigin,
- /* [out] */ ULARGE_INTEGER *plibNewPosition);
-
- HRESULT ( STDMETHODCALLTYPE *SetSize )(
- IStream * This,
- /* [in] */ ULARGE_INTEGER libNewSize);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *CopyTo )(
- IStream * This,
- /* [unique][in] */ IStream *pstm,
- /* [in] */ ULARGE_INTEGER cb,
- /* [out] */ ULARGE_INTEGER *pcbRead,
- /* [out] */ ULARGE_INTEGER *pcbWritten);
-
- HRESULT ( STDMETHODCALLTYPE *Commit )(
- IStream * This,
- /* [in] */ DWORD grfCommitFlags);
-
- HRESULT ( STDMETHODCALLTYPE *Revert )(
- IStream * This);
-
- HRESULT ( STDMETHODCALLTYPE *LockRegion )(
- IStream * This,
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType);
-
- HRESULT ( STDMETHODCALLTYPE *UnlockRegion )(
- IStream * This,
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType);
-
- HRESULT ( STDMETHODCALLTYPE *Stat )(
- IStream * This,
- /* [out] */ STATSTG *pstatstg,
- /* [in] */ DWORD grfStatFlag);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IStream * This,
- /* [out] */ IStream **ppstm);
-
- END_INTERFACE
- } IStreamVtbl;
- interface IStream
- {
- CONST_VTBL struct IStreamVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IStream_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IStream_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IStream_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IStream_Read(This,pv,cb,pcbRead)
- (This)->lpVtbl -> Read(This,pv,cb,pcbRead)
- #define IStream_Write(This,pv,cb,pcbWritten)
- (This)->lpVtbl -> Write(This,pv,cb,pcbWritten)
- #define IStream_Seek(This,dlibMove,dwOrigin,plibNewPosition)
- (This)->lpVtbl -> Seek(This,dlibMove,dwOrigin,plibNewPosition)
- #define IStream_SetSize(This,libNewSize)
- (This)->lpVtbl -> SetSize(This,libNewSize)
- #define IStream_CopyTo(This,pstm,cb,pcbRead,pcbWritten)
- (This)->lpVtbl -> CopyTo(This,pstm,cb,pcbRead,pcbWritten)
- #define IStream_Commit(This,grfCommitFlags)
- (This)->lpVtbl -> Commit(This,grfCommitFlags)
- #define IStream_Revert(This)
- (This)->lpVtbl -> Revert(This)
- #define IStream_LockRegion(This,libOffset,cb,dwLockType)
- (This)->lpVtbl -> LockRegion(This,libOffset,cb,dwLockType)
- #define IStream_UnlockRegion(This,libOffset,cb,dwLockType)
- (This)->lpVtbl -> UnlockRegion(This,libOffset,cb,dwLockType)
- #define IStream_Stat(This,pstatstg,grfStatFlag)
- (This)->lpVtbl -> Stat(This,pstatstg,grfStatFlag)
- #define IStream_Clone(This,ppstm)
- (This)->lpVtbl -> Clone(This,ppstm)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IStream_RemoteSeek_Proxy(
- IStream * This,
- /* [in] */ LARGE_INTEGER dlibMove,
- /* [in] */ DWORD dwOrigin,
- /* [out] */ ULARGE_INTEGER *plibNewPosition);
- void __RPC_STUB IStream_RemoteSeek_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStream_SetSize_Proxy(
- IStream * This,
- /* [in] */ ULARGE_INTEGER libNewSize);
- void __RPC_STUB IStream_SetSize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IStream_RemoteCopyTo_Proxy(
- IStream * This,
- /* [unique][in] */ IStream *pstm,
- /* [in] */ ULARGE_INTEGER cb,
- /* [out] */ ULARGE_INTEGER *pcbRead,
- /* [out] */ ULARGE_INTEGER *pcbWritten);
- void __RPC_STUB IStream_RemoteCopyTo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStream_Commit_Proxy(
- IStream * This,
- /* [in] */ DWORD grfCommitFlags);
- void __RPC_STUB IStream_Commit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStream_Revert_Proxy(
- IStream * This);
- void __RPC_STUB IStream_Revert_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStream_LockRegion_Proxy(
- IStream * This,
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType);
- void __RPC_STUB IStream_LockRegion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStream_UnlockRegion_Proxy(
- IStream * This,
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType);
- void __RPC_STUB IStream_UnlockRegion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStream_Stat_Proxy(
- IStream * This,
- /* [out] */ STATSTG *pstatstg,
- /* [in] */ DWORD grfStatFlag);
- void __RPC_STUB IStream_Stat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStream_Clone_Proxy(
- IStream * This,
- /* [out] */ IStream **ppstm);
- void __RPC_STUB IStream_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IStream_INTERFACE_DEFINED__ */
- #ifndef __IEnumSTATSTG_INTERFACE_DEFINED__
- #define __IEnumSTATSTG_INTERFACE_DEFINED__
- /* interface IEnumSTATSTG */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IEnumSTATSTG *LPENUMSTATSTG;
- EXTERN_C const IID IID_IEnumSTATSTG;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000000d-0000-0000-C000-000000000046")
- IEnumSTATSTG : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ STATSTG *rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumSTATSTG **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumSTATSTGVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumSTATSTG * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumSTATSTG * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumSTATSTG * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumSTATSTG * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ STATSTG *rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumSTATSTG * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumSTATSTG * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumSTATSTG * This,
- /* [out] */ IEnumSTATSTG **ppenum);
-
- END_INTERFACE
- } IEnumSTATSTGVtbl;
- interface IEnumSTATSTG
- {
- CONST_VTBL struct IEnumSTATSTGVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumSTATSTG_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumSTATSTG_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumSTATSTG_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumSTATSTG_Next(This,celt,rgelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumSTATSTG_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumSTATSTG_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumSTATSTG_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumSTATSTG_RemoteNext_Proxy(
- IEnumSTATSTG * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ STATSTG *rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumSTATSTG_RemoteNext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Skip_Proxy(
- IEnumSTATSTG * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumSTATSTG_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Reset_Proxy(
- IEnumSTATSTG * This);
- void __RPC_STUB IEnumSTATSTG_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Clone_Proxy(
- IEnumSTATSTG * This,
- /* [out] */ IEnumSTATSTG **ppenum);
- void __RPC_STUB IEnumSTATSTG_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumSTATSTG_INTERFACE_DEFINED__ */
- #ifndef __IStorage_INTERFACE_DEFINED__
- #define __IStorage_INTERFACE_DEFINED__
- /* interface IStorage */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IStorage *LPSTORAGE;
- typedef struct tagRemSNB
- {
- unsigned long ulCntStr;
- unsigned long ulCntChar;
- /* [size_is] */ OLECHAR rgString[ 1 ];
- } RemSNB;
- typedef /* [unique] */ RemSNB *wireSNB;
- typedef /* [wire_marshal] */ OLECHAR **SNB;
- EXTERN_C const IID IID_IStorage;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000000b-0000-0000-C000-000000000046")
- IStorage : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CreateStream(
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [in] */ DWORD grfMode,
- /* [in] */ DWORD reserved1,
- /* [in] */ DWORD reserved2,
- /* [out] */ IStream **ppstm) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE OpenStream(
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ void *reserved1,
- /* [in] */ DWORD grfMode,
- /* [in] */ DWORD reserved2,
- /* [out] */ IStream **ppstm) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateStorage(
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [in] */ DWORD grfMode,
- /* [in] */ DWORD reserved1,
- /* [in] */ DWORD reserved2,
- /* [out] */ IStorage **ppstg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OpenStorage(
- /* [string][unique][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ IStorage *pstgPriority,
- /* [in] */ DWORD grfMode,
- /* [unique][in] */ SNB snbExclude,
- /* [in] */ DWORD reserved,
- /* [out] */ IStorage **ppstg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CopyTo(
- /* [in] */ DWORD ciidExclude,
- /* [size_is][unique][in] */ const IID *rgiidExclude,
- /* [unique][in] */ SNB snbExclude,
- /* [unique][in] */ IStorage *pstgDest) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE MoveElementTo(
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ IStorage *pstgDest,
- /* [string][in] */ const OLECHAR *pwcsNewName,
- /* [in] */ DWORD grfFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Commit(
- /* [in] */ DWORD grfCommitFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Revert( void) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE EnumElements(
- /* [in] */ DWORD reserved1,
- /* [size_is][unique][in] */ void *reserved2,
- /* [in] */ DWORD reserved3,
- /* [out] */ IEnumSTATSTG **ppenum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DestroyElement(
- /* [string][in] */ const OLECHAR *pwcsName) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RenameElement(
- /* [string][in] */ const OLECHAR *pwcsOldName,
- /* [string][in] */ const OLECHAR *pwcsNewName) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetElementTimes(
- /* [string][unique][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ const FILETIME *pctime,
- /* [unique][in] */ const FILETIME *patime,
- /* [unique][in] */ const FILETIME *pmtime) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetClass(
- /* [in] */ REFCLSID clsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetStateBits(
- /* [in] */ DWORD grfStateBits,
- /* [in] */ DWORD grfMask) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Stat(
- /* [out] */ STATSTG *pstatstg,
- /* [in] */ DWORD grfStatFlag) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IStorageVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IStorage * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IStorage * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IStorage * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateStream )(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [in] */ DWORD grfMode,
- /* [in] */ DWORD reserved1,
- /* [in] */ DWORD reserved2,
- /* [out] */ IStream **ppstm);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *OpenStream )(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ void *reserved1,
- /* [in] */ DWORD grfMode,
- /* [in] */ DWORD reserved2,
- /* [out] */ IStream **ppstm);
-
- HRESULT ( STDMETHODCALLTYPE *CreateStorage )(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [in] */ DWORD grfMode,
- /* [in] */ DWORD reserved1,
- /* [in] */ DWORD reserved2,
- /* [out] */ IStorage **ppstg);
-
- HRESULT ( STDMETHODCALLTYPE *OpenStorage )(
- IStorage * This,
- /* [string][unique][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ IStorage *pstgPriority,
- /* [in] */ DWORD grfMode,
- /* [unique][in] */ SNB snbExclude,
- /* [in] */ DWORD reserved,
- /* [out] */ IStorage **ppstg);
-
- HRESULT ( STDMETHODCALLTYPE *CopyTo )(
- IStorage * This,
- /* [in] */ DWORD ciidExclude,
- /* [size_is][unique][in] */ const IID *rgiidExclude,
- /* [unique][in] */ SNB snbExclude,
- /* [unique][in] */ IStorage *pstgDest);
-
- HRESULT ( STDMETHODCALLTYPE *MoveElementTo )(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ IStorage *pstgDest,
- /* [string][in] */ const OLECHAR *pwcsNewName,
- /* [in] */ DWORD grfFlags);
-
- HRESULT ( STDMETHODCALLTYPE *Commit )(
- IStorage * This,
- /* [in] */ DWORD grfCommitFlags);
-
- HRESULT ( STDMETHODCALLTYPE *Revert )(
- IStorage * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *EnumElements )(
- IStorage * This,
- /* [in] */ DWORD reserved1,
- /* [size_is][unique][in] */ void *reserved2,
- /* [in] */ DWORD reserved3,
- /* [out] */ IEnumSTATSTG **ppenum);
-
- HRESULT ( STDMETHODCALLTYPE *DestroyElement )(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName);
-
- HRESULT ( STDMETHODCALLTYPE *RenameElement )(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsOldName,
- /* [string][in] */ const OLECHAR *pwcsNewName);
-
- HRESULT ( STDMETHODCALLTYPE *SetElementTimes )(
- IStorage * This,
- /* [string][unique][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ const FILETIME *pctime,
- /* [unique][in] */ const FILETIME *patime,
- /* [unique][in] */ const FILETIME *pmtime);
-
- HRESULT ( STDMETHODCALLTYPE *SetClass )(
- IStorage * This,
- /* [in] */ REFCLSID clsid);
-
- HRESULT ( STDMETHODCALLTYPE *SetStateBits )(
- IStorage * This,
- /* [in] */ DWORD grfStateBits,
- /* [in] */ DWORD grfMask);
-
- HRESULT ( STDMETHODCALLTYPE *Stat )(
- IStorage * This,
- /* [out] */ STATSTG *pstatstg,
- /* [in] */ DWORD grfStatFlag);
-
- END_INTERFACE
- } IStorageVtbl;
- interface IStorage
- {
- CONST_VTBL struct IStorageVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IStorage_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IStorage_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IStorage_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IStorage_CreateStream(This,pwcsName,grfMode,reserved1,reserved2,ppstm)
- (This)->lpVtbl -> CreateStream(This,pwcsName,grfMode,reserved1,reserved2,ppstm)
- #define IStorage_OpenStream(This,pwcsName,reserved1,grfMode,reserved2,ppstm)
- (This)->lpVtbl -> OpenStream(This,pwcsName,reserved1,grfMode,reserved2,ppstm)
- #define IStorage_CreateStorage(This,pwcsName,grfMode,reserved1,reserved2,ppstg)
- (This)->lpVtbl -> CreateStorage(This,pwcsName,grfMode,reserved1,reserved2,ppstg)
- #define IStorage_OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg)
- (This)->lpVtbl -> OpenStorage(This,pwcsName,pstgPriority,grfMode,snbExclude,reserved,ppstg)
- #define IStorage_CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest)
- (This)->lpVtbl -> CopyTo(This,ciidExclude,rgiidExclude,snbExclude,pstgDest)
- #define IStorage_MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags)
- (This)->lpVtbl -> MoveElementTo(This,pwcsName,pstgDest,pwcsNewName,grfFlags)
- #define IStorage_Commit(This,grfCommitFlags)
- (This)->lpVtbl -> Commit(This,grfCommitFlags)
- #define IStorage_Revert(This)
- (This)->lpVtbl -> Revert(This)
- #define IStorage_EnumElements(This,reserved1,reserved2,reserved3,ppenum)
- (This)->lpVtbl -> EnumElements(This,reserved1,reserved2,reserved3,ppenum)
- #define IStorage_DestroyElement(This,pwcsName)
- (This)->lpVtbl -> DestroyElement(This,pwcsName)
- #define IStorage_RenameElement(This,pwcsOldName,pwcsNewName)
- (This)->lpVtbl -> RenameElement(This,pwcsOldName,pwcsNewName)
- #define IStorage_SetElementTimes(This,pwcsName,pctime,patime,pmtime)
- (This)->lpVtbl -> SetElementTimes(This,pwcsName,pctime,patime,pmtime)
- #define IStorage_SetClass(This,clsid)
- (This)->lpVtbl -> SetClass(This,clsid)
- #define IStorage_SetStateBits(This,grfStateBits,grfMask)
- (This)->lpVtbl -> SetStateBits(This,grfStateBits,grfMask)
- #define IStorage_Stat(This,pstatstg,grfStatFlag)
- (This)->lpVtbl -> Stat(This,pstatstg,grfStatFlag)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IStorage_CreateStream_Proxy(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [in] */ DWORD grfMode,
- /* [in] */ DWORD reserved1,
- /* [in] */ DWORD reserved2,
- /* [out] */ IStream **ppstm);
- void __RPC_STUB IStorage_CreateStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IStorage_RemoteOpenStream_Proxy(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [in] */ unsigned long cbReserved1,
- /* [size_is][unique][in] */ byte *reserved1,
- /* [in] */ DWORD grfMode,
- /* [in] */ DWORD reserved2,
- /* [out] */ IStream **ppstm);
- void __RPC_STUB IStorage_RemoteOpenStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_CreateStorage_Proxy(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [in] */ DWORD grfMode,
- /* [in] */ DWORD reserved1,
- /* [in] */ DWORD reserved2,
- /* [out] */ IStorage **ppstg);
- void __RPC_STUB IStorage_CreateStorage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_OpenStorage_Proxy(
- IStorage * This,
- /* [string][unique][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ IStorage *pstgPriority,
- /* [in] */ DWORD grfMode,
- /* [unique][in] */ SNB snbExclude,
- /* [in] */ DWORD reserved,
- /* [out] */ IStorage **ppstg);
- void __RPC_STUB IStorage_OpenStorage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_CopyTo_Proxy(
- IStorage * This,
- /* [in] */ DWORD ciidExclude,
- /* [size_is][unique][in] */ const IID *rgiidExclude,
- /* [unique][in] */ SNB snbExclude,
- /* [unique][in] */ IStorage *pstgDest);
- void __RPC_STUB IStorage_CopyTo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_MoveElementTo_Proxy(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ IStorage *pstgDest,
- /* [string][in] */ const OLECHAR *pwcsNewName,
- /* [in] */ DWORD grfFlags);
- void __RPC_STUB IStorage_MoveElementTo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_Commit_Proxy(
- IStorage * This,
- /* [in] */ DWORD grfCommitFlags);
- void __RPC_STUB IStorage_Commit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_Revert_Proxy(
- IStorage * This);
- void __RPC_STUB IStorage_Revert_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IStorage_RemoteEnumElements_Proxy(
- IStorage * This,
- /* [in] */ DWORD reserved1,
- /* [in] */ unsigned long cbReserved2,
- /* [size_is][unique][in] */ byte *reserved2,
- /* [in] */ DWORD reserved3,
- /* [out] */ IEnumSTATSTG **ppenum);
- void __RPC_STUB IStorage_RemoteEnumElements_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_DestroyElement_Proxy(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsName);
- void __RPC_STUB IStorage_DestroyElement_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_RenameElement_Proxy(
- IStorage * This,
- /* [string][in] */ const OLECHAR *pwcsOldName,
- /* [string][in] */ const OLECHAR *pwcsNewName);
- void __RPC_STUB IStorage_RenameElement_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_SetElementTimes_Proxy(
- IStorage * This,
- /* [string][unique][in] */ const OLECHAR *pwcsName,
- /* [unique][in] */ const FILETIME *pctime,
- /* [unique][in] */ const FILETIME *patime,
- /* [unique][in] */ const FILETIME *pmtime);
- void __RPC_STUB IStorage_SetElementTimes_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_SetClass_Proxy(
- IStorage * This,
- /* [in] */ REFCLSID clsid);
- void __RPC_STUB IStorage_SetClass_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_SetStateBits_Proxy(
- IStorage * This,
- /* [in] */ DWORD grfStateBits,
- /* [in] */ DWORD grfMask);
- void __RPC_STUB IStorage_SetStateBits_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IStorage_Stat_Proxy(
- IStorage * This,
- /* [out] */ STATSTG *pstatstg,
- /* [in] */ DWORD grfStatFlag);
- void __RPC_STUB IStorage_Stat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IStorage_INTERFACE_DEFINED__ */
- #ifndef __IPersistFile_INTERFACE_DEFINED__
- #define __IPersistFile_INTERFACE_DEFINED__
- /* interface IPersistFile */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IPersistFile *LPPERSISTFILE;
- EXTERN_C const IID IID_IPersistFile;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000010b-0000-0000-C000-000000000046")
- IPersistFile : public IPersist
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Load(
- /* [in] */ LPCOLESTR pszFileName,
- /* [in] */ DWORD dwMode) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Save(
- /* [unique][in] */ LPCOLESTR pszFileName,
- /* [in] */ BOOL fRemember) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
- /* [unique][in] */ LPCOLESTR pszFileName) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetCurFile(
- /* [out] */ LPOLESTR *ppszFileName) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IPersistFileVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IPersistFile * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IPersistFile * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IPersistFile * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetClassID )(
- IPersistFile * This,
- /* [out] */ CLSID *pClassID);
-
- HRESULT ( STDMETHODCALLTYPE *IsDirty )(
- IPersistFile * This);
-
- HRESULT ( STDMETHODCALLTYPE *Load )(
- IPersistFile * This,
- /* [in] */ LPCOLESTR pszFileName,
- /* [in] */ DWORD dwMode);
-
- HRESULT ( STDMETHODCALLTYPE *Save )(
- IPersistFile * This,
- /* [unique][in] */ LPCOLESTR pszFileName,
- /* [in] */ BOOL fRemember);
-
- HRESULT ( STDMETHODCALLTYPE *SaveCompleted )(
- IPersistFile * This,
- /* [unique][in] */ LPCOLESTR pszFileName);
-
- HRESULT ( STDMETHODCALLTYPE *GetCurFile )(
- IPersistFile * This,
- /* [out] */ LPOLESTR *ppszFileName);
-
- END_INTERFACE
- } IPersistFileVtbl;
- interface IPersistFile
- {
- CONST_VTBL struct IPersistFileVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IPersistFile_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IPersistFile_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IPersistFile_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IPersistFile_GetClassID(This,pClassID)
- (This)->lpVtbl -> GetClassID(This,pClassID)
- #define IPersistFile_IsDirty(This)
- (This)->lpVtbl -> IsDirty(This)
- #define IPersistFile_Load(This,pszFileName,dwMode)
- (This)->lpVtbl -> Load(This,pszFileName,dwMode)
- #define IPersistFile_Save(This,pszFileName,fRemember)
- (This)->lpVtbl -> Save(This,pszFileName,fRemember)
- #define IPersistFile_SaveCompleted(This,pszFileName)
- (This)->lpVtbl -> SaveCompleted(This,pszFileName)
- #define IPersistFile_GetCurFile(This,ppszFileName)
- (This)->lpVtbl -> GetCurFile(This,ppszFileName)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IPersistFile_IsDirty_Proxy(
- IPersistFile * This);
- void __RPC_STUB IPersistFile_IsDirty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IPersistFile_Load_Proxy(
- IPersistFile * This,
- /* [in] */ LPCOLESTR pszFileName,
- /* [in] */ DWORD dwMode);
- void __RPC_STUB IPersistFile_Load_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IPersistFile_Save_Proxy(
- IPersistFile * This,
- /* [unique][in] */ LPCOLESTR pszFileName,
- /* [in] */ BOOL fRemember);
- void __RPC_STUB IPersistFile_Save_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IPersistFile_SaveCompleted_Proxy(
- IPersistFile * This,
- /* [unique][in] */ LPCOLESTR pszFileName);
- void __RPC_STUB IPersistFile_SaveCompleted_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IPersistFile_GetCurFile_Proxy(
- IPersistFile * This,
- /* [out] */ LPOLESTR *ppszFileName);
- void __RPC_STUB IPersistFile_GetCurFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IPersistFile_INTERFACE_DEFINED__ */
- #ifndef __IPersistStorage_INTERFACE_DEFINED__
- #define __IPersistStorage_INTERFACE_DEFINED__
- /* interface IPersistStorage */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IPersistStorage *LPPERSISTSTORAGE;
- EXTERN_C const IID IID_IPersistStorage;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000010a-0000-0000-C000-000000000046")
- IPersistStorage : public IPersist
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InitNew(
- /* [unique][in] */ IStorage *pStg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Load(
- /* [unique][in] */ IStorage *pStg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Save(
- /* [unique][in] */ IStorage *pStgSave,
- /* [in] */ BOOL fSameAsLoad) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
- /* [unique][in] */ IStorage *pStgNew) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE HandsOffStorage( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IPersistStorageVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IPersistStorage * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IPersistStorage * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IPersistStorage * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetClassID )(
- IPersistStorage * This,
- /* [out] */ CLSID *pClassID);
-
- HRESULT ( STDMETHODCALLTYPE *IsDirty )(
- IPersistStorage * This);
-
- HRESULT ( STDMETHODCALLTYPE *InitNew )(
- IPersistStorage * This,
- /* [unique][in] */ IStorage *pStg);
-
- HRESULT ( STDMETHODCALLTYPE *Load )(
- IPersistStorage * This,
- /* [unique][in] */ IStorage *pStg);
-
- HRESULT ( STDMETHODCALLTYPE *Save )(
- IPersistStorage * This,
- /* [unique][in] */ IStorage *pStgSave,
- /* [in] */ BOOL fSameAsLoad);
-
- HRESULT ( STDMETHODCALLTYPE *SaveCompleted )(
- IPersistStorage * This,
- /* [unique][in] */ IStorage *pStgNew);
-
- HRESULT ( STDMETHODCALLTYPE *HandsOffStorage )(
- IPersistStorage * This);
-
- END_INTERFACE
- } IPersistStorageVtbl;
- interface IPersistStorage
- {
- CONST_VTBL struct IPersistStorageVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IPersistStorage_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IPersistStorage_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IPersistStorage_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IPersistStorage_GetClassID(This,pClassID)
- (This)->lpVtbl -> GetClassID(This,pClassID)
- #define IPersistStorage_IsDirty(This)
- (This)->lpVtbl -> IsDirty(This)
- #define IPersistStorage_InitNew(This,pStg)
- (This)->lpVtbl -> InitNew(This,pStg)
- #define IPersistStorage_Load(This,pStg)
- (This)->lpVtbl -> Load(This,pStg)
- #define IPersistStorage_Save(This,pStgSave,fSameAsLoad)
- (This)->lpVtbl -> Save(This,pStgSave,fSameAsLoad)
- #define IPersistStorage_SaveCompleted(This,pStgNew)
- (This)->lpVtbl -> SaveCompleted(This,pStgNew)
- #define IPersistStorage_HandsOffStorage(This)
- (This)->lpVtbl -> HandsOffStorage(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IPersistStorage_IsDirty_Proxy(
- IPersistStorage * This);
- void __RPC_STUB IPersistStorage_IsDirty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IPersistStorage_InitNew_Proxy(
- IPersistStorage * This,
- /* [unique][in] */ IStorage *pStg);
- void __RPC_STUB IPersistStorage_InitNew_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IPersistStorage_Load_Proxy(
- IPersistStorage * This,
- /* [unique][in] */ IStorage *pStg);
- void __RPC_STUB IPersistStorage_Load_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IPersistStorage_Save_Proxy(
- IPersistStorage * This,
- /* [unique][in] */ IStorage *pStgSave,
- /* [in] */ BOOL fSameAsLoad);
- void __RPC_STUB IPersistStorage_Save_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IPersistStorage_SaveCompleted_Proxy(
- IPersistStorage * This,
- /* [unique][in] */ IStorage *pStgNew);
- void __RPC_STUB IPersistStorage_SaveCompleted_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IPersistStorage_HandsOffStorage_Proxy(
- IPersistStorage * This);
- void __RPC_STUB IPersistStorage_HandsOffStorage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IPersistStorage_INTERFACE_DEFINED__ */
- #ifndef __ILockBytes_INTERFACE_DEFINED__
- #define __ILockBytes_INTERFACE_DEFINED__
- /* interface ILockBytes */
- /* [unique][uuid][object] */
- typedef /* [unique] */ ILockBytes *LPLOCKBYTES;
- EXTERN_C const IID IID_ILockBytes;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000000a-0000-0000-C000-000000000046")
- ILockBytes : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE ReadAt(
- /* [in] */ ULARGE_INTEGER ulOffset,
- /* [length_is][size_is][out] */ void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbRead) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE WriteAt(
- /* [in] */ ULARGE_INTEGER ulOffset,
- /* [size_is][in] */ const void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Flush( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSize(
- /* [in] */ ULARGE_INTEGER cb) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE LockRegion(
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnlockRegion(
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Stat(
- /* [out] */ STATSTG *pstatstg,
- /* [in] */ DWORD grfStatFlag) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ILockBytesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ILockBytes * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ILockBytes * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ILockBytes * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *ReadAt )(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER ulOffset,
- /* [length_is][size_is][out] */ void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbRead);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *WriteAt )(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER ulOffset,
- /* [size_is][in] */ const void *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten);
-
- HRESULT ( STDMETHODCALLTYPE *Flush )(
- ILockBytes * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetSize )(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER cb);
-
- HRESULT ( STDMETHODCALLTYPE *LockRegion )(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType);
-
- HRESULT ( STDMETHODCALLTYPE *UnlockRegion )(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType);
-
- HRESULT ( STDMETHODCALLTYPE *Stat )(
- ILockBytes * This,
- /* [out] */ STATSTG *pstatstg,
- /* [in] */ DWORD grfStatFlag);
-
- END_INTERFACE
- } ILockBytesVtbl;
- interface ILockBytes
- {
- CONST_VTBL struct ILockBytesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ILockBytes_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ILockBytes_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ILockBytes_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ILockBytes_ReadAt(This,ulOffset,pv,cb,pcbRead)
- (This)->lpVtbl -> ReadAt(This,ulOffset,pv,cb,pcbRead)
- #define ILockBytes_WriteAt(This,ulOffset,pv,cb,pcbWritten)
- (This)->lpVtbl -> WriteAt(This,ulOffset,pv,cb,pcbWritten)
- #define ILockBytes_Flush(This)
- (This)->lpVtbl -> Flush(This)
- #define ILockBytes_SetSize(This,cb)
- (This)->lpVtbl -> SetSize(This,cb)
- #define ILockBytes_LockRegion(This,libOffset,cb,dwLockType)
- (This)->lpVtbl -> LockRegion(This,libOffset,cb,dwLockType)
- #define ILockBytes_UnlockRegion(This,libOffset,cb,dwLockType)
- (This)->lpVtbl -> UnlockRegion(This,libOffset,cb,dwLockType)
- #define ILockBytes_Stat(This,pstatstg,grfStatFlag)
- (This)->lpVtbl -> Stat(This,pstatstg,grfStatFlag)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT __stdcall ILockBytes_RemoteReadAt_Proxy(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER ulOffset,
- /* [length_is][size_is][out] */ byte *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbRead);
- void __RPC_STUB ILockBytes_RemoteReadAt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE ILockBytes_RemoteWriteAt_Proxy(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER ulOffset,
- /* [size_is][in] */ const byte *pv,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten);
- void __RPC_STUB ILockBytes_RemoteWriteAt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ILockBytes_Flush_Proxy(
- ILockBytes * This);
- void __RPC_STUB ILockBytes_Flush_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ILockBytes_SetSize_Proxy(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER cb);
- void __RPC_STUB ILockBytes_SetSize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ILockBytes_LockRegion_Proxy(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType);
- void __RPC_STUB ILockBytes_LockRegion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ILockBytes_UnlockRegion_Proxy(
- ILockBytes * This,
- /* [in] */ ULARGE_INTEGER libOffset,
- /* [in] */ ULARGE_INTEGER cb,
- /* [in] */ DWORD dwLockType);
- void __RPC_STUB ILockBytes_UnlockRegion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ILockBytes_Stat_Proxy(
- ILockBytes * This,
- /* [out] */ STATSTG *pstatstg,
- /* [in] */ DWORD grfStatFlag);
- void __RPC_STUB ILockBytes_Stat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ILockBytes_INTERFACE_DEFINED__ */
- #ifndef __IEnumFORMATETC_INTERFACE_DEFINED__
- #define __IEnumFORMATETC_INTERFACE_DEFINED__
- /* interface IEnumFORMATETC */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IEnumFORMATETC *LPENUMFORMATETC;
- typedef struct tagDVTARGETDEVICE
- {
- DWORD tdSize;
- WORD tdDriverNameOffset;
- WORD tdDeviceNameOffset;
- WORD tdPortNameOffset;
- WORD tdExtDevmodeOffset;
- /* [size_is] */ BYTE tdData[ 1 ];
- } DVTARGETDEVICE;
- typedef CLIPFORMAT *LPCLIPFORMAT;
- typedef struct tagFORMATETC
- {
- CLIPFORMAT cfFormat;
- /* [unique] */ DVTARGETDEVICE *ptd;
- DWORD dwAspect;
- LONG lindex;
- DWORD tymed;
- } FORMATETC;
- typedef struct tagFORMATETC *LPFORMATETC;
- EXTERN_C const IID IID_IEnumFORMATETC;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000103-0000-0000-C000-000000000046")
- IEnumFORMATETC : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ FORMATETC *rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumFORMATETC **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumFORMATETCVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumFORMATETC * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumFORMATETC * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumFORMATETC * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumFORMATETC * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ FORMATETC *rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumFORMATETC * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumFORMATETC * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumFORMATETC * This,
- /* [out] */ IEnumFORMATETC **ppenum);
-
- END_INTERFACE
- } IEnumFORMATETCVtbl;
- interface IEnumFORMATETC
- {
- CONST_VTBL struct IEnumFORMATETCVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumFORMATETC_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumFORMATETC_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumFORMATETC_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumFORMATETC_Next(This,celt,rgelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumFORMATETC_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumFORMATETC_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumFORMATETC_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumFORMATETC_RemoteNext_Proxy(
- IEnumFORMATETC * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ FORMATETC *rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumFORMATETC_RemoteNext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Skip_Proxy(
- IEnumFORMATETC * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumFORMATETC_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Reset_Proxy(
- IEnumFORMATETC * This);
- void __RPC_STUB IEnumFORMATETC_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Clone_Proxy(
- IEnumFORMATETC * This,
- /* [out] */ IEnumFORMATETC **ppenum);
- void __RPC_STUB IEnumFORMATETC_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumFORMATETC_INTERFACE_DEFINED__ */
- #ifndef __IEnumSTATDATA_INTERFACE_DEFINED__
- #define __IEnumSTATDATA_INTERFACE_DEFINED__
- /* interface IEnumSTATDATA */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IEnumSTATDATA *LPENUMSTATDATA;
- typedef
- enum tagADVF
- { ADVF_NODATA = 1,
- ADVF_PRIMEFIRST = 2,
- ADVF_ONLYONCE = 4,
- ADVF_DATAONSTOP = 64,
- ADVFCACHE_NOHANDLER = 8,
- ADVFCACHE_FORCEBUILTIN = 16,
- ADVFCACHE_ONSAVE = 32
- } ADVF;
- typedef struct tagSTATDATA
- {
- FORMATETC formatetc;
- DWORD advf;
- /* [unique] */ IAdviseSink *pAdvSink;
- DWORD dwConnection;
- } STATDATA;
- typedef STATDATA *LPSTATDATA;
- EXTERN_C const IID IID_IEnumSTATDATA;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000105-0000-0000-C000-000000000046")
- IEnumSTATDATA : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ STATDATA *rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumSTATDATA **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumSTATDATAVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumSTATDATA * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumSTATDATA * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumSTATDATA * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumSTATDATA * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ STATDATA *rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumSTATDATA * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumSTATDATA * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumSTATDATA * This,
- /* [out] */ IEnumSTATDATA **ppenum);
-
- END_INTERFACE
- } IEnumSTATDATAVtbl;
- interface IEnumSTATDATA
- {
- CONST_VTBL struct IEnumSTATDATAVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumSTATDATA_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumSTATDATA_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumSTATDATA_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumSTATDATA_Next(This,celt,rgelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumSTATDATA_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumSTATDATA_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumSTATDATA_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumSTATDATA_RemoteNext_Proxy(
- IEnumSTATDATA * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ STATDATA *rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumSTATDATA_RemoteNext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Skip_Proxy(
- IEnumSTATDATA * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumSTATDATA_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Reset_Proxy(
- IEnumSTATDATA * This);
- void __RPC_STUB IEnumSTATDATA_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Clone_Proxy(
- IEnumSTATDATA * This,
- /* [out] */ IEnumSTATDATA **ppenum);
- void __RPC_STUB IEnumSTATDATA_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumSTATDATA_INTERFACE_DEFINED__ */
- #ifndef __IRootStorage_INTERFACE_DEFINED__
- #define __IRootStorage_INTERFACE_DEFINED__
- /* interface IRootStorage */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IRootStorage *LPROOTSTORAGE;
- EXTERN_C const IID IID_IRootStorage;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000012-0000-0000-C000-000000000046")
- IRootStorage : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SwitchToFile(
- /* [in] */ LPOLESTR pszFile) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IRootStorageVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IRootStorage * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IRootStorage * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IRootStorage * This);
-
- HRESULT ( STDMETHODCALLTYPE *SwitchToFile )(
- IRootStorage * This,
- /* [in] */ LPOLESTR pszFile);
-
- END_INTERFACE
- } IRootStorageVtbl;
- interface IRootStorage
- {
- CONST_VTBL struct IRootStorageVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IRootStorage_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IRootStorage_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IRootStorage_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IRootStorage_SwitchToFile(This,pszFile)
- (This)->lpVtbl -> SwitchToFile(This,pszFile)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IRootStorage_SwitchToFile_Proxy(
- IRootStorage * This,
- /* [in] */ LPOLESTR pszFile);
- void __RPC_STUB IRootStorage_SwitchToFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IRootStorage_INTERFACE_DEFINED__ */
- #ifndef __IAdviseSink_INTERFACE_DEFINED__
- #define __IAdviseSink_INTERFACE_DEFINED__
- /* interface IAdviseSink */
- /* [unique][async_uuid][uuid][object] */
- typedef IAdviseSink *LPADVISESINK;
- typedef /* [v1_enum] */
- enum tagTYMED
- { TYMED_HGLOBAL = 1,
- TYMED_FILE = 2,
- TYMED_ISTREAM = 4,
- TYMED_ISTORAGE = 8,
- TYMED_GDI = 16,
- TYMED_MFPICT = 32,
- TYMED_ENHMF = 64,
- TYMED_NULL = 0
- } TYMED;
- #ifndef RC_INVOKED
- #if _MSC_VER >= 1200
- #pragma warning(push)
- #endif
- #pragma warning(disable:4200)
- #endif
- typedef struct tagRemSTGMEDIUM
- {
- DWORD tymed;
- DWORD dwHandleType;
- unsigned long pData;
- unsigned long pUnkForRelease;
- unsigned long cbData;
- /* [size_is] */ byte data[ 1 ];
- } RemSTGMEDIUM;
- #ifndef RC_INVOKED
- #if _MSC_VER >= 1200
- #pragma warning(pop)
- #else
- #pragma warning(default:4200)
- #endif
- #endif
- #ifdef NONAMELESSUNION
- typedef struct tagSTGMEDIUM {
- DWORD tymed;
- union {
- HBITMAP hBitmap;
- HMETAFILEPICT hMetaFilePict;
- HENHMETAFILE hEnhMetaFile;
- HGLOBAL hGlobal;
- LPOLESTR lpszFileName;
- IStream *pstm;
- IStorage *pstg;
- } u;
- IUnknown *pUnkForRelease;
- }uSTGMEDIUM;
- #else
- typedef struct tagSTGMEDIUM
- {
- DWORD tymed;
- /* [switch_is][switch_type] */ union
- {
- /* [case()] */ HBITMAP hBitmap;
- /* [case()] */ HMETAFILEPICT hMetaFilePict;
- /* [case()] */ HENHMETAFILE hEnhMetaFile;
- /* [case()] */ HGLOBAL hGlobal;
- /* [case()] */ LPOLESTR lpszFileName;
- /* [case()] */ IStream *pstm;
- /* [case()] */ IStorage *pstg;
- /* [default] */ /* Empty union arm */
- } ;
- /* [unique] */ IUnknown *pUnkForRelease;
- } uSTGMEDIUM;
- #endif /* !NONAMELESSUNION */
- typedef struct _GDI_OBJECT
- {
- DWORD ObjectType;
- /* [switch_is] */ /* [switch_type] */ union __MIDL_IAdviseSink_0002
- {
- /* [case()] */ wireHBITMAP hBitmap;
- /* [case()] */ wireHPALETTE hPalette;
- /* [default] */ wireHGLOBAL hGeneric;
- } u;
- } GDI_OBJECT;
- typedef struct _userSTGMEDIUM
- {
- struct _STGMEDIUM_UNION
- {
- DWORD tymed;
- /* [switch_is] */ /* [switch_type] */ union __MIDL_IAdviseSink_0003
- {
- /* [case()] */ /* Empty union arm */
- /* [case()] */ wireHMETAFILEPICT hMetaFilePict;
- /* [case()] */ wireHENHMETAFILE hHEnhMetaFile;
- /* [case()] */ GDI_OBJECT *hGdiHandle;
- /* [case()] */ wireHGLOBAL hGlobal;
- /* [case()] */ LPOLESTR lpszFileName;
- /* [case()] */ BYTE_BLOB *pstm;
- /* [case()] */ BYTE_BLOB *pstg;
- } u;
- } ;
- IUnknown *pUnkForRelease;
- } userSTGMEDIUM;
- typedef /* [unique] */ userSTGMEDIUM *wireSTGMEDIUM;
- typedef /* [wire_marshal] */ uSTGMEDIUM STGMEDIUM;
- typedef /* [unique] */ userSTGMEDIUM *wireASYNC_STGMEDIUM;
- typedef /* [wire_marshal] */ STGMEDIUM ASYNC_STGMEDIUM;
- typedef STGMEDIUM *LPSTGMEDIUM;
- typedef struct _userFLAG_STGMEDIUM
- {
- long ContextFlags;
- long fPassOwnership;
- userSTGMEDIUM Stgmed;
- } userFLAG_STGMEDIUM;
- typedef /* [unique] */ userFLAG_STGMEDIUM *wireFLAG_STGMEDIUM;
- typedef /* [wire_marshal] */ struct _FLAG_STGMEDIUM
- {
- long ContextFlags;
- long fPassOwnership;
- STGMEDIUM Stgmed;
- } FLAG_STGMEDIUM;
- EXTERN_C const IID IID_IAdviseSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000010f-0000-0000-C000-000000000046")
- IAdviseSink : public IUnknown
- {
- public:
- virtual /* [local] */ void STDMETHODCALLTYPE OnDataChange(
- /* [unique][in] */ FORMATETC *pFormatetc,
- /* [unique][in] */ STGMEDIUM *pStgmed) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE OnViewChange(
- /* [in] */ DWORD dwAspect,
- /* [in] */ LONG lindex) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE OnRename(
- /* [in] */ IMoniker *pmk) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE OnSave( void) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE OnClose( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IAdviseSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IAdviseSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IAdviseSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IAdviseSink * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnDataChange )(
- IAdviseSink * This,
- /* [unique][in] */ FORMATETC *pFormatetc,
- /* [unique][in] */ STGMEDIUM *pStgmed);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnViewChange )(
- IAdviseSink * This,
- /* [in] */ DWORD dwAspect,
- /* [in] */ LONG lindex);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnRename )(
- IAdviseSink * This,
- /* [in] */ IMoniker *pmk);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnSave )(
- IAdviseSink * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnClose )(
- IAdviseSink * This);
-
- END_INTERFACE
- } IAdviseSinkVtbl;
- interface IAdviseSink
- {
- CONST_VTBL struct IAdviseSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IAdviseSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IAdviseSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IAdviseSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IAdviseSink_OnDataChange(This,pFormatetc,pStgmed)
- (This)->lpVtbl -> OnDataChange(This,pFormatetc,pStgmed)
- #define IAdviseSink_OnViewChange(This,dwAspect,lindex)
- (This)->lpVtbl -> OnViewChange(This,dwAspect,lindex)
- #define IAdviseSink_OnRename(This,pmk)
- (This)->lpVtbl -> OnRename(This,pmk)
- #define IAdviseSink_OnSave(This)
- (This)->lpVtbl -> OnSave(This)
- #define IAdviseSink_OnClose(This)
- (This)->lpVtbl -> OnClose(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnDataChange_Proxy(
- IAdviseSink * This,
- /* [unique][in] */ FORMATETC *pFormatetc,
- /* [unique][in] */ ASYNC_STGMEDIUM *pStgmed);
- void __RPC_STUB IAdviseSink_RemoteOnDataChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnViewChange_Proxy(
- IAdviseSink * This,
- /* [in] */ DWORD dwAspect,
- /* [in] */ LONG lindex);
- void __RPC_STUB IAdviseSink_RemoteOnViewChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnRename_Proxy(
- IAdviseSink * This,
- /* [in] */ IMoniker *pmk);
- void __RPC_STUB IAdviseSink_RemoteOnRename_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnSave_Proxy(
- IAdviseSink * This);
- void __RPC_STUB IAdviseSink_RemoteOnSave_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnClose_Proxy(
- IAdviseSink * This);
- void __RPC_STUB IAdviseSink_RemoteOnClose_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IAdviseSink_INTERFACE_DEFINED__ */
- #ifndef __AsyncIAdviseSink_INTERFACE_DEFINED__
- #define __AsyncIAdviseSink_INTERFACE_DEFINED__
- /* interface AsyncIAdviseSink */
- /* [uuid][unique][object] */
- EXTERN_C const IID IID_AsyncIAdviseSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000150-0000-0000-C000-000000000046")
- AsyncIAdviseSink : public IUnknown
- {
- public:
- virtual /* [local] */ void STDMETHODCALLTYPE Begin_OnDataChange(
- /* [unique][in] */ FORMATETC *pFormatetc,
- /* [unique][in] */ STGMEDIUM *pStgmed) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Finish_OnDataChange( void) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Begin_OnViewChange(
- /* [in] */ DWORD dwAspect,
- /* [in] */ LONG lindex) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Finish_OnViewChange( void) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Begin_OnRename(
- /* [in] */ IMoniker *pmk) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Finish_OnRename( void) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Begin_OnSave( void) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Finish_OnSave( void) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Begin_OnClose( void) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Finish_OnClose( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct AsyncIAdviseSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- AsyncIAdviseSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- AsyncIAdviseSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- AsyncIAdviseSink * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnDataChange )(
- AsyncIAdviseSink * This,
- /* [unique][in] */ FORMATETC *pFormatetc,
- /* [unique][in] */ STGMEDIUM *pStgmed);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnDataChange )(
- AsyncIAdviseSink * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnViewChange )(
- AsyncIAdviseSink * This,
- /* [in] */ DWORD dwAspect,
- /* [in] */ LONG lindex);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnViewChange )(
- AsyncIAdviseSink * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnRename )(
- AsyncIAdviseSink * This,
- /* [in] */ IMoniker *pmk);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnRename )(
- AsyncIAdviseSink * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnSave )(
- AsyncIAdviseSink * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnSave )(
- AsyncIAdviseSink * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnClose )(
- AsyncIAdviseSink * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnClose )(
- AsyncIAdviseSink * This);
-
- END_INTERFACE
- } AsyncIAdviseSinkVtbl;
- interface AsyncIAdviseSink
- {
- CONST_VTBL struct AsyncIAdviseSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define AsyncIAdviseSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define AsyncIAdviseSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define AsyncIAdviseSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define AsyncIAdviseSink_Begin_OnDataChange(This,pFormatetc,pStgmed)
- (This)->lpVtbl -> Begin_OnDataChange(This,pFormatetc,pStgmed)
- #define AsyncIAdviseSink_Finish_OnDataChange(This)
- (This)->lpVtbl -> Finish_OnDataChange(This)
- #define AsyncIAdviseSink_Begin_OnViewChange(This,dwAspect,lindex)
- (This)->lpVtbl -> Begin_OnViewChange(This,dwAspect,lindex)
- #define AsyncIAdviseSink_Finish_OnViewChange(This)
- (This)->lpVtbl -> Finish_OnViewChange(This)
- #define AsyncIAdviseSink_Begin_OnRename(This,pmk)
- (This)->lpVtbl -> Begin_OnRename(This,pmk)
- #define AsyncIAdviseSink_Finish_OnRename(This)
- (This)->lpVtbl -> Finish_OnRename(This)
- #define AsyncIAdviseSink_Begin_OnSave(This)
- (This)->lpVtbl -> Begin_OnSave(This)
- #define AsyncIAdviseSink_Finish_OnSave(This)
- (This)->lpVtbl -> Finish_OnSave(This)
- #define AsyncIAdviseSink_Begin_OnClose(This)
- (This)->lpVtbl -> Begin_OnClose(This)
- #define AsyncIAdviseSink_Finish_OnClose(This)
- (This)->lpVtbl -> Finish_OnClose(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnDataChange_Proxy(
- AsyncIAdviseSink * This,
- /* [unique][in] */ FORMATETC *pFormatetc,
- /* [unique][in] */ ASYNC_STGMEDIUM *pStgmed);
- void __RPC_STUB AsyncIAdviseSink_Begin_RemoteOnDataChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnDataChange_Proxy(
- AsyncIAdviseSink * This);
- void __RPC_STUB AsyncIAdviseSink_Finish_RemoteOnDataChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnViewChange_Proxy(
- AsyncIAdviseSink * This,
- /* [in] */ DWORD dwAspect,
- /* [in] */ LONG lindex);
- void __RPC_STUB AsyncIAdviseSink_Begin_RemoteOnViewChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnViewChange_Proxy(
- AsyncIAdviseSink * This);
- void __RPC_STUB AsyncIAdviseSink_Finish_RemoteOnViewChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnRename_Proxy(
- AsyncIAdviseSink * This,
- /* [in] */ IMoniker *pmk);
- void __RPC_STUB AsyncIAdviseSink_Begin_RemoteOnRename_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnRename_Proxy(
- AsyncIAdviseSink * This);
- void __RPC_STUB AsyncIAdviseSink_Finish_RemoteOnRename_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnSave_Proxy(
- AsyncIAdviseSink * This);
- void __RPC_STUB AsyncIAdviseSink_Begin_RemoteOnSave_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnSave_Proxy(
- AsyncIAdviseSink * This);
- void __RPC_STUB AsyncIAdviseSink_Finish_RemoteOnSave_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnClose_Proxy(
- AsyncIAdviseSink * This);
- void __RPC_STUB AsyncIAdviseSink_Begin_RemoteOnClose_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnClose_Proxy(
- AsyncIAdviseSink * This);
- void __RPC_STUB AsyncIAdviseSink_Finish_RemoteOnClose_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __AsyncIAdviseSink_INTERFACE_DEFINED__ */
- #ifndef __IAdviseSink2_INTERFACE_DEFINED__
- #define __IAdviseSink2_INTERFACE_DEFINED__
- /* interface IAdviseSink2 */
- /* [unique][async_uuid][uuid][object] */
- typedef /* [unique] */ IAdviseSink2 *LPADVISESINK2;
- EXTERN_C const IID IID_IAdviseSink2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000125-0000-0000-C000-000000000046")
- IAdviseSink2 : public IAdviseSink
- {
- public:
- virtual /* [local] */ void STDMETHODCALLTYPE OnLinkSrcChange(
- /* [unique][in] */ IMoniker *pmk) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IAdviseSink2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IAdviseSink2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IAdviseSink2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnDataChange )(
- IAdviseSink2 * This,
- /* [unique][in] */ FORMATETC *pFormatetc,
- /* [unique][in] */ STGMEDIUM *pStgmed);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnViewChange )(
- IAdviseSink2 * This,
- /* [in] */ DWORD dwAspect,
- /* [in] */ LONG lindex);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnRename )(
- IAdviseSink2 * This,
- /* [in] */ IMoniker *pmk);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnSave )(
- IAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnClose )(
- IAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *OnLinkSrcChange )(
- IAdviseSink2 * This,
- /* [unique][in] */ IMoniker *pmk);
-
- END_INTERFACE
- } IAdviseSink2Vtbl;
- interface IAdviseSink2
- {
- CONST_VTBL struct IAdviseSink2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IAdviseSink2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IAdviseSink2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IAdviseSink2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IAdviseSink2_OnDataChange(This,pFormatetc,pStgmed)
- (This)->lpVtbl -> OnDataChange(This,pFormatetc,pStgmed)
- #define IAdviseSink2_OnViewChange(This,dwAspect,lindex)
- (This)->lpVtbl -> OnViewChange(This,dwAspect,lindex)
- #define IAdviseSink2_OnRename(This,pmk)
- (This)->lpVtbl -> OnRename(This,pmk)
- #define IAdviseSink2_OnSave(This)
- (This)->lpVtbl -> OnSave(This)
- #define IAdviseSink2_OnClose(This)
- (This)->lpVtbl -> OnClose(This)
- #define IAdviseSink2_OnLinkSrcChange(This,pmk)
- (This)->lpVtbl -> OnLinkSrcChange(This,pmk)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IAdviseSink2_RemoteOnLinkSrcChange_Proxy(
- IAdviseSink2 * This,
- /* [unique][in] */ IMoniker *pmk);
- void __RPC_STUB IAdviseSink2_RemoteOnLinkSrcChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IAdviseSink2_INTERFACE_DEFINED__ */
- #ifndef __AsyncIAdviseSink2_INTERFACE_DEFINED__
- #define __AsyncIAdviseSink2_INTERFACE_DEFINED__
- /* interface AsyncIAdviseSink2 */
- /* [uuid][unique][object] */
- EXTERN_C const IID IID_AsyncIAdviseSink2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000151-0000-0000-C000-000000000046")
- AsyncIAdviseSink2 : public AsyncIAdviseSink
- {
- public:
- virtual /* [local] */ void STDMETHODCALLTYPE Begin_OnLinkSrcChange(
- /* [unique][in] */ IMoniker *pmk) = 0;
-
- virtual /* [local] */ void STDMETHODCALLTYPE Finish_OnLinkSrcChange( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct AsyncIAdviseSink2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- AsyncIAdviseSink2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- AsyncIAdviseSink2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- AsyncIAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnDataChange )(
- AsyncIAdviseSink2 * This,
- /* [unique][in] */ FORMATETC *pFormatetc,
- /* [unique][in] */ STGMEDIUM *pStgmed);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnDataChange )(
- AsyncIAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnViewChange )(
- AsyncIAdviseSink2 * This,
- /* [in] */ DWORD dwAspect,
- /* [in] */ LONG lindex);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnViewChange )(
- AsyncIAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnRename )(
- AsyncIAdviseSink2 * This,
- /* [in] */ IMoniker *pmk);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnRename )(
- AsyncIAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnSave )(
- AsyncIAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnSave )(
- AsyncIAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnClose )(
- AsyncIAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnClose )(
- AsyncIAdviseSink2 * This);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Begin_OnLinkSrcChange )(
- AsyncIAdviseSink2 * This,
- /* [unique][in] */ IMoniker *pmk);
-
- /* [local] */ void ( STDMETHODCALLTYPE *Finish_OnLinkSrcChange )(
- AsyncIAdviseSink2 * This);
-
- END_INTERFACE
- } AsyncIAdviseSink2Vtbl;
- interface AsyncIAdviseSink2
- {
- CONST_VTBL struct AsyncIAdviseSink2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define AsyncIAdviseSink2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define AsyncIAdviseSink2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define AsyncIAdviseSink2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define AsyncIAdviseSink2_Begin_OnDataChange(This,pFormatetc,pStgmed)
- (This)->lpVtbl -> Begin_OnDataChange(This,pFormatetc,pStgmed)
- #define AsyncIAdviseSink2_Finish_OnDataChange(This)
- (This)->lpVtbl -> Finish_OnDataChange(This)
- #define AsyncIAdviseSink2_Begin_OnViewChange(This,dwAspect,lindex)
- (This)->lpVtbl -> Begin_OnViewChange(This,dwAspect,lindex)
- #define AsyncIAdviseSink2_Finish_OnViewChange(This)
- (This)->lpVtbl -> Finish_OnViewChange(This)
- #define AsyncIAdviseSink2_Begin_OnRename(This,pmk)
- (This)->lpVtbl -> Begin_OnRename(This,pmk)
- #define AsyncIAdviseSink2_Finish_OnRename(This)
- (This)->lpVtbl -> Finish_OnRename(This)
- #define AsyncIAdviseSink2_Begin_OnSave(This)
- (This)->lpVtbl -> Begin_OnSave(This)
- #define AsyncIAdviseSink2_Finish_OnSave(This)
- (This)->lpVtbl -> Finish_OnSave(This)
- #define AsyncIAdviseSink2_Begin_OnClose(This)
- (This)->lpVtbl -> Begin_OnClose(This)
- #define AsyncIAdviseSink2_Finish_OnClose(This)
- (This)->lpVtbl -> Finish_OnClose(This)
- #define AsyncIAdviseSink2_Begin_OnLinkSrcChange(This,pmk)
- (This)->lpVtbl -> Begin_OnLinkSrcChange(This,pmk)
- #define AsyncIAdviseSink2_Finish_OnLinkSrcChange(This)
- (This)->lpVtbl -> Finish_OnLinkSrcChange(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink2_Begin_RemoteOnLinkSrcChange_Proxy(
- AsyncIAdviseSink2 * This,
- /* [unique][in] */ IMoniker *pmk);
- void __RPC_STUB AsyncIAdviseSink2_Begin_RemoteOnLinkSrcChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE AsyncIAdviseSink2_Finish_RemoteOnLinkSrcChange_Proxy(
- AsyncIAdviseSink2 * This);
- void __RPC_STUB AsyncIAdviseSink2_Finish_RemoteOnLinkSrcChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __AsyncIAdviseSink2_INTERFACE_DEFINED__ */
- #ifndef __IDataObject_INTERFACE_DEFINED__
- #define __IDataObject_INTERFACE_DEFINED__
- /* interface IDataObject */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IDataObject *LPDATAOBJECT;
- typedef
- enum tagDATADIR
- { DATADIR_GET = 1,
- DATADIR_SET = 2
- } DATADIR;
- EXTERN_C const IID IID_IDataObject;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000010e-0000-0000-C000-000000000046")
- IDataObject : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetData(
- /* [unique][in] */ FORMATETC *pformatetcIn,
- /* [out] */ STGMEDIUM *pmedium) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetDataHere(
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [out][in] */ STGMEDIUM *pmedium) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE QueryGetData(
- /* [unique][in] */ FORMATETC *pformatetc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetCanonicalFormatEtc(
- /* [unique][in] */ FORMATETC *pformatectIn,
- /* [out] */ FORMATETC *pformatetcOut) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE SetData(
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [unique][in] */ STGMEDIUM *pmedium,
- /* [in] */ BOOL fRelease) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumFormatEtc(
- /* [in] */ DWORD dwDirection,
- /* [out] */ IEnumFORMATETC **ppenumFormatEtc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DAdvise(
- /* [in] */ FORMATETC *pformatetc,
- /* [in] */ DWORD advf,
- /* [unique][in] */ IAdviseSink *pAdvSink,
- /* [out] */ DWORD *pdwConnection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DUnadvise(
- /* [in] */ DWORD dwConnection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumDAdvise(
- /* [out] */ IEnumSTATDATA **ppenumAdvise) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IDataObjectVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IDataObject * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IDataObject * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IDataObject * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetData )(
- IDataObject * This,
- /* [unique][in] */ FORMATETC *pformatetcIn,
- /* [out] */ STGMEDIUM *pmedium);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetDataHere )(
- IDataObject * This,
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [out][in] */ STGMEDIUM *pmedium);
-
- HRESULT ( STDMETHODCALLTYPE *QueryGetData )(
- IDataObject * This,
- /* [unique][in] */ FORMATETC *pformatetc);
-
- HRESULT ( STDMETHODCALLTYPE *GetCanonicalFormatEtc )(
- IDataObject * This,
- /* [unique][in] */ FORMATETC *pformatectIn,
- /* [out] */ FORMATETC *pformatetcOut);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *SetData )(
- IDataObject * This,
- /* [unique][in] */ FORMATETC *pformatetc,
- /* [unique][in] */ STGMEDIUM *pmedium,
- /* [in] */ BOOL fRelease);
-
- HRESULT ( STDMETHODCALLTYPE *EnumFormatEtc )(
- IDataObject * This,
- /* [in] */ DWORD dwDirection,
- /* [out] */ IEnumFORMATETC **ppenumFormatEtc);
-
- HRESULT ( STDMETHODCALLTYPE *DAdvise )(
- IDataObject * This,
- /* [in] */ FORMATETC *pformatetc,
- /* [in] */ DWORD advf,
- /* [unique][in] */ IAdviseSink *pAdvSink,
- /* [out] */ DWORD *pdwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *DUnadvise )(
- IDataObject * This,
- /* [in] */ DWORD dwConnection);
-
- HRESULT ( STDMETHODCALLTYPE *EnumDAdvise )(
- IDataObject * This,
- /* [out] */ IEnumSTATDATA **ppenumAdvise);
-
- END_INTERFACE
- } IDataObjectVtbl;
- interface IDataObject
- {
- CONST_VTBL struct IDataObjectVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IDataObject_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IDataObject_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IDataObject_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IDataObject_GetData(This,pformatetcIn,pmedium)
- (This)->lpVtbl -> GetData(This,pformatetcIn,pmedium)
- #define IDataObject_GetDataHere(This,pformatetc,pmedium)
- (This)->lpVtbl -> GetDataHere(This,pformatetc,pmedium)
- #define IDataObject_QueryGetData(This,pformatetc)
- (This)->lpVtbl -> QueryGetData(This,pformatetc)
- #define IDataObject_GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut)
- (This)->lpVtbl -> GetCanonicalFormatEtc(This,pformatectIn,pformatetcOut)
- #define IDataObject_SetData(This,pformatetc,pmedium,fRelease)
- (This)->lpVtbl -> SetData(This,pformatetc,pmedium,fRelease)
- #define IDataObject_EnumFormatEtc(This,dwDirection,ppenumFormatEtc)