2023-12-11 13:37:25 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS msctfime.ime
|
|
|
|
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
|
|
|
* PURPOSE: Supporting IME interface of Text Input Processors (TIPs)
|
|
|
|
* COPYRIGHT: Copyright 2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
#define COBJMACROS
|
2023-12-18 12:56:21 +00:00
|
|
|
#define INITGUID
|
2023-12-11 13:37:25 +00:00
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <imm.h>
|
|
|
|
#include <ddk/immdev.h>
|
2023-12-19 10:23:52 +00:00
|
|
|
#include <cguid.h>
|
2023-12-26 03:07:01 +00:00
|
|
|
#include <tchar.h>
|
2023-12-18 10:11:17 +00:00
|
|
|
#include <msctf.h>
|
2023-12-19 10:23:52 +00:00
|
|
|
#include <ctffunc.h>
|
2023-12-18 10:11:17 +00:00
|
|
|
#include <shlwapi.h>
|
2023-12-11 13:37:25 +00:00
|
|
|
#include <strsafe.h>
|
|
|
|
|
2023-12-18 10:11:17 +00:00
|
|
|
#include <cicero/cicbase.h>
|
2023-12-20 13:01:39 +00:00
|
|
|
#include <cicero/cicarray.h>
|
2023-12-21 10:05:33 +00:00
|
|
|
#include <cicero/cicimc.h>
|
2023-12-27 06:08:17 +00:00
|
|
|
#include <cicero/cictf.h>
|
2023-12-18 10:11:17 +00:00
|
|
|
|
2023-12-11 13:37:25 +00:00
|
|
|
#include <wine/debug.h>
|
|
|
|
|
|
|
|
#include "resource.h"
|
|
|
|
|
2023-12-19 05:24:48 +00:00
|
|
|
#define IS_IME_HKL(hKL) ((((ULONG_PTR)(hKL)) & 0xF0000000) == 0xE0000000)
|
|
|
|
|
2023-12-11 13:37:25 +00:00
|
|
|
extern HINSTANCE g_hInst;
|