22 import "textstor.idl";
26 cpp_quote(
"#define TF_E_STACKFULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0501)")
27 cpp_quote("
#define TF_E_DISCONNECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0504)") 28 cpp_quote(
"#define TF_E_ALREADY_EXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0506)")
29 cpp_quote("
#define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)") 31 cpp_quote(
"HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);")
39 cpp_quote("
DEFINE_GUID(GUID_PROP_ATTRIBUTE,0x34b45670,0x7526,0x11d2,0xa1,0x47,0x00,0x10,0x5a,0x27,0x99,0xb5);")
72 cpp_quote(
"#define TF_MOD_CONTROL 0x0002")
75 cpp_quote("
#define TF_MOD_RCONTROL 0x0010") 78 cpp_quote(
"#define TF_MOD_LCONTROL 0x0080")
80 cpp_quote(
"#define TF_MOD_ON_KEYUP 0x0200")
81 cpp_quote("
#define TF_MOD_IGNORE_ALL_MODIFIER 0x0400") 83 cpp_quote(
"#define TF_PROFILETYPE_INPUTPROCESSOR 0x0001")
84 cpp_quote("
#define TF_PROFILETYPE_KEYBOARDLAYOUT 0x0002") 86 cpp_quote(
"#define TF_IPSINK_FLAG_ACTIVE 0x0001")
136 uuid(101d6610-0990-11d3-8df0-00105a2799b5),
155 uuid(e4b24db0-0990-11d3-8df0-00105a2799b5),
176 uuid(aa80e801-2021-11d2-93e0-0060b067b86e),
219 uuid(3e90ade3-7594-4cb0-bb58-69628f5f458c),
233 uuid(d7540241-f9a1-4364-befc-dbcd2c4395b7),
245 uuid(aa80e7f4-2021-11d2-93e0-0060b067b86e),
277 uuid(2433bf8e-0f9b-435
c-ba2c-180611978c30),
303 uuid(f0c0f8dd-cf38-44e1-bb0f-68cf0d551c78),
324 uuid(19188cb0-aca9-11d2-afc5-00105a2799b5),
345 uuid(463a506d-6992-49d2-9b88-93d55e70bb16),
357 uuid(aa80e901-2021-11d2-93e0-0060b067b86e),
385 uuid(aa80e7fd-2021-11d2-93e0-0060b067b86e),
426 [
out, size_is(ulCount), length_is(*pcFetched)]
TF_SELECTION *pSelection,
468 [
in, size_is(cProp)]
const GUID **prgProp,
470 [
in, size_is(cAppProp)]
const GUID **prgAppProp,
490 uuid(4ea48a35-60ae-446
f-8fd6-e6a8d82459f7),
507 uuid(1F02B6C5-7842-4EE6-8A0B-9A24183A95CA),
522 [
in, size_is(cchDesc)]
const WCHAR *pchDesc,
524 [
in, size_is(cchFile)]
const WCHAR *pchIconFile,
533 HRESULT EnumInputProcessorInfo(
536 HRESULT GetDefaultLanguageProfile(
542 HRESULT SetDefaultLanguageProfile(
547 HRESULT ActivateLanguageProfile(
552 HRESULT GetActiveLanguageProfile(
557 HRESULT GetLanguageProfileDescription(
583 HRESULT IsEnabledLanguageProfile(
589 HRESULT EnableLanguageProfileByDefault(
595 HRESULT SubstituteKeyboardLayout(
602 typedef [
uuid(44d2825a-10e5-43
b2-877
f-6cb2f43b7e7e)]
617 uuid(71c6e74d-0f28-11d8-a82a-00065b84435c),
638 uuid(71c6e74c-0f28-11d8-a82a-00065b84435c),
641 interface ITfInputProcessorProfileMgr :
IUnknown 680 [
in, size_is(cchDesc)]
const WCHAR *pchDesc,
682 [
in, size_is(cchFile)]
const WCHAR *pchIconFile,
685 [
in]
HKL hklsubstitute,
687 [
in]
BOOL bEnabledByDefault,
701 typedef [
uuid(c4cc07f1-80
cc-4a7b-bc54-98512782cbe3)]
710 typedef [
uuid(d9b92e21-084
a-401
b-9c64-1e6dad91a1ab)]
717 typedef [
uuid(90d0cb5e-6520-4a0f-b47c-c39bd955f0d6)]
727 typedef [
uuid(33d2fe4b-6c24-4f67-8d75-3bc1819e4126)]
738 typedef [
uuid(1bf1c305-419
b-4182-a4d2-9bfadc3f021f)]
750 uuid(70528852-2f26-4aea-8c96-215150578932),
768 uuid(7cef04d7-cb75-4e80-a7ab-5f5bc7d332de),
788 uuid(8ded7393-5db1-475
c-9e71-a39111b0ff67),
807 uuid(c3acefb5-f69d-4905-938
f-fcadcf4be830),
828 [
in, size_is(ulCount)]
const GUID **ppcatidList,
865 uuid(f99d3f40-8e32-11d2-bf46-00105a2799b5),
874 [
out, size_is(ulCount), length_is(*pcFetched)]
ITfRange **ppRange,
884 uuid(42d4d099-7c1a-4a89-b836-6c6f22160df0),
903 uuid(8127d409-ccd3-4683-967
a-b43d5b482bf7),
916 uuid(5F20AA40-B57A-4F34-96AB-3576F377CC79),
935 uuid(b246cb75-a93e-4652-bf8c-b3fe0cfd7e57),
948 uuid(3d61bf11-ac5f-42c8-a4cb-931bcc28c744),
970 uuid(aa80e7f7-2021-11d2-93e0-0060b067b86e),
984 uuid(aa80e80e-2021-11d2-93e0-0060b067b86e),
1009 uuid(aa80e7f0-2021-11d2-93e0-0060b067b86e),
1059 [
in, size_is(cchDesc)]
const WCHAR *pchDesc,
1068 [
in, size_is(cchDesc)]
const WCHAR *pchDesc,
1084 uuid(aa80e7f5-2021-11d2-93e0-0060b067b86e),
1125 uuid(1cd4c13b-1c36-4191-a70a-7f3e611f367d),
1142 uuid(ea1ea136-19df-11d7-a6d2-00065b84435c),
1161 uuid(8f1b8ad8-0b6b-4874-90c5-bd76011e8f7c),
1200 uuid(d60a7b49-1b9f-4be2-b702-47e9dc05dec3),
1212 uuid(43c9fe15-f494-4c17-9de2-b8a4ac350aa8),
1226 uuid(aa80e803-2021-11d2-93e0-0060b067b86e),
1237 uuid(aa80e7ff-2021-11d2-93e0-0060b067b86e),
1376 uuid(057a6296-029
b-4154-b79a-0d461d4ea94c),
1390 uuid(55ce16ba-3014-41c1-9ceb-fade1446ac6c),
1415 uuid(6834b120-88
cb-11d2-bf45-00105a2799b5),
1455 uuid(5efd22Ba-7838-46
cb-88e2-cadb14124f8f),
1474 uuid(20168d64-5a8f-4a5a-b7bd-cfa29f4D0fd9),
1494 uuid(a781718c-579
a-4b15-a280-32b8577acc5e),
1506 uuid(d40C8aae-aC92-4fc7-9a11-0ee0e23aa39b),
1533 uuid(86462810-593
b-4916-9764-19c08e9ce110),
1543 uuid(4ef89150-0807-11d3-8df0-00105a2799b5),
1555 uuid(b23eb630-3e1c-11d3-a745-0050040ab407),
1588 uuid(17d49a3d-f8b8-4b2f-b254-52319dd64c53),
1610 uuid(e2449660-9542-11d2-bf46-00105a2799b5),
1638 uuid(bb08f7a9-607
a-4384-8623-056892b64371),
1653 uuid(7dcf57ac-18ad-438
b-824
d-979bffb74b7c),
1672 uuid(743abd5f-f26d-48df-8cc5-238492419
b64),
1683 uuid(8f1a7ea6-1654-4502-a86e-b2902344d507),
1693 [
out, size_is(ulCount), length_is(*pcFetched)]
ITfContext **rgContext,
1704 uuid(aa80e808-2021-11d2-93e0-0060b067b86e),
1726 uuid(ea1ea137-19df-11d7-a6d2-00065b84435c),
1747 uuid(887aa91e-acba-4931-84da-3c5208cf543f),
1769 uuid(ea1ea135-19df-11d7-a6d2-00065b84435c),
1795 uuid(73131f9c-56a9-49dd-b0ee-d046633f7528),
1813 uuid(c0f1db0c-3a20-405
c-a303-96b6010a885f),
1825 uuid(71c6e74e-0f28-11d8-a82a-00065b84435c),
1843 uuid(a1adaaa2-3a24-449
d-ac96-5183e7f5c217),
1857 uuid(09d146cd-a544-4132-925
b-7afa8ef322d0),
1872 uuid(3bdd78e2-c16e-47
fd-b883-ce6facc1a208),
1888 uuid(a615096f-1c57-4813-8a15-55ee6e5a839c),
1898 [
out]
BOOL *pfDeleteResultRange);
EXTERN_C const GUID GUID_PROP_COMPOSING
HRESULT AdjustForInsert([in] TfEditCookie ec, [in] ULONG cchInsert, [out] BOOL *pfInsertOk)
HRESULT EnumContexts([out] IEnumTfContexts **ppEnum)
HRESULT ActivateEx([out] TfClientId *id, [in] DWORD flags)
HRESULT EnumDocumentMgrs([out] IEnumTfDocumentMgrs **ppEnum)
HRESULT TerminateComposition([in] ITfCompositionView *pComposition)
HRESULT EnumDisplayAttributeInfo([out] IEnumTfDisplayAttributeInfo **ppEnum)
HRESULT CreateRange([in] LONG acpStart, [in] LONG acpEnd, [out] ITfRangeACP **ppRange)
HRESULT GetFunction([in] REFGUID guid, [in] REFIID riid, [out, iid_is(riid)] IUnknown **func)
HRESULT FindClosestCategory([in] REFGUID rguid, [out] GUID *pcatid, [in, size_is(ulCount)] const GUID **ppcatidList, [in] ULONG ulCount)
HRESULT UnadviseMouseSink([in] DWORD dwCookie)
HRESULT GetGUID([out] GUID *guid)
HRESULT Activate([in] ITfThreadMgr *ptim, [in] TfClientId tid)
HRESULT GetPreservedKeyDescription([in] REFGUID rguid, [out] BSTR *pbstrDesc)
HRESULT Next([in] ULONG ulCount, [out, size_is(ulCount), length_is(*pcFetched)] ITfDocumentMgr **rgDocumentMgr, [out] ULONG *pcFetched)
HRESULT Unserialize([in] ITfProperty *pProp, [in] const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, [in] IStream *pStream, [in] ITfPersistentPropertyLoaderACP *pLoader)
HRESULT Next([in] ULONG count, [out, size_is(count), length_is(*fetched)] ITfFunctionProvider **prov, [out] ULONG *fetched)
HRESULT Clear([in] TfEditCookie ec, [in] ITfRange *pRange)
const DWORD TF_TF_IGNOREEND
const DWORD TF_SS_REGIONS
HRESULT GetGUID([in] TfGuidAtom guidatom, [out] GUID *pguid)
HRESULT TakeOwnership([in] TfEditCookie ecWrite, [in] ITfCompositionView *pComposition, [in] ITfCompositionSink *pSink, [out] ITfComposition **ppComposition)
HRESULT Show([in] BOOL show)
HRESULT AssociateFocus([in] HWND hwnd, [in, unique] ITfDocumentMgr *pdimNew, [out] ITfDocumentMgr **ppdimPrev)
HRESULT Clone([out] IEnumTfContextViews **ret)
const DWORD TF_IAS_NOQUERY
HRESULT SetSelection([in] TfEditCookie ec, [in] ULONG ulCount, [in, size_is(ulCount)] const TF_SELECTION *pSelection)
HRESULT OnActivated([in] REFCLSID clsid, [in] REFGUID guidProfile, [in] BOOL fActivated)
const DWORD TF_GTP_INCL_TEXT
coclass MSXML2::XSLTemplate40 object
HRESULT CompareEnd([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] LONG *plResult)
HRESULT SetValueStore([in] TfEditCookie ec, [in] ITfRange *pRange, [in] ITfPropertyStore *pPropStore)
const DWORD TF_TF_MOVESTART
HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr)
HRESULT Clone([out] IEnumITfCompositionView **ppEnum)
HRESULT Clone([out] IEnumTfContexts **ppEnum)
HRESULT Clone([out] IEnumTfProperties **ret)
HRESULT WINAPI TF_CreateLangBarMgr(ITfLangBarMgr **pppbm)
EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_OPENCLOSE
HRESULT CompareStart([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] LONG *plResult)
HRESULT TestKeyUp([in] WPARAM wParam, [in] LPARAM lParam, [out] BOOL *pfEaten)
HRESULT UnregisterCategory([in] REFCLSID rclsid, [in] REFGUID rcatid, [in] REFGUID rguid)
HRESULT AdviseSingleSink([in] TfClientId tid, [in] REFIID riid, [in, iid_is(riid)] IUnknown *punk)
HRESULT GetContext([out] ITfContext **ppContext)
EXTERN_C const GUID GUID_TFCAT_TIP_SPEECH
HRESULT IsThreadFocus([out] BOOL *pfThreadFocus)
HRESULT Serialize([in] IStream *pStream, [out] ULONG *pcb)
GLuint GLuint GLsizei count
struct ITfContext::TF_SELECTION TF_SELECTION
HRESULT EnumViews([out] IEnumTfContextViews **ppEnum)
DEFINE_GUID(GUID_PROP_ATTRIBUTE, 0x34b45670, 0x7526, 0x11d2, 0xa1, 0x47, 0x00, 0x10, 0x5a, 0x27, 0x99, 0xb5)
HRESULT FindComposition([in] TfEditCookie ecRead, [in] ITfRange *pTestRange, [out] IEnumITfCompositionView **ppEnum)
HRESULT GetOwnerClsid([out] CLSID *pclsid)
HRESULT Activate([out] TfClientId *ptid)
HRESULT EndUIElement([in] DWORD id)
EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_OPENCLOSE
const DWORD TF_TU_CORRECTION
const DWORD TS_SS_TRANSITORY
HRESULT Clone([out] IEnumTfDocumentMgrs **ppEnum)
HRESULT ShiftStart([in] TfEditCookie ecWrite, [in] ITfRange *pNewStart)
HRESULT Shrink([in] ITfRange *pRangeNew, [out] BOOL *pfFree)
HRESULT IsEqualTfGuidAtom([in] TfGuidAtom guidatom, [in] REFGUID rguid, [out] BOOL *pfEqual)
HRESULT OnKeyDown([in] ITfContext *pic, [in] WPARAM wParam, [in] LPARAM lParam, [out] BOOL *pfEaten)
HRESULT Next([in] ULONG ulCount, [out, size_is(ulCount), length_is(*pcFetch)] TF_LANGUAGEPROFILE *pProfile, [out] ULONG *pcFetch)
HRESULT UpdateUIElement([in] DWORD id)
HRESULT Skip([in] ULONG count)
HRESULT Clone([out] IEnumTfUIElements **enum_elements)
HRESULT GetDisplayAttributeInfo([in] REFGUID guid, [out] ITfDisplayAttributeInfo **ppInfo, [out] CLSID *pclsidOwner)
const WCHAR TS_CHAR_EMBEDDED
HRESULT Serialize([in] ITfProperty *pProp, [in] ITfRange *pRange, [out] TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, [in] IStream *pStream)
HRESULT UpdateUIElement([in] DWORD id)
HRESULT UnregisterGUIDDescription([in] REFCLSID rclsid, [in] REFGUID rguid)
HRESULT RegisterGUID([in] REFGUID rguid, [out] TfGuidAtom *pguidatom)
struct TF_PERSISTENT_PROPERTY_HEADER_ACP TF_PERSISTENT_PROPERTY_HEADER_ACP
HRESULT IsShown([out] BOOL *show)
HRESULT RequestEditSession([in] TfClientId tid, [in] ITfEditSession *pes, [in] DWORD dwFlags, [out] HRESULT *phrSession)
HRESULT Clone([out] IEnumTfDisplayAttributeInfo **ppEnum)
struct TF_LANGUAGEPROFILE TF_LANGUAGEPROFILE
HRESULT ForceLoadProperty([in] ITfProperty *pProp)
HRESULT EnumCategoriesInItem([in] REFGUID rguid, [out] IEnumGUID **ppEnum)
coclass PSFactoryBuffer pointer_default(unique)] interface ObjectRpcBaseTypes
HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim)
HRESULT Skip([in] ULONG count)
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
HRESULT SetPreservedKeyDescription([in] REFGUID rguid, [in, size_is(cchDesc)] const WCHAR *pchDesc, [in] ULONG cchDesc)
HRESULT Skip([in] ULONG ulCount)
HRESULT Next([in] ULONG count, [out, size_is(count), length_is(fetched)] ITfUIElement **element, [out] ULONG fetched)
HRESULT Clone([out] IEnumTfRanges **ppEnum)
HRESULT GetGUIDDWORD([in] REFGUID rguid, [out] DWORD *pdw)
HRESULT IsPreservedKey([in] REFGUID rguid, [in] const TF_PRESERVEDKEY *pprekey, [out] BOOL *pfRegistered)
const DWORD TS_SS_REGIONS
HRESULT GetEnd([in] TfEditCookie ec, [out] ITfRange **ppEnd)
HRESULT UnadviseMouseSink([in] DWORD dwCookie)
EXTERN_C const GUID GUID_PROP_LANGID
EXTERN_C const CLSID CLSID_TF_CategoryMgr
HRESULT SetValue([in] TfClientId tid, [in] const VARIANT *pvarValue)
HRESULT Restore([in] TfEditCookie cookie, [in] ITfRange *range)
HRESULT GetData([out] VARIANT *pvarValue)
HRESULT Skip([in] ULONG ulCount)
HRESULT OnPopContext([in] ITfContext *pic)
HRESULT InsertEmbeddedAtSelection([in] TfEditCookie ec, [in] DWORD dwFlags, [in] IDataObject *pDataObject, [out] ITfRange **ppRange)
HRESULT AdviseMouseSink([in] ITfRangeACP *range, [in] ITfMouseSink *pSink, [out] DWORD *pdwCookie)
HRESULT GetValue([out] VARIANT *pvarValue)
HRESULT PreserveKey([in] TfClientId tid, [in] REFGUID rguid, [in] const TF_PRESERVEDKEY *prekey, [in, size_is(cchDesc)] const WCHAR *pchDesc, [in] ULONG cchDesc)
HRESULT Clone([out] IEnumTfLanguageProfiles **ppEnum)
HRESULT OnStartComposition([in] ITfCompositionView *pComposition, [out] BOOL *pfOk)
const ULONG TF_DEFAULT_SELECTION
HRESULT OnTestKeyDown([in] ITfContext *pic, [in] WPARAM wParam, [in] LPARAM lParam, [out] BOOL *pfEaten)
HRESULT GetDescription([out] BSTR *description)
HRESULT OnLanguageChanged()
HRESULT GetMessageW([out] LPMSG pMsg, [in] HWND hwnd, [in] UINT wMsgFilterMin, [in] UINT wMsgFilterMax, [out] BOOL *pfResult)
HRESULT GetGUID([out] GUID *pguid)
HRESULT SetAttributeInfo([in] const TF_DISPLAYATTRIBUTE *pda)
static const WCHAR desc[]
struct TF_DA_COLOR TF_DA_COLOR
HRESULT GetValue([in] TfEditCookie ec, [in] ITfRange *pRange, [out] VARIANT *pvarValue)
HRESULT FindRange([in] TfEditCookie ec, [in] ITfRange *pRange, [out] ITfRange **ppRange, [in] TfAnchor aPos)
EXTERN_C const GUID GUID_TFCAT_TIP_HANDWRITING
REFIID LPVOID DWORD_PTR dw
HRESULT IsEqualEnd([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] BOOL *pfEqual)
HRESULT UnadviseSink([in] DWORD dwCookie)
HRESULT EnumUIElements([out] IEnumTfUIElements **enum_elements)
static DWORD DWORD void LPSTR DWORD cch
HRESULT StartComposition([in] TfEditCookie ecWrite, [in] ITfRange *pCompositionRange, [in] ITfCompositionSink *pSink, [out] ITfComposition **ppComposition)
HRESULT GetScreenExt([out] RECT *rect)
EXTERN_C const GUID GUID_COMPARTMENT_HANDWRITING_OPENCLOSE
HRESULT GetExtent([out] LONG *pacpAnchor, [out] LONG *pcch)
const DWORD TF_ES_READWRITE
HRESULT OnMouseEvent([in] ULONG uEdge, [in] ULONG uQuadrant, [in] DWORD dwBtnStatus, [out] BOOL *pfEaten)
HRESULT Divide([in] ITfRange *pRangeThis, [in] ITfRange *pRangeNew, [out] ITfPropertyStore **ppPropStore)
HRESULT IsEmpty([in] TfEditCookie ec, [out] BOOL *pfEmpty)
const DWORD TF_ES_ASYNCDONTCARE
HRESULT Next([in] ULONG ulCount, [out, size_is(ulCount), length_is(*pcFetched)] ITfContext **rgContext, [out] ULONG *pcFetched)
HRESULT DoEditSession([in] TfEditCookie ec)
const DWORD TS_SS_DISJOINTSEL
HRESULT OnPushContext([in] ITfContext *pic)
HRESULT UnadviseKeyEventSink([in] TfClientId tid)
HRESULT ShiftStartRegion([in] TfEditCookie ec, [in] TfShiftDir dir, [out] BOOL *pfNoRegion)
EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles
HRESULT GetContext([out] ITfContext **ppContext)
HRESULT SetFocus([in] ITfDocumentMgr *pdimFocus)
HRESULT EnumRanges([in] TfEditCookie ec, [out] IEnumTfRanges **ppEnum, [in] ITfRange *pTargetRange)
HRESULT GetSelection([in] TfEditCookie ec, [in] ULONG ulIndex, [in] ULONG ulCount, [out, size_is(ulCount), length_is(*pcFetched)] TF_SELECTION *pSelection, [out] ULONG *pcFetched)
HRESULT OnEndComposition([in] ITfCompositionView *pComposition)
HRESULT SetText([in] TfEditCookie ec, [in] DWORD dwFlags, [in, size_is(cch), unique] const WCHAR *pchText, [in] LONG cch)
EXTERN_C const GUID GUID_PROP_READING
HRESULT Next([in] ULONG ulCount, [out, size_is(ulCount), length_is(*pcFetched)] ITfDisplayAttributeInfo **rgInfo, [out] ULONG *pcFetched)
struct ITfRange::TF_HALTCOND TF_HALTCOND
HRESULT GetTop([out] ITfContext **ppic)
EXTERN_C const GUID GUID_COMPARTMENT_TIPUISTATUS
HRESULT GetTextAndPropertyUpdates([in] DWORD flags, [in, size_is(count)] const GUID **props, [in] ULONG count, [out] IEnumTfRanges **ret)
HRESULT OnKeyTraceDown([in] WPARAM wParam, [in] LPARAM lParam)
HRESULT LoadProperty([in] const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr, [out] IStream **ppStream)
HRESULT GetPropertyRangeCreator([out] CLSID *pclsid)
HRESULT Skip([in] ULONG ulCount)
GLboolean GLboolean GLboolean b
struct TF_DISPLAYATTRIBUTE TF_DISPLAYATTRIBUTE
struct ITfContext::TF_SELECTIONSTYLE TF_SELECTIONSTYLE
HRESULT AdviseMouseSink([in] ITfRange *range, [in] ITfMouseSink *pSink, [out] DWORD *pdwCookie)
const DWORD TF_IE_CORRECTION
HRESULT GetForeground([out] CLSID *pclsid)
HRESULT Next([in] ULONG count, [out, size_is(count), length_is(*fetched)] ITfProperty **props, [out] ULONG *fetched)
HRESULT SimulatePreservedKey([in] ITfContext *pic, [in] REFGUID rguid, [out] BOOL *pfEaten)
const DWORD TF_SS_DISJOINTSEL
HRESULT Next([in] ULONG ulCount, [out, size_is(ulCount), length_is(*pcFetched)] ITfCompositionView **rgCompositionView, [out] ULONG *pcFetched)
HRESULT Clone([out] IEnumTfFunctionProviders **ret)
const DWORD TF_ST_CORRECTION
HRESULT EnumFunctionProviders([out] IEnumTfFunctionProviders **ppEnum)
HRESULT GetGravity([out] TfGravity *pgStart, [out] TfGravity *pgEnd)
HRESULT InsertTextAtSelection([in] TfEditCookie ec, [in] DWORD dwFlags, [in, size_is(cch)] const WCHAR *pchText, [in] LONG cch, [out] ITfRange **ppRange)
HRESULT GetProperty([in] REFGUID guidProp, [out] ITfProperty **ppProp)
HRESULT Push([in] ITfContext *pic)
EXTERN_C const CLSID CLSID_TF_ThreadMgr
HRESULT GetClientId([in] REFCLSID rclsid, [out] TfClientId *ptid)
TS_S_ASYNC const ULONG TS_DEFAULT_SELECTION
HRESULT CreateContext([in] TfClientId tidOwner, [in] DWORD dwFlags, [in, unique] IUnknown *punk, [out] ITfContext **ppic, [out] TfEditCookie *pecTextStore)
HRESULT GetTextExt([in] TfEditCookie cookie, [in] ITfRange *range, [out] RECT *rect, [out] BOOL *clipped)
HRESULT ShiftEnd([in] TfEditCookie ec, [in] LONG cchReq, [out] LONG *pcch, [in, unique] const TF_HALTCOND *pHalt)
HRESULT CreateRange([in] LONG start, [in] LONG end, [out] ITfRangeACP **range)
HRESULT WINAPI TF_InvalidAssemblyListCacheIfExist(void)
HRESULT GetUIElement([in] DWORD id, [out] ITfUIElement **element)
HRESULT CreateDocumentMgr([out] ITfDocumentMgr **ppdim)
HRESULT Skip(ULONG ulCount)
unsigned __int3264 UINT_PTR
HRESULT SetExtent([in] LONG acpAnchor, [in] LONG cch)
HRESULT ForceLoadProperty([in] ITfProperty *prop)
HRESULT GetAttributeInfo([out] TF_DISPLAYATTRIBUTE *pda)
EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_DISABLED
HRESULT BeginUIElement([in] DWORD id, [in, out] BOOL *show)
HRESULT TrackProperties([in, size_is(cProp)] const GUID **prgProp, [in] ULONG cProp, [in, size_is(cAppProp)] const GUID **prgAppProp, [in] ULONG cAppProp, [out] ITfReadOnlyProperty **ppProperty)
HRESULT GetDescription([out] BSTR *desc)
const WCHAR TF_CHAR_EMBEDDED
HRESULT Next([in] ULONG count, [out, size_is(count), length_is(*fetched)] ITfContextView **views, [out] ULONG *fetched)
HRESULT CreateRangeBackup([in] TfEditCookie ec, [in] ITfRange *pRange, [out] ITfRangeBackup **ppBackup)
HRESULT OnCompositionTerminated([in] TfEditCookie ecWrite, [in] ITfComposition *pComposition)
HRESULT OnChange([in] REFGUID rguid)
EXTERN_C const CLSID CLSID_TF_DisplayAttributeMgr
HRESULT RegisterGUIDDescription([in] REFCLSID rclsid, [in] REFGUID rguid, [in, size_is(cch)] const WCHAR *pchDesc, [in] ULONG cch)
HRESULT GetText([in] TfEditCookie ec, [in] DWORD dwFlags, [out, size_is(cchMax), length_is(*pcch)] WCHAR *pchText, [in] ULONG cchMax, [out] ULONG *pcch)
HRESULT OnUpdateComposition([in] ITfCompositionView *pComposition, [in] ITfRange *pRangeNew)
HRESULT GetAppProperty([in] REFGUID guidProp, [out] ITfReadOnlyProperty **ppProp)
HRESULT GetType([out] GUID *guid)
HRESULT IsEqualStart([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] BOOL *pfEqual)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
HRESULT RegisterCategory([in] REFCLSID rclsid, [in] REFGUID rcatid, [in] REFGUID rguid)
HRESULT EndUIElement([in] DWORD id)
HRESULT Clone([out] ITfPropertyStore **pPropStore)
HRESULT OnInitDocumentMgr([in] ITfDocumentMgr *pdim)
HRESULT GetRange([out] ITfRange **ppRange)
HRESULT SetGravity([in] TfEditCookie ec, [in] TfGravity gStart, [in] TfGravity gEnd)
HRESULT UnpreserveKey([in] REFGUID rguid, [in] const TF_PRESERVEDKEY *pprekey)
HRESULT GetSelectionStatus([out] BOOL *changed)
EXTERN_C const GUID GUID_COMPARTMENT_EMPTYCONTEXT
HRESULT UnregisterGUIDDWORD([in] REFCLSID rclsid, [in] REFGUID rguid)
HRESULT GetActiveView([out] ITfContextView **ppView)
EXTERN_C const GUID GUID_COMPARTMENT_PERSISTMENUENABLED
HRESULT SetValue([in] TfEditCookie ec, [in] ITfRange *pRange, [in] const VARIANT *pvarValue)
HRESULT ShiftEndRegion([in] TfEditCookie ec, [in] TfShiftDir dir, [out] BOOL *pfNoRegion)
static VOID GetProfile(HWND hwndDlg, HKEY hKey, LPWSTR lpName, DWORD dwProfileNumber, PPROFILE pProfile)
HRESULT GetMessageA([out] LPMSG pMsg, [in] HWND hwnd, [in] UINT wMsgFilterMin, [in] UINT wMsgFilterMax, [out] BOOL *pfResult)
HRESULT GetGUIDDescription([in] REFGUID rguid, [out] BSTR *pbstrDesc)
HRESULT GetFormattedText([in] TfEditCookie ec, [out] IDataObject **ppDataObject)
_Reserved_ DWORD * pdwReserved
HRESULT Skip([in] ULONG count)
HRESULT EnumProperties([out] IEnumTfProperties **ppEnum)
const DWORD TF_IAS_QUERYONLY
HRESULT RegisterGUIDDWORD([in] REFCLSID rclsid, [in] REFGUID rguid, [in] DWORD dw)
HRESULT OnTextUpdated([in] DWORD dwFlags, [in] ITfRange *pRangeNew, [out] BOOL *pfAccept)
HRESULT Skip([in] ULONG count)
HRESULT WINAPI TF_CreateLangBarItemMgr(ITfLangBarItemMgr **pplbim)
HRESULT GetEmbedded([in] TfEditCookie ec, [in] REFGUID rguidService, [in] REFIID riid, [out, iid_is(riid)] IUnknown **ppunk)
HRESULT ShiftStartToRange([in] TfEditCookie ec, [in] ITfRange *pRange, [in] TfAnchor aPos)
HRESULT KeyUp([in] WPARAM wParam, [in] LPARAM lParam, [out] BOOL *pfEaten)
const DWORD TF_SD_LOADING
HRESULT Skip([in] ULONG ulCount)
HRESULT AdviseSink([in] REFIID riid, [in, iid_is(riid)] IUnknown *punk, [out] DWORD *pdwCookie)
HRESULT EnumCompartments([out] IEnumGUID **ppEnum)
HRESULT OnUninitDocumentMgr([in] ITfDocumentMgr *pdim)
HRESULT OnStatusChange([in] DWORD dwFlags)
HRESULT EnumCompositions([out] IEnumITfCompositionView **ppEnum)
HRESULT OnSetThreadFocus()
const DWORD TS_SD_LOADING
HRESULT OnAttributeChange([in] REFGUID rguidAttribute)
struct TF_PRESERVEDKEY TF_PRESERVEDKEY
HRESULT PeekMessageA([out] LPMSG pMsg, [in] HWND hwnd, [in] UINT wMsgFilterMin, [in] UINT wMsgFilterMax, [in] UINT wRemoveMsg, [out] BOOL *pfResult)
HRESULT Serialize([in] ITfProperty *prop, [in] ITfRange *range, [out] TF_PERSISTENT_PROPERTY_HEADER_ACP *header, [in] IStream *stream)
EXTERN_C const GUID GUID_TFCAT_TIP_KEYBOARD
HRESULT OnLanguageChange([in] LANGID langid, [out] BOOL *pfAccept)
HRESULT OnSetFocus([in] ITfDocumentMgr *pdimFocus, [in] ITfDocumentMgr *pdimPrevFocus)
HRESULT GetDataType([out] DWORD *pdwReserved)
HRESULT InsertEmbedded([in] TfEditCookie ec, [in] DWORD dwFlags, [in] IDataObject *pDataObject)
HRESULT GetFocus([out] ITfDocumentMgr **ppdimFocus)
HRESULT AdviseKeyEventSink([in] TfClientId tid, [in] ITfKeyEventSink *pSink, [in] BOOL fForeground)
HRESULT GetActiveFlags([out] DWORD *flags)
HRESULT Unserialize([in] ITfProperty *prop, [in] const TF_PERSISTENT_PROPERTY_HEADER_ACP *header, [in] IStream *stream, [in] ITfPersistentPropertyLoaderACP *loader)
HRESULT OnSetFocus([in] BOOL fForeground)
HRESULT ShiftStart([in] TfEditCookie ec, [in] LONG cchReq, [out] LONG *pcch, [in, unique] const TF_HALTCOND *pHalt)
HRESULT PeekMessageW([out] LPMSG pMsg, [in] HWND hwnd, [in] UINT wMsgFilterMin, [in] UINT wMsgFilterMax, [in] UINT wRemoveMsg, [out] BOOL *pfResult)
HRESULT GetWnd([out] HWND *hwnd)
EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_DISABLED
HRESULT BeginUIElement([in] ITfUIElement *element, [in, out] BOOL *show, [out] DWORD *id)
HRESULT GetDocumentMgr([out] ITfDocumentMgr **ppDm)
EXTERN_C const GUID GUID_TFCAT_DISPLAYATTRIBUTEPROVIDER
HRESULT KeyDown([in] WPARAM wParam, [in] LPARAM lParam, [out] BOOL *pfEaten)
HRESULT OnTestKeyUp([in] ITfContext *pic, [in] WPARAM wParam, [in] LPARAM lParam, [out] BOOL *pfEaten)
HRESULT Next([in] ULONG ulCount, [out, size_is(ulCount), length_is(*pcFetched)] ITfRange **ppRange, [out] ULONG *pcFetched)
static HMODULE MODULEINFO DWORD cb
HRESULT UnadviseSingleSink([in] TfClientId tid, [in] REFIID riid)
HRESULT OnPreservedKey([in] ITfContext *pic, [in] REFGUID rguid, [out] BOOL *pfEaten)
static const WCHAR props[]
const DWORD TF_SS_TRANSITORY
HRESULT ShiftEnd([in] TfEditCookie ecWrite, [in] ITfRange *pNewEnd)
HRESULT GetRange([out] ITfRange **ppRange)
static CRYPT_DATA_BLOB b2[]
HRESULT OnKillThreadFocus()
HRESULT GetType([out] GUID *pguid)
HRESULT EnumItemsInCategory([in] REFGUID rcatid, [out] IEnumGUID **ppEnum)
const DWORD TS_SD_READONLY
HRESULT ClearCompartment([in] TfClientId tid, [in] REFGUID rguid)
GLuint GLuint GLsizei GLenum type
HRESULT OnEndEdit([in] ITfContext *pic, [in] TfEditCookie ecReadOnly, [in] ITfEditRecord *pEditRecord)
HRESULT GetStart([in] TfEditCookie ec, [out] ITfRange **ppStart)
HRESULT GetDescription([out] BSTR *pbstrDesc)
EXTERN_C const CLSID CLSID_TF_LangBarMgr
GLboolean GLboolean GLboolean GLboolean a
HRESULT EndComposition([in] TfEditCookie ecWrite)
HRESULT Clone([out] ITfRange **ppClone)
HRESULT GetBase([out] ITfContext **ppic)
HRESULT GetCompartment([in] REFGUID rguid, [out] ITfCompartment **ppcomp)
HRESULT ShiftEndToRange([in] TfEditCookie ec, [in] ITfRange *pRange, [in] TfAnchor aPos)
HRESULT OnKeyTraceUp([in] WPARAM wParam, [in] LPARAM lParam)
HRESULT TestKeyDown([in] WPARAM wParam, [in] LPARAM lParam, [out] BOOL *pfEaten)
const DWORD TF_INVALID_COOKIE
HRESULT InWriteSession([in] TfClientId tid, [out] BOOL *pfWriteSession)
HRESULT GetType([out] GUID *pguid)
HRESULT OnKeyUp([in] ITfContext *pic, [in] WPARAM wParam, [in] LPARAM lParam, [out] BOOL *pfEaten)
HRESULT Skip([in] ULONG ulCount)
const DWORD TF_SD_READONLY
HRESULT GetGlobalCompartment([out] ITfCompartmentMgr **ppCompMgr)
HRESULT GetFunctionProvider([in] REFCLSID clsid, [out] ITfFunctionProvider **ppFuncProv)
HRESULT GetStatus([out] TF_STATUS *pdcs)
HRESULT GetRangeFromPoint([in] TfEditCookie cookie, [in] const POINT *pt, [in] DWORD flags, [out] ITfRange **range)
HRESULT OnTransitoryExtensionUpdated([in] ITfContext *pic, [in] TfEditCookie ecReadOnly, [in] ITfRange *pResultRange, [in] ITfRange *pCompositionRange, [out] BOOL *pfDeleteResultRange)
HRESULT Collapse([in] TfEditCookie ec, [in] TfAnchor aPos)
HRESULT GetPreservedKey([in] ITfContext *pic, [in] const TF_PRESERVEDKEY *pprekey, [out] GUID *pguid)
EXTERN_C const GUID GUID_PROP_TEXTOWNER
HRESULT Pop([in] DWORD dwFlags)
const DWORD TF_IAS_NO_DEFAULT_COMPOSITION
EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_GLOBALSTATE