mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:33:04 +00:00
[CTFMON][SDK] Add ctfmon.exe (#6149)
ctfmon.exe will be a replacement of our kbswitch.exe in the future. That is the front-end of Language Bar. It is needed to support TIPs. - Add ctfmon.exe at base/applications/ctfmon. - Add <cicero/cicbase.h>, <cicero/CModulePath.h>, and <cicero/osinfo.h> headers and use them. CORE-19362
This commit is contained in:
parent
a19ba4760e
commit
079b36542c
14 changed files with 1156 additions and 0 deletions
49
base/applications/ctfmon/precomp.h
Normal file
49
base/applications/ctfmon/precomp.h
Normal file
|
@ -0,0 +1,49 @@
|
|||
/*
|
||||
* PROJECT: ReactOS CTF Monitor
|
||||
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
||||
* PURPOSE: Providing Language Bar front-end
|
||||
* COPYRIGHT: Copyright 2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#include <windows.h>
|
||||
#include <ndk/pstypes.h>
|
||||
#include <shellapi.h>
|
||||
#include <shlwapi.h>
|
||||
#include <stdlib.h>
|
||||
#include <strsafe.h>
|
||||
#include <msctf.h>
|
||||
#include <ctfutb.h>
|
||||
#include <ctffunc.h>
|
||||
|
||||
#include <cicero/cicbase.h>
|
||||
#include <cicero/osinfo.h>
|
||||
#include <cicero/CModulePath.h>
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
extern HINSTANCE g_hInst;
|
||||
extern BOOL g_bOnWow64;
|
||||
extern BOOL g_fWinLogon;
|
||||
extern DWORD g_dwOsInfo;
|
||||
|
||||
VOID UninitApp(VOID);
|
||||
|
||||
typedef enum WATCH_INDEX
|
||||
{
|
||||
WI_TOGGLE = 0,
|
||||
WI_MACHINE_TIF = 1,
|
||||
WI_PRELOAD = 2,
|
||||
WI_RUN = 3,
|
||||
WI_USER_TIF = 4,
|
||||
WI_USER_SPEECH = 5,
|
||||
WI_APPEARANCE = 6,
|
||||
WI_COLORS = 7,
|
||||
WI_WINDOW_METRICS = 8,
|
||||
WI_MACHINE_SPEECH = 9,
|
||||
WI_KEYBOARD_LAYOUT = 10,
|
||||
WI_ASSEMBLIES = 11,
|
||||
WI_DESKTOP_SWITCH = 12,
|
||||
} WATCH_INDEX;
|
Loading…
Add table
Add a link
Reference in a new issue