[feat]: IPC support for uwp/metro apps
This commit is contained in:
1 parent
29aeb8e291
commit
009f009905
6 files changed
+120
-70
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user