[NTOS:SE] Define a name macro for the threshold value
[reactos.git] / sdk / include / reactos / imm32_undoc.h
1 /*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Private header for imm32.dll
5 * COPYRIGHT: Copyright 2021 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6 */
7
8 #pragma once
9
10 /* unconfirmed */
11 typedef struct tagCLIENTIMC
12 {
13 HIMC hImc;
14 LONG cLockObj;
15 DWORD dwFlags;
16 DWORD unknown;
17 RTL_CRITICAL_SECTION cs;
18 DWORD unknown2;
19 DWORD unknown3;
20 BOOL bUnknown4;
21 } CLIENTIMC, *PCLIENTIMC;
22
23 /* flags for CLIENTIMC */
24 #define CLIENTIMC_WIDE 0x1
25 #define CLIENTIMC_UNKNOWN1 0x40
26 #define CLIENTIMC_UNKNOWN2 0x100
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 BOOL WINAPI
33 ImmGetImeInfoEx(PIMEINFOEX pImeInfoEx, IMEINFOEXCLASS SearchType, PVOID pvSearchKey);
34
35 PCLIENTIMC WINAPI ImmLockClientImc(HIMC hImc);
36 VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc);
37 PIMEDPI WINAPI ImmLockImeDpi(HKL hKL);
38 VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi);
39
40 #ifdef __cplusplus
41 } // extern "C"
42 #endif