2024-02-20 12:11:08 +00:00
|
|
|
/*
|
|
|
|
* 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;
|
2024-02-22 08:28:40 +00:00
|
|
|
BOOL m_bNowOpening;
|
2024-02-20 12:11:08 +00:00
|
|
|
DWORD m_NonEAComposition;
|
|
|
|
DWORD m_cWnds;
|
|
|
|
|
2024-02-23 08:43:13 +00:00
|
|
|
static BOOL Initialize();
|
|
|
|
static VOID Uninitialize();
|
2024-02-20 12:11:08 +00:00
|
|
|
|
2024-02-23 08:43:13 +00:00
|
|
|
static TLS* GetTLS();
|
|
|
|
static TLS* PeekTLS();
|
2024-02-20 12:11:08 +00:00
|
|
|
|
|
|
|
static TLS* InternalAllocateTLS();
|
|
|
|
static BOOL InternalDestroyTLS();
|
2024-02-23 02:18:52 +00:00
|
|
|
|
|
|
|
BOOL NonEACompositionEnabled();
|
2024-02-20 12:11:08 +00:00
|
|
|
};
|