void CTextService::_StartConfigure() { HANDLE hMutex = OpenMutexW(SYNCHRONIZE, FALSE, cnfmutexname); if(hMutex != nullptr) { CloseHandle(hMutex); return; } AllowSetForegroundWindow(ASFW_ANY); _CommandDic(REQ_EXEC_CNF); }
void CTextService::_StartConfigure() { HANDLE hMutex = OpenMutexW(SYNCHRONIZE, FALSE, cnfmutexname); if(hMutex != nullptr) { CloseHandle(hMutex); return; } hMutex = OpenMutexW(SYNCHRONIZE, FALSE, mgrmutexname); if(hMutex != nullptr) { CloseHandle(hMutex); AllowSetForegroundWindow(ASFW_ANY); _CommandDic(REQ_EXEC_CNF); } else { StartProcess(g_hInst, IMCRVCNFEXE); } }
void CTextService::_SaveUserDic() { _CommandDic(REQ_USER_SAVE); }