mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
980ebf0694
Supporting TIPs... JIRA issue: CORE-19360 - Move code of functions.cpp into misc.cpp and delete functions.cpp. - Add implementation to CicBridge::GetDocumentManager, CicBridge::CreateInputContext, and CicBridge::SetActiveContextAlways methods. - Implement NotifyIME, CtfImeSetActiveContextAlways, and CtfImeCreateInputContext functions.
41 lines
867 B
C++
41 lines
867 B
C++
/*
|
|
* PROJECT: ReactOS msctfime.ime
|
|
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
|
* PURPOSE: Thread-local storage
|
|
* COPYRIGHT: Copyright 2024 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
class CicBridge;
|
|
class CicProfile;
|
|
|
|
class TLS
|
|
{
|
|
public:
|
|
static DWORD s_dwTlsIndex;
|
|
|
|
DWORD m_dwSystemInfoFlags;
|
|
CicBridge *m_pBridge;
|
|
CicProfile *m_pProfile;
|
|
ITfThreadMgr_P *m_pThreadMgr;
|
|
DWORD m_dwFlags1;
|
|
DWORD m_dwFlags2;
|
|
DWORD m_dwUnknown2;
|
|
BOOL m_bDestroyed;
|
|
BOOL m_bNowOpening;
|
|
DWORD m_NonEAComposition;
|
|
DWORD m_cWnds;
|
|
|
|
static BOOL Initialize();
|
|
static VOID Uninitialize();
|
|
|
|
static TLS* GetTLS();
|
|
static TLS* PeekTLS();
|
|
|
|
static TLS* InternalAllocateTLS();
|
|
static BOOL InternalDestroyTLS();
|
|
|
|
BOOL NonEACompositionEnabled();
|
|
};
|