From f5b0c66a054be40da91b9332f2798045f29bc75b Mon Sep 17 00:00:00 2001
From: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Date: Thu, 21 Dec 2023 12:44:07 +0900
Subject: [PATCH] [SDK] msctf.idl: Add ITfCleanupContextSink

CORE-19360
---
 sdk/include/psdk/msctf.idl | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/sdk/include/psdk/msctf.idl b/sdk/include/psdk/msctf.idl
index 4a4425f95fb..2cbb888f3d3 100644
--- a/sdk/include/psdk/msctf.idl
+++ b/sdk/include/psdk/msctf.idl
@@ -106,6 +106,7 @@ interface ITfCompositionView;
 interface ITfKeyEventSink;
 interface ITfPersistentPropertyLoaderACP;
 interface ITfRangeACP;
+interface ITfCleanupContextSink;
 
 cpp_quote("#if 0")
 typedef [uuid(4f5d560f-5ab5-4dde-8c4d-404592857ab0)] UINT_PTR HKL;
@@ -1508,6 +1509,18 @@ interface ITfCompositionSink : IUnknown
             [in] ITfComposition *pComposition);
 }
 
+[
+    object,
+    uuid(01689689-7acb-4e9b-ab7c-7ea46b12b522),
+    pointer_default(unique)
+]
+interface ITfCleanupContextSink : IUnknown
+{
+    HRESULT OnCleanupContext(
+            [in] TfEditCookie ecWrite,
+            [in] ITfContext   *pic);
+}
+
 [
     object,
     uuid(d40C8aae-aC92-4fc7-9a11-0ee0e23aa39b),