ReactOS 0.4.15-dev-6675-gcbc63d8
msctf.idl File Reference

Go to the source code of this file.

Classes

struct  TF_PERSISTENT_PROPERTY_HEADER_ACP
 
struct  TF_LANGUAGEPROFILE
 
struct  TF_PRESERVEDKEY
 
interface  ITfFunctionProvider
 
interface  IEnumTfFunctionProviders
 
interface  ITfThreadMgr
 
interface  ITfThreadMgrEx
 
interface  ITfCompositionView
 
interface  ITfDocumentMgr
 
interface  ITfContextView
 
interface  IEnumTfContextViews
 
interface  IEnumTfProperties
 
interface  ITfRangeBackup
 
interface  ITextStoreACPServices
 
interface  ITfContext
 
struct  ITfContext::TF_SELECTIONSTYLE
 
struct  ITfContext::TF_SELECTION
 
interface  ITfSource
 
interface  uuid
 
interface  IEnumTfInputProcessorProfiles
 
struct  TF_DA_COLOR
 
struct  TF_DISPLAYATTRIBUTE
 
interface  ITfDisplayAttributeInfo
 
interface  IEnumTfDisplayAttributeInfo
 
interface  ITfDisplayAttributeMgr
 
interface  ITfCategoryMgr
 
interface  IEnumTfRanges
 
interface  ITfEditRecord
 
interface  ITfTextEditSink
 
interface  ITfContextOwnerCompositionSink
 
interface  ITfActiveLanguageProfileNotifySink
 
interface  IEnumTfLanguageProfiles
 
interface  ITfTextInputProcessor
 
interface  ITfThreadMgrEventSink
 
interface  ITfKeystrokeMgr
 
interface  ITfKeyEventSink
 
interface  ITfKeyTraceEventSink
 
interface  ITfUIElementSink
 
interface  ITfMessagePump
 
interface  ITfClientId
 
interface  ITfLanguageProfileNotifySink
 
interface  ITfEditSession
 
interface  ITfRange
 
struct  ITfRange::TF_HALTCOND
 
interface  ITfRangeACP
 
interface  ITfInsertAtSelection
 
interface  ITfPropertyStore
 
interface  IEnumITfCompositionView
 
interface  ITfComposition
 
interface  ITfCompositionSink
 
interface  ITfContextComposition
 
interface  ITfContextOwnerCompositionServices
 
interface  ITfPersistentPropertyLoaderACP
 
interface  ITfContextOwnerServices
 
interface  ITfReadOnlyProperty
 
interface  ITfProperty
 
interface  ITfCompartment
 
interface  ITfCompartmentMgr
 
interface  ITfCompartmentEventSink
 
interface  IEnumTfContexts
 
interface  IEnumTfDocumentMgrs
 
interface  ITfUIElement
 
interface  IEnumTfUIElements
 
interface  ITfUIElementMgr
 
interface  ITfSourceSingle
 
interface  ITfThreadFocusSink
 
interface  ITfInputProcessorProfileActivationSink
 
interface  ITfMouseSink
 
interface  ITfMouseTracker
 
interface  ITfMouseTrackerACP
 
interface  ITfTransitoryExtensionSink
 

Typedefs

typedef DWORD TfEditCookie
 
typedef DWORD TfClientId
 
typedef DWORD TfGuidAtom
 
typedef UINT_PTR HKL
 
typedef struct TF_PERSISTENT_PROPERTY_HEADER_ACP TF_PERSISTENT_PROPERTY_HEADER_ACP
 
typedef struct TF_LANGUAGEPROFILE TF_LANGUAGEPROFILE
 
typedef struct TF_PRESERVEDKEY TF_PRESERVEDKEY
 
typedef uuid TF_LS_SOLID = 1
 
typedef uuid TF_LS_DOT = 2
 
typedef uuid TF_LS_DASH = 3
 
typedef uuid TF_LS_SQUIGGLE
 
typedef struct TF_DA_COLOR TF_DA_COLOR
 
typedef struct TF_DISPLAYATTRIBUTE TF_DISPLAYATTRIBUTE
 

Enumerations

enum  TfAnchor { TF_ANCHOR_START = 0 , TF_ANCHOR_END = 1 }
 
enum  TF_DA_COLORTYPE { TF_CT_NONE = 0 , TF_CT_SYSCOLOR = 1 , TF_CT_COLORREF = 2 }
 
enum  TF_DA_ATTR_INFO {
  TF_ATTR_INPUT = 0 , TF_ATTR_TARGET_CONVERTED = 1 , TF_ATTR_CONVERTED = 2 , TF_ATTR_TARGET_NOTCONVERTED = 3 ,
  TF_ATTR_INPUT_ERROR = 4 , TF_ATTR_FIXEDCONVERTED = 5 , TF_ATTR_OTHER = -1
}
 

Functions

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)
 
 DEFINE_GUID (GUID_PROP_ATTRIBUTE, 0x34b45670, 0x7526, 0x11d2, 0xa1, 0x47, 0x00, 0x10, 0x5a, 0x27, 0x99, 0xb5)
 

Variables

EXTERN_C const GUID GUID_PROP_TEXTOWNER
 
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
 
const DWORD TF_INVALID_COOKIE = 0xffffffff
 
LANGID langid
 
CLSID clsid
 
GUID guidProfile
 
GUID catid
 
HKL hklSubstitute
 
DWORD dwCaps
 
HKL hkl
 
DWORD dwFlags
 
 TF_INPUTPROCESSORPROFILE
 

Typedef Documentation

◆ HKL

typedef UINT_PTR HKL

Definition at line 104 of file msctf.idl.

◆ TF_DA_COLOR

◆ TF_DISPLAYATTRIBUTE

◆ TF_LANGUAGEPROFILE

◆ TF_LS_DASH

typedef uuid TF_LS_DASH = 3

◆ TF_LS_DOT

typedef uuid TF_LS_DOT = 2

◆ TF_LS_SOLID

typedef uuid TF_LS_SOLID = 1

◆ TF_LS_SQUIGGLE

Initial value:
= 4
} TF_DA_LINESTYLE

◆ TF_PERSISTENT_PROPERTY_HEADER_ACP

◆ TF_PRESERVEDKEY

◆ TfClientId

typedef DWORD TfClientId

Definition at line 68 of file msctf.idl.

◆ TfEditCookie

Definition at line 67 of file msctf.idl.

◆ TfGuidAtom

typedef DWORD TfGuidAtom

Definition at line 69 of file msctf.idl.

Enumeration Type Documentation

◆ TF_DA_ATTR_INFO

Enumerator
TF_ATTR_INPUT 
TF_ATTR_TARGET_CONVERTED 
TF_ATTR_CONVERTED 
TF_ATTR_TARGET_NOTCONVERTED 
TF_ATTR_INPUT_ERROR 
TF_ATTR_FIXEDCONVERTED 
TF_ATTR_OTHER 

Definition at line 727 of file msctf.idl.

728 {
729 TF_ATTR_INPUT = 0,
735 TF_ATTR_OTHER = -1
TF_DA_ATTR_INFO
Definition: msctf.idl:728
@ TF_ATTR_INPUT_ERROR
Definition: msctf.idl:733
@ TF_ATTR_CONVERTED
Definition: msctf.idl:731
@ TF_ATTR_INPUT
Definition: msctf.idl:729
@ TF_ATTR_FIXEDCONVERTED
Definition: msctf.idl:734
@ TF_ATTR_TARGET_CONVERTED
Definition: msctf.idl:730
@ TF_ATTR_OTHER
Definition: msctf.idl:735
@ TF_ATTR_TARGET_NOTCONVERTED
Definition: msctf.idl:732

◆ TF_DA_COLORTYPE

Enumerator
TF_CT_NONE 
TF_CT_SYSCOLOR 
TF_CT_COLORREF 

Definition at line 710 of file msctf.idl.

711 {
712 TF_CT_NONE = 0,
713 TF_CT_SYSCOLOR = 1,
TF_DA_COLORTYPE
Definition: msctf.idl:711
@ TF_CT_COLORREF
Definition: msctf.idl:714
@ TF_CT_NONE
Definition: msctf.idl:712
@ TF_CT_SYSCOLOR
Definition: msctf.idl:713

◆ TfAnchor

Enumerator
TF_ANCHOR_START 
TF_ANCHOR_END 

Definition at line 132 of file msctf.idl.

TfAnchor
Definition: msctf.idl:132
@ TF_ANCHOR_END
Definition: msctf.idl:132
@ TF_ANCHOR_START
Definition: msctf.idl:132

Function Documentation

◆ DEFINE_GUID()

DEFINE_GUID ( GUID_PROP_ATTRIBUTE  ,
0x34b45670  ,
0x7526  ,
0x11d2  ,
0xa1  ,
0x47  ,
0x00  ,
0x10  ,
0x5a  ,
0x27  ,
0x99  ,
0xb5   
)

◆ TF_CreateInputProcessorProfiles()

HRESULT WINAPI TF_CreateInputProcessorProfiles ( ITfInputProcessorProfiles **  ppipr)

Definition at line 668 of file msctf.c.

670{
672}
#define NULL
Definition: types.h:112
HRESULT InputProcessorProfiles_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)

◆ TF_CreateLangBarItemMgr()

HRESULT WINAPI TF_CreateLangBarItemMgr ( ITfLangBarItemMgr **  pplbim)

Definition at line 692 of file msctf.c.

693{
694 FIXME("stub %p\n", pplbim);
695 *pplbim = NULL;
696
697 return E_NOTIMPL;
698}
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ TF_CreateLangBarMgr()

HRESULT WINAPI TF_CreateLangBarMgr ( ITfLangBarMgr **  pppbm)

Definition at line 686 of file msctf.c.

687{
688 TRACE("\n");
689 return LangBarMgr_Constructor(NULL,(IUnknown**)pppbm);
690}
HRESULT LangBarMgr_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
Definition: langbarmgr.c:182
#define TRACE(s)
Definition: solgame.cpp:4

◆ TF_CreateThreadMgr()

HRESULT WINAPI TF_CreateThreadMgr ( ITfThreadMgr **  pptim)

Definition at line 619 of file msctf.c.

620{
621 TRACE("\n");
622 return ThreadMgr_Constructor(NULL,(IUnknown**)pptim);
623}
HRESULT ThreadMgr_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut) DECLSPEC_HIDDEN
Definition: threadmgr.c:1342

◆ TF_GetThreadMgr()

HRESULT WINAPI TF_GetThreadMgr ( ITfThreadMgr **  pptim)

Definition at line 628 of file msctf.c.

629{
630 TRACE("\n");
631 *pptim = TlsGetValue(tlsIndex);
632
633 if (*pptim)
634 ITfThreadMgr_AddRef(*pptim);
635
636 return S_OK;
637}
LPVOID WINAPI TlsGetValue(IN DWORD Index)
Definition: thread.c:1240
#define S_OK
Definition: intsafe.h:52
DWORD tlsIndex
Definition: msctf.c:72

Referenced by DocumentMgr_Destructor().

◆ TF_InvalidAssemblyListCacheIfExist()

HRESULT WINAPI TF_InvalidAssemblyListCacheIfExist ( void  )

Definition at line 677 of file msctf.c.

678{
679 FIXME("Stub\n");
680 return S_OK;
681}

Variable Documentation

◆ catid

◆ clsid

CLSID clsid

Definition at line 606 of file msctf.idl.

◆ CLSID_TF_CategoryMgr

EXTERN_C const CLSID CLSID_TF_CategoryMgr

Definition at line 47 of file msctf.idl.

Referenced by initialize().

◆ CLSID_TF_DisplayAttributeMgr

EXTERN_C const CLSID CLSID_TF_DisplayAttributeMgr

Definition at line 48 of file msctf.idl.

◆ CLSID_TF_InputProcessorProfiles

EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles

Definition at line 45 of file msctf.idl.

Referenced by initialize().

◆ CLSID_TF_LangBarMgr

EXTERN_C const CLSID CLSID_TF_LangBarMgr

Definition at line 46 of file msctf.idl.

◆ CLSID_TF_ThreadMgr

EXTERN_C const CLSID CLSID_TF_ThreadMgr

Definition at line 44 of file msctf.idl.

Referenced by initialize(), and test_MultiThreadApartment_Thread().

◆ dwCaps

DWORD dwCaps

Definition at line 610 of file msctf.idl.

◆ dwFlags

Definition at line 612 of file msctf.idl.

◆ GUID_COMPARTMENT_EMPTYCONTEXT

EXTERN_C const GUID GUID_COMPARTMENT_EMPTYCONTEXT

Definition at line 58 of file msctf.idl.

◆ GUID_COMPARTMENT_HANDWRITING_OPENCLOSE

EXTERN_C const GUID GUID_COMPARTMENT_HANDWRITING_OPENCLOSE

Definition at line 53 of file msctf.idl.

◆ GUID_COMPARTMENT_KEYBOARD_DISABLED

EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_DISABLED

Definition at line 51 of file msctf.idl.

◆ GUID_COMPARTMENT_KEYBOARD_OPENCLOSE

EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_OPENCLOSE

Definition at line 52 of file msctf.idl.

◆ GUID_COMPARTMENT_PERSISTMENUENABLED

EXTERN_C const GUID GUID_COMPARTMENT_PERSISTMENUENABLED

Definition at line 57 of file msctf.idl.

Referenced by test_Compartments().

◆ GUID_COMPARTMENT_SPEECH_DISABLED

EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_DISABLED

Definition at line 54 of file msctf.idl.

◆ GUID_COMPARTMENT_SPEECH_GLOBALSTATE

EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_GLOBALSTATE

Definition at line 56 of file msctf.idl.

◆ GUID_COMPARTMENT_SPEECH_OPENCLOSE

EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_OPENCLOSE

Definition at line 55 of file msctf.idl.

Referenced by test_Compartments().

◆ GUID_COMPARTMENT_TIPUISTATUS

EXTERN_C const GUID GUID_COMPARTMENT_TIPUISTATUS

Definition at line 59 of file msctf.idl.

◆ GUID_PROP_COMPOSING

EXTERN_C const GUID GUID_PROP_COMPOSING

Definition at line 42 of file msctf.idl.

◆ GUID_PROP_LANGID

EXTERN_C const GUID GUID_PROP_LANGID

Definition at line 40 of file msctf.idl.

◆ GUID_PROP_READING

EXTERN_C const GUID GUID_PROP_READING

Definition at line 41 of file msctf.idl.

◆ GUID_PROP_TEXTOWNER

EXTERN_C const GUID GUID_PROP_TEXTOWNER

Definition at line 38 of file msctf.idl.

◆ GUID_TFCAT_DISPLAYATTRIBUTEPROVIDER

EXTERN_C const GUID GUID_TFCAT_DISPLAYATTRIBUTEPROVIDER

◆ GUID_TFCAT_TIP_HANDWRITING

◆ GUID_TFCAT_TIP_KEYBOARD

◆ GUID_TFCAT_TIP_SPEECH

◆ guidProfile

◆ hkl

◆ hklSubstitute

HKL hklSubstitute

Definition at line 609 of file msctf.idl.

◆ langid

◆ TF_INPUTPROCESSORPROFILE

TF_INPUTPROCESSORPROFILE

Definition at line 613 of file msctf.idl.

◆ TF_INVALID_COOKIE

const DWORD TF_INVALID_COOKIE = 0xffffffff

Definition at line 486 of file msctf.idl.