ReactOS 0.4.15-dev-8058-ga7cbb60
mlng.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS msctf.dll
3 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4 * PURPOSE: Multi-language handling of Cicero
5 * COPYRIGHT: Copyright 2024 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6 */
7
8#pragma once
9
11{
17
18 void InitDesc();
19 void InitIcon();
20
23 void SetDesc(LPCWSTR pszDesc);
24};
25
26class CStaticIconList : public CicArray<HICON>
27{
28public:
29 static INT s_cx;
30 static INT s_cy;
31
33
34 void Init(INT cxIcon, INT cyIcon);
36 HICON ExtractIcon(INT iIcon);
37 void GetIconSize(INT *pcx, INT *pcy);
39 void RemoveAll(BOOL bNoLock);
40};
41
44
48 _In_ INT nWidth,
49 _In_ INT nHeight,
50 _In_ const LOGFONTW *plf);
51
55
58
void GetIconSize(INT *pcx, INT *pcy)
@implemented
Definition: mlng.cpp:479
CStaticIconList()
Definition: mlng.h:32
INT AddIcon(HICON hIcon)
@implemented
Definition: mlng.cpp:451
void RemoveAll(BOOL bNoLock)
@implemented
Definition: mlng.cpp:497
static INT s_cy
Definition: mlng.h:30
static INT s_cx
Definition: mlng.h:29
INT GetImageCount()
@implemented
Definition: mlng.cpp:488
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
USHORT LANGID
Definition: mui.h:9
HICON GetIconFromFile(_In_ INT cx, _In_ INT cy, _In_ LPCWSTR pszFileName, _In_ INT iIcon)
@implemented
Definition: mlng.cpp:211
HICON InatCreateIconBySize(_In_ LANGID LangID, _In_ INT nWidth, _In_ INT nHeight, _In_ const LOGFONTW *plf)
@implemented
Definition: mlng.cpp:261
DWORD GetHKLSubstitute(_In_ HKL hKL)
@implemented
Definition: mlng.cpp:93
VOID InatRemoveAll(VOID)
@implemented
Definition: mlng.cpp:347
INT InatAddIcon(_In_ HICON hIcon)
@implemented
Definition: mlng.cpp:252
HICON InatCreateIcon(_In_ LANGID LangID)
@implemented
Definition: mlng.cpp:316
INT InatGetImageCount(VOID)
@implemented
Definition: mlng.cpp:341
VOID UninitINAT(VOID)
@implemented
Definition: mlng.cpp:354
BOOL InatGetIconSize(_Out_ INT *pcx, _Out_ INT *pcy)
@implemented
Definition: mlng.cpp:334
static HICON
Definition: imagelist.c:84
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
HICON hIcon
Definition: msconfig.c:44
UINT_PTR HKL
Definition: msctf.idl:143
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:586
_Out_opt_ int * cx
Definition: commctrl.h:585
#define ExtractIcon
Definition: shellapi.h:688
Definition: mlng.h:11
void InitDesc()
@implemented
Definition: mlng.cpp:370
void InitIcon()
@implemented
Definition: mlng.cpp:383
HKL m_hKL
Definition: mlng.h:12
void SetDesc(LPCWSTR pszDesc)
@implemented
Definition: mlng.cpp:423
INT GetIconIndex()
@implemented
Definition: mlng.cpp:429
BOOL m_bInitDesc
Definition: mlng.h:13
WCHAR m_szDesc[128]
Definition: mlng.h:16
BOOL m_bInitIcon
Definition: mlng.h:14
INT m_iIconIndex
Definition: mlng.h:15
LPCWSTR GetDesc()
@implemented
Definition: mlng.cpp:414
int32_t INT
Definition: typedefs.h:58
WORD WORD PSZ PSZ pszFileName
Definition: vdmdbg.h:44
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_writes_opt_ NumCharacters PUSHORT _Inout_ PUSHORT _In_ UCHAR _In_opt_ USHORT LangID
Definition: wdfusb.h:1083
__wchar_t WCHAR
Definition: xmlstorage.h:180
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185