[MSCTFIME][SDK] Half-implement CTextEventSink (#6274)

Supporting TIPs...
JIRA issue: CORE-19360
- Add CTextEventSink class.
- Add ITfTextLayoutSink interface
  into "msctf.idl".
This commit is contained in:
Katayama Hirofumi MZ 2024-01-02 19:45:03 +09:00 committed by GitHub
parent f9489f4876
commit 006bdfa234
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 186 additions and 2 deletions

View file

@ -109,6 +109,7 @@ interface ITfKeyEventSink;
interface ITfPersistentPropertyLoaderACP;
interface ITfRangeACP;
interface ITfCleanupContextSink;
interface ITfTextLayoutSink;
cpp_quote("#if 0")
typedef [uuid(4f5d560f-5ab5-4dde-8c4d-404592857ab0)] UINT_PTR HKL;
@ -1919,3 +1920,23 @@ interface ITfTransitoryExtensionSink : IUnknown
[in] ITfRange *pCompositionRange,
[out] BOOL *pfDeleteResultRange);
}
[
object,
uuid(2af2d06a-dd5b-4927-a0b4-54f19c91fade),
pointer_default(unique)
]
interface ITfTextLayoutSink : IUnknown
{
typedef [uuid(603553cf-9edd-4cc1-9ecc-069e4a427734)] enum
{
TF_LC_CREATE = 0,
TF_LC_CHANGE = 1,
TF_LC_DESTROY = 2
} TfLayoutCode;
HRESULT OnLayoutChange(
[in] ITfContext *pic,
[in] TfLayoutCode lcode,
[in] ITfContextView *pView);
}