msctf.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:389k
- /* [size_is][in] */ const TF_SELECTION *pSelection);
-
- HRESULT ( STDMETHODCALLTYPE *GetStart )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppStart);
-
- HRESULT ( STDMETHODCALLTYPE *GetEnd )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppEnd);
-
- HRESULT ( STDMETHODCALLTYPE *GetActiveView )(
- ITfContext * This,
- /* [out] */ ITfContextView **ppView);
-
- HRESULT ( STDMETHODCALLTYPE *EnumViews )(
- ITfContext * This,
- /* [out] */ IEnumTfContextViews **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetStatus )(
- ITfContext * This,
- /* [out] */ TF_STATUS *pdcs);
-
- HRESULT ( STDMETHODCALLTYPE *GetProperty )(
- ITfContext * This,
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfProperty **ppProp);
-
- HRESULT ( STDMETHODCALLTYPE *GetAppProperty )(
- ITfContext * This,
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfReadOnlyProperty **ppProp);
-
- HRESULT ( STDMETHODCALLTYPE *TrackProperties )(
- ITfContext * This,
- /* [size_is][in] */ const GUID **prgProp,
- /* [in] */ ULONG cProp,
- /* [size_is][in] */ const GUID **prgAppProp,
- /* [in] */ ULONG cAppProp,
- /* [out] */ ITfReadOnlyProperty **ppProperty);
-
- HRESULT ( STDMETHODCALLTYPE *EnumProperties )(
- ITfContext * This,
- /* [out] */ IEnumTfProperties **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetDocumentMgr )(
- ITfContext * This,
- /* [out] */ ITfDocumentMgr **ppDm);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRangeBackup )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ ITfRangeBackup **ppBackup);
-
- END_INTERFACE
- } ITfContextVtbl;
- interface ITfContext
- {
- CONST_VTBL struct ITfContextVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContext_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContext_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfContext_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfContext_RequestEditSession(This,tid,pes,dwFlags,phrSession)
- (This)->lpVtbl -> RequestEditSession(This,tid,pes,dwFlags,phrSession)
- #define ITfContext_InWriteSession(This,tid,pfWriteSession)
- (This)->lpVtbl -> InWriteSession(This,tid,pfWriteSession)
- #define ITfContext_GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched)
- (This)->lpVtbl -> GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched)
- #define ITfContext_SetSelection(This,ec,ulCount,pSelection)
- (This)->lpVtbl -> SetSelection(This,ec,ulCount,pSelection)
- #define ITfContext_GetStart(This,ec,ppStart)
- (This)->lpVtbl -> GetStart(This,ec,ppStart)
- #define ITfContext_GetEnd(This,ec,ppEnd)
- (This)->lpVtbl -> GetEnd(This,ec,ppEnd)
- #define ITfContext_GetActiveView(This,ppView)
- (This)->lpVtbl -> GetActiveView(This,ppView)
- #define ITfContext_EnumViews(This,ppEnum)
- (This)->lpVtbl -> EnumViews(This,ppEnum)
- #define ITfContext_GetStatus(This,pdcs)
- (This)->lpVtbl -> GetStatus(This,pdcs)
- #define ITfContext_GetProperty(This,guidProp,ppProp)
- (This)->lpVtbl -> GetProperty(This,guidProp,ppProp)
- #define ITfContext_GetAppProperty(This,guidProp,ppProp)
- (This)->lpVtbl -> GetAppProperty(This,guidProp,ppProp)
- #define ITfContext_TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty)
- (This)->lpVtbl -> TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty)
- #define ITfContext_EnumProperties(This,ppEnum)
- (This)->lpVtbl -> EnumProperties(This,ppEnum)
- #define ITfContext_GetDocumentMgr(This,ppDm)
- (This)->lpVtbl -> GetDocumentMgr(This,ppDm)
- #define ITfContext_CreateRangeBackup(This,ec,pRange,ppBackup)
- (This)->lpVtbl -> CreateRangeBackup(This,ec,pRange,ppBackup)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContext_RequestEditSession_Proxy(
- ITfContext * This,
- /* [in] */ TfClientId tid,
- /* [in] */ ITfEditSession *pes,
- /* [in] */ DWORD dwFlags,
- /* [out] */ HRESULT *phrSession);
- void __RPC_STUB ITfContext_RequestEditSession_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_InWriteSession_Proxy(
- ITfContext * This,
- /* [in] */ TfClientId tid,
- /* [out] */ BOOL *pfWriteSession);
- void __RPC_STUB ITfContext_InWriteSession_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetSelection_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulIndex,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_SELECTION *pSelection,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB ITfContext_GetSelection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_SetSelection_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulCount,
- /* [size_is][in] */ const TF_SELECTION *pSelection);
- void __RPC_STUB ITfContext_SetSelection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetStart_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppStart);
- void __RPC_STUB ITfContext_GetStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetEnd_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppEnd);
- void __RPC_STUB ITfContext_GetEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetActiveView_Proxy(
- ITfContext * This,
- /* [out] */ ITfContextView **ppView);
- void __RPC_STUB ITfContext_GetActiveView_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_EnumViews_Proxy(
- ITfContext * This,
- /* [out] */ IEnumTfContextViews **ppEnum);
- void __RPC_STUB ITfContext_EnumViews_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetStatus_Proxy(
- ITfContext * This,
- /* [out] */ TF_STATUS *pdcs);
- void __RPC_STUB ITfContext_GetStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetProperty_Proxy(
- ITfContext * This,
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfProperty **ppProp);
- void __RPC_STUB ITfContext_GetProperty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetAppProperty_Proxy(
- ITfContext * This,
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfReadOnlyProperty **ppProp);
- void __RPC_STUB ITfContext_GetAppProperty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_TrackProperties_Proxy(
- ITfContext * This,
- /* [size_is][in] */ const GUID **prgProp,
- /* [in] */ ULONG cProp,
- /* [size_is][in] */ const GUID **prgAppProp,
- /* [in] */ ULONG cAppProp,
- /* [out] */ ITfReadOnlyProperty **ppProperty);
- void __RPC_STUB ITfContext_TrackProperties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_EnumProperties_Proxy(
- ITfContext * This,
- /* [out] */ IEnumTfProperties **ppEnum);
- void __RPC_STUB ITfContext_EnumProperties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetDocumentMgr_Proxy(
- ITfContext * This,
- /* [out] */ ITfDocumentMgr **ppDm);
- void __RPC_STUB ITfContext_GetDocumentMgr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_CreateRangeBackup_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ ITfRangeBackup **ppBackup);
- void __RPC_STUB ITfContext_CreateRangeBackup_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContext_INTERFACE_DEFINED__ */
- #ifndef __ITfQueryEmbedded_INTERFACE_DEFINED__
- #define __ITfQueryEmbedded_INTERFACE_DEFINED__
- /* interface ITfQueryEmbedded */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfQueryEmbedded;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0fab9bdb-d250-4169-84e5-6be118fdd7a8")
- ITfQueryEmbedded : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE QueryInsertEmbedded(
- /* [in] */ const GUID *pguidService,
- /* [in] */ const FORMATETC *pFormatEtc,
- /* [out] */ BOOL *pfInsertable) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfQueryEmbeddedVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfQueryEmbedded * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfQueryEmbedded * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfQueryEmbedded * This);
-
- HRESULT ( STDMETHODCALLTYPE *QueryInsertEmbedded )(
- ITfQueryEmbedded * This,
- /* [in] */ const GUID *pguidService,
- /* [in] */ const FORMATETC *pFormatEtc,
- /* [out] */ BOOL *pfInsertable);
-
- END_INTERFACE
- } ITfQueryEmbeddedVtbl;
- interface ITfQueryEmbedded
- {
- CONST_VTBL struct ITfQueryEmbeddedVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfQueryEmbedded_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfQueryEmbedded_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfQueryEmbedded_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfQueryEmbedded_QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable)
- (This)->lpVtbl -> QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfQueryEmbedded_QueryInsertEmbedded_Proxy(
- ITfQueryEmbedded * This,
- /* [in] */ const GUID *pguidService,
- /* [in] */ const FORMATETC *pFormatEtc,
- /* [out] */ BOOL *pfInsertable);
- void __RPC_STUB ITfQueryEmbedded_QueryInsertEmbedded_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfQueryEmbedded_INTERFACE_DEFINED__ */
- #ifndef __ITfInsertAtSelection_INTERFACE_DEFINED__
- #define __ITfInsertAtSelection_INTERFACE_DEFINED__
- /* interface ITfInsertAtSelection */
- /* [unique][uuid][object] */
- #define TF_IAS_NOQUERY ( 0x1 )
- #define TF_IAS_QUERYONLY ( 0x2 )
- #define TF_IAS_NO_DEFAULT_COMPOSITION ( 0x80000000 )
- EXTERN_C const IID IID_ITfInsertAtSelection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("55ce16ba-3014-41c1-9ceb-fade1446ac6c")
- ITfInsertAtSelection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE InsertTextAtSelection(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch,
- /* [out] */ ITfRange **ppRange) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InsertEmbeddedAtSelection(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject,
- /* [out] */ ITfRange **ppRange) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfInsertAtSelectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfInsertAtSelection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfInsertAtSelection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfInsertAtSelection * This);
-
- HRESULT ( STDMETHODCALLTYPE *InsertTextAtSelection )(
- ITfInsertAtSelection * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch,
- /* [out] */ ITfRange **ppRange);
-
- HRESULT ( STDMETHODCALLTYPE *InsertEmbeddedAtSelection )(
- ITfInsertAtSelection * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject,
- /* [out] */ ITfRange **ppRange);
-
- END_INTERFACE
- } ITfInsertAtSelectionVtbl;
- interface ITfInsertAtSelection
- {
- CONST_VTBL struct ITfInsertAtSelectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfInsertAtSelection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfInsertAtSelection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfInsertAtSelection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfInsertAtSelection_InsertTextAtSelection(This,ec,dwFlags,pchText,cch,ppRange)
- (This)->lpVtbl -> InsertTextAtSelection(This,ec,dwFlags,pchText,cch,ppRange)
- #define ITfInsertAtSelection_InsertEmbeddedAtSelection(This,ec,dwFlags,pDataObject,ppRange)
- (This)->lpVtbl -> InsertEmbeddedAtSelection(This,ec,dwFlags,pDataObject,ppRange)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfInsertAtSelection_InsertTextAtSelection_Proxy(
- ITfInsertAtSelection * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfInsertAtSelection_InsertTextAtSelection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInsertAtSelection_InsertEmbeddedAtSelection_Proxy(
- ITfInsertAtSelection * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfInsertAtSelection_InsertEmbeddedAtSelection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfInsertAtSelection_INTERFACE_DEFINED__ */
- #ifndef __ITfCleanupContextSink_INTERFACE_DEFINED__
- #define __ITfCleanupContextSink_INTERFACE_DEFINED__
- /* interface ITfCleanupContextSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCleanupContextSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("01689689-7acb-4e9b-ab7c-7ea46b12b522")
- ITfCleanupContextSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnCleanupContext(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfContext *pic) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCleanupContextSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCleanupContextSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCleanupContextSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCleanupContextSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnCleanupContext )(
- ITfCleanupContextSink * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfContext *pic);
-
- END_INTERFACE
- } ITfCleanupContextSinkVtbl;
- interface ITfCleanupContextSink
- {
- CONST_VTBL struct ITfCleanupContextSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCleanupContextSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCleanupContextSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfCleanupContextSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfCleanupContextSink_OnCleanupContext(This,ecWrite,pic)
- (This)->lpVtbl -> OnCleanupContext(This,ecWrite,pic)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCleanupContextSink_OnCleanupContext_Proxy(
- ITfCleanupContextSink * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfCleanupContextSink_OnCleanupContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCleanupContextSink_INTERFACE_DEFINED__ */
- #ifndef __ITfCleanupContextDurationSink_INTERFACE_DEFINED__
- #define __ITfCleanupContextDurationSink_INTERFACE_DEFINED__
- /* interface ITfCleanupContextDurationSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCleanupContextDurationSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("45c35144-154e-4797-bed8-d33ae7bf8794")
- ITfCleanupContextDurationSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnStartCleanupContext( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnEndCleanupContext( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCleanupContextDurationSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCleanupContextDurationSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCleanupContextDurationSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCleanupContextDurationSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStartCleanupContext )(
- ITfCleanupContextDurationSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnEndCleanupContext )(
- ITfCleanupContextDurationSink * This);
-
- END_INTERFACE
- } ITfCleanupContextDurationSinkVtbl;
- interface ITfCleanupContextDurationSink
- {
- CONST_VTBL struct ITfCleanupContextDurationSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCleanupContextDurationSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCleanupContextDurationSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfCleanupContextDurationSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfCleanupContextDurationSink_OnStartCleanupContext(This)
- (This)->lpVtbl -> OnStartCleanupContext(This)
- #define ITfCleanupContextDurationSink_OnEndCleanupContext(This)
- (This)->lpVtbl -> OnEndCleanupContext(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCleanupContextDurationSink_OnStartCleanupContext_Proxy(
- ITfCleanupContextDurationSink * This);
- void __RPC_STUB ITfCleanupContextDurationSink_OnStartCleanupContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCleanupContextDurationSink_OnEndCleanupContext_Proxy(
- ITfCleanupContextDurationSink * This);
- void __RPC_STUB ITfCleanupContextDurationSink_OnEndCleanupContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCleanupContextDurationSink_INTERFACE_DEFINED__ */
- #ifndef __ITfReadOnlyProperty_INTERFACE_DEFINED__
- #define __ITfReadOnlyProperty_INTERFACE_DEFINED__
- /* interface ITfReadOnlyProperty */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfReadOnlyProperty;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("17d49a3d-f8b8-4b2f-b254-52319dd64c53")
- ITfReadOnlyProperty : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetType(
- /* [out] */ GUID *pguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumRanges(
- /* [in] */ TfEditCookie ec,
- /* [out] */ IEnumTfRanges **ppEnum,
- /* [in] */ ITfRange *pTargetRange) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetValue(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ VARIANT *pvarValue) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContext(
- /* [out] */ ITfContext **ppContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfReadOnlyPropertyVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfReadOnlyProperty * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfReadOnlyProperty * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfReadOnlyProperty * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetType )(
- ITfReadOnlyProperty * This,
- /* [out] */ GUID *pguid);
-
- HRESULT ( STDMETHODCALLTYPE *EnumRanges )(
- ITfReadOnlyProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IEnumTfRanges **ppEnum,
- /* [in] */ ITfRange *pTargetRange);
-
- HRESULT ( STDMETHODCALLTYPE *GetValue )(
- ITfReadOnlyProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ VARIANT *pvarValue);
-
- HRESULT ( STDMETHODCALLTYPE *GetContext )(
- ITfReadOnlyProperty * This,
- /* [out] */ ITfContext **ppContext);
-
- END_INTERFACE
- } ITfReadOnlyPropertyVtbl;
- interface ITfReadOnlyProperty
- {
- CONST_VTBL struct ITfReadOnlyPropertyVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfReadOnlyProperty_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfReadOnlyProperty_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfReadOnlyProperty_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfReadOnlyProperty_GetType(This,pguid)
- (This)->lpVtbl -> GetType(This,pguid)
- #define ITfReadOnlyProperty_EnumRanges(This,ec,ppEnum,pTargetRange)
- (This)->lpVtbl -> EnumRanges(This,ec,ppEnum,pTargetRange)
- #define ITfReadOnlyProperty_GetValue(This,ec,pRange,pvarValue)
- (This)->lpVtbl -> GetValue(This,ec,pRange,pvarValue)
- #define ITfReadOnlyProperty_GetContext(This,ppContext)
- (This)->lpVtbl -> GetContext(This,ppContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfReadOnlyProperty_GetType_Proxy(
- ITfReadOnlyProperty * This,
- /* [out] */ GUID *pguid);
- void __RPC_STUB ITfReadOnlyProperty_GetType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfReadOnlyProperty_EnumRanges_Proxy(
- ITfReadOnlyProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IEnumTfRanges **ppEnum,
- /* [in] */ ITfRange *pTargetRange);
- void __RPC_STUB ITfReadOnlyProperty_EnumRanges_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfReadOnlyProperty_GetValue_Proxy(
- ITfReadOnlyProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ VARIANT *pvarValue);
- void __RPC_STUB ITfReadOnlyProperty_GetValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfReadOnlyProperty_GetContext_Proxy(
- ITfReadOnlyProperty * This,
- /* [out] */ ITfContext **ppContext);
- void __RPC_STUB ITfReadOnlyProperty_GetContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfReadOnlyProperty_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_msctf_0160 */
- /* [local] */
- typedef /* [uuid] */ DECLSPEC_UUID("d678c645-eb6a-45c9-b4ee-0f3e3a991348") struct TF_PROPERTYVAL
- {
- GUID guidId;
- VARIANT varValue;
- } TF_PROPERTYVAL;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0160_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0160_v0_0_s_ifspec;
- #ifndef __IEnumTfPropertyValue_INTERFACE_DEFINED__
- #define __IEnumTfPropertyValue_INTERFACE_DEFINED__
- /* interface IEnumTfPropertyValue */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfPropertyValue;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8ed8981b-7c10-4d7d-9fb3-ab72e9c75f72")
- IEnumTfPropertyValue : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfPropertyValue **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_PROPERTYVAL *rgValues,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfPropertyValueVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfPropertyValue * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfPropertyValue * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfPropertyValue * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfPropertyValue * This,
- /* [out] */ IEnumTfPropertyValue **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfPropertyValue * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_PROPERTYVAL *rgValues,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfPropertyValue * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfPropertyValue * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfPropertyValueVtbl;
- interface IEnumTfPropertyValue
- {
- CONST_VTBL struct IEnumTfPropertyValueVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfPropertyValue_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfPropertyValue_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfPropertyValue_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumTfPropertyValue_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfPropertyValue_Next(This,ulCount,rgValues,pcFetched)
- (This)->lpVtbl -> Next(This,ulCount,rgValues,pcFetched)
- #define IEnumTfPropertyValue_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfPropertyValue_Skip(This,ulCount)
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfPropertyValue_Clone_Proxy(
- IEnumTfPropertyValue * This,
- /* [out] */ IEnumTfPropertyValue **ppEnum);
- void __RPC_STUB IEnumTfPropertyValue_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfPropertyValue_Next_Proxy(
- IEnumTfPropertyValue * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_PROPERTYVAL *rgValues,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfPropertyValue_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfPropertyValue_Reset_Proxy(
- IEnumTfPropertyValue * This);
- void __RPC_STUB IEnumTfPropertyValue_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfPropertyValue_Skip_Proxy(
- IEnumTfPropertyValue * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfPropertyValue_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfPropertyValue_INTERFACE_DEFINED__ */
- #ifndef __ITfMouseTracker_INTERFACE_DEFINED__
- #define __ITfMouseTracker_INTERFACE_DEFINED__
- /* interface ITfMouseTracker */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfMouseTracker;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("09d146cd-a544-4132-925b-7afa8ef322d0")
- ITfMouseTracker : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AdviseMouseSink(
- /* [in] */ ITfRange *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnadviseMouseSink(
- /* [in] */ DWORD dwCookie) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfMouseTrackerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfMouseTracker * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfMouseTracker * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfMouseTracker * This);
-
- HRESULT ( STDMETHODCALLTYPE *AdviseMouseSink )(
- ITfMouseTracker * This,
- /* [in] */ ITfRange *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie);
-
- HRESULT ( STDMETHODCALLTYPE *UnadviseMouseSink )(
- ITfMouseTracker * This,
- /* [in] */ DWORD dwCookie);
-
- END_INTERFACE
- } ITfMouseTrackerVtbl;
- interface ITfMouseTracker
- {
- CONST_VTBL struct ITfMouseTrackerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfMouseTracker_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfMouseTracker_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfMouseTracker_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfMouseTracker_AdviseMouseSink(This,range,pSink,pdwCookie)
- (This)->lpVtbl -> AdviseMouseSink(This,range,pSink,pdwCookie)
- #define ITfMouseTracker_UnadviseMouseSink(This,dwCookie)
- (This)->lpVtbl -> UnadviseMouseSink(This,dwCookie)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfMouseTracker_AdviseMouseSink_Proxy(
- ITfMouseTracker * This,
- /* [in] */ ITfRange *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie);
- void __RPC_STUB ITfMouseTracker_AdviseMouseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfMouseTracker_UnadviseMouseSink_Proxy(
- ITfMouseTracker * This,
- /* [in] */ DWORD dwCookie);
- void __RPC_STUB ITfMouseTracker_UnadviseMouseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfMouseTracker_INTERFACE_DEFINED__ */
- #ifndef __ITfMouseTrackerACP_INTERFACE_DEFINED__
- #define __ITfMouseTrackerACP_INTERFACE_DEFINED__
- /* interface ITfMouseTrackerACP */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfMouseTrackerACP;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3bdd78e2-c16e-47fd-b883-ce6facc1a208")
- ITfMouseTrackerACP : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AdviseMouseSink(
- /* [in] */ ITfRangeACP *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnadviseMouseSink(
- /* [in] */ DWORD dwCookie) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfMouseTrackerACPVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfMouseTrackerACP * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfMouseTrackerACP * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfMouseTrackerACP * This);
-
- HRESULT ( STDMETHODCALLTYPE *AdviseMouseSink )(
- ITfMouseTrackerACP * This,
- /* [in] */ ITfRangeACP *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie);
-
- HRESULT ( STDMETHODCALLTYPE *UnadviseMouseSink )(
- ITfMouseTrackerACP * This,
- /* [in] */ DWORD dwCookie);
-
- END_INTERFACE
- } ITfMouseTrackerACPVtbl;
- interface ITfMouseTrackerACP
- {
- CONST_VTBL struct ITfMouseTrackerACPVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfMouseTrackerACP_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfMouseTrackerACP_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfMouseTrackerACP_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfMouseTrackerACP_AdviseMouseSink(This,range,pSink,pdwCookie)
- (This)->lpVtbl -> AdviseMouseSink(This,range,pSink,pdwCookie)
- #define ITfMouseTrackerACP_UnadviseMouseSink(This,dwCookie)
- (This)->lpVtbl -> UnadviseMouseSink(This,dwCookie)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfMouseTrackerACP_AdviseMouseSink_Proxy(
- ITfMouseTrackerACP * This,
- /* [in] */ ITfRangeACP *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie);
- void __RPC_STUB ITfMouseTrackerACP_AdviseMouseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfMouseTrackerACP_UnadviseMouseSink_Proxy(
- ITfMouseTrackerACP * This,
- /* [in] */ DWORD dwCookie);
- void __RPC_STUB ITfMouseTrackerACP_UnadviseMouseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfMouseTrackerACP_INTERFACE_DEFINED__ */
- #ifndef __ITfMouseSink_INTERFACE_DEFINED__
- #define __ITfMouseSink_INTERFACE_DEFINED__
- /* interface ITfMouseSink */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfMouseSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("a1adaaa2-3a24-449d-ac96-5183e7f5c217")
- ITfMouseSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnMouseEvent(
- /* [in] */ ULONG uEdge,
- /* [in] */ ULONG uQuadrant,
- /* [in] */ DWORD dwBtnStatus,
- /* [out] */ BOOL *pfEaten) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfMouseSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfMouseSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfMouseSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfMouseSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnMouseEvent )(
- ITfMouseSink * This,
- /* [in] */ ULONG uEdge,
- /* [in] */ ULONG uQuadrant,
- /* [in] */ DWORD dwBtnStatus,
- /* [out] */ BOOL *pfEaten);
-
- END_INTERFACE
- } ITfMouseSinkVtbl;
- interface ITfMouseSink
- {
- CONST_VTBL struct ITfMouseSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfMouseSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfMouseSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfMouseSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfMouseSink_OnMouseEvent(This,uEdge,uQuadrant,dwBtnStatus,pfEaten)
- (This)->lpVtbl -> OnMouseEvent(This,uEdge,uQuadrant,dwBtnStatus,pfEaten)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfMouseSink_OnMouseEvent_Proxy(
- ITfMouseSink * This,
- /* [in] */ ULONG uEdge,
- /* [in] */ ULONG uQuadrant,
- /* [in] */ DWORD dwBtnStatus,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfMouseSink_OnMouseEvent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfMouseSink_INTERFACE_DEFINED__ */
- #ifndef __ITfEditRecord_INTERFACE_DEFINED__
- #define __ITfEditRecord_INTERFACE_DEFINED__
- /* interface ITfEditRecord */
- /* [unique][uuid][object] */
- #define TF_GTP_INCL_TEXT ( 0x1 )
- EXTERN_C const IID IID_ITfEditRecord;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("42d4d099-7c1a-4a89-b836-6c6f22160df0")
- ITfEditRecord : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetSelectionStatus(
- /* [out] */ BOOL *pfChanged) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetTextAndPropertyUpdates(
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const GUID **prgProperties,
- /* [in] */ ULONG cProperties,
- /* [out] */ IEnumTfRanges **ppEnum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfEditRecordVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfEditRecord * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfEditRecord * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfEditRecord * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetSelectionStatus )(
- ITfEditRecord * This,
- /* [out] */ BOOL *pfChanged);
-
- HRESULT ( STDMETHODCALLTYPE *GetTextAndPropertyUpdates )(
- ITfEditRecord * This,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const GUID **prgProperties,
- /* [in] */ ULONG cProperties,
- /* [out] */ IEnumTfRanges **ppEnum);
-
- END_INTERFACE
- } ITfEditRecordVtbl;
- interface ITfEditRecord
- {
- CONST_VTBL struct ITfEditRecordVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfEditRecord_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfEditRecord_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfEditRecord_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfEditRecord_GetSelectionStatus(This,pfChanged)
- (This)->lpVtbl -> GetSelectionStatus(This,pfChanged)
- #define ITfEditRecord_GetTextAndPropertyUpdates(This,dwFlags,prgProperties,cProperties,ppEnum)
- (This)->lpVtbl -> GetTextAndPropertyUpdates(This,dwFlags,prgProperties,cProperties,ppEnum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfEditRecord_GetSelectionStatus_Proxy(
- ITfEditRecord * This,
- /* [out] */ BOOL *pfChanged);
- void __RPC_STUB ITfEditRecord_GetSelectionStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfEditRecord_GetTextAndPropertyUpdates_Proxy(
- ITfEditRecord * This,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const GUID **prgProperties,
- /* [in] */ ULONG cProperties,
- /* [out] */ IEnumTfRanges **ppEnum);
- void __RPC_STUB ITfEditRecord_GetTextAndPropertyUpdates_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfEditRecord_INTERFACE_DEFINED__ */
- #ifndef __ITfTextEditSink_INTERFACE_DEFINED__
- #define __ITfTextEditSink_INTERFACE_DEFINED__
- /* interface ITfTextEditSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfTextEditSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8127d409-ccd3-4683-967a-b43d5b482bf7")
- ITfTextEditSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnEndEdit(
- /* [in] */ ITfContext *pic,
- /* [in] */ TfEditCookie ecReadOnly,
- /* [in] */ ITfEditRecord *pEditRecord) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfTextEditSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfTextEditSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfTextEditSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfTextEditSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnEndEdit )(
- ITfTextEditSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ TfEditCookie ecReadOnly,
- /* [in] */ ITfEditRecord *pEditRecord);
-
- END_INTERFACE
- } ITfTextEditSinkVtbl;
- interface ITfTextEditSink
- {
- CONST_VTBL struct ITfTextEditSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfTextEditSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfTextEditSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfTextEditSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfTextEditSink_OnEndEdit(This,pic,ecReadOnly,pEditRecord)
- (This)->lpVtbl -> OnEndEdit(This,pic,ecReadOnly,pEditRecord)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfTextEditSink_OnEndEdit_Proxy(
- ITfTextEditSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ TfEditCookie ecReadOnly,
- /* [in] */ ITfEditRecord *pEditRecord);
- void __RPC_STUB ITfTextEditSink_OnEndEdit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfTextEditSink_INTERFACE_DEFINED__ */
- #ifndef __ITfTextLayoutSink_INTERFACE_DEFINED__
- #define __ITfTextLayoutSink_INTERFACE_DEFINED__
- /* interface ITfTextLayoutSink */
- /* [unique][uuid][object] */
- typedef /* [public][public][uuid] */ DECLSPEC_UUID("603553cf-9edd-4cc1-9ecc-069e4a427734")
- enum __MIDL_ITfTextLayoutSink_0001
- { TF_LC_CREATE = 0,
- TF_LC_CHANGE = 1,
- TF_LC_DESTROY = 2
- } TfLayoutCode;
- EXTERN_C const IID IID_ITfTextLayoutSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2af2d06a-dd5b-4927-a0b4-54f19c91fade")
- ITfTextLayoutSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnLayoutChange(
- /* [in] */ ITfContext *pic,
- /* [in] */ TfLayoutCode lcode,
- /* [in] */ ITfContextView *pView) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfTextLayoutSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfTextLayoutSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfTextLayoutSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfTextLayoutSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnLayoutChange )(
- ITfTextLayoutSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ TfLayoutCode lcode,
- /* [in] */ ITfContextView *pView);
-
- END_INTERFACE
- } ITfTextLayoutSinkVtbl;
- interface ITfTextLayoutSink
- {
- CONST_VTBL struct ITfTextLayoutSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfTextLayoutSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfTextLayoutSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfTextLayoutSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfTextLayoutSink_OnLayoutChange(This,pic,lcode,pView)
- (This)->lpVtbl -> OnLayoutChange(This,pic,lcode,pView)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfTextLayoutSink_OnLayoutChange_Proxy(
- ITfTextLayoutSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ TfLayoutCode lcode,
- /* [in] */ ITfContextView *pView);
- void __RPC_STUB ITfTextLayoutSink_OnLayoutChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfTextLayoutSink_INTERFACE_DEFINED__ */
- #ifndef __ITfStatusSink_INTERFACE_DEFINED__
- #define __ITfStatusSink_INTERFACE_DEFINED__
- /* interface ITfStatusSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfStatusSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6b7d8d73-b267-4f69-b32e-1ca321ce4f45")
- ITfStatusSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnStatusChange(
- /* [in] */ ITfContext *pic,
- /* [in] */ DWORD dwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfStatusSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfStatusSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfStatusSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfStatusSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStatusChange )(
- ITfStatusSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ DWORD dwFlags);
-
- END_INTERFACE
- } ITfStatusSinkVtbl;
- interface ITfStatusSink
- {
- CONST_VTBL struct ITfStatusSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfStatusSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfStatusSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfStatusSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfStatusSink_OnStatusChange(This,pic,dwFlags)
- (This)->lpVtbl -> OnStatusChange(This,pic,dwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfStatusSink_OnStatusChange_Proxy(
- ITfStatusSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB ITfStatusSink_OnStatusChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfStatusSink_INTERFACE_DEFINED__ */
- #ifndef __ITfEditTransactionSink_INTERFACE_DEFINED__
- #define __ITfEditTransactionSink_INTERFACE_DEFINED__
- /* interface ITfEditTransactionSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfEditTransactionSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("708fbf70-b520-416b-b06c-2c41ab44f8ba")
- ITfEditTransactionSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnStartEditTransaction(
- /* [in] */ ITfContext *pic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnEndEditTransaction(
- /* [in] */ ITfContext *pic) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfEditTransactionSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfEditTransactionSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfEditTransactionSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfEditTransactionSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStartEditTransaction )(
- ITfEditTransactionSink * This,
- /* [in] */ ITfContext *pic);
-
- HRESULT ( STDMETHODCALLTYPE *OnEndEditTransaction )(
- ITfEditTransactionSink * This,
- /* [in] */ ITfContext *pic);
-
- END_INTERFACE
- } ITfEditTransactionSinkVtbl;
- interface ITfEditTransactionSink
- {
- CONST_VTBL struct ITfEditTransactionSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfEditTransactionSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfEditTransactionSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfEditTransactionSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfEditTransactionSink_OnStartEditTransaction(This,pic)
- (This)->lpVtbl -> OnStartEditTransaction(This,pic)
- #define ITfEditTransactionSink_OnEndEditTransaction(This,pic)
- (This)->lpVtbl -> OnEndEditTransaction(This,pic)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfEditTransactionSink_OnStartEditTransaction_Proxy(
- ITfEditTransactionSink * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfEditTransactionSink_OnStartEditTransaction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfEditTransactionSink_OnEndEditTransaction_Proxy(
- ITfEditTransactionSink * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfEditTransactionSink_OnEndEditTransaction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfEditTransactionSink_INTERFACE_DEFINED__ */
- #ifndef __ITfContextOwner_INTERFACE_DEFINED__
- #define __ITfContextOwner_INTERFACE_DEFINED__
- /* interface ITfContextOwner */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextOwner;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e80c-2021-11d2-93e0-0060b067b86e")
- ITfContextOwner : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetACPFromPoint(
- /* [in] */ const POINT *ptScreen,
- /* [in] */ DWORD dwFlags,
- /* [out] */ LONG *pacp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetTextExt(
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetScreenExt(
- /* [out] */ RECT *prc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetStatus(
- /* [out] */ TF_STATUS *pdcs) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetWnd(
- /* [out] */ HWND *phwnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAttribute(
- /* [in] */ REFGUID rguidAttribute,
- /* [out] */ VARIANT *pvarValue) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextOwnerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextOwner * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextOwner * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextOwner * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetACPFromPoint )(
- ITfContextOwner * This,
- /* [in] */ const POINT *ptScreen,
- /* [in] */ DWORD dwFlags,
- /* [out] */ LONG *pacp);
-
- HRESULT ( STDMETHODCALLTYPE *GetTextExt )(
- ITfContextOwner * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped);
-
- HRESULT ( STDMETHODCALLTYPE *GetScreenExt )(
- ITfContextOwner * This,
- /* [out] */ RECT *prc);
-
- HRESULT ( STDMETHODCALLTYPE *GetStatus )(
- ITfContextOwner * This,
- /* [out] */ TF_STATUS *pdcs);
-
- HRESULT ( STDMETHODCALLTYPE *GetWnd )(
- ITfContextOwner * This,
- /* [out] */ HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttribute )(
- ITfContextOwner * This,
- /* [in] */ REFGUID rguidAttribute,
- /* [out] */ VARIANT *pvarValue);
-
- END_INTERFACE
- } ITfContextOwnerVtbl;
- interface ITfContextOwner
- {
- CONST_VTBL struct ITfContextOwnerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextOwner_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextOwner_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextOwner_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfContextOwner_GetACPFromPoint(This,ptScreen,dwFlags,pacp)
- (This)->lpVtbl -> GetACPFromPoint(This,ptScreen,dwFlags,pacp)
- #define ITfContextOwner_GetTextExt(This,acpStart,acpEnd,prc,pfClipped)
- (This)->lpVtbl -> GetTextExt(This,acpStart,acpEnd,prc,pfClipped)
- #define ITfContextOwner_GetScreenExt(This,prc)
- (This)->lpVtbl -> GetScreenExt(This,prc)
- #define ITfContextOwner_GetStatus(This,pdcs)
- (This)->lpVtbl -> GetStatus(This,pdcs)
- #define ITfContextOwner_GetWnd(This,phwnd)
- (This)->lpVtbl -> GetWnd(This,phwnd)
- #define ITfContextOwner_GetAttribute(This,rguidAttribute,pvarValue)
- (This)->lpVtbl -> GetAttribute(This,rguidAttribute,pvarValue)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetACPFromPoint_Proxy(
- ITfContextOwner * This,
- /* [in] */ const POINT *ptScreen,
- /* [in] */ DWORD dwFlags,
- /* [out] */ LONG *pacp);
- void __RPC_STUB ITfContextOwner_GetACPFromPoint_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetTextExt_Proxy(
- ITfContextOwner * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped);
- void __RPC_STUB ITfContextOwner_GetTextExt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetScreenExt_Proxy(
- ITfContextOwner * This,
- /* [out] */ RECT *prc);
- void __RPC_STUB ITfContextOwner_GetScreenExt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetStatus_Proxy(
- ITfContextOwner * This,
- /* [out] */ TF_STATUS *pdcs);
- void __RPC_STUB ITfContextOwner_GetStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetWnd_Proxy(
- ITfContextOwner * This,
- /* [out] */ HWND *phwnd);
- void __RPC_STUB ITfContextOwner_GetWnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetAttribute_Proxy(
- ITfContextOwner * This,
- /* [in] */ REFGUID rguidAttribute,
- /* [out] */ VARIANT *pvarValue);
- void __RPC_STUB ITfContextOwner_GetAttribute_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextOwner_INTERFACE_DEFINED__ */
- #ifndef __ITfContextOwnerServices_INTERFACE_DEFINED__
- #define __ITfContextOwnerServices_INTERFACE_DEFINED__
- /* interface ITfContextOwnerServices */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextOwnerServices;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("b23eb630-3e1c-11d3-a745-0050040ab407")
- ITfContextOwnerServices : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnLayoutChange( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnStatusChange(
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnAttributeChange(
- /* [in] */ REFGUID rguidAttribute) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Serialize(
- /* [in] */ ITfProperty *pProp,
- /* [in] */ ITfRange *pRange,
- /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Unserialize(
- /* [in] */ ITfProperty *pProp,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream,
- /* [in] */ ITfPersistentPropertyLoaderACP *pLoader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ForceLoadProperty(
- /* [in] */ ITfProperty *pProp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateRange(
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ ITfRangeACP **ppRange) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextOwnerServicesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextOwnerServices * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextOwnerServices * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextOwnerServices * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnLayoutChange )(
- ITfContextOwnerServices * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStatusChange )(
- ITfContextOwnerServices * This,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *OnAttributeChange )(
- ITfContextOwnerServices * This,
- /* [in] */ REFGUID rguidAttribute);
-
- HRESULT ( STDMETHODCALLTYPE *Serialize )(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ ITfRange *pRange,
- /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream);
-
- HRESULT ( STDMETHODCALLTYPE *Unserialize )(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream,
- /* [in] */ ITfPersistentPropertyLoaderACP *pLoader);
-
- HRESULT ( STDMETHODCALLTYPE *ForceLoadProperty )(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRange )(
- ITfContextOwnerServices * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ ITfRangeACP **ppRange);
-
- END_INTERFACE
- } ITfContextOwnerServicesVtbl;
- interface ITfContextOwnerServices
- {
- CONST_VTBL struct ITfContextOwnerServicesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextOwnerServices_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextOwnerServices_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextOwnerServices_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfContextOwnerServices_OnLayoutChange(This)
- (This)->lpVtbl -> OnLayoutChange(This)
- #define ITfContextOwnerServices_OnStatusChange(This,dwFlags)
- (This)->lpVtbl -> OnStatusChange(This,dwFlags)
- #define ITfContextOwnerServices_OnAttributeChange(This,rguidAttribute)
- (This)->lpVtbl -> OnAttributeChange(This,rguidAttribute)
- #define ITfContextOwnerServices_Serialize(This,pProp,pRange,pHdr,pStream)
- (This)->lpVtbl -> Serialize(This,pProp,pRange,pHdr,pStream)
- #define ITfContextOwnerServices_Unserialize(This,pProp,pHdr,pStream,pLoader)
- (This)->lpVtbl -> Unserialize(This,pProp,pHdr,pStream,pLoader)
- #define ITfContextOwnerServices_ForceLoadProperty(This,pProp)
- (This)->lpVtbl -> ForceLoadProperty(This,pProp)
- #define ITfContextOwnerServices_CreateRange(This,acpStart,acpEnd,ppRange)
- (This)->lpVtbl -> CreateRange(This,acpStart,acpEnd,ppRange)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_OnLayoutChange_Proxy(
- ITfContextOwnerServices * This);
- void __RPC_STUB ITfContextOwnerServices_OnLayoutChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_OnStatusChange_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB ITfContextOwnerServices_OnStatusChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_OnAttributeChange_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ REFGUID rguidAttribute);
- void __RPC_STUB ITfContextOwnerServices_OnAttributeChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_Serialize_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ ITfRange *pRange,
- /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream);
- void __RPC_STUB ITfContextOwnerServices_Serialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_Unserialize_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream,
- /* [in] */ ITfPersistentPropertyLoaderACP *pLoader);
- void __RPC_STUB ITfContextOwnerServices_Unserialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_ForceLoadProperty_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp);
- void __RPC_STUB ITfContextOwnerServices_ForceLoadProperty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_CreateRange_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ ITfRangeACP **ppRange);
- void __RPC_STUB ITfContextOwnerServices_CreateRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextOwnerServices_INTERFACE_DEFINED__ */
- #ifndef __ITfContextKeyEventSink_INTERFACE_DEFINED__
- #define __ITfContextKeyEventSink_INTERFACE_DEFINED__
- /* interface ITfContextKeyEventSink */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfContextKeyEventSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0552ba5d-c835-4934-bf50-846aaa67432f")
- ITfContextKeyEventSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnKeyDown(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnKeyUp(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnTestKeyDown(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnTestKeyUp(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextKeyEventSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextKeyEventSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextKeyEventSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextKeyEventSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnKeyDown )(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnKeyUp )(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnTestKeyDown )(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnTestKeyUp )(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- END_INTERFACE
- } ITfContextKeyEventSinkVtbl;
- interface ITfContextKeyEventSink
- {
- CONST_VTBL struct ITfContextKeyEventSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextKeyEventSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextKeyEventSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextKeyEventSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfContextKeyEventSink_OnKeyDown(This,wParam,lParam,pfEaten)
- (This)->lpVtbl -> OnKeyDown(This,wParam,lParam,pfEaten)
- #define ITfContextKeyEventSink_OnKeyUp(This,wParam,lParam,pfEaten)
- (This)->lpVtbl -> OnKeyUp(This,wParam,lParam,pfEaten)
- #define ITfContextKeyEventSink_OnTestKeyDown(This,wParam,lParam,pfEaten)
- (This)->lpVtbl -> OnTestKeyDown(This,wParam,lParam,pfEaten)
- #define ITfContextKeyEventSink_OnTestKeyUp(This,wParam,lParam,pfEaten)
- (This)->lpVtbl -> OnTestKeyUp(This,wParam,lParam,pfEaten)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextKeyEventSink_OnKeyDown_Proxy(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfContextKeyEventSink_OnKeyDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextKeyEventSink_OnKeyUp_Proxy(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfContextKeyEventSink_OnKeyUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextKeyEventSink_OnTestKeyDown_Proxy(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfContextKeyEventSink_OnTestKeyDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextKeyEventSink_OnTestKeyUp_Proxy(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfContextKeyEventSink_OnTestKeyUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextKeyEventSink_INTERFACE_DEFINED__ */
- #ifndef __ITfEditSession_INTERFACE_DEFINED__
- #define __ITfEditSession_INTERFACE_DEFINED__
- /* interface ITfEditSession */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfEditSession;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e803-2021-11d2-93e0-0060b067b86e")
- ITfEditSession : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE DoEditSession(
- /* [in] */ TfEditCookie ec) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfEditSessionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfEditSession * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfEditSession * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfEditSession * This);
-
- HRESULT ( STDMETHODCALLTYPE *DoEditSession )(
- ITfEditSession * This,
- /* [in] */ TfEditCookie ec);
-
- END_INTERFACE
- } ITfEditSessionVtbl;
- interface ITfEditSession
- {
- CONST_VTBL struct ITfEditSessionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfEditSession_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfEditSession_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfEditSession_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfEditSession_DoEditSession(This,ec)
- (This)->lpVtbl -> DoEditSession(This,ec)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfEditSession_DoEditSession_Proxy(
- ITfEditSession * This,
- /* [in] */ TfEditCookie ec);
- void __RPC_STUB ITfEditSession_DoEditSession_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfEditSession_INTERFACE_DEFINED__ */
- #ifndef __ITfRange_INTERFACE_DEFINED__
- #define __ITfRange_INTERFACE_DEFINED__
- /* interface ITfRange */
- /* [unique][uuid][object] */
- #define TF_CHAR_EMBEDDED ( TS_CHAR_EMBEDDED )
- typedef /* [public][public][public][public][public][uuid] */ DECLSPEC_UUID("cf610f06-2882-46f6-abe5-298568b664c4")
- enum __MIDL_ITfRange_0001
- { TF_GRAVITY_BACKWARD = 0,
- TF_GRAVITY_FORWARD = 1
- } TfGravity;
- typedef /* [public][public][public][uuid] */ DECLSPEC_UUID("1e512533-bbdc-4530-9a8e-a1dc0af67468")
- enum __MIDL_ITfRange_0002
- { TF_SD_BACKWARD = 0,
- TF_SD_FORWARD = 1
- } TfShiftDir;
- #define TF_HF_OBJECT ( 1 )
- #define TF_TF_MOVESTART ( 1 )
- #define TF_TF_IGNOREEND ( 2 )
- #define TF_ST_CORRECTION ( 1 )
- #define TF_IE_CORRECTION ( 1 )
- typedef /* [uuid] */ DECLSPEC_UUID("49930d51-7d93-448c-a48c-fea5dac192b1") struct TF_HALTCOND
- {
- ITfRange *pHaltRange;
- TfAnchor aHaltPos;
- DWORD dwFlags;
- } TF_HALTCOND;
- EXTERN_C const IID IID_ITfRange;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e7ff-2021-11d2-93e0-0060b067b86e")
- ITfRange : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetText(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [length_is][size_is][out] */ WCHAR *pchText,
- /* [in] */ ULONG cchMax,
- /* [out] */ ULONG *pcch) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetText(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [unique][size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFormattedText(
- /* [in] */ TfEditCookie ec,
- /* [out] */ IDataObject **ppDataObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetEmbedded(
- /* [in] */ TfEditCookie ec,
- /* [in] */ REFGUID rguidService,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InsertEmbedded(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftStart(
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftEnd(
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftStartToRange(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftEndToRange(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftStartRegion(
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftEndRegion(
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsEmpty(
- /* [in] */ TfEditCookie ec,
- /* [out] */ BOOL *pfEmpty) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Collapse(
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfAnchor aPos) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsEqualStart(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsEqualEnd(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CompareStart(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CompareEnd(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AdjustForInsert(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG cchInsert,
- /* [out] */ BOOL *pfInsertOk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetGravity(
- /* [out] */ TfGravity *pgStart,
- /* [out] */ TfGravity *pgEnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetGravity(
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfGravity gStart,
- /* [in] */ TfGravity gEnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ ITfRange **ppClone) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContext(
- /* [out] */ ITfContext **ppContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfRangeVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfRange * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfRange * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfRange * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetText )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [length_is][size_is][out] */ WCHAR *pchText,
- /* [in] */ ULONG cchMax,
- /* [out] */ ULONG *pcch);
-
- HRESULT ( STDMETHODCALLTYPE *SetText )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [unique][size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch);
-
- HRESULT ( STDMETHODCALLTYPE *GetFormattedText )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IDataObject **ppDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *GetEmbedded )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ REFGUID rguidService,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk);
-
- HRESULT ( STDMETHODCALLTYPE *InsertEmbedded )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStart )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEnd )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStartToRange )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEndToRange )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStartRegion )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEndRegion )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
-
- HRESULT ( STDMETHODCALLTYPE *IsEmpty )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ BOOL *pfEmpty);
-
- HRESULT ( STDMETHODCALLTYPE *Collapse )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *IsEqualStart )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual);
-
- HRESULT ( STDMETHODCALLTYPE *IsEqualEnd )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual);
-
- HRESULT ( STDMETHODCALLTYPE *CompareStart )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult);
-
- HRESULT ( STDMETHODCALLTYPE *CompareEnd )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult);
-
- HRESULT ( STDMETHODCALLTYPE *AdjustForInsert )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG cchInsert,
- /* [out] */ BOOL *pfInsertOk);
-
- HRESULT ( STDMETHODCALLTYPE *GetGravity )(
- ITfRange * This,
- /* [out] */ TfGravity *pgStart,
- /* [out] */ TfGravity *pgEnd);
-
- HRESULT ( STDMETHODCALLTYPE *SetGravity )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfGravity gStart,
- /* [in] */ TfGravity gEnd);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- ITfRange * This,
- /* [out] */ ITfRange **ppClone);
-
- HRESULT ( STDMETHODCALLTYPE *GetContext )(
- ITfRange * This,
- /* [out] */ ITfContext **ppContext);
-
- END_INTERFACE
- } ITfRangeVtbl;
- interface ITfRange
- {
- CONST_VTBL struct ITfRangeVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfRange_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfRange_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfRange_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfRange_GetText(This,ec,dwFlags,pchText,cchMax,pcch)
- (This)->lpVtbl -> GetText(This,ec,dwFlags,pchText,cchMax,pcch)
- #define ITfRange_SetText(This,ec,dwFlags,pchText,cch)
- (This)->lpVtbl -> SetText(This,ec,dwFlags,pchText,cch)
- #define ITfRange_GetFormattedText(This,ec,ppDataObject)
- (This)->lpVtbl -> GetFormattedText(This,ec,ppDataObject)
- #define ITfRange_GetEmbedded(This,ec,rguidService,riid,ppunk)
- (This)->lpVtbl -> GetEmbedded(This,ec,rguidService,riid,ppunk)
- #define ITfRange_InsertEmbedded(This,ec,dwFlags,pDataObject)
- (This)->lpVtbl -> InsertEmbedded(This,ec,dwFlags,pDataObject)
- #define ITfRange_ShiftStart(This,ec,cchReq,pcch,pHalt)
- (This)->lpVtbl -> ShiftStart(This,ec,cchReq,pcch,pHalt)
- #define ITfRange_ShiftEnd(This,ec,cchReq,pcch,pHalt)
- (This)->lpVtbl -> ShiftEnd(This,ec,cchReq,pcch,pHalt)
- #define ITfRange_ShiftStartToRange(This,ec,pRange,aPos)
- (This)->lpVtbl -> ShiftStartToRange(This,ec,pRange,aPos)
- #define ITfRange_ShiftEndToRange(This,ec,pRange,aPos)
- (This)->lpVtbl -> ShiftEndToRange(This,ec,pRange,aPos)
- #define ITfRange_ShiftStartRegion(This,ec,dir,pfNoRegion)
- (This)->lpVtbl -> ShiftStartRegion(This,ec,dir,pfNoRegion)
- #define ITfRange_ShiftEndRegion(This,ec,dir,pfNoRegion)
- (This)->lpVtbl -> ShiftEndRegion(This,ec,dir,pfNoRegion)
- #define ITfRange_IsEmpty(This,ec,pfEmpty)
- (This)->lpVtbl -> IsEmpty(This,ec,pfEmpty)
- #define ITfRange_Collapse(This,ec,aPos)
- (This)->lpVtbl -> Collapse(This,ec,aPos)
- #define ITfRange_IsEqualStart(This,ec,pWith,aPos,pfEqual)
- (This)->lpVtbl -> IsEqualStart(This,ec,pWith,aPos,pfEqual)
- #define ITfRange_IsEqualEnd(This,ec,pWith,aPos,pfEqual)
- (This)->lpVtbl -> IsEqualEnd(This,ec,pWith,aPos,pfEqual)
- #define ITfRange_CompareStart(This,ec,pWith,aPos,plResult)
- (This)->lpVtbl -> CompareStart(This,ec,pWith,aPos,plResult)
- #define ITfRange_CompareEnd(This,ec,pWith,aPos,plResult)
- (This)->lpVtbl -> CompareEnd(This,ec,pWith,aPos,plResult)
- #define ITfRange_AdjustForInsert(This,ec,cchInsert,pfInsertOk)
- (This)->lpVtbl -> AdjustForInsert(This,ec,cchInsert,pfInsertOk)
- #define ITfRange_GetGravity(This,pgStart,pgEnd)
- (This)->lpVtbl -> GetGravity(This,pgStart,pgEnd)
- #define ITfRange_SetGravity(This,ec,gStart,gEnd)
- (This)->lpVtbl -> SetGravity(This,ec,gStart,gEnd)
- #define ITfRange_Clone(This,ppClone)
- (This)->lpVtbl -> Clone(This,ppClone)
- #define ITfRange_GetContext(This,ppContext)
- (This)->lpVtbl -> GetContext(This,ppContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfRange_GetText_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [length_is][size_is][out] */ WCHAR *pchText,
- /* [in] */ ULONG cchMax,
- /* [out] */ ULONG *pcch);
- void __RPC_STUB ITfRange_GetText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_SetText_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [unique][size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch);
- void __RPC_STUB ITfRange_SetText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_GetFormattedText_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IDataObject **ppDataObject);
- void __RPC_STUB ITfRange_GetFormattedText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_GetEmbedded_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ REFGUID rguidService,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk);
- void __RPC_STUB ITfRange_GetEmbedded_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_InsertEmbedded_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject);
- void __RPC_STUB ITfRange_InsertEmbedded_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftStart_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
- void __RPC_STUB ITfRange_ShiftStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftEnd_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
- void __RPC_STUB ITfRange_ShiftEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftStartToRange_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
- void __RPC_STUB ITfRange_ShiftStartToRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftEndToRange_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
- void __RPC_STUB ITfRange_ShiftEndToRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftStartRegion_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
- void __RPC_STUB ITfRange_ShiftStartRegion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftEndRegion_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
- void __RPC_STUB ITfRange_ShiftEndRegion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_IsEmpty_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ BOOL *pfEmpty);
- void __RPC_STUB ITfRange_IsEmpty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_Collapse_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfAnchor aPos);
- void __RPC_STUB ITfRange_Collapse_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_IsEqualStart_Proxy(
- ITfRange * This,