[feat]: IPC support for uwp/metro apps

This commit is contained in:
fanlumaster committed 2025-05-06 05:44:00 +08:00
1 parent 29aeb8e291
commit 009f009905
6 files changed
+120 -70

No files matched your search

+4 -1
View File
@@ -5,9 +5,11 @@
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "Ipc.h"
#include "Private.h"
#include "SampleIME.h"
#include "CandidateListUIPresenter.h"
#include <debugapi.h>
//+---------------------------------------------------------------------------
//
@@ -32,7 +34,7 @@ STDAPI CSampleIME::OnSetThreadFocus()
pCandidateListDocumentMgr->Release();
}
}
InitNamedpipe();
return S_OK;
}
@@ -64,6 +66,7 @@ STDAPI CSampleIME::OnKillThreadFocus()
}
_pCandidateListUIPresenter->OnKillThreadFocus();
}
CloseNamedpipe();
return S_OK;
}