ReactOS 0.4.16-dev-91-g764881a
misc.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS msctfime.ime
3 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4 * PURPOSE: Miscellaneous of msctfime.ime
5 * COPYRIGHT: Copyright 2024 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6 */
7
8#pragma once
9
16BOOL IsVKDBEKey(_In_ UINT uVirtKey);
17
21
22/***********************************************************************/
23
27 REFGUID rguid,
28 ITfCompartment **ppComp,
29 BOOL bThread);
30
35 REFGUID rguid,
36 DWORD dwValue,
37 BOOL bThread);
38
42 REFGUID rguid,
43 LPDWORD pdwValue,
44 BOOL bThread);
45
50 REFGUID rguid,
51 IUnknown *punkValue);
52
57 REFGUID rguid,
58 BOOL bThread);
59
60/***********************************************************************/
61
63{
64public:
66
68
71 void SetModeBias(REFGUID rguid);
72};
73
74/***********************************************************************/
75
77{
78protected:
83
84public:
86 virtual ~CFunctionProviderBase();
87
88 // IUnknown interface
92
93 // ITfFunctionProvider interface
96 //STDMETHODIMP GetFunction(_In_ REFGUID guid, _In_ REFIID riid, _Out_ IUnknown **func) = 0;
97
98 BOOL Init(_In_ REFGUID rguid, _In_ LPCWSTR psz);
99};
100
101/***********************************************************************/
102
104{
105public:
107
109};
110
111/***********************************************************************/
112
114{
116
117public:
118 CFnDocFeed();
119 virtual ~CFnDocFeed();
120
121 // IUnknown interface
125
126 // IAImmFnDocFeed interface
127 STDMETHODIMP DocFeed() override;
129 STDMETHODIMP StartReconvert() override;
131};
unsigned char BOOLEAN
#define STDMETHODIMP
Definition: basetyps.h:43
STDMETHODIMP ClearDocFeedBuffer() override
@implemented
Definition: misc.cpp:587
STDMETHODIMP StartUndoCompositionString() override
@implemented
Definition: misc.cpp:642
virtual ~CFnDocFeed()
Definition: misc.cpp:529
STDMETHODIMP_(ULONG) Release() override
STDMETHODIMP_(ULONG) AddRef() override
STDMETHODIMP StartReconvert() override
@unimplemented
Definition: misc.cpp:610
CFnDocFeed()
Definition: misc.cpp:524
STDMETHODIMP DocFeed() override
@implemented
Definition: misc.cpp:562
STDMETHODIMP QueryInterface(_In_ REFIID riid, _Out_ LPVOID *ppvObj) override
@implemented
Definition: misc.cpp:534
LONG m_cRefs
Definition: misc.h:115
STDMETHODIMP QueryInterface(_In_ REFIID riid, _Out_ LPVOID *ppvObj) override
@implemented
Definition: misc.cpp:451
STDMETHODIMP_(ULONG) Release() override
STDMETHODIMP_(ULONG) AddRef() override
virtual ~CFunctionProviderBase()
@implemented
Definition: misc.cpp:432
TfClientId m_clientId
Definition: misc.h:79
STDMETHODIMP GetDescription(_Out_ BSTR *desc) override
@implemented
Definition: misc.cpp:488
STDMETHODIMP GetFunction(_In_ REFGUID guid, _In_ REFIID riid, _Out_ IUnknown **func) override
@implemented
Definition: misc.cpp:504
Definition: misc.h:63
void SetModeBias(REFGUID rguid)
@implemented
Definition: misc.cpp:388
GUID ConvertModeBias(LONG bias)
@implemented
Definition: misc.cpp:394
GUID m_guid
Definition: misc.h:65
CModeBias()
Definition: misc.h:67
DWORD HIMC
Definition: dimm.idl:75
BOOL IsVKDBEKey(_In_ UINT uVirtKey)
@implemented
Definition: misc.cpp:116
ITfCategoryMgr * GetUIMCat(PCIC_LIBTHREAD pLibThread)
@implemented
Definition: misc.cpp:129
HRESULT GetCompartmentDWORD(IUnknown *pUnknown, REFGUID rguid, LPDWORD pdwValue, BOOL bThread)
@implemented
Definition: misc.cpp:285
HRESULT InitDisplayAttrbuteLib(PCIC_LIBTHREAD pLibThread)
@implemented
Definition: misc.cpp:156
BYTE GetCharsetFromLangId(_In_ DWORD dwValue)
Definition: misc.cpp:84
HRESULT SetCompartmentUnknown(TfEditCookie cookie, IUnknown *pUnknown, REFGUID rguid, IUnknown *punkValue)
@implemented
Definition: misc.cpp:309
HRESULT UninitDisplayAttrbuteLib(PCIC_LIBTHREAD pLibThread)
@implemented
Definition: misc.cpp:201
HIMC GetActiveContext(VOID)
Definition: misc.cpp:94
HRESULT GetCompartment(IUnknown *pUnknown, REFGUID rguid, ITfCompartment **ppComp, BOOL bThread)
@implemented
Definition: misc.cpp:219
BOOLEAN DllShutdownInProgress(VOID)
Definition: misc.cpp:42
HRESULT ClearCompartment(TfClientId tid, IUnknown *pUnknown, REFGUID rguid, BOOL bThread)
@implemented
Definition: misc.cpp:331
BOOL IsEALang(_In_opt_ LANGID LangID)
Definition: misc.cpp:14
BOOL MsimtfIsGuidMapEnable(_In_ HIMC hIMC, _Out_opt_ LPBOOL pbValue)
@implemented
Definition: misc.cpp:107
HRESULT SetCompartmentDWORD(TfEditCookie cookie, IUnknown *pUnknown, REFGUID rguid, DWORD dwValue, BOOL bThread)
@implemented
Definition: misc.cpp:262
BOOL IsInteractiveUserLogon(VOID)
Definition: misc.cpp:61
OLECHAR * BSTR
Definition: compat.h:2293
_In_ PUNKNOWN pUnknown
Definition: drmk.h:76
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLenum func
Definition: glext.h:6028
GLfloat bias
Definition: glext.h:7909
REFIID riid
Definition: atlbase.h:39
ULONG AddRef()
ULONG Release()
#define GUID_NULL
Definition: ks.h:106
USHORT LANGID
Definition: mui.h:9
const GUID * guid
static const WCHAR desc[]
Definition: protectdata.c:36
static TfClientId tid
#define _Out_opt_
Definition: ms_sal.h:346
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
DWORD TfClientId
Definition: msctf.idl:105
DWORD TfEditCookie
Definition: msctf.idl:104
unsigned int UINT
Definition: ndis.h:50
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
Definition: scsiwmi.h:51
Definition: cookie.c:34
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
_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
#define GetType(This)
Definition: conio.h:54
BOOL * LPBOOL
Definition: windef.h:162
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
unsigned char BYTE
Definition: xxhash.c:193