| /*** Autogenerated by WIDL 6.3 from include/msctf.idl - Do not edit ***/ |
| |
| #ifdef _WIN32 |
| #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| #define __REQUIRED_RPCNDR_H_VERSION__ 475 |
| #endif |
| #include <rpc.h> |
| #include <rpcndr.h> |
| #endif |
| |
| #ifndef COM_NO_WINDOWS_H |
| #include <windows.h> |
| #include <ole2.h> |
| #endif |
| |
| #ifndef __msctf_h__ |
| #define __msctf_h__ |
| |
| /* Forward declarations */ |
| |
| #ifndef __ITfFunctionProvider_FWD_DEFINED__ |
| #define __ITfFunctionProvider_FWD_DEFINED__ |
| typedef interface ITfFunctionProvider ITfFunctionProvider; |
| #ifdef __cplusplus |
| interface ITfFunctionProvider; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfFunctionProviders_FWD_DEFINED__ |
| #define __IEnumTfFunctionProviders_FWD_DEFINED__ |
| typedef interface IEnumTfFunctionProviders IEnumTfFunctionProviders; |
| #ifdef __cplusplus |
| interface IEnumTfFunctionProviders; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfThreadMgr_FWD_DEFINED__ |
| #define __ITfThreadMgr_FWD_DEFINED__ |
| typedef interface ITfThreadMgr ITfThreadMgr; |
| #ifdef __cplusplus |
| interface ITfThreadMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfThreadMgrEx_FWD_DEFINED__ |
| #define __ITfThreadMgrEx_FWD_DEFINED__ |
| typedef interface ITfThreadMgrEx ITfThreadMgrEx; |
| #ifdef __cplusplus |
| interface ITfThreadMgrEx; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfCompositionView_FWD_DEFINED__ |
| #define __ITfCompositionView_FWD_DEFINED__ |
| typedef interface ITfCompositionView ITfCompositionView; |
| #ifdef __cplusplus |
| interface ITfCompositionView; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfDocumentMgr_FWD_DEFINED__ |
| #define __ITfDocumentMgr_FWD_DEFINED__ |
| typedef interface ITfDocumentMgr ITfDocumentMgr; |
| #ifdef __cplusplus |
| interface ITfDocumentMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfContextView_FWD_DEFINED__ |
| #define __ITfContextView_FWD_DEFINED__ |
| typedef interface ITfContextView ITfContextView; |
| #ifdef __cplusplus |
| interface ITfContextView; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfContextViews_FWD_DEFINED__ |
| #define __IEnumTfContextViews_FWD_DEFINED__ |
| typedef interface IEnumTfContextViews IEnumTfContextViews; |
| #ifdef __cplusplus |
| interface IEnumTfContextViews; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfProperties_FWD_DEFINED__ |
| #define __IEnumTfProperties_FWD_DEFINED__ |
| typedef interface IEnumTfProperties IEnumTfProperties; |
| #ifdef __cplusplus |
| interface IEnumTfProperties; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfRangeBackup_FWD_DEFINED__ |
| #define __ITfRangeBackup_FWD_DEFINED__ |
| typedef interface ITfRangeBackup ITfRangeBackup; |
| #ifdef __cplusplus |
| interface ITfRangeBackup; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITextStoreACPServices_FWD_DEFINED__ |
| #define __ITextStoreACPServices_FWD_DEFINED__ |
| typedef interface ITextStoreACPServices ITextStoreACPServices; |
| #ifdef __cplusplus |
| interface ITextStoreACPServices; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfContext_FWD_DEFINED__ |
| #define __ITfContext_FWD_DEFINED__ |
| typedef interface ITfContext ITfContext; |
| #ifdef __cplusplus |
| interface ITfContext; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfSource_FWD_DEFINED__ |
| #define __ITfSource_FWD_DEFINED__ |
| typedef interface ITfSource ITfSource; |
| #ifdef __cplusplus |
| interface ITfSource; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfInputProcessorProfiles_FWD_DEFINED__ |
| #define __ITfInputProcessorProfiles_FWD_DEFINED__ |
| typedef interface ITfInputProcessorProfiles ITfInputProcessorProfiles; |
| #ifdef __cplusplus |
| interface ITfInputProcessorProfiles; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfInputProcessorProfiles_FWD_DEFINED__ |
| #define __IEnumTfInputProcessorProfiles_FWD_DEFINED__ |
| typedef interface IEnumTfInputProcessorProfiles IEnumTfInputProcessorProfiles; |
| #ifdef __cplusplus |
| interface IEnumTfInputProcessorProfiles; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfInputProcessorProfileMgr_FWD_DEFINED__ |
| #define __ITfInputProcessorProfileMgr_FWD_DEFINED__ |
| typedef interface ITfInputProcessorProfileMgr ITfInputProcessorProfileMgr; |
| #ifdef __cplusplus |
| interface ITfInputProcessorProfileMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfDisplayAttributeInfo_FWD_DEFINED__ |
| #define __ITfDisplayAttributeInfo_FWD_DEFINED__ |
| typedef interface ITfDisplayAttributeInfo ITfDisplayAttributeInfo; |
| #ifdef __cplusplus |
| interface ITfDisplayAttributeInfo; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfDisplayAttributeInfo_FWD_DEFINED__ |
| #define __IEnumTfDisplayAttributeInfo_FWD_DEFINED__ |
| typedef interface IEnumTfDisplayAttributeInfo IEnumTfDisplayAttributeInfo; |
| #ifdef __cplusplus |
| interface IEnumTfDisplayAttributeInfo; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfDisplayAttributeMgr_FWD_DEFINED__ |
| #define __ITfDisplayAttributeMgr_FWD_DEFINED__ |
| typedef interface ITfDisplayAttributeMgr ITfDisplayAttributeMgr; |
| #ifdef __cplusplus |
| interface ITfDisplayAttributeMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfCategoryMgr_FWD_DEFINED__ |
| #define __ITfCategoryMgr_FWD_DEFINED__ |
| typedef interface ITfCategoryMgr ITfCategoryMgr; |
| #ifdef __cplusplus |
| interface ITfCategoryMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfRanges_FWD_DEFINED__ |
| #define __IEnumTfRanges_FWD_DEFINED__ |
| typedef interface IEnumTfRanges IEnumTfRanges; |
| #ifdef __cplusplus |
| interface IEnumTfRanges; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfEditRecord_FWD_DEFINED__ |
| #define __ITfEditRecord_FWD_DEFINED__ |
| typedef interface ITfEditRecord ITfEditRecord; |
| #ifdef __cplusplus |
| interface ITfEditRecord; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfTextEditSink_FWD_DEFINED__ |
| #define __ITfTextEditSink_FWD_DEFINED__ |
| typedef interface ITfTextEditSink ITfTextEditSink; |
| #ifdef __cplusplus |
| interface ITfTextEditSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfContextOwnerCompositionSink_FWD_DEFINED__ |
| #define __ITfContextOwnerCompositionSink_FWD_DEFINED__ |
| typedef interface ITfContextOwnerCompositionSink ITfContextOwnerCompositionSink; |
| #ifdef __cplusplus |
| interface ITfContextOwnerCompositionSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__ |
| #define __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__ |
| typedef interface ITfActiveLanguageProfileNotifySink ITfActiveLanguageProfileNotifySink; |
| #ifdef __cplusplus |
| interface ITfActiveLanguageProfileNotifySink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfLanguageProfiles_FWD_DEFINED__ |
| #define __IEnumTfLanguageProfiles_FWD_DEFINED__ |
| typedef interface IEnumTfLanguageProfiles IEnumTfLanguageProfiles; |
| #ifdef __cplusplus |
| interface IEnumTfLanguageProfiles; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfTextInputProcessor_FWD_DEFINED__ |
| #define __ITfTextInputProcessor_FWD_DEFINED__ |
| typedef interface ITfTextInputProcessor ITfTextInputProcessor; |
| #ifdef __cplusplus |
| interface ITfTextInputProcessor; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfThreadMgrEventSink_FWD_DEFINED__ |
| #define __ITfThreadMgrEventSink_FWD_DEFINED__ |
| typedef interface ITfThreadMgrEventSink ITfThreadMgrEventSink; |
| #ifdef __cplusplus |
| interface ITfThreadMgrEventSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfKeystrokeMgr_FWD_DEFINED__ |
| #define __ITfKeystrokeMgr_FWD_DEFINED__ |
| typedef interface ITfKeystrokeMgr ITfKeystrokeMgr; |
| #ifdef __cplusplus |
| interface ITfKeystrokeMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfKeyEventSink_FWD_DEFINED__ |
| #define __ITfKeyEventSink_FWD_DEFINED__ |
| typedef interface ITfKeyEventSink ITfKeyEventSink; |
| #ifdef __cplusplus |
| interface ITfKeyEventSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfKeyTraceEventSink_FWD_DEFINED__ |
| #define __ITfKeyTraceEventSink_FWD_DEFINED__ |
| typedef interface ITfKeyTraceEventSink ITfKeyTraceEventSink; |
| #ifdef __cplusplus |
| interface ITfKeyTraceEventSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfUIElementSink_FWD_DEFINED__ |
| #define __ITfUIElementSink_FWD_DEFINED__ |
| typedef interface ITfUIElementSink ITfUIElementSink; |
| #ifdef __cplusplus |
| interface ITfUIElementSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfMessagePump_FWD_DEFINED__ |
| #define __ITfMessagePump_FWD_DEFINED__ |
| typedef interface ITfMessagePump ITfMessagePump; |
| #ifdef __cplusplus |
| interface ITfMessagePump; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfClientId_FWD_DEFINED__ |
| #define __ITfClientId_FWD_DEFINED__ |
| typedef interface ITfClientId ITfClientId; |
| #ifdef __cplusplus |
| interface ITfClientId; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfLanguageProfileNotifySink_FWD_DEFINED__ |
| #define __ITfLanguageProfileNotifySink_FWD_DEFINED__ |
| typedef interface ITfLanguageProfileNotifySink ITfLanguageProfileNotifySink; |
| #ifdef __cplusplus |
| interface ITfLanguageProfileNotifySink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfEditSession_FWD_DEFINED__ |
| #define __ITfEditSession_FWD_DEFINED__ |
| typedef interface ITfEditSession ITfEditSession; |
| #ifdef __cplusplus |
| interface ITfEditSession; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfRange_FWD_DEFINED__ |
| #define __ITfRange_FWD_DEFINED__ |
| typedef interface ITfRange ITfRange; |
| #ifdef __cplusplus |
| interface ITfRange; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfRangeACP_FWD_DEFINED__ |
| #define __ITfRangeACP_FWD_DEFINED__ |
| typedef interface ITfRangeACP ITfRangeACP; |
| #ifdef __cplusplus |
| interface ITfRangeACP; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfInsertAtSelection_FWD_DEFINED__ |
| #define __ITfInsertAtSelection_FWD_DEFINED__ |
| typedef interface ITfInsertAtSelection ITfInsertAtSelection; |
| #ifdef __cplusplus |
| interface ITfInsertAtSelection; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfPropertyStore_FWD_DEFINED__ |
| #define __ITfPropertyStore_FWD_DEFINED__ |
| typedef interface ITfPropertyStore ITfPropertyStore; |
| #ifdef __cplusplus |
| interface ITfPropertyStore; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumITfCompositionView_FWD_DEFINED__ |
| #define __IEnumITfCompositionView_FWD_DEFINED__ |
| typedef interface IEnumITfCompositionView IEnumITfCompositionView; |
| #ifdef __cplusplus |
| interface IEnumITfCompositionView; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfComposition_FWD_DEFINED__ |
| #define __ITfComposition_FWD_DEFINED__ |
| typedef interface ITfComposition ITfComposition; |
| #ifdef __cplusplus |
| interface ITfComposition; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfCompositionSink_FWD_DEFINED__ |
| #define __ITfCompositionSink_FWD_DEFINED__ |
| typedef interface ITfCompositionSink ITfCompositionSink; |
| #ifdef __cplusplus |
| interface ITfCompositionSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfContextComposition_FWD_DEFINED__ |
| #define __ITfContextComposition_FWD_DEFINED__ |
| typedef interface ITfContextComposition ITfContextComposition; |
| #ifdef __cplusplus |
| interface ITfContextComposition; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfContextOwnerCompositionServices_FWD_DEFINED__ |
| #define __ITfContextOwnerCompositionServices_FWD_DEFINED__ |
| typedef interface ITfContextOwnerCompositionServices ITfContextOwnerCompositionServices; |
| #ifdef __cplusplus |
| interface ITfContextOwnerCompositionServices; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ |
| #define __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ |
| typedef interface ITfPersistentPropertyLoaderACP ITfPersistentPropertyLoaderACP; |
| #ifdef __cplusplus |
| interface ITfPersistentPropertyLoaderACP; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfContextOwnerServices_FWD_DEFINED__ |
| #define __ITfContextOwnerServices_FWD_DEFINED__ |
| typedef interface ITfContextOwnerServices ITfContextOwnerServices; |
| #ifdef __cplusplus |
| interface ITfContextOwnerServices; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfReadOnlyProperty_FWD_DEFINED__ |
| #define __ITfReadOnlyProperty_FWD_DEFINED__ |
| typedef interface ITfReadOnlyProperty ITfReadOnlyProperty; |
| #ifdef __cplusplus |
| interface ITfReadOnlyProperty; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfProperty_FWD_DEFINED__ |
| #define __ITfProperty_FWD_DEFINED__ |
| typedef interface ITfProperty ITfProperty; |
| #ifdef __cplusplus |
| interface ITfProperty; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfCompartment_FWD_DEFINED__ |
| #define __ITfCompartment_FWD_DEFINED__ |
| typedef interface ITfCompartment ITfCompartment; |
| #ifdef __cplusplus |
| interface ITfCompartment; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfCompartmentMgr_FWD_DEFINED__ |
| #define __ITfCompartmentMgr_FWD_DEFINED__ |
| typedef interface ITfCompartmentMgr ITfCompartmentMgr; |
| #ifdef __cplusplus |
| interface ITfCompartmentMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfCompartmentEventSink_FWD_DEFINED__ |
| #define __ITfCompartmentEventSink_FWD_DEFINED__ |
| typedef interface ITfCompartmentEventSink ITfCompartmentEventSink; |
| #ifdef __cplusplus |
| interface ITfCompartmentEventSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfContexts_FWD_DEFINED__ |
| #define __IEnumTfContexts_FWD_DEFINED__ |
| typedef interface IEnumTfContexts IEnumTfContexts; |
| #ifdef __cplusplus |
| interface IEnumTfContexts; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfDocumentMgrs_FWD_DEFINED__ |
| #define __IEnumTfDocumentMgrs_FWD_DEFINED__ |
| typedef interface IEnumTfDocumentMgrs IEnumTfDocumentMgrs; |
| #ifdef __cplusplus |
| interface IEnumTfDocumentMgrs; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfUIElement_FWD_DEFINED__ |
| #define __ITfUIElement_FWD_DEFINED__ |
| typedef interface ITfUIElement ITfUIElement; |
| #ifdef __cplusplus |
| interface ITfUIElement; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfUIElements_FWD_DEFINED__ |
| #define __IEnumTfUIElements_FWD_DEFINED__ |
| typedef interface IEnumTfUIElements IEnumTfUIElements; |
| #ifdef __cplusplus |
| interface IEnumTfUIElements; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfUIElementMgr_FWD_DEFINED__ |
| #define __ITfUIElementMgr_FWD_DEFINED__ |
| typedef interface ITfUIElementMgr ITfUIElementMgr; |
| #ifdef __cplusplus |
| interface ITfUIElementMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfSourceSingle_FWD_DEFINED__ |
| #define __ITfSourceSingle_FWD_DEFINED__ |
| typedef interface ITfSourceSingle ITfSourceSingle; |
| #ifdef __cplusplus |
| interface ITfSourceSingle; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfThreadFocusSink_FWD_DEFINED__ |
| #define __ITfThreadFocusSink_FWD_DEFINED__ |
| typedef interface ITfThreadFocusSink ITfThreadFocusSink; |
| #ifdef __cplusplus |
| interface ITfThreadFocusSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfInputProcessorProfileActivationSink_FWD_DEFINED__ |
| #define __ITfInputProcessorProfileActivationSink_FWD_DEFINED__ |
| typedef interface ITfInputProcessorProfileActivationSink ITfInputProcessorProfileActivationSink; |
| #ifdef __cplusplus |
| interface ITfInputProcessorProfileActivationSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfMouseSink_FWD_DEFINED__ |
| #define __ITfMouseSink_FWD_DEFINED__ |
| typedef interface ITfMouseSink ITfMouseSink; |
| #ifdef __cplusplus |
| interface ITfMouseSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfMouseTracker_FWD_DEFINED__ |
| #define __ITfMouseTracker_FWD_DEFINED__ |
| typedef interface ITfMouseTracker ITfMouseTracker; |
| #ifdef __cplusplus |
| interface ITfMouseTracker; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfMouseTrackerACP_FWD_DEFINED__ |
| #define __ITfMouseTrackerACP_FWD_DEFINED__ |
| typedef interface ITfMouseTrackerACP ITfMouseTrackerACP; |
| #ifdef __cplusplus |
| interface ITfMouseTrackerACP; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfTransitoryExtensionSink_FWD_DEFINED__ |
| #define __ITfTransitoryExtensionSink_FWD_DEFINED__ |
| typedef interface ITfTransitoryExtensionSink ITfTransitoryExtensionSink; |
| #ifdef __cplusplus |
| interface ITfTransitoryExtensionSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| /* Headers for imported files */ |
| |
| #include <oaidl.h> |
| #include <comcat.h> |
| #include <textstor.h> |
| #include <ctfutb.h> |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| #define TF_E_STACKFULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0501) |
| #define TF_E_DISCONNECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0504) |
| #define TF_E_ALREADY_EXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0506) |
| #define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201) |
| HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim); |
| HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim); |
| HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr); |
| HRESULT WINAPI TF_CreateLangBarMgr(ITfLangBarMgr **pppbm); |
| HRESULT WINAPI TF_CreateLangBarItemMgr(ITfLangBarItemMgr **pplbim); |
| HRESULT WINAPI TF_InvalidAssemblyListCacheIfExist(void); |
| EXTERN_C const GUID GUID_PROP_TEXTOWNER; |
| DEFINE_GUID(GUID_PROP_ATTRIBUTE,0x34b45670,0x7526,0x11d2,0xa1,0x47,0x00,0x10,0x5a,0x27,0x99,0xb5); |
| 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_CategoryMgr; |
| EXTERN_C const CLSID CLSID_TF_DisplayAttributeMgr; |
| 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_SPEECH_GLOBALSTATE; |
| 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_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_DISPLAYATTRIBUTEPROVIDER; |
| typedef DWORD TfEditCookie; |
| typedef DWORD TfClientId; |
| typedef DWORD TfGuidAtom; |
| #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_PROFILETYPE_INPUTPROCESSOR 0x0001 |
| #define TF_PROFILETYPE_KEYBOARDLAYOUT 0x0002 |
| #define TF_IPSINK_FLAG_ACTIVE 0x0001 |
| #ifndef __ITfDocumentMgr_FWD_DEFINED__ |
| #define __ITfDocumentMgr_FWD_DEFINED__ |
| typedef interface ITfDocumentMgr ITfDocumentMgr; |
| #ifdef __cplusplus |
| interface ITfDocumentMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfContext_FWD_DEFINED__ |
| #define __ITfContext_FWD_DEFINED__ |
| typedef interface ITfContext ITfContext; |
| #ifdef __cplusplus |
| interface ITfContext; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfDocumentMgrs_FWD_DEFINED__ |
| #define __IEnumTfDocumentMgrs_FWD_DEFINED__ |
| typedef interface IEnumTfDocumentMgrs IEnumTfDocumentMgrs; |
| #ifdef __cplusplus |
| interface IEnumTfDocumentMgrs; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfContexts_FWD_DEFINED__ |
| #define __IEnumTfContexts_FWD_DEFINED__ |
| typedef interface IEnumTfContexts IEnumTfContexts; |
| #ifdef __cplusplus |
| interface IEnumTfContexts; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfCompartmentMgr_FWD_DEFINED__ |
| #define __ITfCompartmentMgr_FWD_DEFINED__ |
| typedef interface ITfCompartmentMgr ITfCompartmentMgr; |
| #ifdef __cplusplus |
| interface ITfCompartmentMgr; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfEditSession_FWD_DEFINED__ |
| #define __ITfEditSession_FWD_DEFINED__ |
| typedef interface ITfEditSession ITfEditSession; |
| #ifdef __cplusplus |
| interface ITfEditSession; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfRange_FWD_DEFINED__ |
| #define __ITfRange_FWD_DEFINED__ |
| typedef interface ITfRange ITfRange; |
| #ifdef __cplusplus |
| interface ITfRange; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfProperty_FWD_DEFINED__ |
| #define __ITfProperty_FWD_DEFINED__ |
| typedef interface ITfProperty ITfProperty; |
| #ifdef __cplusplus |
| interface ITfProperty; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfReadOnlyProperty_FWD_DEFINED__ |
| #define __ITfReadOnlyProperty_FWD_DEFINED__ |
| typedef interface ITfReadOnlyProperty ITfReadOnlyProperty; |
| #ifdef __cplusplus |
| interface ITfReadOnlyProperty; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IEnumTfLanguageProfiles_FWD_DEFINED__ |
| #define __IEnumTfLanguageProfiles_FWD_DEFINED__ |
| typedef interface IEnumTfLanguageProfiles IEnumTfLanguageProfiles; |
| #ifdef __cplusplus |
| interface IEnumTfLanguageProfiles; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfCompositionView_FWD_DEFINED__ |
| #define __ITfCompositionView_FWD_DEFINED__ |
| typedef interface ITfCompositionView ITfCompositionView; |
| #ifdef __cplusplus |
| interface ITfCompositionView; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfKeyEventSink_FWD_DEFINED__ |
| #define __ITfKeyEventSink_FWD_DEFINED__ |
| typedef interface ITfKeyEventSink ITfKeyEventSink; |
| #ifdef __cplusplus |
| interface ITfKeyEventSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ |
| #define __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ |
| typedef interface ITfPersistentPropertyLoaderACP ITfPersistentPropertyLoaderACP; |
| #ifdef __cplusplus |
| interface ITfPersistentPropertyLoaderACP; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __ITfRangeACP_FWD_DEFINED__ |
| #define __ITfRangeACP_FWD_DEFINED__ |
| typedef interface ITfRangeACP ITfRangeACP; |
| #ifdef __cplusplus |
| interface ITfRangeACP; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #if 0 |
| typedef UINT_PTR HKL; |
| #endif |
| typedef struct TF_PERSISTENT_PROPERTY_HEADER_ACP { |
| GUID guidType; |
| LONG ichStart; |
| LONG cch; |
| ULONG cb; |
| DWORD dwPrivate; |
| CLSID clsidTIP; |
| } TF_PERSISTENT_PROPERTY_HEADER_ACP; |
| typedef struct TF_LANGUAGEPROFILE { |
| CLSID clsid; |
| LANGID langid; |
| GUID catid; |
| WINBOOL fActive; |
| GUID guidProfile; |
| } TF_LANGUAGEPROFILE; |
| typedef struct TF_PRESERVEDKEY { |
| UINT uVKey; |
| UINT uModifiers; |
| } TF_PRESERVEDKEY; |
| typedef enum __WIDL_msctf_generated_name_00000012 { |
| TF_ANCHOR_START = 0, |
| TF_ANCHOR_END = 1 |
| } TfAnchor; |
| /***************************************************************************** |
| * ITfFunctionProvider interface |
| */ |
| #ifndef __ITfFunctionProvider_INTERFACE_DEFINED__ |
| #define __ITfFunctionProvider_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ITfFunctionProvider, 0x101d6610, 0x0990, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("101d6610-0990-11d3-8df0-00105a2799b5") |
| ITfFunctionProvider : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetType( |
| GUID *guid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetDescription( |
| BSTR *desc) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetFunction( |
| REFGUID guid, |
| REFIID riid, |
| IUnknown **func) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfFunctionProvider, 0x101d6610, 0x0990, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5) |
| #endif |
| #else |
| typedef struct ITfFunctionProviderVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfFunctionProvider *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfFunctionProvider *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfFunctionProvider *This); |
| |
| /*** ITfFunctionProvider methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetType)( |
| ITfFunctionProvider *This, |
| GUID *guid); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDescription)( |
| ITfFunctionProvider *This, |
| BSTR *desc); |
| |
| HRESULT (STDMETHODCALLTYPE *GetFunction)( |
| ITfFunctionProvider *This, |
| REFGUID guid, |
| REFIID riid, |
| IUnknown **func); |
| |
| END_INTERFACE |
| } ITfFunctionProviderVtbl; |
| |
| interface ITfFunctionProvider { |
| CONST_VTBL ITfFunctionProviderVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define ITfFunctionProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define ITfFunctionProvider_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define ITfFunctionProvider_Release(This) (This)->lpVtbl->Release(This) |
| /*** ITfFunctionProvider methods ***/ |
| #define ITfFunctionProvider_GetType(This,guid) (This)->lpVtbl->GetType(This,guid) |
| #define ITfFunctionProvider_GetDescription(This,desc) (This)->lpVtbl->GetDescription(This,desc) |
| #define ITfFunctionProvider_GetFunction(This,guid,riid,func) (This)->lpVtbl->GetFunction(This,guid,riid,func) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfFunctionProvider_QueryInterface(ITfFunctionProvider* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfFunctionProvider_AddRef(ITfFunctionProvider* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfFunctionProvider_Release(ITfFunctionProvider* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfFunctionProvider methods ***/ |
| static FORCEINLINE HRESULT ITfFunctionProvider_GetType(ITfFunctionProvider* This,GUID *guid) { |
| return This->lpVtbl->GetType(This,guid); |
| } |
| static FORCEINLINE HRESULT ITfFunctionProvider_GetDescription(ITfFunctionProvider* This,BSTR *desc) { |
| return This->lpVtbl->GetDescription(This,desc); |
| } |
| static FORCEINLINE HRESULT ITfFunctionProvider_GetFunction(ITfFunctionProvider* This,REFGUID guid,REFIID riid,IUnknown **func) { |
| return This->lpVtbl->GetFunction(This,guid,riid,func); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfFunctionProvider_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IEnumTfFunctionProviders interface |
| */ |
| #ifndef __IEnumTfFunctionProviders_INTERFACE_DEFINED__ |
| #define __IEnumTfFunctionProviders_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IEnumTfFunctionProviders, 0xe4b24db0, 0x0990, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("e4b24db0-0990-11d3-8df0-00105a2799b5") |
| IEnumTfFunctionProviders : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Clone( |
| IEnumTfFunctionProviders **ret) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Next( |
| ULONG count, |
| ITfFunctionProvider **prov, |
| ULONG *fetched) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Reset( |
| ) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Skip( |
| ULONG count) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IEnumTfFunctionProviders, 0xe4b24db0, 0x0990, 0x11d3, 0x8d,0xf0, 0x00,0x10,0x5a,0x27,0x99,0xb5) |
| #endif |
| #else |
| typedef struct IEnumTfFunctionProvidersVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IEnumTfFunctionProviders *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IEnumTfFunctionProviders *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IEnumTfFunctionProviders *This); |
| |
| /*** IEnumTfFunctionProviders methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Clone)( |
| IEnumTfFunctionProviders *This, |
| IEnumTfFunctionProviders **ret); |
| |
| HRESULT (STDMETHODCALLTYPE *Next)( |
| IEnumTfFunctionProviders *This, |
| ULONG count, |
| ITfFunctionProvider **prov, |
| ULONG *fetched); |
| |
| HRESULT (STDMETHODCALLTYPE *Reset)( |
| IEnumTfFunctionProviders *This); |
| |
| HRESULT (STDMETHODCALLTYPE *Skip)( |
| IEnumTfFunctionProviders *This, |
| ULONG count); |
| |
| END_INTERFACE |
| } IEnumTfFunctionProvidersVtbl; |
| |
| interface IEnumTfFunctionProviders { |
| CONST_VTBL IEnumTfFunctionProvidersVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IEnumTfFunctionProviders_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IEnumTfFunctionProviders_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IEnumTfFunctionProviders_Release(This) (This)->lpVtbl->Release(This) |
| /*** IEnumTfFunctionProviders methods ***/ |
| #define IEnumTfFunctionProviders_Clone(This,ret) (This)->lpVtbl->Clone(This,ret) |
| #define IEnumTfFunctionProviders_Next(This,count,prov,fetched) (This)->lpVtbl->Next(This,count,prov,fetched) |
| #define IEnumTfFunctionProviders_Reset(This) (This)->lpVtbl->Reset(This) |
| #define IEnumTfFunctionProviders_Skip(This,count) (This)->lpVtbl->Skip(This,count) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IEnumTfFunctionProviders_QueryInterface(IEnumTfFunctionProviders* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IEnumTfFunctionProviders_AddRef(IEnumTfFunctionProviders* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IEnumTfFunctionProviders_Release(IEnumTfFunctionProviders* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IEnumTfFunctionProviders methods ***/ |
| static FORCEINLINE HRESULT IEnumTfFunctionProviders_Clone(IEnumTfFunctionProviders* This,IEnumTfFunctionProviders **ret) { |
| return This->lpVtbl->Clone(This,ret); |
| } |
| static FORCEINLINE HRESULT IEnumTfFunctionProviders_Next(IEnumTfFunctionProviders* This,ULONG count,ITfFunctionProvider **prov,ULONG *fetched) { |
| return This->lpVtbl->Next(This,count,prov,fetched); |
| } |
| static FORCEINLINE HRESULT IEnumTfFunctionProviders_Reset(IEnumTfFunctionProviders* This) { |
| return This->lpVtbl->Reset(This); |
| } |
| static FORCEINLINE HRESULT IEnumTfFunctionProviders_Skip(IEnumTfFunctionProviders* This,ULONG count) { |
| return This->lpVtbl->Skip(This,count); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IEnumTfFunctionProviders_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * ITfThreadMgr interface |
| */ |
| #ifndef __ITfThreadMgr_INTERFACE_DEFINED__ |
| #define __ITfThreadMgr_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ITfThreadMgr, 0xaa80e801, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("aa80e801-2021-11d2-93e0-0060b067b86e") |
| ITfThreadMgr : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Activate( |
| TfClientId *ptid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Deactivate( |
| ) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE CreateDocumentMgr( |
| ITfDocumentMgr **ppdim) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE EnumDocumentMgrs( |
| IEnumTfDocumentMgrs **ppEnum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetFocus( |
| ITfDocumentMgr **ppdimFocus) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetFocus( |
| ITfDocumentMgr *pdimFocus) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE AssociateFocus( |
| HWND hwnd, |
| ITfDocumentMgr *pdimNew, |
| ITfDocumentMgr **ppdimPrev) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE IsThreadFocus( |
| WINBOOL *pfThreadFocus) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetFunctionProvider( |
| REFCLSID clsid, |
| ITfFunctionProvider **ppFuncProv) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE EnumFunctionProviders( |
| IEnumTfFunctionProviders **ppEnum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetGlobalCompartment( |
| ITfCompartmentMgr **ppCompMgr) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfThreadMgr, 0xaa80e801, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) |
| #endif |
| #else |
| typedef struct ITfThreadMgrVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfThreadMgr *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfThreadMgr *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfThreadMgr *This); |
| |
| /*** ITfThreadMgr methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Activate)( |
| ITfThreadMgr *This, |
| TfClientId *ptid); |
| |
| HRESULT (STDMETHODCALLTYPE *Deactivate)( |
| ITfThreadMgr *This); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateDocumentMgr)( |
| ITfThreadMgr *This, |
| ITfDocumentMgr **ppdim); |
| |
| HRESULT (STDMETHODCALLTYPE *EnumDocumentMgrs)( |
| ITfThreadMgr *This, |
| IEnumTfDocumentMgrs **ppEnum); |
| |
| HRESULT (STDMETHODCALLTYPE *GetFocus)( |
| ITfThreadMgr *This, |
| ITfDocumentMgr **ppdimFocus); |
| |
| HRESULT (STDMETHODCALLTYPE *SetFocus)( |
| ITfThreadMgr *This, |
| ITfDocumentMgr *pdimFocus); |
| |
| HRESULT (STDMETHODCALLTYPE *AssociateFocus)( |
| ITfThreadMgr *This, |
| HWND hwnd, |
| ITfDocumentMgr *pdimNew, |
| ITfDocumentMgr **ppdimPrev); |
| |
| HRESULT (STDMETHODCALLTYPE *IsThreadFocus)( |
| ITfThreadMgr *This, |
| WINBOOL *pfThreadFocus); |
| |
| HRESULT (STDMETHODCALLTYPE *GetFunctionProvider)( |
| ITfThreadMgr *This, |
| REFCLSID clsid, |
| ITfFunctionProvider **ppFuncProv); |
| |
| HRESULT (STDMETHODCALLTYPE *EnumFunctionProviders)( |
| ITfThreadMgr *This, |
| IEnumTfFunctionProviders **ppEnum); |
| |
| HRESULT (STDMETHODCALLTYPE *GetGlobalCompartment)( |
| ITfThreadMgr *This, |
| ITfCompartmentMgr **ppCompMgr); |
| |
| END_INTERFACE |
| } ITfThreadMgrVtbl; |
| |
| interface ITfThreadMgr { |
| CONST_VTBL ITfThreadMgrVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #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) |
| /*** ITfThreadMgr methods ***/ |
| #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) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfThreadMgr_QueryInterface(ITfThreadMgr* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfThreadMgr_AddRef(ITfThreadMgr* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfThreadMgr_Release(ITfThreadMgr* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfThreadMgr methods ***/ |
| static FORCEINLINE HRESULT ITfThreadMgr_Activate(ITfThreadMgr* This,TfClientId *ptid) { |
| return This->lpVtbl->Activate(This,ptid); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_Deactivate(ITfThreadMgr* This) { |
| return This->lpVtbl->Deactivate(This); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_CreateDocumentMgr(ITfThreadMgr* This,ITfDocumentMgr **ppdim) { |
| return This->lpVtbl->CreateDocumentMgr(This,ppdim); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_EnumDocumentMgrs(ITfThreadMgr* This,IEnumTfDocumentMgrs **ppEnum) { |
| return This->lpVtbl->EnumDocumentMgrs(This,ppEnum); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_GetFocus(ITfThreadMgr* This,ITfDocumentMgr **ppdimFocus) { |
| return This->lpVtbl->GetFocus(This,ppdimFocus); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_SetFocus(ITfThreadMgr* This,ITfDocumentMgr *pdimFocus) { |
| return This->lpVtbl->SetFocus(This,pdimFocus); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_AssociateFocus(ITfThreadMgr* This,HWND hwnd,ITfDocumentMgr *pdimNew,ITfDocumentMgr **ppdimPrev) { |
| return This->lpVtbl->AssociateFocus(This,hwnd,pdimNew,ppdimPrev); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_IsThreadFocus(ITfThreadMgr* This,WINBOOL *pfThreadFocus) { |
| return This->lpVtbl->IsThreadFocus(This,pfThreadFocus); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_GetFunctionProvider(ITfThreadMgr* This,REFCLSID clsid,ITfFunctionProvider **ppFuncProv) { |
| return This->lpVtbl->GetFunctionProvider(This,clsid,ppFuncProv); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_EnumFunctionProviders(ITfThreadMgr* This,IEnumTfFunctionProviders **ppEnum) { |
| return This->lpVtbl->EnumFunctionProviders(This,ppEnum); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgr_GetGlobalCompartment(ITfThreadMgr* This,ITfCompartmentMgr **ppCompMgr) { |
| return This->lpVtbl->GetGlobalCompartment(This,ppCompMgr); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfThreadMgr_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * ITfThreadMgrEx interface |
| */ |
| #ifndef __ITfThreadMgrEx_INTERFACE_DEFINED__ |
| #define __ITfThreadMgrEx_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ITfThreadMgrEx, 0x3e90ade3, 0x7594, 0x4cb0, 0xbb,0x58, 0x69,0x62,0x8f,0x5f,0x45,0x8c); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("3e90ade3-7594-4cb0-bb58-69628f5f458c") |
| ITfThreadMgrEx : public ITfThreadMgr |
| { |
| virtual HRESULT STDMETHODCALLTYPE ActivateEx( |
| TfClientId *id, |
| DWORD flags) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetActiveFlags( |
| DWORD *flags) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfThreadMgrEx, 0x3e90ade3, 0x7594, 0x4cb0, 0xbb,0x58, 0x69,0x62,0x8f,0x5f,0x45,0x8c) |
| #endif |
| #else |
| typedef struct ITfThreadMgrExVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfThreadMgrEx *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfThreadMgrEx *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfThreadMgrEx *This); |
| |
| /*** ITfThreadMgr methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Activate)( |
| ITfThreadMgrEx *This, |
| TfClientId *ptid); |
| |
| HRESULT (STDMETHODCALLTYPE *Deactivate)( |
| ITfThreadMgrEx *This); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateDocumentMgr)( |
| ITfThreadMgrEx *This, |
| ITfDocumentMgr **ppdim); |
| |
| HRESULT (STDMETHODCALLTYPE *EnumDocumentMgrs)( |
| ITfThreadMgrEx *This, |
| IEnumTfDocumentMgrs **ppEnum); |
| |
| HRESULT (STDMETHODCALLTYPE *GetFocus)( |
| ITfThreadMgrEx *This, |
| ITfDocumentMgr **ppdimFocus); |
| |
| HRESULT (STDMETHODCALLTYPE *SetFocus)( |
| ITfThreadMgrEx *This, |
| ITfDocumentMgr *pdimFocus); |
| |
| HRESULT (STDMETHODCALLTYPE *AssociateFocus)( |
| ITfThreadMgrEx *This, |
| HWND hwnd, |
| ITfDocumentMgr *pdimNew, |
| ITfDocumentMgr **ppdimPrev); |
| |
| HRESULT (STDMETHODCALLTYPE *IsThreadFocus)( |
| ITfThreadMgrEx *This, |
| WINBOOL *pfThreadFocus); |
| |
| HRESULT (STDMETHODCALLTYPE *GetFunctionProvider)( |
| ITfThreadMgrEx *This, |
| REFCLSID clsid, |
| ITfFunctionProvider **ppFuncProv); |
| |
| HRESULT (STDMETHODCALLTYPE *EnumFunctionProviders)( |
| ITfThreadMgrEx *This, |
| IEnumTfFunctionProviders **ppEnum); |
| |
| HRESULT (STDMETHODCALLTYPE *GetGlobalCompartment)( |
| ITfThreadMgrEx *This, |
| ITfCompartmentMgr **ppCompMgr); |
| |
| /*** ITfThreadMgrEx methods ***/ |
| HRESULT (STDMETHODCALLTYPE *ActivateEx)( |
| ITfThreadMgrEx *This, |
| TfClientId *id, |
| DWORD flags); |
| |
| HRESULT (STDMETHODCALLTYPE *GetActiveFlags)( |
| ITfThreadMgrEx *This, |
| DWORD *flags); |
| |
| END_INTERFACE |
| } ITfThreadMgrExVtbl; |
| |
| interface ITfThreadMgrEx { |
| CONST_VTBL ITfThreadMgrExVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define ITfThreadMgrEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define ITfThreadMgrEx_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define ITfThreadMgrEx_Release(This) (This)->lpVtbl->Release(This) |
| /*** ITfThreadMgr methods ***/ |
| #define ITfThreadMgrEx_Activate(This,ptid) (This)->lpVtbl->Activate(This,ptid) |
| #define ITfThreadMgrEx_Deactivate(This) (This)->lpVtbl->Deactivate(This) |
| #define ITfThreadMgrEx_CreateDocumentMgr(This,ppdim) (This)->lpVtbl->CreateDocumentMgr(This,ppdim) |
| #define ITfThreadMgrEx_EnumDocumentMgrs(This,ppEnum) (This)->lpVtbl->EnumDocumentMgrs(This,ppEnum) |
| #define ITfThreadMgrEx_GetFocus(This,ppdimFocus) (This)->lpVtbl->GetFocus(This,ppdimFocus) |
| #define ITfThreadMgrEx_SetFocus(This,pdimFocus) (This)->lpVtbl->SetFocus(This,pdimFocus) |
| #define ITfThreadMgrEx_AssociateFocus(This,hwnd,pdimNew,ppdimPrev) (This)->lpVtbl->AssociateFocus(This,hwnd,pdimNew,ppdimPrev) |
| #define ITfThreadMgrEx_IsThreadFocus(This,pfThreadFocus) (This)->lpVtbl->IsThreadFocus(This,pfThreadFocus) |
| #define ITfThreadMgrEx_GetFunctionProvider(This,clsid,ppFuncProv) (This)->lpVtbl->GetFunctionProvider(This,clsid,ppFuncProv) |
| #define ITfThreadMgrEx_EnumFunctionProviders(This,ppEnum) (This)->lpVtbl->EnumFunctionProviders(This,ppEnum) |
| #define ITfThreadMgrEx_GetGlobalCompartment(This,ppCompMgr) (This)->lpVtbl->GetGlobalCompartment(This,ppCompMgr) |
| /*** ITfThreadMgrEx methods ***/ |
| #define ITfThreadMgrEx_ActivateEx(This,id,flags) (This)->lpVtbl->ActivateEx(This,id,flags) |
| #define ITfThreadMgrEx_GetActiveFlags(This,flags) (This)->lpVtbl->GetActiveFlags(This,flags) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfThreadMgrEx_QueryInterface(ITfThreadMgrEx* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfThreadMgrEx_AddRef(ITfThreadMgrEx* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfThreadMgrEx_Release(ITfThreadMgrEx* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfThreadMgr methods ***/ |
| static FORCEINLINE HRESULT ITfThreadMgrEx_Activate(ITfThreadMgrEx* This,TfClientId *ptid) { |
| return This->lpVtbl->Activate(This,ptid); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_Deactivate(ITfThreadMgrEx* This) { |
| return This->lpVtbl->Deactivate(This); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_CreateDocumentMgr(ITfThreadMgrEx* This,ITfDocumentMgr **ppdim) { |
| return This->lpVtbl->CreateDocumentMgr(This,ppdim); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_EnumDocumentMgrs(ITfThreadMgrEx* This,IEnumTfDocumentMgrs **ppEnum) { |
| return This->lpVtbl->EnumDocumentMgrs(This,ppEnum); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_GetFocus(ITfThreadMgrEx* This,ITfDocumentMgr **ppdimFocus) { |
| return This->lpVtbl->GetFocus(This,ppdimFocus); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_SetFocus(ITfThreadMgrEx* This,ITfDocumentMgr *pdimFocus) { |
| return This->lpVtbl->SetFocus(This,pdimFocus); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_AssociateFocus(ITfThreadMgrEx* This,HWND hwnd,ITfDocumentMgr *pdimNew,ITfDocumentMgr **ppdimPrev) { |
| return This->lpVtbl->AssociateFocus(This,hwnd,pdimNew,ppdimPrev); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_IsThreadFocus(ITfThreadMgrEx* This,WINBOOL *pfThreadFocus) { |
| return This->lpVtbl->IsThreadFocus(This,pfThreadFocus); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_GetFunctionProvider(ITfThreadMgrEx* This,REFCLSID clsid,ITfFunctionProvider **ppFuncProv) { |
| return This->lpVtbl->GetFunctionProvider(This,clsid,ppFuncProv); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_EnumFunctionProviders(ITfThreadMgrEx* This,IEnumTfFunctionProviders **ppEnum) { |
| return This->lpVtbl->EnumFunctionProviders(This,ppEnum); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_GetGlobalCompartment(ITfThreadMgrEx* This,ITfCompartmentMgr **ppCompMgr) { |
| return This->lpVtbl->GetGlobalCompartment(This,ppCompMgr); |
| } |
| /*** ITfThreadMgrEx methods ***/ |
| static FORCEINLINE HRESULT ITfThreadMgrEx_ActivateEx(ITfThreadMgrEx* This,TfClientId *id,DWORD flags) { |
| return This->lpVtbl->ActivateEx(This,id,flags); |
| } |
| static FORCEINLINE HRESULT ITfThreadMgrEx_GetActiveFlags(ITfThreadMgrEx* This,DWORD *flags) { |
| return This->lpVtbl->GetActiveFlags(This,flags); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfThreadMgrEx_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * ITfCompositionView interface |
| */ |
| #ifndef __ITfCompositionView_INTERFACE_DEFINED__ |
| #define __ITfCompositionView_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ITfCompositionView, 0xd7540241, 0xf9a1, 0x4364, 0xbe,0xfc, 0xdb,0xcd,0x2c,0x43,0x95,0xb7); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("d7540241-f9a1-4364-befc-dbcd2c4395b7") |
| ITfCompositionView : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetOwnerClsid( |
| CLSID *pclsid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetRange( |
| ITfRange **ppRange) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfCompositionView, 0xd7540241, 0xf9a1, 0x4364, 0xbe,0xfc, 0xdb,0xcd,0x2c,0x43,0x95,0xb7) |
| #endif |
| #else |
| typedef struct ITfCompositionViewVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfCompositionView *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfCompositionView *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfCompositionView *This); |
| |
| /*** ITfCompositionView methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetOwnerClsid)( |
| ITfCompositionView *This, |
| CLSID *pclsid); |
| |
| HRESULT (STDMETHODCALLTYPE *GetRange)( |
| ITfCompositionView *This, |
| ITfRange **ppRange); |
| |
| END_INTERFACE |
| } ITfCompositionViewVtbl; |
| |
| interface ITfCompositionView { |
| CONST_VTBL ITfCompositionViewVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #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) |
| /*** ITfCompositionView methods ***/ |
| #define ITfCompositionView_GetOwnerClsid(This,pclsid) (This)->lpVtbl->GetOwnerClsid(This,pclsid) |
| #define ITfCompositionView_GetRange(This,ppRange) (This)->lpVtbl->GetRange(This,ppRange) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfCompositionView_QueryInterface(ITfCompositionView* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfCompositionView_AddRef(ITfCompositionView* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfCompositionView_Release(ITfCompositionView* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfCompositionView methods ***/ |
| static FORCEINLINE HRESULT ITfCompositionView_GetOwnerClsid(ITfCompositionView* This,CLSID *pclsid) { |
| return This->lpVtbl->GetOwnerClsid(This,pclsid); |
| } |
| static FORCEINLINE HRESULT ITfCompositionView_GetRange(ITfCompositionView* This,ITfRange **ppRange) { |
| return This->lpVtbl->GetRange(This,ppRange); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfCompositionView_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * ITfDocumentMgr interface |
| */ |
| #ifndef __ITfDocumentMgr_INTERFACE_DEFINED__ |
| #define __ITfDocumentMgr_INTERFACE_DEFINED__ |
| |
| #define TF_POPF_ALL (0x1) |
| |
| DEFINE_GUID(IID_ITfDocumentMgr, 0xaa80e7f4, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("aa80e7f4-2021-11d2-93e0-0060b067b86e") |
| ITfDocumentMgr : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE CreateContext( |
| TfClientId tidOwner, |
| DWORD dwFlags, |
| IUnknown *punk, |
| ITfContext **ppic, |
| TfEditCookie *pecTextStore) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Push( |
| ITfContext *pic) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Pop( |
| DWORD dwFlags) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetTop( |
| ITfContext **ppic) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetBase( |
| ITfContext **ppic) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE EnumContexts( |
| IEnumTfContexts **ppEnum) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfDocumentMgr, 0xaa80e7f4, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) |
| #endif |
| #else |
| typedef struct ITfDocumentMgrVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfDocumentMgr *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfDocumentMgr *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfDocumentMgr *This); |
| |
| /*** ITfDocumentMgr methods ***/ |
| HRESULT (STDMETHODCALLTYPE *CreateContext)( |
| ITfDocumentMgr *This, |
| TfClientId tidOwner, |
| DWORD dwFlags, |
| IUnknown *punk, |
| ITfContext **ppic, |
| TfEditCookie *pecTextStore); |
| |
| HRESULT (STDMETHODCALLTYPE *Push)( |
| ITfDocumentMgr *This, |
| ITfContext *pic); |
| |
| HRESULT (STDMETHODCALLTYPE *Pop)( |
| ITfDocumentMgr *This, |
| DWORD dwFlags); |
| |
| HRESULT (STDMETHODCALLTYPE *GetTop)( |
| ITfDocumentMgr *This, |
| ITfContext **ppic); |
| |
| HRESULT (STDMETHODCALLTYPE *GetBase)( |
| ITfDocumentMgr *This, |
| ITfContext **ppic); |
| |
| HRESULT (STDMETHODCALLTYPE *EnumContexts)( |
| ITfDocumentMgr *This, |
| IEnumTfContexts **ppEnum); |
| |
| END_INTERFACE |
| } ITfDocumentMgrVtbl; |
| |
| interface ITfDocumentMgr { |
| CONST_VTBL ITfDocumentMgrVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #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) |
| /*** ITfDocumentMgr methods ***/ |
| #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) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfDocumentMgr_QueryInterface(ITfDocumentMgr* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfDocumentMgr_AddRef(ITfDocumentMgr* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfDocumentMgr_Release(ITfDocumentMgr* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfDocumentMgr methods ***/ |
| static FORCEINLINE HRESULT ITfDocumentMgr_CreateContext(ITfDocumentMgr* This,TfClientId tidOwner,DWORD dwFlags,IUnknown *punk,ITfContext **ppic,TfEditCookie *pecTextStore) { |
| return This->lpVtbl->CreateContext(This,tidOwner,dwFlags,punk,ppic,pecTextStore); |
| } |
| static FORCEINLINE HRESULT ITfDocumentMgr_Push(ITfDocumentMgr* This,ITfContext *pic) { |
| return This->lpVtbl->Push(This,pic); |
| } |
| static FORCEINLINE HRESULT ITfDocumentMgr_Pop(ITfDocumentMgr* This,DWORD dwFlags) { |
| return This->lpVtbl->Pop(This,dwFlags); |
| } |
| static FORCEINLINE HRESULT ITfDocumentMgr_GetTop(ITfDocumentMgr* This,ITfContext **ppic) { |
| return This->lpVtbl->GetTop(This,ppic); |
| } |
| static FORCEINLINE HRESULT ITfDocumentMgr_GetBase(ITfDocumentMgr* This,ITfContext **ppic) { |
| return This->lpVtbl->GetBase(This,ppic); |
| } |
| static FORCEINLINE HRESULT ITfDocumentMgr_EnumContexts(ITfDocumentMgr* This,IEnumTfContexts **ppEnum) { |
| return This->lpVtbl->EnumContexts(This,ppEnum); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfDocumentMgr_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * ITfContextView interface |
| */ |
| #ifndef __ITfContextView_INTERFACE_DEFINED__ |
| #define __ITfContextView_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ITfContextView, 0x2433bf8e, 0x0f9b, 0x435c, 0xba,0x2c, 0x18,0x06,0x11,0x97,0x8c,0x30); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("2433bf8e-0f9b-435c-ba2c-180611978c30") |
| ITfContextView : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetRangeFromPoint( |
| TfEditCookie cookie, |
| const POINT *pt, |
| DWORD flags, |
| ITfRange **range) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetTextExt( |
| TfEditCookie cookie, |
| ITfRange *range, |
| RECT *rect, |
| WINBOOL *clipped) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetScreenExt( |
| RECT *rect) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetWnd( |
| HWND *hwnd) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfContextView, 0x2433bf8e, 0x0f9b, 0x435c, 0xba,0x2c, 0x18,0x06,0x11,0x97,0x8c,0x30) |
| #endif |
| #else |
| typedef struct ITfContextViewVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfContextView *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfContextView *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfContextView *This); |
| |
| /*** ITfContextView methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetRangeFromPoint)( |
| ITfContextView *This, |
| TfEditCookie cookie, |
| const POINT *pt, |
| DWORD flags, |
| ITfRange **range); |
| |
| HRESULT (STDMETHODCALLTYPE *GetTextExt)( |
| ITfContextView *This, |
| TfEditCookie cookie, |
| ITfRange *range, |
| RECT *rect, |
| WINBOOL *clipped); |
| |
| HRESULT (STDMETHODCALLTYPE *GetScreenExt)( |
| ITfContextView *This, |
| RECT *rect); |
| |
| HRESULT (STDMETHODCALLTYPE *GetWnd)( |
| ITfContextView *This, |
| HWND *hwnd); |
| |
| END_INTERFACE |
| } ITfContextViewVtbl; |
| |
| interface ITfContextView { |
| CONST_VTBL ITfContextViewVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #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) |
| /*** ITfContextView methods ***/ |
| #define ITfContextView_GetRangeFromPoint(This,cookie,pt,flags,range) (This)->lpVtbl->GetRangeFromPoint(This,cookie,pt,flags,range) |
| #define ITfContextView_GetTextExt(This,cookie,range,rect,clipped) (This)->lpVtbl->GetTextExt(This,cookie,range,rect,clipped) |
| #define ITfContextView_GetScreenExt(This,rect) (This)->lpVtbl->GetScreenExt(This,rect) |
| #define ITfContextView_GetWnd(This,hwnd) (This)->lpVtbl->GetWnd(This,hwnd) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfContextView_QueryInterface(ITfContextView* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfContextView_AddRef(ITfContextView* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfContextView_Release(ITfContextView* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfContextView methods ***/ |
| static FORCEINLINE HRESULT ITfContextView_GetRangeFromPoint(ITfContextView* This,TfEditCookie cookie,const POINT *pt,DWORD flags,ITfRange **range) { |
| return This->lpVtbl->GetRangeFromPoint(This,cookie,pt,flags,range); |
| } |
| static FORCEINLINE HRESULT ITfContextView_GetTextExt(ITfContextView* This,TfEditCookie cookie,ITfRange *range,RECT *rect,WINBOOL *clipped) { |
| return This->lpVtbl->GetTextExt(This,cookie,range,rect,clipped); |
| } |
| static FORCEINLINE HRESULT ITfContextView_GetScreenExt(ITfContextView* This,RECT *rect) { |
| return This->lpVtbl->GetScreenExt(This,rect); |
| } |
| static FORCEINLINE HRESULT ITfContextView_GetWnd(ITfContextView* This,HWND *hwnd) { |
| return This->lpVtbl->GetWnd(This,hwnd); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfContextView_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IEnumTfContextViews interface |
| */ |
| #ifndef __IEnumTfContextViews_INTERFACE_DEFINED__ |
| #define __IEnumTfContextViews_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IEnumTfContextViews, 0xf0c0f8dd, 0xcf38, 0x44e1, 0xbb,0x0f, 0x68,0xcf,0x0d,0x55,0x1c,0x78); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("f0c0f8dd-cf38-44e1-bb0f-68cf0d551c78") |
| IEnumTfContextViews : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Clone( |
| IEnumTfContextViews **ret) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Next( |
| ULONG count, |
| ITfContextView **views, |
| ULONG *fetched) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Reset( |
| ) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Skip( |
| ULONG count) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IEnumTfContextViews, 0xf0c0f8dd, 0xcf38, 0x44e1, 0xbb,0x0f, 0x68,0xcf,0x0d,0x55,0x1c,0x78) |
| #endif |
| #else |
| typedef struct IEnumTfContextViewsVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IEnumTfContextViews *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IEnumTfContextViews *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IEnumTfContextViews *This); |
| |
| /*** IEnumTfContextViews methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Clone)( |
| IEnumTfContextViews *This, |
| IEnumTfContextViews **ret); |
| |
| HRESULT (STDMETHODCALLTYPE *Next)( |
| IEnumTfContextViews *This, |
| ULONG count, |
| ITfContextView **views, |
| ULONG *fetched); |
| |
| HRESULT (STDMETHODCALLTYPE *Reset)( |
| IEnumTfContextViews *This); |
| |
| HRESULT (STDMETHODCALLTYPE *Skip)( |
| IEnumTfContextViews *This, |
| ULONG count); |
| |
| END_INTERFACE |
| } IEnumTfContextViewsVtbl; |
| |
| interface IEnumTfContextViews { |
| CONST_VTBL IEnumTfContextViewsVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #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) |
| /*** IEnumTfContextViews methods ***/ |
| #define IEnumTfContextViews_Clone(This,ret) (This)->lpVtbl->Clone(This,ret) |
| #define IEnumTfContextViews_Next(This,count,views,fetched) (This)->lpVtbl->Next(This,count,views,fetched) |
| #define IEnumTfContextViews_Reset(This) (This)->lpVtbl->Reset(This) |
| #define IEnumTfContextViews_Skip(This,count) (This)->lpVtbl->Skip(This,count) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IEnumTfContextViews_QueryInterface(IEnumTfContextViews* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IEnumTfContextViews_AddRef(IEnumTfContextViews* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IEnumTfContextViews_Release(IEnumTfContextViews* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IEnumTfContextViews methods ***/ |
| static FORCEINLINE HRESULT IEnumTfContextViews_Clone(IEnumTfContextViews* This,IEnumTfContextViews **ret) { |
| return This->lpVtbl->Clone(This,ret); |
| } |
| static FORCEINLINE HRESULT IEnumTfContextViews_Next(IEnumTfContextViews* This,ULONG count,ITfContextView **views,ULONG *fetched) { |
| return This->lpVtbl->Next(This,count,views,fetched); |
| } |
| static FORCEINLINE HRESULT IEnumTfContextViews_Reset(IEnumTfContextViews* This) { |
| return This->lpVtbl->Reset(This); |
| } |
| static FORCEINLINE HRESULT IEnumTfContextViews_Skip(IEnumTfContextViews* This,ULONG count) { |
| return This->lpVtbl->Skip(This,count); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IEnumTfContextViews_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IEnumTfProperties interface |
| */ |
| #ifndef __IEnumTfProperties_INTERFACE_DEFINED__ |
| #define __IEnumTfProperties_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IEnumTfProperties, 0x19188cb0, 0xaca9, 0x11d2, 0xaf,0xc5, 0x00,0x10,0x5a,0x27,0x99,0xb5); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("19188cb0-aca9-11d2-afc5-00105a2799b5") |
| IEnumTfProperties : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Clone( |
| IEnumTfProperties **ret) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Next( |
| ULONG count, |
| ITfProperty **props, |
| ULONG *fetched) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Reset( |
| ) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Skip( |
| ULONG count) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IEnumTfProperties, 0x19188cb0, 0xaca9, 0x11d2, 0xaf,0xc5, 0x00,0x10,0x5a,0x27,0x99,0xb5) |
| #endif |
| #else |
| typedef struct IEnumTfPropertiesVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IEnumTfProperties *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IEnumTfProperties *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IEnumTfProperties *This); |
| |
| /*** IEnumTfProperties methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Clone)( |
| IEnumTfProperties *This, |
| IEnumTfProperties **ret); |
| |
| HRESULT (STDMETHODCALLTYPE *Next)( |
| IEnumTfProperties *This, |
| ULONG count, |
| ITfProperty **props, |
| ULONG *fetched); |
| |
| HRESULT (STDMETHODCALLTYPE *Reset)( |
| IEnumTfProperties *This); |
| |
| HRESULT (STDMETHODCALLTYPE *Skip)( |
| IEnumTfProperties *This, |
| ULONG count); |
| |
| END_INTERFACE |
| } IEnumTfPropertiesVtbl; |
| |
| interface IEnumTfProperties { |
| CONST_VTBL IEnumTfPropertiesVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IEnumTfProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IEnumTfProperties_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IEnumTfProperties_Release(This) (This)->lpVtbl->Release(This) |
| /*** IEnumTfProperties methods ***/ |
| #define IEnumTfProperties_Clone(This,ret) (This)->lpVtbl->Clone(This,ret) |
| #define IEnumTfProperties_Next(This,count,props,fetched) (This)->lpVtbl->Next(This,count,props,fetched) |
| #define IEnumTfProperties_Reset(This) (This)->lpVtbl->Reset(This) |
| #define IEnumTfProperties_Skip(This,count) (This)->lpVtbl->Skip(This,count) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IEnumTfProperties_QueryInterface(IEnumTfProperties* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IEnumTfProperties_AddRef(IEnumTfProperties* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IEnumTfProperties_Release(IEnumTfProperties* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IEnumTfProperties methods ***/ |
| static FORCEINLINE HRESULT IEnumTfProperties_Clone(IEnumTfProperties* This,IEnumTfProperties **ret) { |
| return This->lpVtbl->Clone(This,ret); |
| } |
| static FORCEINLINE HRESULT IEnumTfProperties_Next(IEnumTfProperties* This,ULONG count,ITfProperty **props,ULONG *fetched) { |
| return This->lpVtbl->Next(This,count,props,fetched); |
| } |
| static FORCEINLINE HRESULT IEnumTfProperties_Reset(IEnumTfProperties* This) { |
| return This->lpVtbl->Reset(This); |
| } |
| static FORCEINLINE HRESULT IEnumTfProperties_Skip(IEnumTfProperties* This,ULONG count) { |
| return This->lpVtbl->Skip(This,count); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IEnumTfProperties_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * ITfRangeBackup interface |
| */ |
| #ifndef __ITfRangeBackup_INTERFACE_DEFINED__ |
| #define __ITfRangeBackup_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ITfRangeBackup, 0x463a506d, 0x6992, 0x49d2, 0x9b,0x88, 0x93,0xd5,0x5e,0x70,0xbb,0x16); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("463a506d-6992-49d2-9b88-93d55e70bb16") |
| ITfRangeBackup : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Restore( |
| TfEditCookie cookie, |
| ITfRange *range) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfRangeBackup, 0x463a506d, 0x6992, 0x49d2, 0x9b,0x88, 0x93,0xd5,0x5e,0x70,0xbb,0x16) |
| #endif |
| #else |
| typedef struct ITfRangeBackupVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfRangeBackup *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfRangeBackup *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfRangeBackup *This); |
| |
| /*** ITfRangeBackup methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Restore)( |
| ITfRangeBackup *This, |
| TfEditCookie cookie, |
| ITfRange *range); |
| |
| END_INTERFACE |
| } ITfRangeBackupVtbl; |
| |
| interface ITfRangeBackup { |
| CONST_VTBL ITfRangeBackupVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define ITfRangeBackup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define ITfRangeBackup_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define ITfRangeBackup_Release(This) (This)->lpVtbl->Release(This) |
| /*** ITfRangeBackup methods ***/ |
| #define ITfRangeBackup_Restore(This,cookie,range) (This)->lpVtbl->Restore(This,cookie,range) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfRangeBackup_QueryInterface(ITfRangeBackup* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfRangeBackup_AddRef(ITfRangeBackup* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfRangeBackup_Release(ITfRangeBackup* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfRangeBackup methods ***/ |
| static FORCEINLINE HRESULT ITfRangeBackup_Restore(ITfRangeBackup* This,TfEditCookie cookie,ITfRange *range) { |
| return This->lpVtbl->Restore(This,cookie,range); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfRangeBackup_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * ITextStoreACPServices interface |
| */ |
| #ifndef __ITextStoreACPServices_INTERFACE_DEFINED__ |
| #define __ITextStoreACPServices_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ITextStoreACPServices, 0xaa80e901, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("aa80e901-2021-11d2-93e0-0060b067b86e") |
| ITextStoreACPServices : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Serialize( |
| ITfProperty *prop, |
| ITfRange *range, |
| TF_PERSISTENT_PROPERTY_HEADER_ACP *header, |
| IStream *stream) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Unserialize( |
| ITfProperty *prop, |
| const TF_PERSISTENT_PROPERTY_HEADER_ACP *header, |
| IStream *stream, |
| ITfPersistentPropertyLoaderACP *loader) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE ForceLoadProperty( |
| ITfProperty *prop) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE CreateRange( |
| LONG start, |
| LONG end, |
| ITfRangeACP **range) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITextStoreACPServices, 0xaa80e901, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) |
| #endif |
| #else |
| typedef struct ITextStoreACPServicesVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITextStoreACPServices *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITextStoreACPServices *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITextStoreACPServices *This); |
| |
| /*** ITextStoreACPServices methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Serialize)( |
| ITextStoreACPServices *This, |
| ITfProperty *prop, |
| ITfRange *range, |
| TF_PERSISTENT_PROPERTY_HEADER_ACP *header, |
| IStream *stream); |
| |
| HRESULT (STDMETHODCALLTYPE *Unserialize)( |
| ITextStoreACPServices *This, |
| ITfProperty *prop, |
| const TF_PERSISTENT_PROPERTY_HEADER_ACP *header, |
| IStream *stream, |
| ITfPersistentPropertyLoaderACP *loader); |
| |
| HRESULT (STDMETHODCALLTYPE *ForceLoadProperty)( |
| ITextStoreACPServices *This, |
| ITfProperty *prop); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateRange)( |
| ITextStoreACPServices *This, |
| LONG start, |
| LONG end, |
| ITfRangeACP **range); |
| |
| END_INTERFACE |
| } ITextStoreACPServicesVtbl; |
| |
| interface ITextStoreACPServices { |
| CONST_VTBL ITextStoreACPServicesVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define ITextStoreACPServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define ITextStoreACPServices_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define ITextStoreACPServices_Release(This) (This)->lpVtbl->Release(This) |
| /*** ITextStoreACPServices methods ***/ |
| #define ITextStoreACPServices_Serialize(This,prop,range,header,stream) (This)->lpVtbl->Serialize(This,prop,range,header,stream) |
| #define ITextStoreACPServices_Unserialize(This,prop,header,stream,loader) (This)->lpVtbl->Unserialize(This,prop,header,stream,loader) |
| #define ITextStoreACPServices_ForceLoadProperty(This,prop) (This)->lpVtbl->ForceLoadProperty(This,prop) |
| #define ITextStoreACPServices_CreateRange(This,start,end,range) (This)->lpVtbl->CreateRange(This,start,end,range) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITextStoreACPServices_QueryInterface(ITextStoreACPServices* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITextStoreACPServices_AddRef(ITextStoreACPServices* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITextStoreACPServices_Release(ITextStoreACPServices* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITextStoreACPServices methods ***/ |
| static FORCEINLINE HRESULT ITextStoreACPServices_Serialize(ITextStoreACPServices* This,ITfProperty *prop,ITfRange *range,TF_PERSISTENT_PROPERTY_HEADER_ACP *header,IStream *stream) { |
| return This->lpVtbl->Serialize(This,prop,range,header,stream); |
| } |
| static FORCEINLINE HRESULT ITextStoreACPServices_Unserialize(ITextStoreACPServices* This,ITfProperty *prop,const TF_PERSISTENT_PROPERTY_HEADER_ACP *header,IStream *stream,ITfPersistentPropertyLoaderACP *loader) { |
| return This->lpVtbl->Unserialize(This,prop,header,stream,loader); |
| } |
| static FORCEINLINE HRESULT ITextStoreACPServices_ForceLoadProperty(ITextStoreACPServices* This,ITfProperty *prop) { |
| return This->lpVtbl->ForceLoadProperty(This,prop); |
| } |
| static FORCEINLINE HRESULT ITextStoreACPServices_CreateRange(ITextStoreACPServices* This,LONG start,LONG end,ITfRangeACP **range) { |
| return This->lpVtbl->CreateRange(This,start,end,range); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITextStoreACPServices_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * ITfContext interface |
| */ |
| #ifndef __ITfContext_INTERFACE_DEFINED__ |
| #define __ITfContext_INTERFACE_DEFINED__ |
| |
| #define TF_ES_ASYNCDONTCARE (0x0) |
| |
| #define TF_ES_SYNC (0x1) |
| |
| #define TF_ES_READ (0x2) |
| |
| #define TF_ES_READWRITE (0x6) |
| |
| #define TF_ES_ASYNC (0x8) |
| |
| typedef enum __WIDL_msctf_generated_name_00000013 { |
| TF_AE_NONE = 0, |
| TF_AE_START = 1, |
| TF_AE_END = 2 |
| } TfActiveSelEnd; |
| typedef struct TF_SELECTIONSTYLE { |
| TfActiveSelEnd ase; |
| WINBOOL fInterimChar; |
| } TF_SELECTIONSTYLE; |
| typedef struct TF_SELECTION { |
| ITfRange *range; |
| TF_SELECTIONSTYLE style; |
| } TF_SELECTION; |
| #define TF_DEFAULT_SELECTION (TS_DEFAULT_SELECTION) |
| |
| typedef TS_STATUS TF_STATUS; |
| #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) |
| |
| DEFINE_GUID(IID_ITfContext, 0xaa80e7fd, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("aa80e7fd-2021-11d2-93e0-0060b067b86e") |
| ITfContext : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE RequestEditSession( |
| TfClientId tid, |
| ITfEditSession *pes, |
| DWORD dwFlags, |
| HRESULT *phrSession) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE InWriteSession( |
| TfClientId tid, |
| WINBOOL *pfWriteSession) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetSelection( |
| TfEditCookie ec, |
| ULONG ulIndex, |
| ULONG ulCount, |
| TF_SELECTION *pSelection, |
| ULONG *pcFetched) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetSelection( |
| TfEditCookie ec, |
| ULONG ulCount, |
| const TF_SELECTION *pSelection) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetStart( |
| TfEditCookie ec, |
| ITfRange **ppStart) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetEnd( |
| TfEditCookie ec, |
| ITfRange **ppEnd) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetActiveView( |
| ITfContextView **ppView) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE EnumViews( |
| IEnumTfContextViews **ppEnum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetStatus( |
| TF_STATUS *pdcs) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetProperty( |
| REFGUID guidProp, |
| ITfProperty **ppProp) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetAppProperty( |
| REFGUID guidProp, |
| ITfReadOnlyProperty **ppProp) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE TrackProperties( |
| const GUID **prgProp, |
| ULONG cProp, |
| const GUID **prgAppProp, |
| ULONG cAppProp, |
| ITfReadOnlyProperty **ppProperty) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE EnumProperties( |
| IEnumTfProperties **ppEnum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetDocumentMgr( |
| ITfDocumentMgr **ppDm) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE CreateRangeBackup( |
| TfEditCookie ec, |
| ITfRange *pRange, |
| ITfRangeBackup **ppBackup) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfContext, 0xaa80e7fd, 0x2021, 0x11d2, 0x93,0xe0, 0x00,0x60,0xb0,0x67,0xb8,0x6e) |
| #endif |
| #else |
| typedef struct ITfContextVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfContext *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfContext *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfContext *This); |
| |
| /*** ITfContext methods ***/ |
| HRESULT (STDMETHODCALLTYPE *RequestEditSession)( |
| ITfContext *This, |
| TfClientId tid, |
| ITfEditSession *pes, |
| DWORD dwFlags, |
| HRESULT *phrSession); |
| |
| HRESULT (STDMETHODCALLTYPE *InWriteSession)( |
| ITfContext *This, |
| TfClientId tid, |
| WINBOOL *pfWriteSession); |
| |
| HRESULT (STDMETHODCALLTYPE *GetSelection)( |
| ITfContext *This, |
| TfEditCookie ec, |
| ULONG ulIndex, |
| ULONG ulCount, |
| TF_SELECTION *pSelection, |
| ULONG *pcFetched); |
| |
| HRESULT (STDMETHODCALLTYPE *SetSelection)( |
| ITfContext *This, |
| TfEditCookie ec, |
| ULONG ulCount, |
| const TF_SELECTION *pSelection); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStart)( |
| ITfContext *This, |
| TfEditCookie ec, |
| ITfRange **ppStart); |
| |
| HRESULT (STDMETHODCALLTYPE *GetEnd)( |
| ITfContext *This, |
| TfEditCookie ec, |
| ITfRange **ppEnd); |
| |
| HRESULT (STDMETHODCALLTYPE *GetActiveView)( |
| ITfContext *This, |
| ITfContextView **ppView); |
| |
| HRESULT (STDMETHODCALLTYPE *EnumViews)( |
| ITfContext *This, |
| IEnumTfContextViews **ppEnum); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStatus)( |
| ITfContext *This, |
| TF_STATUS *pdcs); |
| |
| HRESULT (STDMETHODCALLTYPE *GetProperty)( |
| ITfContext *This, |
| REFGUID guidProp, |
| ITfProperty **ppProp); |
| |
| HRESULT (STDMETHODCALLTYPE *GetAppProperty)( |
| ITfContext *This, |
| REFGUID guidProp, |
| ITfReadOnlyProperty **ppProp); |
| |
| HRESULT (STDMETHODCALLTYPE *TrackProperties)( |
| ITfContext *This, |
| const GUID **prgProp, |
| ULONG cProp, |
| const GUID **prgAppProp, |
| ULONG cAppProp, |
| ITfReadOnlyProperty **ppProperty); |
| |
| HRESULT (STDMETHODCALLTYPE *EnumProperties)( |
| ITfContext *This, |
| IEnumTfProperties **ppEnum); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDocumentMgr)( |
| ITfContext *This, |
| ITfDocumentMgr **ppDm); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateRangeBackup)( |
| ITfContext *This, |
| TfEditCookie ec, |
| ITfRange *pRange, |
| ITfRangeBackup **ppBackup); |
| |
| END_INTERFACE |
| } ITfContextVtbl; |
| |
| interface ITfContext { |
| CONST_VTBL ITfContextVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #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) |
| /*** ITfContext methods ***/ |
| #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) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfContext_QueryInterface(ITfContext* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfContext_AddRef(ITfContext* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfContext_Release(ITfContext* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfContext methods ***/ |
| static FORCEINLINE HRESULT ITfContext_RequestEditSession(ITfContext* This,TfClientId tid,ITfEditSession *pes,DWORD dwFlags,HRESULT *phrSession) { |
| return This->lpVtbl->RequestEditSession(This,tid,pes,dwFlags,phrSession); |
| } |
| static FORCEINLINE HRESULT ITfContext_InWriteSession(ITfContext* This,TfClientId tid,WINBOOL *pfWriteSession) { |
| return This->lpVtbl->InWriteSession(This,tid,pfWriteSession); |
| } |
| static FORCEINLINE HRESULT ITfContext_GetSelection(ITfContext* This,TfEditCookie ec,ULONG ulIndex,ULONG ulCount,TF_SELECTION *pSelection,ULONG *pcFetched) { |
| return This->lpVtbl->GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched); |
| } |
| static FORCEINLINE HRESULT ITfContext_SetSelection(ITfContext* This,TfEditCookie ec,ULONG ulCount,const TF_SELECTION *pSelection) { |
| return This->lpVtbl->SetSelection(This,ec,ulCount,pSelection); |
| } |
| static FORCEINLINE HRESULT ITfContext_GetStart(ITfContext* This,TfEditCookie ec,ITfRange **ppStart) { |
| return This->lpVtbl->GetStart(This,ec,ppStart); |
| } |
| static FORCEINLINE HRESULT ITfContext_GetEnd(ITfContext* This,TfEditCookie ec,ITfRange **ppEnd) { |
| return This->lpVtbl->GetEnd(This,ec,ppEnd); |
| } |
| static FORCEINLINE HRESULT ITfContext_GetActiveView(ITfContext* This,ITfContextView **ppView) { |
| return This->lpVtbl->GetActiveView(This,ppView); |
| } |
| static FORCEINLINE HRESULT ITfContext_EnumViews(ITfContext* This,IEnumTfContextViews **ppEnum) { |
| return This->lpVtbl->EnumViews(This,ppEnum); |
| } |
| static FORCEINLINE HRESULT ITfContext_GetStatus(ITfContext* This,TF_STATUS *pdcs) { |
| return This->lpVtbl->GetStatus(This,pdcs); |
| } |
| static FORCEINLINE HRESULT ITfContext_GetProperty(ITfContext* This,REFGUID guidProp,ITfProperty **ppProp) { |
| return This->lpVtbl->GetProperty(This,guidProp,ppProp); |
| } |
| static FORCEINLINE HRESULT ITfContext_GetAppProperty(ITfContext* This,REFGUID guidProp,ITfReadOnlyProperty **ppProp) { |
| return This->lpVtbl->GetAppProperty(This,guidProp,ppProp); |
| } |
| static FORCEINLINE HRESULT ITfContext_TrackProperties(ITfContext* This,const GUID **prgProp,ULONG cProp,const GUID **prgAppProp,ULONG cAppProp,ITfReadOnlyProperty **ppProperty) { |
| return This->lpVtbl->TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty); |
| } |
| static FORCEINLINE HRESULT ITfContext_EnumProperties(ITfContext* This,IEnumTfProperties **ppEnum) { |
| return This->lpVtbl->EnumProperties(This,ppEnum); |
| } |
| static FORCEINLINE HRESULT ITfContext_GetDocumentMgr(ITfContext* This,ITfDocumentMgr **ppDm) { |
| return This->lpVtbl->GetDocumentMgr(This,ppDm); |
| } |
| static FORCEINLINE HRESULT ITfContext_CreateRangeBackup(ITfContext* This,TfEditCookie ec,ITfRange *pRange,ITfRangeBackup **ppBackup) { |
| return This->lpVtbl->CreateRangeBackup(This,ec,pRange,ppBackup); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfContext_INTERFACE_DEFINED__ */ |
| |
| #define TF_INVALID_COOKIE (0xffffffff) |
| |
| /***************************************************************************** |
| * ITfSource interface |
| */ |
| #ifndef __ITfSource_INTERFACE_DEFINED__ |
| #define __ITfSource_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ITfSource, 0x4ea48a35, 0x60ae, 0x446f, 0x8f,0xd6, 0xe6,0xa8,0xd8,0x24,0x59,0xf7); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("4ea48a35-60ae-446f-8fd6-e6a8d82459f7") |
| ITfSource : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE AdviseSink( |
| REFIID riid, |
| IUnknown *punk, |
| DWORD *pdwCookie) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE UnadviseSink( |
| DWORD dwCookie) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfSource, 0x4ea48a35, 0x60ae, 0x446f, 0x8f,0xd6, 0xe6,0xa8,0xd8,0x24,0x59,0xf7) |
| #endif |
| #else |
| typedef struct ITfSourceVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfSource *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfSource *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfSource *This); |
| |
| /*** ITfSource methods ***/ |
| HRESULT (STDMETHODCALLTYPE *AdviseSink)( |
| ITfSource *This, |
| REFIID riid, |
| IUnknown *punk, |
| DWORD *pdwCookie); |
| |
| HRESULT (STDMETHODCALLTYPE *UnadviseSink)( |
| ITfSource *This, |
| DWORD dwCookie); |
| |
| END_INTERFACE |
| } ITfSourceVtbl; |
| |
| interface ITfSource { |
| CONST_VTBL ITfSourceVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define ITfSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define ITfSource_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define ITfSource_Release(This) (This)->lpVtbl->Release(This) |
| /*** ITfSource methods ***/ |
| #define ITfSource_AdviseSink(This,riid,punk,pdwCookie) (This)->lpVtbl->AdviseSink(This,riid,punk,pdwCookie) |
| #define ITfSource_UnadviseSink(This,dwCookie) (This)->lpVtbl->UnadviseSink(This,dwCookie) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfSource_QueryInterface(ITfSource* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfSource_AddRef(ITfSource* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfSource_Release(ITfSource* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfSource methods ***/ |
| static FORCEINLINE HRESULT ITfSource_AdviseSink(ITfSource* This,REFIID riid,IUnknown *punk,DWORD *pdwCookie) { |
| return This->lpVtbl->AdviseSink(This,riid,punk,pdwCookie); |
| } |
| static FORCEINLINE HRESULT ITfSource_UnadviseSink(ITfSource* This,DWORD dwCookie) { |
| return This->lpVtbl->UnadviseSink(This,dwCookie); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfSource_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * ITfInputProcessorProfiles interface |
| */ |
| #ifndef __ITfInputProcessorProfiles_INTERFACE_DEFINED__ |
| #define __ITfInputProcessorProfiles_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ITfInputProcessorProfiles, 0x1f02b6c5, 0x7842, 0x4ee6, 0x8a,0x0b, 0x9a,0x24,0x18,0x3a,0x95,0xca); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("1f02b6c5-7842-4ee6-8a0b-9a24183a95ca") |
| ITfInputProcessorProfiles : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Register( |
| REFCLSID rclsid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Unregister( |
| REFCLSID rclsid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE AddLanguageProfile( |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| const WCHAR *pchDesc, |
| ULONG cchDesc, |
| const WCHAR *pchIconFile, |
| ULONG cchFile, |
| ULONG uIconIndex) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE RemoveLanguageProfile( |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE EnumInputProcessorInfo( |
| IEnumGUID **ppEnum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetDefaultLanguageProfile( |
| LANGID langid, |
| REFGUID catid, |
| CLSID *pclsid, |
| GUID *pguidProfile) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetDefaultLanguageProfile( |
| LANGID langid, |
| REFCLSID rclsid, |
| REFGUID guidProfiles) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE ActivateLanguageProfile( |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfiles) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetActiveLanguageProfile( |
| REFCLSID rclsid, |
| LANGID *plangid, |
| GUID *pguidProfile) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetLanguageProfileDescription( |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| BSTR *pbstrProfile) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetCurrentLanguage( |
| LANGID *plangid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE ChangeCurrentLanguage( |
| LANGID langid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetLanguageList( |
| LANGID **ppLangId, |
| ULONG *pulCount) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE EnumLanguageProfiles( |
| LANGID langid, |
| IEnumTfLanguageProfiles **ppEnum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE EnableLanguageProfile( |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| WINBOOL fEnable) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE IsEnabledLanguageProfile( |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| WINBOOL *pfEnable) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE EnableLanguageProfileByDefault( |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| WINBOOL fEnable) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SubstituteKeyboardLayout( |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| HKL hKL) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ITfInputProcessorProfiles, 0x1f02b6c5, 0x7842, 0x4ee6, 0x8a,0x0b, 0x9a,0x24,0x18,0x3a,0x95,0xca) |
| #endif |
| #else |
| typedef struct ITfInputProcessorProfilesVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ITfInputProcessorProfiles *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ITfInputProcessorProfiles *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ITfInputProcessorProfiles *This); |
| |
| /*** ITfInputProcessorProfiles methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Register)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid); |
| |
| HRESULT (STDMETHODCALLTYPE *Unregister)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid); |
| |
| HRESULT (STDMETHODCALLTYPE *AddLanguageProfile)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| const WCHAR *pchDesc, |
| ULONG cchDesc, |
| const WCHAR *pchIconFile, |
| ULONG cchFile, |
| ULONG uIconIndex); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveLanguageProfile)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *EnumInputProcessorInfo)( |
| ITfInputProcessorProfiles *This, |
| IEnumGUID **ppEnum); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDefaultLanguageProfile)( |
| ITfInputProcessorProfiles *This, |
| LANGID langid, |
| REFGUID catid, |
| CLSID *pclsid, |
| GUID *pguidProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *SetDefaultLanguageProfile)( |
| ITfInputProcessorProfiles *This, |
| LANGID langid, |
| REFCLSID rclsid, |
| REFGUID guidProfiles); |
| |
| HRESULT (STDMETHODCALLTYPE *ActivateLanguageProfile)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfiles); |
| |
| HRESULT (STDMETHODCALLTYPE *GetActiveLanguageProfile)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid, |
| LANGID *plangid, |
| GUID *pguidProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *GetLanguageProfileDescription)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| BSTR *pbstrProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *GetCurrentLanguage)( |
| ITfInputProcessorProfiles *This, |
| LANGID *plangid); |
| |
| HRESULT (STDMETHODCALLTYPE *ChangeCurrentLanguage)( |
| ITfInputProcessorProfiles *This, |
| LANGID langid); |
| |
| HRESULT (STDMETHODCALLTYPE *GetLanguageList)( |
| ITfInputProcessorProfiles *This, |
| LANGID **ppLangId, |
| ULONG *pulCount); |
| |
| HRESULT (STDMETHODCALLTYPE *EnumLanguageProfiles)( |
| ITfInputProcessorProfiles *This, |
| LANGID langid, |
| IEnumTfLanguageProfiles **ppEnum); |
| |
| HRESULT (STDMETHODCALLTYPE *EnableLanguageProfile)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| WINBOOL fEnable); |
| |
| HRESULT (STDMETHODCALLTYPE *IsEnabledLanguageProfile)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| WINBOOL *pfEnable); |
| |
| HRESULT (STDMETHODCALLTYPE *EnableLanguageProfileByDefault)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| WINBOOL fEnable); |
| |
| HRESULT (STDMETHODCALLTYPE *SubstituteKeyboardLayout)( |
| ITfInputProcessorProfiles *This, |
| REFCLSID rclsid, |
| LANGID langid, |
| REFGUID guidProfile, |
| HKL hKL); |
| |
| END_INTERFACE |
| } ITfInputProcessorProfilesVtbl; |
| |
| interface ITfInputProcessorProfiles { |
| CONST_VTBL ITfInputProcessorProfilesVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define ITfInputProcessorProfiles_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define ITfInputProcessorProfiles_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define ITfInputProcessorProfiles_Release(This) (This)->lpVtbl->Release(This) |
| /*** ITfInputProcessorProfiles methods ***/ |
| #define ITfInputProcessorProfiles_Register(This,rclsid) (This)->lpVtbl->Register(This,rclsid) |
| #define ITfInputProcessorProfiles_Unregister(This,rclsid) (This)->lpVtbl->Unregister(This,rclsid) |
| #define ITfInputProcessorProfiles_AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex) (This)->lpVtbl->AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex) |
| #define ITfInputProcessorProfiles_RemoveLanguageProfile(This,rclsid,langid,guidProfile) (This)->lpVtbl->RemoveLanguageProfile(This,rclsid,langid,guidProfile) |
| #define ITfInputProcessorProfiles_EnumInputProcessorInfo(This,ppEnum) (This)->lpVtbl->EnumInputProcessorInfo(This,ppEnum) |
| #define ITfInputProcessorProfiles_GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile) (This)->lpVtbl->GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile) |
| #define ITfInputProcessorProfiles_SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles) (This)->lpVtbl->SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles) |
| #define ITfInputProcessorProfiles_ActivateLanguageProfile(This,rclsid,langid,guidProfiles) (This)->lpVtbl->ActivateLanguageProfile(This,rclsid,langid,guidProfiles) |
| #define ITfInputProcessorProfiles_GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile) (This)->lpVtbl->GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile) |
| #define ITfInputProcessorProfiles_GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile) (This)->lpVtbl->GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile) |
| #define ITfInputProcessorProfiles_GetCurrentLanguage(This,plangid) (This)->lpVtbl->GetCurrentLanguage(This,plangid) |
| #define ITfInputProcessorProfiles_ChangeCurrentLanguage(This,langid) (This)->lpVtbl->ChangeCurrentLanguage(This,langid) |
| #define ITfInputProcessorProfiles_GetLanguageList(This,ppLangId,pulCount) (This)->lpVtbl->GetLanguageList(This,ppLangId,pulCount) |
| #define ITfInputProcessorProfiles_EnumLanguageProfiles(This,langid,ppEnum) (This)->lpVtbl->EnumLanguageProfiles(This,langid,ppEnum) |
| #define ITfInputProcessorProfiles_EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable) (This)->lpVtbl->EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable) |
| #define ITfInputProcessorProfiles_IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable) (This)->lpVtbl->IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable) |
| #define ITfInputProcessorProfiles_EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable) (This)->lpVtbl->EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable) |
| #define ITfInputProcessorProfiles_SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL) (This)->lpVtbl->SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_QueryInterface(ITfInputProcessorProfiles* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ITfInputProcessorProfiles_AddRef(ITfInputProcessorProfiles* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ITfInputProcessorProfiles_Release(ITfInputProcessorProfiles* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ITfInputProcessorProfiles methods ***/ |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_Register(ITfInputProcessorProfiles* This,REFCLSID rclsid) { |
| return This->lpVtbl->Register(This,rclsid); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_Unregister(ITfInputProcessorProfiles* This,REFCLSID rclsid) { |
| return This->lpVtbl->Unregister(This,rclsid); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_AddLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,const WCHAR *pchDesc,ULONG cchDesc,const WCHAR *pchIconFile,ULONG cchFile,ULONG uIconIndex) { |
| return This->lpVtbl->AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_RemoveLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile) { |
| return This->lpVtbl->RemoveLanguageProfile(This,rclsid,langid,guidProfile); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_EnumInputProcessorInfo(ITfInputProcessorProfiles* This,IEnumGUID **ppEnum) { |
| return This->lpVtbl->EnumInputProcessorInfo(This,ppEnum); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetDefaultLanguageProfile(ITfInputProcessorProfiles* This,LANGID langid,REFGUID catid,CLSID *pclsid,GUID *pguidProfile) { |
| return This->lpVtbl->GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_SetDefaultLanguageProfile(ITfInputProcessorProfiles* This,LANGID langid,REFCLSID rclsid,REFGUID guidProfiles) { |
| return This->lpVtbl->SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_ActivateLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfiles) { |
| return This->lpVtbl->ActivateLanguageProfile(This,rclsid,langid,guidProfiles); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetActiveLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID *plangid,GUID *pguidProfile) { |
| return This->lpVtbl->GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetLanguageProfileDescription(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,BSTR *pbstrProfile) { |
| return This->lpVtbl->GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetCurrentLanguage(ITfInputProcessorProfiles* This,LANGID *plangid) { |
| return This->lpVtbl->GetCurrentLanguage(This,plangid); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_ChangeCurrentLanguage(ITfInputProcessorProfiles* This,LANGID langid) { |
| return This->lpVtbl->ChangeCurrentLanguage(This,langid); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_GetLanguageList(ITfInputProcessorProfiles* This,LANGID **ppLangId,ULONG *pulCount) { |
| return This->lpVtbl->GetLanguageList(This,ppLangId,pulCount); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_EnumLanguageProfiles(ITfInputProcessorProfiles* This,LANGID langid,IEnumTfLanguageProfiles **ppEnum) { |
| return This->lpVtbl->EnumLanguageProfiles(This,langid,ppEnum); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_EnableLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,WINBOOL fEnable) { |
| return This->lpVtbl->EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_IsEnabledLanguageProfile(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,WINBOOL *pfEnable) { |
| return This->lpVtbl->IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_EnableLanguageProfileByDefault(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,WINBOOL fEnable) { |
| return This->lpVtbl->EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable); |
| } |
| static FORCEINLINE HRESULT ITfInputProcessorProfiles_SubstituteKeyboardLayout(ITfInputProcessorProfiles* This,REFCLSID rclsid,LANGID langid,REFGUID guidProfile,HKL hKL) { |
| return This->lpVtbl->SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __ITfInputProcessorProfiles_INTERFACE_DEFINED__ */ |
| |
| typedef struct TF_INPUTPROCESSORPROFILE { |
| DWORD dwProfileType; |
| LANGID langid; |
| CLSID clsid; |
| GUID guidProfile; |
| GUID catid; |
| HKL hklSubstitute; |
| DWORD dwCaps; |
| HKL hkl; |
| DWORD dwFlags; |
| } TF_INPUTPROCESSORPROFILE; |
| /***************************************************************************** |
| * IEnumTfInputProcessorProfiles interface |
| */ |
| #ifndef __IEnumTfInputProcessorProfiles_INTERFACE_DEFINED__ |
| #define __IEnumTfInputProcessorProfiles_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IEnumTfInputProcessorProfiles, 0x71c6e74d, 0x0f28, 0x11d8, 0xa8,0x2a, 0x00,0x06,0x5b,0x84,0x43,0x5c); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("71c6e74d-0f28-11d8-a82a-00065b84435c") |
| IEnumTfInputProcessorProfiles : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Clone( |
| IEnumTfInputProcessorProfiles **ppEnum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Next( |
| ULONG ulCount, |
| TF_INPUTPROCESSORPROFILE *pProfile, |
| ULONG *pcFetch) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Reset( |
| ) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Skip( |
| ULONG ulCount) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IEnumTfInputProcessorProfiles, 0x71c6e74d, 0x0f28, 0x11d8, 0xa8,0x2a, 0x00,0x06,0x5b,0x84,0x43,0x5c) |
| #endif |
| #else |
| typedef struct IEnumTfInputProcessorProfilesVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IEnumTfInputProcessorProfiles *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IEnumTfInputProcessorProfiles *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IEnumTfInputProcessorProfiles *This); |
| |
| /*** IEnumTfInputProcessorProfiles methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Clone)( |
| IEnumTfInputProcessorProfiles *This, |
| IEnumTfInputProcessorProfiles **ppEnum); |
| |
| HRESULT (STDMETHODCALLTYPE *Next)( |
| IEnumTfInputProcessorProfiles *This, |
| ULONG ulCount, |
| TF_INPUTPROCESSORPROFILE *pProfile, |
| ULONG *pcFetch); |
| |
| HRESULT (STDMETHODCALLTYPE *Reset)( |
| IEnumTfInputProcessorProfiles *This); |
| |
| HRESULT (STDMETHODCALLTYPE *Skip)( |
| IEnumTfInputProcessorProfiles *This, |
| ULONG ulCount); |
| |
| END_INTERFACE |
| } IEnumTfInputProcessorProfilesVtbl; |
| |
| interface IEnumTfInputProcessorProfiles { |
| CONST_VTBL IEnumTfInputProcessorProfilesVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IEnumTfInputProcessorProfiles_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IEnumTfInputProcessorProfiles_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IEnumTfInputProcessorProfiles_Release(This) (This)->lpVtbl->Release(This) |
| /*** IEnumTfInputProcessorProfiles methods ***/ |
| #define IEnumTfInputProcessorProfiles_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) |
| #define IEnumTfInputProcessorProfiles_Next(This,ulCount,pProfile,pcFetch) (This)->lpVtbl->Next(This,ulCount,pProfile,pcFetch) |
| #define IEnumTfInputProcessorProfiles_Reset(This) (This)->lpVtbl->Reset(This) |
| #define IEnumTfInputProcessorProfiles_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IEnumTfInputProcessorProfiles_QueryInterface(IEnumTfInputProcessorProfiles* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IEnumTfInputProcessorProfiles_AddRef(IEnumTfInputProcessorProfiles* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IEnumTfInputProcessorProfiles_Release(IEnumTfInputProcessorProfiles* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IEnumTfInputProcessorProfiles methods ***/ |
| static FORCEINLINE HRESULT IEnumTfInputProcessorProfiles_Clone |