diff --git a/base/applications/kbswitch/kbswitch.h b/base/applications/kbswitch/kbswitch.h index 91906a08e6b..79ea09f7e0e 100644 --- a/base/applications/kbswitch/kbswitch.h +++ b/base/applications/kbswitch/kbswitch.h @@ -10,6 +10,7 @@ #include #include #include +#include /* INDICATOR_CLASS, INDICM_... */ #include "resource.h" @@ -26,4 +27,4 @@ typedef BOOL (WINAPI *PKBSWITCHSETHOOKS) (VOID); typedef VOID (WINAPI *PKBSWITCHDELETEHOOKS) (VOID); -TCHAR szKbSwitcherName[] = _T("kbswitcher"); +const TCHAR szKbSwitcherName[] = INDICATOR_CLASS; diff --git a/sdk/include/ime/indicml.h b/sdk/include/ime/indicml.h new file mode 100644 index 00000000000..f4660d2c94d --- /dev/null +++ b/sdk/include/ime/indicml.h @@ -0,0 +1,30 @@ +/* + * PROJECT: ReactOS headers + * LICENSE: LGPL-2.0-or-later (https://spdx.org/licenses/LGPL-2.0-or-later) + * PURPOSE: Indicator (internat.exe) window class + * COPYRIGHT: Copyright 2025 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com) + */ + +#ifndef _INDICML_ +#define _INDICML_ + +#pragma once + +#define INDICATOR_CLASSW L"Indicator" +#define INDICATOR_CLASSA "Indicator" + +#ifdef UNICODE +#define INDICATOR_CLASS INDICATOR_CLASSW +#else +#define INDICATOR_CLASS INDICATOR_CLASSA +#endif + +#define INDICM_SETIMEICON (WM_USER + 100) +#define INDICM_SETIMETOOLTIPS (WM_USER + 101) +#define INDICM_REMOVEDEFAULTMENUITEMS (WM_USER + 102) + +/* wParam flags for INDICM_REMOVEDEFAULTMENUITEMS */ +#define RDMI_LEFT 1 +#define RDMI_RIGHT 2 + +#endif /* ndef _INDICML_ */