msctf.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:389k
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* Compiler settings for msctf.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __msctf_h__
- #define __msctf_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __ITfThreadMgr_FWD_DEFINED__
- #define __ITfThreadMgr_FWD_DEFINED__
- typedef interface ITfThreadMgr ITfThreadMgr;
- #endif /* __ITfThreadMgr_FWD_DEFINED__ */
- #ifndef __ITfThreadMgrEventSink_FWD_DEFINED__
- #define __ITfThreadMgrEventSink_FWD_DEFINED__
- typedef interface ITfThreadMgrEventSink ITfThreadMgrEventSink;
- #endif /* __ITfThreadMgrEventSink_FWD_DEFINED__ */
- #ifndef __ITfConfigureSystemKeystrokeFeed_FWD_DEFINED__
- #define __ITfConfigureSystemKeystrokeFeed_FWD_DEFINED__
- typedef interface ITfConfigureSystemKeystrokeFeed ITfConfigureSystemKeystrokeFeed;
- #endif /* __ITfConfigureSystemKeystrokeFeed_FWD_DEFINED__ */
- #ifndef __IEnumTfDocumentMgrs_FWD_DEFINED__
- #define __IEnumTfDocumentMgrs_FWD_DEFINED__
- typedef interface IEnumTfDocumentMgrs IEnumTfDocumentMgrs;
- #endif /* __IEnumTfDocumentMgrs_FWD_DEFINED__ */
- #ifndef __ITfDocumentMgr_FWD_DEFINED__
- #define __ITfDocumentMgr_FWD_DEFINED__
- typedef interface ITfDocumentMgr ITfDocumentMgr;
- #endif /* __ITfDocumentMgr_FWD_DEFINED__ */
- #ifndef __IEnumTfContexts_FWD_DEFINED__
- #define __IEnumTfContexts_FWD_DEFINED__
- typedef interface IEnumTfContexts IEnumTfContexts;
- #endif /* __IEnumTfContexts_FWD_DEFINED__ */
- #ifndef __ITfCompositionView_FWD_DEFINED__
- #define __ITfCompositionView_FWD_DEFINED__
- typedef interface ITfCompositionView ITfCompositionView;
- #endif /* __ITfCompositionView_FWD_DEFINED__ */
- #ifndef __IEnumITfCompositionView_FWD_DEFINED__
- #define __IEnumITfCompositionView_FWD_DEFINED__
- typedef interface IEnumITfCompositionView IEnumITfCompositionView;
- #endif /* __IEnumITfCompositionView_FWD_DEFINED__ */
- #ifndef __ITfComposition_FWD_DEFINED__
- #define __ITfComposition_FWD_DEFINED__
- typedef interface ITfComposition ITfComposition;
- #endif /* __ITfComposition_FWD_DEFINED__ */
- #ifndef __ITfCompositionSink_FWD_DEFINED__
- #define __ITfCompositionSink_FWD_DEFINED__
- typedef interface ITfCompositionSink ITfCompositionSink;
- #endif /* __ITfCompositionSink_FWD_DEFINED__ */
- #ifndef __ITfContextComposition_FWD_DEFINED__
- #define __ITfContextComposition_FWD_DEFINED__
- typedef interface ITfContextComposition ITfContextComposition;
- #endif /* __ITfContextComposition_FWD_DEFINED__ */
- #ifndef __ITfContextOwnerCompositionServices_FWD_DEFINED__
- #define __ITfContextOwnerCompositionServices_FWD_DEFINED__
- typedef interface ITfContextOwnerCompositionServices ITfContextOwnerCompositionServices;
- #endif /* __ITfContextOwnerCompositionServices_FWD_DEFINED__ */
- #ifndef __ITfContextOwnerCompositionSink_FWD_DEFINED__
- #define __ITfContextOwnerCompositionSink_FWD_DEFINED__
- typedef interface ITfContextOwnerCompositionSink ITfContextOwnerCompositionSink;
- #endif /* __ITfContextOwnerCompositionSink_FWD_DEFINED__ */
- #ifndef __ITfContextView_FWD_DEFINED__
- #define __ITfContextView_FWD_DEFINED__
- typedef interface ITfContextView ITfContextView;
- #endif /* __ITfContextView_FWD_DEFINED__ */
- #ifndef __IEnumTfContextViews_FWD_DEFINED__
- #define __IEnumTfContextViews_FWD_DEFINED__
- typedef interface IEnumTfContextViews IEnumTfContextViews;
- #endif /* __IEnumTfContextViews_FWD_DEFINED__ */
- #ifndef __ITfContext_FWD_DEFINED__
- #define __ITfContext_FWD_DEFINED__
- typedef interface ITfContext ITfContext;
- #endif /* __ITfContext_FWD_DEFINED__ */
- #ifndef __ITfQueryEmbedded_FWD_DEFINED__
- #define __ITfQueryEmbedded_FWD_DEFINED__
- typedef interface ITfQueryEmbedded ITfQueryEmbedded;
- #endif /* __ITfQueryEmbedded_FWD_DEFINED__ */
- #ifndef __ITfInsertAtSelection_FWD_DEFINED__
- #define __ITfInsertAtSelection_FWD_DEFINED__
- typedef interface ITfInsertAtSelection ITfInsertAtSelection;
- #endif /* __ITfInsertAtSelection_FWD_DEFINED__ */
- #ifndef __ITfCleanupContextSink_FWD_DEFINED__
- #define __ITfCleanupContextSink_FWD_DEFINED__
- typedef interface ITfCleanupContextSink ITfCleanupContextSink;
- #endif /* __ITfCleanupContextSink_FWD_DEFINED__ */
- #ifndef __ITfCleanupContextDurationSink_FWD_DEFINED__
- #define __ITfCleanupContextDurationSink_FWD_DEFINED__
- typedef interface ITfCleanupContextDurationSink ITfCleanupContextDurationSink;
- #endif /* __ITfCleanupContextDurationSink_FWD_DEFINED__ */
- #ifndef __ITfReadOnlyProperty_FWD_DEFINED__
- #define __ITfReadOnlyProperty_FWD_DEFINED__
- typedef interface ITfReadOnlyProperty ITfReadOnlyProperty;
- #endif /* __ITfReadOnlyProperty_FWD_DEFINED__ */
- #ifndef __IEnumTfPropertyValue_FWD_DEFINED__
- #define __IEnumTfPropertyValue_FWD_DEFINED__
- typedef interface IEnumTfPropertyValue IEnumTfPropertyValue;
- #endif /* __IEnumTfPropertyValue_FWD_DEFINED__ */
- #ifndef __ITfMouseTracker_FWD_DEFINED__
- #define __ITfMouseTracker_FWD_DEFINED__
- typedef interface ITfMouseTracker ITfMouseTracker;
- #endif /* __ITfMouseTracker_FWD_DEFINED__ */
- #ifndef __ITfMouseTrackerACP_FWD_DEFINED__
- #define __ITfMouseTrackerACP_FWD_DEFINED__
- typedef interface ITfMouseTrackerACP ITfMouseTrackerACP;
- #endif /* __ITfMouseTrackerACP_FWD_DEFINED__ */
- #ifndef __ITfMouseSink_FWD_DEFINED__
- #define __ITfMouseSink_FWD_DEFINED__
- typedef interface ITfMouseSink ITfMouseSink;
- #endif /* __ITfMouseSink_FWD_DEFINED__ */
- #ifndef __ITfEditRecord_FWD_DEFINED__
- #define __ITfEditRecord_FWD_DEFINED__
- typedef interface ITfEditRecord ITfEditRecord;
- #endif /* __ITfEditRecord_FWD_DEFINED__ */
- #ifndef __ITfTextEditSink_FWD_DEFINED__
- #define __ITfTextEditSink_FWD_DEFINED__
- typedef interface ITfTextEditSink ITfTextEditSink;
- #endif /* __ITfTextEditSink_FWD_DEFINED__ */
- #ifndef __ITfTextLayoutSink_FWD_DEFINED__
- #define __ITfTextLayoutSink_FWD_DEFINED__
- typedef interface ITfTextLayoutSink ITfTextLayoutSink;
- #endif /* __ITfTextLayoutSink_FWD_DEFINED__ */
- #ifndef __ITfStatusSink_FWD_DEFINED__
- #define __ITfStatusSink_FWD_DEFINED__
- typedef interface ITfStatusSink ITfStatusSink;
- #endif /* __ITfStatusSink_FWD_DEFINED__ */
- #ifndef __ITfEditTransactionSink_FWD_DEFINED__
- #define __ITfEditTransactionSink_FWD_DEFINED__
- typedef interface ITfEditTransactionSink ITfEditTransactionSink;
- #endif /* __ITfEditTransactionSink_FWD_DEFINED__ */
- #ifndef __ITfContextOwner_FWD_DEFINED__
- #define __ITfContextOwner_FWD_DEFINED__
- typedef interface ITfContextOwner ITfContextOwner;
- #endif /* __ITfContextOwner_FWD_DEFINED__ */
- #ifndef __ITfContextOwnerServices_FWD_DEFINED__
- #define __ITfContextOwnerServices_FWD_DEFINED__
- typedef interface ITfContextOwnerServices ITfContextOwnerServices;
- #endif /* __ITfContextOwnerServices_FWD_DEFINED__ */
- #ifndef __ITfContextKeyEventSink_FWD_DEFINED__
- #define __ITfContextKeyEventSink_FWD_DEFINED__
- typedef interface ITfContextKeyEventSink ITfContextKeyEventSink;
- #endif /* __ITfContextKeyEventSink_FWD_DEFINED__ */
- #ifndef __ITfEditSession_FWD_DEFINED__
- #define __ITfEditSession_FWD_DEFINED__
- typedef interface ITfEditSession ITfEditSession;
- #endif /* __ITfEditSession_FWD_DEFINED__ */
- #ifndef __ITfRange_FWD_DEFINED__
- #define __ITfRange_FWD_DEFINED__
- typedef interface ITfRange ITfRange;
- #endif /* __ITfRange_FWD_DEFINED__ */
- #ifndef __ITfRangeACP_FWD_DEFINED__
- #define __ITfRangeACP_FWD_DEFINED__
- typedef interface ITfRangeACP ITfRangeACP;
- #endif /* __ITfRangeACP_FWD_DEFINED__ */
- #ifndef __ITextStoreACPServices_FWD_DEFINED__
- #define __ITextStoreACPServices_FWD_DEFINED__
- typedef interface ITextStoreACPServices ITextStoreACPServices;
- #endif /* __ITextStoreACPServices_FWD_DEFINED__ */
- #ifndef __ITfRangeBackup_FWD_DEFINED__
- #define __ITfRangeBackup_FWD_DEFINED__
- typedef interface ITfRangeBackup ITfRangeBackup;
- #endif /* __ITfRangeBackup_FWD_DEFINED__ */
- #ifndef __ITfPropertyStore_FWD_DEFINED__
- #define __ITfPropertyStore_FWD_DEFINED__
- typedef interface ITfPropertyStore ITfPropertyStore;
- #endif /* __ITfPropertyStore_FWD_DEFINED__ */
- #ifndef __IEnumTfRanges_FWD_DEFINED__
- #define __IEnumTfRanges_FWD_DEFINED__
- typedef interface IEnumTfRanges IEnumTfRanges;
- #endif /* __IEnumTfRanges_FWD_DEFINED__ */
- #ifndef __ITfCreatePropertyStore_FWD_DEFINED__
- #define __ITfCreatePropertyStore_FWD_DEFINED__
- typedef interface ITfCreatePropertyStore ITfCreatePropertyStore;
- #endif /* __ITfCreatePropertyStore_FWD_DEFINED__ */
- #ifndef __ITfPersistentPropertyLoaderACP_FWD_DEFINED__
- #define __ITfPersistentPropertyLoaderACP_FWD_DEFINED__
- typedef interface ITfPersistentPropertyLoaderACP ITfPersistentPropertyLoaderACP;
- #endif /* __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ */
- #ifndef __ITfProperty_FWD_DEFINED__
- #define __ITfProperty_FWD_DEFINED__
- typedef interface ITfProperty ITfProperty;
- #endif /* __ITfProperty_FWD_DEFINED__ */
- #ifndef __IEnumTfProperties_FWD_DEFINED__
- #define __IEnumTfProperties_FWD_DEFINED__
- typedef interface IEnumTfProperties IEnumTfProperties;
- #endif /* __IEnumTfProperties_FWD_DEFINED__ */
- #ifndef __ITfCompartment_FWD_DEFINED__
- #define __ITfCompartment_FWD_DEFINED__
- typedef interface ITfCompartment ITfCompartment;
- #endif /* __ITfCompartment_FWD_DEFINED__ */
- #ifndef __ITfCompartmentEventSink_FWD_DEFINED__
- #define __ITfCompartmentEventSink_FWD_DEFINED__
- typedef interface ITfCompartmentEventSink ITfCompartmentEventSink;
- #endif /* __ITfCompartmentEventSink_FWD_DEFINED__ */
- #ifndef __ITfCompartmentMgr_FWD_DEFINED__
- #define __ITfCompartmentMgr_FWD_DEFINED__
- typedef interface ITfCompartmentMgr ITfCompartmentMgr;
- #endif /* __ITfCompartmentMgr_FWD_DEFINED__ */
- #ifndef __ITfFunction_FWD_DEFINED__
- #define __ITfFunction_FWD_DEFINED__
- typedef interface ITfFunction ITfFunction;
- #endif /* __ITfFunction_FWD_DEFINED__ */
- #ifndef __ITfFunctionProvider_FWD_DEFINED__
- #define __ITfFunctionProvider_FWD_DEFINED__
- typedef interface ITfFunctionProvider ITfFunctionProvider;
- #endif /* __ITfFunctionProvider_FWD_DEFINED__ */
- #ifndef __IEnumTfFunctionProviders_FWD_DEFINED__
- #define __IEnumTfFunctionProviders_FWD_DEFINED__
- typedef interface IEnumTfFunctionProviders IEnumTfFunctionProviders;
- #endif /* __IEnumTfFunctionProviders_FWD_DEFINED__ */
- #ifndef __ITfInputProcessorProfiles_FWD_DEFINED__
- #define __ITfInputProcessorProfiles_FWD_DEFINED__
- typedef interface ITfInputProcessorProfiles ITfInputProcessorProfiles;
- #endif /* __ITfInputProcessorProfiles_FWD_DEFINED__ */
- #ifndef __ITfInputProcessorProfilesEx_FWD_DEFINED__
- #define __ITfInputProcessorProfilesEx_FWD_DEFINED__
- typedef interface ITfInputProcessorProfilesEx ITfInputProcessorProfilesEx;
- #endif /* __ITfInputProcessorProfilesEx_FWD_DEFINED__ */
- #ifndef __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__
- #define __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__
- typedef interface ITfActiveLanguageProfileNotifySink ITfActiveLanguageProfileNotifySink;
- #endif /* __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__ */
- #ifndef __IEnumTfLanguageProfiles_FWD_DEFINED__
- #define __IEnumTfLanguageProfiles_FWD_DEFINED__
- typedef interface IEnumTfLanguageProfiles IEnumTfLanguageProfiles;
- #endif /* __IEnumTfLanguageProfiles_FWD_DEFINED__ */
- #ifndef __ITfLanguageProfileNotifySink_FWD_DEFINED__
- #define __ITfLanguageProfileNotifySink_FWD_DEFINED__
- typedef interface ITfLanguageProfileNotifySink ITfLanguageProfileNotifySink;
- #endif /* __ITfLanguageProfileNotifySink_FWD_DEFINED__ */
- #ifndef __ITfKeystrokeMgr_FWD_DEFINED__
- #define __ITfKeystrokeMgr_FWD_DEFINED__
- typedef interface ITfKeystrokeMgr ITfKeystrokeMgr;
- #endif /* __ITfKeystrokeMgr_FWD_DEFINED__ */
- #ifndef __ITfKeyEventSink_FWD_DEFINED__
- #define __ITfKeyEventSink_FWD_DEFINED__
- typedef interface ITfKeyEventSink ITfKeyEventSink;
- #endif /* __ITfKeyEventSink_FWD_DEFINED__ */
- #ifndef __ITfKeyTraceEventSink_FWD_DEFINED__
- #define __ITfKeyTraceEventSink_FWD_DEFINED__
- typedef interface ITfKeyTraceEventSink ITfKeyTraceEventSink;
- #endif /* __ITfKeyTraceEventSink_FWD_DEFINED__ */
- #ifndef __ITfPreservedKeyNotifySink_FWD_DEFINED__
- #define __ITfPreservedKeyNotifySink_FWD_DEFINED__
- typedef interface ITfPreservedKeyNotifySink ITfPreservedKeyNotifySink;
- #endif /* __ITfPreservedKeyNotifySink_FWD_DEFINED__ */
- #ifndef __ITfMessagePump_FWD_DEFINED__
- #define __ITfMessagePump_FWD_DEFINED__
- typedef interface ITfMessagePump ITfMessagePump;
- #endif /* __ITfMessagePump_FWD_DEFINED__ */
- #ifndef __ITfThreadFocusSink_FWD_DEFINED__
- #define __ITfThreadFocusSink_FWD_DEFINED__
- typedef interface ITfThreadFocusSink ITfThreadFocusSink;
- #endif /* __ITfThreadFocusSink_FWD_DEFINED__ */
- #ifndef __ITfTextInputProcessor_FWD_DEFINED__
- #define __ITfTextInputProcessor_FWD_DEFINED__
- typedef interface ITfTextInputProcessor ITfTextInputProcessor;
- #endif /* __ITfTextInputProcessor_FWD_DEFINED__ */
- #ifndef __ITfClientId_FWD_DEFINED__
- #define __ITfClientId_FWD_DEFINED__
- typedef interface ITfClientId ITfClientId;
- #endif /* __ITfClientId_FWD_DEFINED__ */
- #ifndef __ITfDisplayAttributeInfo_FWD_DEFINED__
- #define __ITfDisplayAttributeInfo_FWD_DEFINED__
- typedef interface ITfDisplayAttributeInfo ITfDisplayAttributeInfo;
- #endif /* __ITfDisplayAttributeInfo_FWD_DEFINED__ */
- #ifndef __IEnumTfDisplayAttributeInfo_FWD_DEFINED__
- #define __IEnumTfDisplayAttributeInfo_FWD_DEFINED__
- typedef interface IEnumTfDisplayAttributeInfo IEnumTfDisplayAttributeInfo;
- #endif /* __IEnumTfDisplayAttributeInfo_FWD_DEFINED__ */
- #ifndef __ITfDisplayAttributeProvider_FWD_DEFINED__
- #define __ITfDisplayAttributeProvider_FWD_DEFINED__
- typedef interface ITfDisplayAttributeProvider ITfDisplayAttributeProvider;
- #endif /* __ITfDisplayAttributeProvider_FWD_DEFINED__ */
- #ifndef __ITfDisplayAttributeMgr_FWD_DEFINED__
- #define __ITfDisplayAttributeMgr_FWD_DEFINED__
- typedef interface ITfDisplayAttributeMgr ITfDisplayAttributeMgr;
- #endif /* __ITfDisplayAttributeMgr_FWD_DEFINED__ */
- #ifndef __ITfDisplayAttributeNotifySink_FWD_DEFINED__
- #define __ITfDisplayAttributeNotifySink_FWD_DEFINED__
- typedef interface ITfDisplayAttributeNotifySink ITfDisplayAttributeNotifySink;
- #endif /* __ITfDisplayAttributeNotifySink_FWD_DEFINED__ */
- #ifndef __ITfCategoryMgr_FWD_DEFINED__
- #define __ITfCategoryMgr_FWD_DEFINED__
- typedef interface ITfCategoryMgr ITfCategoryMgr;
- #endif /* __ITfCategoryMgr_FWD_DEFINED__ */
- #ifndef __ITfSource_FWD_DEFINED__
- #define __ITfSource_FWD_DEFINED__
- typedef interface ITfSource ITfSource;
- #endif /* __ITfSource_FWD_DEFINED__ */
- #ifndef __ITfSourceSingle_FWD_DEFINED__
- #define __ITfSourceSingle_FWD_DEFINED__
- typedef interface ITfSourceSingle ITfSourceSingle;
- #endif /* __ITfSourceSingle_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "comcat.h"
- #include "textstor.h"
- #include "ctfutb.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_msctf_0000 */
- /* [local] */
- //=--------------------------------------------------------------------------=
- // msctf.h
- // Text Framework declarations.
- //=--------------------------------------------------------------------------=
- // (C) Copyright 1995-2001 Microsoft Corporation. All Rights Reserved.
- //
- // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
- // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- // PARTICULAR PURPOSE.
- //=--------------------------------------------------------------------------=
- #ifndef MSCTF_DEFINED
- #define MSCTF_DEFINED
- #include <windows.h>
- #ifdef __cplusplus
- extern "C" {
- #endif /* __cplusplus */
- #define TF_E_LOCKED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0500)
- #define TF_E_STACKFULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0501)
- #define TF_E_NOTOWNEDRANGE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0502)
- #define TF_E_NOPROVIDER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0503)
- #define TF_E_DISCONNECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0504)
- #define TF_E_INVALIDVIEW MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0505)
- #define TF_E_ALREADY_EXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0506)
- #define TF_E_RANGE_NOT_COVERED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0507)
- #define TF_E_COMPOSITION_REJECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0508)
- #define TF_E_EMPTYCONTEXT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0509)
- #define TF_E_INVALIDPOS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
- #define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)
- #define TF_E_NOOBJECT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0202)
- #define TF_E_NOSERVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0203)
- #define TF_E_NOINTERFACE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0204)
- #define TF_E_NOSELECTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0205)
- #define TF_E_NOLAYOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0206)
- #define TF_E_INVALIDPOINT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0207)
- #define TF_E_SYNCHRONOUS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0208)
- #define TF_E_READONLY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0209)
- #define TF_E_FORMAT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x020a)
- #define TF_S_ASYNC MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0x0300)
- HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);
- HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);
- HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);
- HRESULT WINAPI TF_CreateDisplayAttributeMgr(ITfDisplayAttributeMgr **ppdam);
- HRESULT WINAPI TF_CreateLangBarMgr(ITfLangBarMgr **pppbm);
- HRESULT WINAPI TF_CreateLangBarItemMgr(ITfLangBarItemMgr **pplbim);
- EXTERN_C const GUID GUID_PROP_TEXTOWNER;
- EXTERN_C const GUID GUID_PROP_ATTRIBUTE;
- EXTERN_C const GUID GUID_PROP_LANGID;
- EXTERN_C const GUID GUID_PROP_READING;
- EXTERN_C const GUID GUID_PROP_COMPOSING;
- EXTERN_C const CLSID CLSID_TF_ThreadMgr;
- EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles;
- EXTERN_C const CLSID CLSID_TF_LangBarMgr;
- EXTERN_C const CLSID CLSID_TF_DisplayAttributeMgr;
- EXTERN_C const CLSID CLSID_TF_CategoryMgr;
- EXTERN_C const CLSID CLSID_TF_LangBarItemMgr;
- EXTERN_C const GUID GUID_SYSTEM_FUNCTIONPROVIDER;
- EXTERN_C const GUID GUID_APP_FUNCTIONPROVIDER;
- EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_DISABLED;
- EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_OPENCLOSE;
- EXTERN_C const GUID GUID_COMPARTMENT_HANDWRITING_OPENCLOSE;
- EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_DISABLED;
- EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_OPENCLOSE;
- EXTERN_C const GUID GUID_COMPARTMENT_PERSISTMENUENABLED;
- EXTERN_C const GUID GUID_COMPARTMENT_EMPTYCONTEXT;
- EXTERN_C const GUID GUID_COMPARTMENT_TIPUISTATUS;
- EXTERN_C const GUID GUID_PROP_MODEBIAS;
- EXTERN_C const GUID GUID_MODEBIAS_NONE;
- EXTERN_C const GUID GUID_MODEBIAS_FILENAME;
- EXTERN_C const GUID GUID_MODEBIAS_READING;
- EXTERN_C const GUID GUID_MODEBIAS_DATETIME;
- EXTERN_C const GUID GUID_MODEBIAS_NAME;
- EXTERN_C const GUID GUID_MODEBIAS_CONVERSATION;
- EXTERN_C const GUID GUID_MODEBIAS_NUMERIC;
- EXTERN_C const GUID GUID_MODEBIAS_HIRAGANA;
- EXTERN_C const GUID GUID_MODEBIAS_KATAKANA;
- EXTERN_C const GUID GUID_MODEBIAS_HANGUL;
- EXTERN_C const GUID GUID_MODEBIAS_CHINESE;
- EXTERN_C const GUID GUID_MODEBIAS_HALFWIDTHKATAKANA;
- EXTERN_C const GUID GUID_MODEBIAS_FULLWIDTHALPHANUMERIC;
- EXTERN_C const GUID GUID_MODEBIAS_HALFWIDTHALPHANUMERIC;
- EXTERN_C const GUID GUID_MODEBIAS_FULLWIDTHHANGUL;
- EXTERN_C const GUID GUID_TFCAT_CATEGORY_OF_TIP;
- EXTERN_C const GUID GUID_TFCAT_TIP_KEYBOARD;
- EXTERN_C const GUID GUID_TFCAT_TIP_SPEECH;
- EXTERN_C const GUID GUID_TFCAT_TIP_HANDWRITING;
- EXTERN_C const GUID GUID_TFCAT_PROP_AUDIODATA;
- EXTERN_C const GUID GUID_TFCAT_PROP_INKDATA;
- EXTERN_C const GUID GUID_TFCAT_PROPSTYLE_CUSTOM;
- EXTERN_C const GUID GUID_TFCAT_PROPSTYLE_STATIC;
- EXTERN_C const GUID GUID_TFCAT_PROPSTYLE_STATICCOMPACT;
- EXTERN_C const GUID GUID_TFCAT_DISPLAYATTRIBUTEPROVIDER;
- EXTERN_C const GUID GUID_TFCAT_DISPLAYATTRIBUTEPROPERTY;
- #define TF_INVALID_GUIDATOM ((TfGuidAtom)0)
- #define TF_CLIENTID_NULL ((TfClientId)0)
- #define TF_MOD_ALT 0x0001
- #define TF_MOD_CONTROL 0x0002
- #define TF_MOD_SHIFT 0x0004
- #define TF_MOD_RALT 0x0008
- #define TF_MOD_RCONTROL 0x0010
- #define TF_MOD_RSHIFT 0x0020
- #define TF_MOD_LALT 0x0040
- #define TF_MOD_LCONTROL 0x0080
- #define TF_MOD_LSHIFT 0x0100
- #define TF_MOD_ON_KEYUP 0x0200
- #define TF_MOD_IGNORE_ALL_MODIFIER 0x0400
- #define TF_US_HIDETIPUI 0x00000001
- #define TF_DISABLE_SPEECH 0x00000001
- #define TF_DISABLE_DICTATION 0x00000002
- #define TF_DISABLE_COMMANDING 0x00000004
- #define TF_PROCESS_ATOM TEXT("_CTF_PROCESS_ATOM_")
- #define TF_ENABLE_PROCESS_ATOM TEXT("_CTF_ENABLE_PROCESS_ATOM_")
- #ifdef __cplusplus
- }
- #endif /* __cplusplus */
- #if 0
- typedef /* [uuid] */ DECLSPEC_UUID("4f5d560f-5ab5-4dde-8c4d-404592857ab0") UINT_PTR HKL;
- #endif
- typedef /* [uuid] */ DECLSPEC_UUID("7213778c-7bb0-4270-b050-6189ee594e97") DWORD TfEditCookie;
- #define TF_INVALID_EDIT_COOKIE ( 0 )
- typedef /* [uuid] */ DECLSPEC_UUID("88a9c478-f3ec-4763-8345-cd9250443f8d") DWORD TfGuidAtom;
- typedef /* [uuid] */ DECLSPEC_UUID("de403c21-89fd-4f85-8b87-64584d063fbc") DWORD TfClientId;
- typedef /* [uuid] */ DECLSPEC_UUID("e26d9e1d-691e-4f29-90d7-338dcf1f8cef") struct TF_PERSISTENT_PROPERTY_HEADER_ACP
- {
- GUID guidType;
- LONG ichStart;
- LONG cch;
- ULONG cb;
- DWORD dwPrivate;
- CLSID clsidTIP;
- } TF_PERSISTENT_PROPERTY_HEADER_ACP;
- typedef /* [uuid] */ DECLSPEC_UUID("e1b5808d-1e46-4c19-84dc-68c5f5978cc8") struct TF_LANGUAGEPROFILE
- {
- CLSID clsid;
- LANGID langid;
- GUID catid;
- BOOL fActive;
- GUID guidProfile;
- } TF_LANGUAGEPROFILE;
- typedef /* [public][public][public][public][public][public][public][public][public][public][public][public][uuid] */ DECLSPEC_UUID("5a886226-ae9a-489b-b991-2b1e25ee59a9")
- enum __MIDL___MIDL_itf_msctf_0000_0001
- { TF_ANCHOR_START = 0,
- TF_ANCHOR_END = 1
- } TfAnchor;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0000_v0_0_s_ifspec;
- #ifndef __ITfThreadMgr_INTERFACE_DEFINED__
- #define __ITfThreadMgr_INTERFACE_DEFINED__
- /* interface ITfThreadMgr */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfThreadMgr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e801-2021-11d2-93e0-0060b067b86e")
- ITfThreadMgr : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Activate(
- /* [out] */ TfClientId *ptid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Deactivate( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateDocumentMgr(
- /* [out] */ ITfDocumentMgr **ppdim) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumDocumentMgrs(
- /* [out] */ IEnumTfDocumentMgrs **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFocus(
- /* [out] */ ITfDocumentMgr **ppdimFocus) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetFocus(
- /* [in] */ ITfDocumentMgr *pdimFocus) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AssociateFocus(
- /* [in] */ HWND hwnd,
- /* [unique][in] */ ITfDocumentMgr *pdimNew,
- /* [out] */ ITfDocumentMgr **ppdimPrev) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsThreadFocus(
- /* [out] */ BOOL *pfThreadFocus) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFunctionProvider(
- /* [in] */ REFCLSID clsid,
- /* [out] */ ITfFunctionProvider **ppFuncProv) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumFunctionProviders(
- /* [out] */ IEnumTfFunctionProviders **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetGlobalCompartment(
- /* [out] */ ITfCompartmentMgr **ppCompMgr) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfThreadMgrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfThreadMgr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfThreadMgr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfThreadMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *Activate )(
- ITfThreadMgr * This,
- /* [out] */ TfClientId *ptid);
-
- HRESULT ( STDMETHODCALLTYPE *Deactivate )(
- ITfThreadMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDocumentMgr )(
- ITfThreadMgr * This,
- /* [out] */ ITfDocumentMgr **ppdim);
-
- HRESULT ( STDMETHODCALLTYPE *EnumDocumentMgrs )(
- ITfThreadMgr * This,
- /* [out] */ IEnumTfDocumentMgrs **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetFocus )(
- ITfThreadMgr * This,
- /* [out] */ ITfDocumentMgr **ppdimFocus);
-
- HRESULT ( STDMETHODCALLTYPE *SetFocus )(
- ITfThreadMgr * This,
- /* [in] */ ITfDocumentMgr *pdimFocus);
-
- HRESULT ( STDMETHODCALLTYPE *AssociateFocus )(
- ITfThreadMgr * This,
- /* [in] */ HWND hwnd,
- /* [unique][in] */ ITfDocumentMgr *pdimNew,
- /* [out] */ ITfDocumentMgr **ppdimPrev);
-
- HRESULT ( STDMETHODCALLTYPE *IsThreadFocus )(
- ITfThreadMgr * This,
- /* [out] */ BOOL *pfThreadFocus);
-
- HRESULT ( STDMETHODCALLTYPE *GetFunctionProvider )(
- ITfThreadMgr * This,
- /* [in] */ REFCLSID clsid,
- /* [out] */ ITfFunctionProvider **ppFuncProv);
-
- HRESULT ( STDMETHODCALLTYPE *EnumFunctionProviders )(
- ITfThreadMgr * This,
- /* [out] */ IEnumTfFunctionProviders **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetGlobalCompartment )(
- ITfThreadMgr * This,
- /* [out] */ ITfCompartmentMgr **ppCompMgr);
-
- END_INTERFACE
- } ITfThreadMgrVtbl;
- interface ITfThreadMgr
- {
- CONST_VTBL struct ITfThreadMgrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfThreadMgr_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfThreadMgr_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfThreadMgr_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfThreadMgr_Activate(This,ptid)
- (This)->lpVtbl -> Activate(This,ptid)
- #define ITfThreadMgr_Deactivate(This)
- (This)->lpVtbl -> Deactivate(This)
- #define ITfThreadMgr_CreateDocumentMgr(This,ppdim)
- (This)->lpVtbl -> CreateDocumentMgr(This,ppdim)
- #define ITfThreadMgr_EnumDocumentMgrs(This,ppEnum)
- (This)->lpVtbl -> EnumDocumentMgrs(This,ppEnum)
- #define ITfThreadMgr_GetFocus(This,ppdimFocus)
- (This)->lpVtbl -> GetFocus(This,ppdimFocus)
- #define ITfThreadMgr_SetFocus(This,pdimFocus)
- (This)->lpVtbl -> SetFocus(This,pdimFocus)
- #define ITfThreadMgr_AssociateFocus(This,hwnd,pdimNew,ppdimPrev)
- (This)->lpVtbl -> AssociateFocus(This,hwnd,pdimNew,ppdimPrev)
- #define ITfThreadMgr_IsThreadFocus(This,pfThreadFocus)
- (This)->lpVtbl -> IsThreadFocus(This,pfThreadFocus)
- #define ITfThreadMgr_GetFunctionProvider(This,clsid,ppFuncProv)
- (This)->lpVtbl -> GetFunctionProvider(This,clsid,ppFuncProv)
- #define ITfThreadMgr_EnumFunctionProviders(This,ppEnum)
- (This)->lpVtbl -> EnumFunctionProviders(This,ppEnum)
- #define ITfThreadMgr_GetGlobalCompartment(This,ppCompMgr)
- (This)->lpVtbl -> GetGlobalCompartment(This,ppCompMgr)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_Activate_Proxy(
- ITfThreadMgr * This,
- /* [out] */ TfClientId *ptid);
- void __RPC_STUB ITfThreadMgr_Activate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_Deactivate_Proxy(
- ITfThreadMgr * This);
- void __RPC_STUB ITfThreadMgr_Deactivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_CreateDocumentMgr_Proxy(
- ITfThreadMgr * This,
- /* [out] */ ITfDocumentMgr **ppdim);
- void __RPC_STUB ITfThreadMgr_CreateDocumentMgr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_EnumDocumentMgrs_Proxy(
- ITfThreadMgr * This,
- /* [out] */ IEnumTfDocumentMgrs **ppEnum);
- void __RPC_STUB ITfThreadMgr_EnumDocumentMgrs_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_GetFocus_Proxy(
- ITfThreadMgr * This,
- /* [out] */ ITfDocumentMgr **ppdimFocus);
- void __RPC_STUB ITfThreadMgr_GetFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_SetFocus_Proxy(
- ITfThreadMgr * This,
- /* [in] */ ITfDocumentMgr *pdimFocus);
- void __RPC_STUB ITfThreadMgr_SetFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_AssociateFocus_Proxy(
- ITfThreadMgr * This,
- /* [in] */ HWND hwnd,
- /* [unique][in] */ ITfDocumentMgr *pdimNew,
- /* [out] */ ITfDocumentMgr **ppdimPrev);
- void __RPC_STUB ITfThreadMgr_AssociateFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_IsThreadFocus_Proxy(
- ITfThreadMgr * This,
- /* [out] */ BOOL *pfThreadFocus);
- void __RPC_STUB ITfThreadMgr_IsThreadFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_GetFunctionProvider_Proxy(
- ITfThreadMgr * This,
- /* [in] */ REFCLSID clsid,
- /* [out] */ ITfFunctionProvider **ppFuncProv);
- void __RPC_STUB ITfThreadMgr_GetFunctionProvider_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_EnumFunctionProviders_Proxy(
- ITfThreadMgr * This,
- /* [out] */ IEnumTfFunctionProviders **ppEnum);
- void __RPC_STUB ITfThreadMgr_EnumFunctionProviders_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_GetGlobalCompartment_Proxy(
- ITfThreadMgr * This,
- /* [out] */ ITfCompartmentMgr **ppCompMgr);
- void __RPC_STUB ITfThreadMgr_GetGlobalCompartment_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfThreadMgr_INTERFACE_DEFINED__ */
- #ifndef __ITfThreadMgrEventSink_INTERFACE_DEFINED__
- #define __ITfThreadMgrEventSink_INTERFACE_DEFINED__
- /* interface ITfThreadMgrEventSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfThreadMgrEventSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e80e-2021-11d2-93e0-0060b067b86e")
- ITfThreadMgrEventSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnInitDocumentMgr(
- /* [in] */ ITfDocumentMgr *pdim) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnUninitDocumentMgr(
- /* [in] */ ITfDocumentMgr *pdim) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnSetFocus(
- /* [in] */ ITfDocumentMgr *pdimFocus,
- /* [in] */ ITfDocumentMgr *pdimPrevFocus) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnPushContext(
- /* [in] */ ITfContext *pic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnPopContext(
- /* [in] */ ITfContext *pic) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfThreadMgrEventSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfThreadMgrEventSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfThreadMgrEventSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfThreadMgrEventSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnInitDocumentMgr )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdim);
-
- HRESULT ( STDMETHODCALLTYPE *OnUninitDocumentMgr )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdim);
-
- HRESULT ( STDMETHODCALLTYPE *OnSetFocus )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdimFocus,
- /* [in] */ ITfDocumentMgr *pdimPrevFocus);
-
- HRESULT ( STDMETHODCALLTYPE *OnPushContext )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfContext *pic);
-
- HRESULT ( STDMETHODCALLTYPE *OnPopContext )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfContext *pic);
-
- END_INTERFACE
- } ITfThreadMgrEventSinkVtbl;
- interface ITfThreadMgrEventSink
- {
- CONST_VTBL struct ITfThreadMgrEventSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfThreadMgrEventSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfThreadMgrEventSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfThreadMgrEventSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfThreadMgrEventSink_OnInitDocumentMgr(This,pdim)
- (This)->lpVtbl -> OnInitDocumentMgr(This,pdim)
- #define ITfThreadMgrEventSink_OnUninitDocumentMgr(This,pdim)
- (This)->lpVtbl -> OnUninitDocumentMgr(This,pdim)
- #define ITfThreadMgrEventSink_OnSetFocus(This,pdimFocus,pdimPrevFocus)
- (This)->lpVtbl -> OnSetFocus(This,pdimFocus,pdimPrevFocus)
- #define ITfThreadMgrEventSink_OnPushContext(This,pic)
- (This)->lpVtbl -> OnPushContext(This,pic)
- #define ITfThreadMgrEventSink_OnPopContext(This,pic)
- (This)->lpVtbl -> OnPopContext(This,pic)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnInitDocumentMgr_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdim);
- void __RPC_STUB ITfThreadMgrEventSink_OnInitDocumentMgr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnUninitDocumentMgr_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdim);
- void __RPC_STUB ITfThreadMgrEventSink_OnUninitDocumentMgr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnSetFocus_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdimFocus,
- /* [in] */ ITfDocumentMgr *pdimPrevFocus);
- void __RPC_STUB ITfThreadMgrEventSink_OnSetFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnPushContext_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfThreadMgrEventSink_OnPushContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnPopContext_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfThreadMgrEventSink_OnPopContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfThreadMgrEventSink_INTERFACE_DEFINED__ */
- #ifndef __ITfConfigureSystemKeystrokeFeed_INTERFACE_DEFINED__
- #define __ITfConfigureSystemKeystrokeFeed_INTERFACE_DEFINED__
- /* interface ITfConfigureSystemKeystrokeFeed */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfConfigureSystemKeystrokeFeed;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0d2c969a-bc9c-437c-84ee-951c49b1a764")
- ITfConfigureSystemKeystrokeFeed : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE DisableSystemKeystrokeFeed( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnableSystemKeystrokeFeed( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfConfigureSystemKeystrokeFeedVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfConfigureSystemKeystrokeFeed * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfConfigureSystemKeystrokeFeed * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfConfigureSystemKeystrokeFeed * This);
-
- HRESULT ( STDMETHODCALLTYPE *DisableSystemKeystrokeFeed )(
- ITfConfigureSystemKeystrokeFeed * This);
-
- HRESULT ( STDMETHODCALLTYPE *EnableSystemKeystrokeFeed )(
- ITfConfigureSystemKeystrokeFeed * This);
-
- END_INTERFACE
- } ITfConfigureSystemKeystrokeFeedVtbl;
- interface ITfConfigureSystemKeystrokeFeed
- {
- CONST_VTBL struct ITfConfigureSystemKeystrokeFeedVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfConfigureSystemKeystrokeFeed_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfConfigureSystemKeystrokeFeed_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfConfigureSystemKeystrokeFeed_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfConfigureSystemKeystrokeFeed_DisableSystemKeystrokeFeed(This)
- (This)->lpVtbl -> DisableSystemKeystrokeFeed(This)
- #define ITfConfigureSystemKeystrokeFeed_EnableSystemKeystrokeFeed(This)
- (This)->lpVtbl -> EnableSystemKeystrokeFeed(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfConfigureSystemKeystrokeFeed_DisableSystemKeystrokeFeed_Proxy(
- ITfConfigureSystemKeystrokeFeed * This);
- void __RPC_STUB ITfConfigureSystemKeystrokeFeed_DisableSystemKeystrokeFeed_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfConfigureSystemKeystrokeFeed_EnableSystemKeystrokeFeed_Proxy(
- ITfConfigureSystemKeystrokeFeed * This);
- void __RPC_STUB ITfConfigureSystemKeystrokeFeed_EnableSystemKeystrokeFeed_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfConfigureSystemKeystrokeFeed_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfDocumentMgrs_INTERFACE_DEFINED__
- #define __IEnumTfDocumentMgrs_INTERFACE_DEFINED__
- /* interface IEnumTfDocumentMgrs */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfDocumentMgrs;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e808-2021-11d2-93e0-0060b067b86e")
- IEnumTfDocumentMgrs : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfDocumentMgrs **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfDocumentMgr **rgDocumentMgr,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfDocumentMgrsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfDocumentMgrs * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfDocumentMgrs * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfDocumentMgrs * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfDocumentMgrs * This,
- /* [out] */ IEnumTfDocumentMgrs **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfDocumentMgrs * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfDocumentMgr **rgDocumentMgr,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfDocumentMgrs * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfDocumentMgrs * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfDocumentMgrsVtbl;
- interface IEnumTfDocumentMgrs
- {
- CONST_VTBL struct IEnumTfDocumentMgrsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfDocumentMgrs_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfDocumentMgrs_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfDocumentMgrs_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumTfDocumentMgrs_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfDocumentMgrs_Next(This,ulCount,rgDocumentMgr,pcFetched)
- (This)->lpVtbl -> Next(This,ulCount,rgDocumentMgr,pcFetched)
- #define IEnumTfDocumentMgrs_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfDocumentMgrs_Skip(This,ulCount)
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfDocumentMgrs_Clone_Proxy(
- IEnumTfDocumentMgrs * This,
- /* [out] */ IEnumTfDocumentMgrs **ppEnum);
- void __RPC_STUB IEnumTfDocumentMgrs_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfDocumentMgrs_Next_Proxy(
- IEnumTfDocumentMgrs * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfDocumentMgr **rgDocumentMgr,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfDocumentMgrs_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfDocumentMgrs_Reset_Proxy(
- IEnumTfDocumentMgrs * This);
- void __RPC_STUB IEnumTfDocumentMgrs_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfDocumentMgrs_Skip_Proxy(
- IEnumTfDocumentMgrs * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfDocumentMgrs_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfDocumentMgrs_INTERFACE_DEFINED__ */
- #ifndef __ITfDocumentMgr_INTERFACE_DEFINED__
- #define __ITfDocumentMgr_INTERFACE_DEFINED__
- /* interface ITfDocumentMgr */
- /* [unique][uuid][object] */
- #define TF_POPF_ALL ( 0x1 )
- EXTERN_C const IID IID_ITfDocumentMgr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e7f4-2021-11d2-93e0-0060b067b86e")
- ITfDocumentMgr : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CreateContext(
- /* [in] */ TfClientId tidOwner,
- /* [in] */ DWORD dwFlags,
- /* [unique][in] */ IUnknown *punk,
- /* [out] */ ITfContext **ppic,
- /* [out] */ TfEditCookie *pecTextStore) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Push(
- /* [in] */ ITfContext *pic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Pop(
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetTop(
- /* [out] */ ITfContext **ppic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetBase(
- /* [out] */ ITfContext **ppic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumContexts(
- /* [out] */ IEnumTfContexts **ppEnum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfDocumentMgrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfDocumentMgr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfDocumentMgr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfDocumentMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateContext )(
- ITfDocumentMgr * This,
- /* [in] */ TfClientId tidOwner,
- /* [in] */ DWORD dwFlags,
- /* [unique][in] */ IUnknown *punk,
- /* [out] */ ITfContext **ppic,
- /* [out] */ TfEditCookie *pecTextStore);
-
- HRESULT ( STDMETHODCALLTYPE *Push )(
- ITfDocumentMgr * This,
- /* [in] */ ITfContext *pic);
-
- HRESULT ( STDMETHODCALLTYPE *Pop )(
- ITfDocumentMgr * This,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetTop )(
- ITfDocumentMgr * This,
- /* [out] */ ITfContext **ppic);
-
- HRESULT ( STDMETHODCALLTYPE *GetBase )(
- ITfDocumentMgr * This,
- /* [out] */ ITfContext **ppic);
-
- HRESULT ( STDMETHODCALLTYPE *EnumContexts )(
- ITfDocumentMgr * This,
- /* [out] */ IEnumTfContexts **ppEnum);
-
- END_INTERFACE
- } ITfDocumentMgrVtbl;
- interface ITfDocumentMgr
- {
- CONST_VTBL struct ITfDocumentMgrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfDocumentMgr_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfDocumentMgr_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfDocumentMgr_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfDocumentMgr_CreateContext(This,tidOwner,dwFlags,punk,ppic,pecTextStore)
- (This)->lpVtbl -> CreateContext(This,tidOwner,dwFlags,punk,ppic,pecTextStore)
- #define ITfDocumentMgr_Push(This,pic)
- (This)->lpVtbl -> Push(This,pic)
- #define ITfDocumentMgr_Pop(This,dwFlags)
- (This)->lpVtbl -> Pop(This,dwFlags)
- #define ITfDocumentMgr_GetTop(This,ppic)
- (This)->lpVtbl -> GetTop(This,ppic)
- #define ITfDocumentMgr_GetBase(This,ppic)
- (This)->lpVtbl -> GetBase(This,ppic)
- #define ITfDocumentMgr_EnumContexts(This,ppEnum)
- (This)->lpVtbl -> EnumContexts(This,ppEnum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_CreateContext_Proxy(
- ITfDocumentMgr * This,
- /* [in] */ TfClientId tidOwner,
- /* [in] */ DWORD dwFlags,
- /* [unique][in] */ IUnknown *punk,
- /* [out] */ ITfContext **ppic,
- /* [out] */ TfEditCookie *pecTextStore);
- void __RPC_STUB ITfDocumentMgr_CreateContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_Push_Proxy(
- ITfDocumentMgr * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfDocumentMgr_Push_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_Pop_Proxy(
- ITfDocumentMgr * This,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB ITfDocumentMgr_Pop_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_GetTop_Proxy(
- ITfDocumentMgr * This,
- /* [out] */ ITfContext **ppic);
- void __RPC_STUB ITfDocumentMgr_GetTop_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_GetBase_Proxy(
- ITfDocumentMgr * This,
- /* [out] */ ITfContext **ppic);
- void __RPC_STUB ITfDocumentMgr_GetBase_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_EnumContexts_Proxy(
- ITfDocumentMgr * This,
- /* [out] */ IEnumTfContexts **ppEnum);
- void __RPC_STUB ITfDocumentMgr_EnumContexts_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfDocumentMgr_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfContexts_INTERFACE_DEFINED__
- #define __IEnumTfContexts_INTERFACE_DEFINED__
- /* interface IEnumTfContexts */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfContexts;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8f1a7ea6-1654-4502-a86e-b2902344d507")
- IEnumTfContexts : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfContexts **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContext **rgContext,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfContextsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfContexts * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfContexts * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfContexts * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfContexts * This,
- /* [out] */ IEnumTfContexts **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfContexts * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContext **rgContext,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfContexts * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfContexts * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfContextsVtbl;
- interface IEnumTfContexts
- {
- CONST_VTBL struct IEnumTfContextsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfContexts_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfContexts_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfContexts_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumTfContexts_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfContexts_Next(This,ulCount,rgContext,pcFetched)
- (This)->lpVtbl -> Next(This,ulCount,rgContext,pcFetched)
- #define IEnumTfContexts_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfContexts_Skip(This,ulCount)
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfContexts_Clone_Proxy(
- IEnumTfContexts * This,
- /* [out] */ IEnumTfContexts **ppEnum);
- void __RPC_STUB IEnumTfContexts_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContexts_Next_Proxy(
- IEnumTfContexts * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContext **rgContext,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfContexts_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContexts_Reset_Proxy(
- IEnumTfContexts * This);
- void __RPC_STUB IEnumTfContexts_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContexts_Skip_Proxy(
- IEnumTfContexts * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfContexts_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfContexts_INTERFACE_DEFINED__ */
- #ifndef __ITfCompositionView_INTERFACE_DEFINED__
- #define __ITfCompositionView_INTERFACE_DEFINED__
- /* interface ITfCompositionView */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCompositionView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("D7540241-F9A1-4364-BEFC-DBCD2C4395B7")
- ITfCompositionView : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetOwnerClsid(
- /* [out] */ CLSID *pclsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetRange(
- /* [out] */ ITfRange **ppRange) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCompositionViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCompositionView * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCompositionView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCompositionView * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetOwnerClsid )(
- ITfCompositionView * This,
- /* [out] */ CLSID *pclsid);
-
- HRESULT ( STDMETHODCALLTYPE *GetRange )(
- ITfCompositionView * This,
- /* [out] */ ITfRange **ppRange);
-
- END_INTERFACE
- } ITfCompositionViewVtbl;
- interface ITfCompositionView
- {
- CONST_VTBL struct ITfCompositionViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCompositionView_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCompositionView_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfCompositionView_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfCompositionView_GetOwnerClsid(This,pclsid)
- (This)->lpVtbl -> GetOwnerClsid(This,pclsid)
- #define ITfCompositionView_GetRange(This,ppRange)
- (This)->lpVtbl -> GetRange(This,ppRange)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCompositionView_GetOwnerClsid_Proxy(
- ITfCompositionView * This,
- /* [out] */ CLSID *pclsid);
- void __RPC_STUB ITfCompositionView_GetOwnerClsid_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCompositionView_GetRange_Proxy(
- ITfCompositionView * This,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfCompositionView_GetRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCompositionView_INTERFACE_DEFINED__ */
- #ifndef __IEnumITfCompositionView_INTERFACE_DEFINED__
- #define __IEnumITfCompositionView_INTERFACE_DEFINED__
- /* interface IEnumITfCompositionView */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumITfCompositionView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("5EFD22BA-7838-46CB-88E2-CADB14124F8F")
- IEnumITfCompositionView : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumITfCompositionView **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfCompositionView **rgCompositionView,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumITfCompositionViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumITfCompositionView * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumITfCompositionView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumITfCompositionView * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumITfCompositionView * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumITfCompositionView * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfCompositionView **rgCompositionView,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumITfCompositionView * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumITfCompositionView * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumITfCompositionViewVtbl;
- interface IEnumITfCompositionView
- {
- CONST_VTBL struct IEnumITfCompositionViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumITfCompositionView_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumITfCompositionView_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumITfCompositionView_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumITfCompositionView_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumITfCompositionView_Next(This,ulCount,rgCompositionView,pcFetched)
- (This)->lpVtbl -> Next(This,ulCount,rgCompositionView,pcFetched)
- #define IEnumITfCompositionView_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumITfCompositionView_Skip(This,ulCount)
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumITfCompositionView_Clone_Proxy(
- IEnumITfCompositionView * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
- void __RPC_STUB IEnumITfCompositionView_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumITfCompositionView_Next_Proxy(
- IEnumITfCompositionView * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfCompositionView **rgCompositionView,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumITfCompositionView_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumITfCompositionView_Reset_Proxy(
- IEnumITfCompositionView * This);
- void __RPC_STUB IEnumITfCompositionView_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumITfCompositionView_Skip_Proxy(
- IEnumITfCompositionView * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumITfCompositionView_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumITfCompositionView_INTERFACE_DEFINED__ */
- #ifndef __ITfComposition_INTERFACE_DEFINED__
- #define __ITfComposition_INTERFACE_DEFINED__
- /* interface ITfComposition */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfComposition;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("20168D64-5A8F-4A5A-B7BD-CFA29F4D0FD9")
- ITfComposition : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetRange(
- /* [out] */ ITfRange **ppRange) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftStart(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewStart) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftEnd(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewEnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EndComposition(
- /* [in] */ TfEditCookie ecWrite) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCompositionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfComposition * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfComposition * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfComposition * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetRange )(
- ITfComposition * This,
- /* [out] */ ITfRange **ppRange);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStart )(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewStart);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEnd )(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewEnd);
-
- HRESULT ( STDMETHODCALLTYPE *EndComposition )(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite);
-
- END_INTERFACE
- } ITfCompositionVtbl;
- interface ITfComposition
- {
- CONST_VTBL struct ITfCompositionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfComposition_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfComposition_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfComposition_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfComposition_GetRange(This,ppRange)
- (This)->lpVtbl -> GetRange(This,ppRange)
- #define ITfComposition_ShiftStart(This,ecWrite,pNewStart)
- (This)->lpVtbl -> ShiftStart(This,ecWrite,pNewStart)
- #define ITfComposition_ShiftEnd(This,ecWrite,pNewEnd)
- (This)->lpVtbl -> ShiftEnd(This,ecWrite,pNewEnd)
- #define ITfComposition_EndComposition(This,ecWrite)
- (This)->lpVtbl -> EndComposition(This,ecWrite)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfComposition_GetRange_Proxy(
- ITfComposition * This,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfComposition_GetRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfComposition_ShiftStart_Proxy(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewStart);
- void __RPC_STUB ITfComposition_ShiftStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfComposition_ShiftEnd_Proxy(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewEnd);
- void __RPC_STUB ITfComposition_ShiftEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfComposition_EndComposition_Proxy(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite);
- void __RPC_STUB ITfComposition_EndComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfComposition_INTERFACE_DEFINED__ */
- #ifndef __ITfCompositionSink_INTERFACE_DEFINED__
- #define __ITfCompositionSink_INTERFACE_DEFINED__
- /* interface ITfCompositionSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCompositionSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("A781718C-579A-4B15-A280-32B8577ACC5E")
- ITfCompositionSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnCompositionTerminated(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfComposition *pComposition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCompositionSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCompositionSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCompositionSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCompositionSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnCompositionTerminated )(
- ITfCompositionSink * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfComposition *pComposition);
-
- END_INTERFACE
- } ITfCompositionSinkVtbl;
- interface ITfCompositionSink
- {
- CONST_VTBL struct ITfCompositionSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCompositionSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCompositionSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfCompositionSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfCompositionSink_OnCompositionTerminated(This,ecWrite,pComposition)
- (This)->lpVtbl -> OnCompositionTerminated(This,ecWrite,pComposition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCompositionSink_OnCompositionTerminated_Proxy(
- ITfCompositionSink * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfComposition *pComposition);
- void __RPC_STUB ITfCompositionSink_OnCompositionTerminated_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCompositionSink_INTERFACE_DEFINED__ */
- #ifndef __ITfContextComposition_INTERFACE_DEFINED__
- #define __ITfContextComposition_INTERFACE_DEFINED__
- /* interface ITfContextComposition */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextComposition;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("D40C8AAE-AC92-4FC7-9A11-0EE0E23AA39B")
- ITfContextComposition : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE StartComposition(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pCompositionRange,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumCompositions(
- /* [out] */ IEnumITfCompositionView **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE FindComposition(
- /* [in] */ TfEditCookie ecRead,
- /* [in] */ ITfRange *pTestRange,
- /* [out] */ IEnumITfCompositionView **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TakeOwnership(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextCompositionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextComposition * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextComposition * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextComposition * This);
-
- HRESULT ( STDMETHODCALLTYPE *StartComposition )(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pCompositionRange,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
-
- HRESULT ( STDMETHODCALLTYPE *EnumCompositions )(
- ITfContextComposition * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *FindComposition )(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecRead,
- /* [in] */ ITfRange *pTestRange,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
-
- END_INTERFACE
- } ITfContextCompositionVtbl;
- interface ITfContextComposition
- {
- CONST_VTBL struct ITfContextCompositionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextComposition_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextComposition_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextComposition_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfContextComposition_StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition)
- (This)->lpVtbl -> StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition)
- #define ITfContextComposition_EnumCompositions(This,ppEnum)
- (This)->lpVtbl -> EnumCompositions(This,ppEnum)
- #define ITfContextComposition_FindComposition(This,ecRead,pTestRange,ppEnum)
- (This)->lpVtbl -> FindComposition(This,ecRead,pTestRange,ppEnum)
- #define ITfContextComposition_TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition)
- (This)->lpVtbl -> TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextComposition_StartComposition_Proxy(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pCompositionRange,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
- void __RPC_STUB ITfContextComposition_StartComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextComposition_EnumCompositions_Proxy(
- ITfContextComposition * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
- void __RPC_STUB ITfContextComposition_EnumCompositions_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextComposition_FindComposition_Proxy(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecRead,
- /* [in] */ ITfRange *pTestRange,
- /* [out] */ IEnumITfCompositionView **ppEnum);
- void __RPC_STUB ITfContextComposition_FindComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextComposition_TakeOwnership_Proxy(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
- void __RPC_STUB ITfContextComposition_TakeOwnership_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextComposition_INTERFACE_DEFINED__ */
- #ifndef __ITfContextOwnerCompositionServices_INTERFACE_DEFINED__
- #define __ITfContextOwnerCompositionServices_INTERFACE_DEFINED__
- /* interface ITfContextOwnerCompositionServices */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextOwnerCompositionServices;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("86462810-593B-4916-9764-19C08E9CE110")
- ITfContextOwnerCompositionServices : public ITfContextComposition
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE TerminateComposition(
- /* [in] */ ITfCompositionView *pComposition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextOwnerCompositionServicesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextOwnerCompositionServices * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextOwnerCompositionServices * This);
-
- HRESULT ( STDMETHODCALLTYPE *StartComposition )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pCompositionRange,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
-
- HRESULT ( STDMETHODCALLTYPE *EnumCompositions )(
- ITfContextOwnerCompositionServices * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *FindComposition )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ TfEditCookie ecRead,
- /* [in] */ ITfRange *pTestRange,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
-
- HRESULT ( STDMETHODCALLTYPE *TerminateComposition )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ ITfCompositionView *pComposition);
-
- END_INTERFACE
- } ITfContextOwnerCompositionServicesVtbl;
- interface ITfContextOwnerCompositionServices
- {
- CONST_VTBL struct ITfContextOwnerCompositionServicesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextOwnerCompositionServices_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextOwnerCompositionServices_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextOwnerCompositionServices_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfContextOwnerCompositionServices_StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition)
- (This)->lpVtbl -> StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition)
- #define ITfContextOwnerCompositionServices_EnumCompositions(This,ppEnum)
- (This)->lpVtbl -> EnumCompositions(This,ppEnum)
- #define ITfContextOwnerCompositionServices_FindComposition(This,ecRead,pTestRange,ppEnum)
- (This)->lpVtbl -> FindComposition(This,ecRead,pTestRange,ppEnum)
- #define ITfContextOwnerCompositionServices_TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition)
- (This)->lpVtbl -> TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition)
- #define ITfContextOwnerCompositionServices_TerminateComposition(This,pComposition)
- (This)->lpVtbl -> TerminateComposition(This,pComposition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextOwnerCompositionServices_TerminateComposition_Proxy(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ ITfCompositionView *pComposition);
- void __RPC_STUB ITfContextOwnerCompositionServices_TerminateComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextOwnerCompositionServices_INTERFACE_DEFINED__ */
- #ifndef __ITfContextOwnerCompositionSink_INTERFACE_DEFINED__
- #define __ITfContextOwnerCompositionSink_INTERFACE_DEFINED__
- /* interface ITfContextOwnerCompositionSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextOwnerCompositionSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("5F20AA40-B57A-4F34-96AB-3576F377CC79")
- ITfContextOwnerCompositionSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnStartComposition(
- /* [in] */ ITfCompositionView *pComposition,
- /* [out] */ BOOL *pfOk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnUpdateComposition(
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfRange *pRangeNew) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnEndComposition(
- /* [in] */ ITfCompositionView *pComposition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextOwnerCompositionSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextOwnerCompositionSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextOwnerCompositionSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStartComposition )(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition,
- /* [out] */ BOOL *pfOk);
-
- HRESULT ( STDMETHODCALLTYPE *OnUpdateComposition )(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfRange *pRangeNew);
-
- HRESULT ( STDMETHODCALLTYPE *OnEndComposition )(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition);
-
- END_INTERFACE
- } ITfContextOwnerCompositionSinkVtbl;
- interface ITfContextOwnerCompositionSink
- {
- CONST_VTBL struct ITfContextOwnerCompositionSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextOwnerCompositionSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextOwnerCompositionSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextOwnerCompositionSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfContextOwnerCompositionSink_OnStartComposition(This,pComposition,pfOk)
- (This)->lpVtbl -> OnStartComposition(This,pComposition,pfOk)
- #define ITfContextOwnerCompositionSink_OnUpdateComposition(This,pComposition,pRangeNew)
- (This)->lpVtbl -> OnUpdateComposition(This,pComposition,pRangeNew)
- #define ITfContextOwnerCompositionSink_OnEndComposition(This,pComposition)
- (This)->lpVtbl -> OnEndComposition(This,pComposition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextOwnerCompositionSink_OnStartComposition_Proxy(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition,
- /* [out] */ BOOL *pfOk);
- void __RPC_STUB ITfContextOwnerCompositionSink_OnStartComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerCompositionSink_OnUpdateComposition_Proxy(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfRange *pRangeNew);
- void __RPC_STUB ITfContextOwnerCompositionSink_OnUpdateComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerCompositionSink_OnEndComposition_Proxy(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition);
- void __RPC_STUB ITfContextOwnerCompositionSink_OnEndComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextOwnerCompositionSink_INTERFACE_DEFINED__ */
- #ifndef __ITfContextView_INTERFACE_DEFINED__
- #define __ITfContextView_INTERFACE_DEFINED__
- /* interface ITfContextView */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2433bf8e-0f9b-435c-ba2c-180611978c30")
- ITfContextView : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetRangeFromPoint(
- /* [in] */ TfEditCookie ec,
- /* [in] */ const POINT *ppt,
- /* [in] */ DWORD dwFlags,
- /* [out] */ ITfRange **ppRange) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetTextExt(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetScreenExt(
- /* [out] */ RECT *prc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetWnd(
- /* [out] */ HWND *phwnd) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextView * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextView * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetRangeFromPoint )(
- ITfContextView * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ const POINT *ppt,
- /* [in] */ DWORD dwFlags,
- /* [out] */ ITfRange **ppRange);
-
- HRESULT ( STDMETHODCALLTYPE *GetTextExt )(
- ITfContextView * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped);
-
- HRESULT ( STDMETHODCALLTYPE *GetScreenExt )(
- ITfContextView * This,
- /* [out] */ RECT *prc);
-
- HRESULT ( STDMETHODCALLTYPE *GetWnd )(
- ITfContextView * This,
- /* [out] */ HWND *phwnd);
-
- END_INTERFACE
- } ITfContextViewVtbl;
- interface ITfContextView
- {
- CONST_VTBL struct ITfContextViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextView_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextView_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextView_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITfContextView_GetRangeFromPoint(This,ec,ppt,dwFlags,ppRange)
- (This)->lpVtbl -> GetRangeFromPoint(This,ec,ppt,dwFlags,ppRange)
- #define ITfContextView_GetTextExt(This,ec,pRange,prc,pfClipped)
- (This)->lpVtbl -> GetTextExt(This,ec,pRange,prc,pfClipped)
- #define ITfContextView_GetScreenExt(This,prc)
- (This)->lpVtbl -> GetScreenExt(This,prc)
- #define ITfContextView_GetWnd(This,phwnd)
- (This)->lpVtbl -> GetWnd(This,phwnd)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextView_GetRangeFromPoint_Proxy(
- ITfContextView * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ const POINT *ppt,
- /* [in] */ DWORD dwFlags,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfContextView_GetRangeFromPoint_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextView_GetTextExt_Proxy(
- ITfContextView * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped);
- void __RPC_STUB ITfContextView_GetTextExt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextView_GetScreenExt_Proxy(
- ITfContextView * This,
- /* [out] */ RECT *prc);
- void __RPC_STUB ITfContextView_GetScreenExt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextView_GetWnd_Proxy(
- ITfContextView * This,
- /* [out] */ HWND *phwnd);
- void __RPC_STUB ITfContextView_GetWnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextView_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfContextViews_INTERFACE_DEFINED__
- #define __IEnumTfContextViews_INTERFACE_DEFINED__
- /* interface IEnumTfContextViews */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfContextViews;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("F0C0F8DD-CF38-44E1-BB0F-68CF0D551C78")
- IEnumTfContextViews : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfContextViews **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContextView **rgViews,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfContextViewsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfContextViews * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfContextViews * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfContextViews * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfContextViews * This,
- /* [out] */ IEnumTfContextViews **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfContextViews * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContextView **rgViews,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfContextViews * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfContextViews * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfContextViewsVtbl;
- interface IEnumTfContextViews
- {
- CONST_VTBL struct IEnumTfContextViewsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfContextViews_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfContextViews_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfContextViews_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumTfContextViews_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfContextViews_Next(This,ulCount,rgViews,pcFetched)
- (This)->lpVtbl -> Next(This,ulCount,rgViews,pcFetched)
- #define IEnumTfContextViews_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfContextViews_Skip(This,ulCount)
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfContextViews_Clone_Proxy(
- IEnumTfContextViews * This,
- /* [out] */ IEnumTfContextViews **ppEnum);
- void __RPC_STUB IEnumTfContextViews_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContextViews_Next_Proxy(
- IEnumTfContextViews * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContextView **rgViews,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfContextViews_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContextViews_Reset_Proxy(
- IEnumTfContextViews * This);
- void __RPC_STUB IEnumTfContextViews_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContextViews_Skip_Proxy(
- IEnumTfContextViews * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfContextViews_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfContextViews_INTERFACE_DEFINED__ */
- #ifndef __ITfContext_INTERFACE_DEFINED__
- #define __ITfContext_INTERFACE_DEFINED__
- /* interface ITfContext */
- /* [unique][uuid][object] */
- #define TF_ES_ASYNCDONTCARE ( 0 )
- #define TF_ES_SYNC ( 0x1 )
- #define TF_ES_READ ( 0x2 )
- #define TF_ES_READWRITE ( 0x6 )
- #define TF_ES_ASYNC ( 0x8 )
- typedef /* [public][public][public][public][public][uuid] */ DECLSPEC_UUID("1690be9b-d3e9-49f6-8d8b-51b905af4c43")
- enum __MIDL_ITfContext_0001
- { TF_AE_NONE = 0,
- TF_AE_START = 1,
- TF_AE_END = 2
- } TfActiveSelEnd;
- typedef /* [uuid] */ DECLSPEC_UUID("36ae42a4-6989-4bdc-b48a-6137b7bf2e42") struct TF_SELECTIONSTYLE
- {
- TfActiveSelEnd ase;
- BOOL fInterimChar;
- } TF_SELECTIONSTYLE;
- typedef /* [uuid] */ DECLSPEC_UUID("75eb22f2-b0bf-46a8-8006-975a3b6efcf1") struct TF_SELECTION
- {
- ITfRange *range;
- TF_SELECTIONSTYLE style;
- } TF_SELECTION;
- #define TF_DEFAULT_SELECTION ( TS_DEFAULT_SELECTION )
- #define TF_SD_READONLY ( TS_SD_READONLY )
- #define TF_SD_LOADING ( TS_SD_LOADING )
- #define TF_SS_DISJOINTSEL ( TS_SS_DISJOINTSEL )
- #define TF_SS_REGIONS ( TS_SS_REGIONS )
- #define TF_SS_TRANSITORY ( TS_SS_TRANSITORY )
- typedef /* [uuid] */ DECLSPEC_UUID("bc7d979a-846a-444d-afef-0a9bfa82b961") TS_STATUS TF_STATUS;
- EXTERN_C const IID IID_ITfContext;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e7fd-2021-11d2-93e0-0060b067b86e")
- ITfContext : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE RequestEditSession(
- /* [in] */ TfClientId tid,
- /* [in] */ ITfEditSession *pes,
- /* [in] */ DWORD dwFlags,
- /* [out] */ HRESULT *phrSession) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InWriteSession(
- /* [in] */ TfClientId tid,
- /* [out] */ BOOL *pfWriteSession) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSelection(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulIndex,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_SELECTION *pSelection,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSelection(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulCount,
- /* [size_is][in] */ const TF_SELECTION *pSelection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetStart(
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppStart) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetEnd(
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppEnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetActiveView(
- /* [out] */ ITfContextView **ppView) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumViews(
- /* [out] */ IEnumTfContextViews **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetStatus(
- /* [out] */ TF_STATUS *pdcs) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetProperty(
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfProperty **ppProp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAppProperty(
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfReadOnlyProperty **ppProp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TrackProperties(
- /* [size_is][in] */ const GUID **prgProp,
- /* [in] */ ULONG cProp,
- /* [size_is][in] */ const GUID **prgAppProp,
- /* [in] */ ULONG cAppProp,
- /* [out] */ ITfReadOnlyProperty **ppProperty) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumProperties(
- /* [out] */ IEnumTfProperties **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDocumentMgr(
- /* [out] */ ITfDocumentMgr **ppDm) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateRangeBackup(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ ITfRangeBackup **ppBackup) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContext * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContext * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContext * This);
-
- HRESULT ( STDMETHODCALLTYPE *RequestEditSession )(
- ITfContext * This,
- /* [in] */ TfClientId tid,
- /* [in] */ ITfEditSession *pes,
- /* [in] */ DWORD dwFlags,
- /* [out] */ HRESULT *phrSession);
-
- HRESULT ( STDMETHODCALLTYPE *InWriteSession )(
- ITfContext * This,
- /* [in] */ TfClientId tid,
- /* [out] */ BOOL *pfWriteSession);
-
- HRESULT ( STDMETHODCALLTYPE *GetSelection )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulIndex,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_SELECTION *pSelection,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *SetSelection )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulCount,