ReactOS 0.4.15-dev-7961-gdcf9eb0
cicutb.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CIC_LIBTHREAD
 
struct  ITfLangBarMgr_P
 
struct  ITfLangBarEventSink_P
 

Typedefs

typedef struct CIC_LIBTHREAD CIC_LIBTHREAD
 
typedef struct CIC_LIBTHREADPCIC_LIBTHREAD
 

Functions

 DEFINE_GUID (GUID_COMPARTMENT_SPEECH_OPENCLOSE, 0x544D6A63, 0xE2E8, 0x4752, 0xBB, 0xD1, 0x00, 0x09, 0x60, 0xBC, 0xA0, 0x83)
 
 DEFINE_GUID (GUID_LBI_TRAYMAIN, 0xE0B724E9, 0x6F76, 0x45F7, 0xB4, 0xC1, 0xB1, 0xC0, 0xFA, 0xBC, 0xE2, 0x3E)
 
 DEFINE_GUID (GUID_LBI_INATITEM, 0xCDBC683A, 0x55CE, 0x4717, 0xBA, 0xC0, 0x50, 0xBF, 0x44, 0xA3, 0x27, 0x0C)
 
 DEFINE_GUID (GUID_LBI_CTRL, 0x58C99D96, 0x2F9B, 0x42CE, 0x91, 0xBE, 0x37, 0xEF, 0x18, 0x60, 0xF8, 0x82)
 
 DEFINE_GUID (GUID_TFCAT_TIP_KEYBOARD, 0x34745C63, 0xB2F0, 0x4784, 0x8B, 0x67, 0x5E, 0x12, 0xC8, 0x70, 0x1A, 0x31)
 
 DEFINE_GUID (CLSID_SYSTEMLANGBARITEM, 0xBEBACC94, 0x5CD3, 0x4662, 0xA1, 0xE0, 0xF3, 0x31, 0x99, 0x49, 0x36, 0x69)
 
 DEFINE_GUID (IID_ITfLangBarMgr_P, 0xD72C0FA9, 0xADD5, 0x4AF0, 0x87, 0x06, 0x4F, 0xA9, 0xAE, 0x3E, 0x2E, 0xFF)
 
 DEFINE_GUID (IID_ITfLangBarEventSink_P, 0x7A460360, 0xDA21, 0x4B09, 0xA8, 0xA0, 0x8A, 0x69, 0xE7, 0x28, 0xD8, 0x93)
 
 DEFINE_GUID (CLSID_MSUTBDeskBand, 0x540D8A8B, 0x1C3F, 0x4E32, 0x81, 0x32, 0x53, 0x0F, 0x6A, 0x50, 0x20, 0x90)
 
 DEFINE_GUID (CATID_DeskBand, 0x00021492, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46)
 
 DEFINE_GUID (GUID_TFCAT_DISPLAYATTRIBUTEPROPERTY, 0xB95F181B, 0xEA4C, 0x4AF1, 0x80, 0x56, 0x7C, 0x32, 0x1A, 0xBB, 0xB0, 0x91)
 
EXTERN_C PCIC_LIBTHREAD WINAPI GetLibTls (VOID)
 
EXTERN_C BOOL WINAPI GetPopupTipbar (HWND hWnd, BOOL fWinLogon)
 
EXTERN_C HRESULT WINAPI SetRegisterLangBand (BOOL bRegister)
 
EXTERN_C VOID WINAPI ClosePopupTipbar (VOID)
 
void TFUninitLib_Thread (PCIC_LIBTHREAD pLibThread)
 

Typedef Documentation

◆ CIC_LIBTHREAD

◆ PCIC_LIBTHREAD

Function Documentation

◆ ClosePopupTipbar()

EXTERN_C VOID WINAPI ClosePopupTipbar ( VOID  )

Definition at line 1508 of file msutb.cpp.

6378{
6379 TRACE("()\n");
6380
6382 return;
6383
6385
6386 if (g_pTipbarWnd)
6387 {
6392 }
6393
6394 if (g_pTrayIconWnd)
6395 {
6397 delete g_pTrayIconWnd;
6399 }
6400
6402
6404}
void DestroyWnd()
Definition: msutb.cpp:4679
CDeskBand * m_pDeskBand
Definition: msutb.cpp:1499
void DestroyWnd()
Definition: msutb.cpp:3241
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
ULONG Release()
CTipbarWnd * g_pTipbarWnd
Definition: msutb.cpp:104
void UninitSkipRedrawHKLArray(void)
Definition: msutb.cpp:188
BOOL g_fInClosePopupTipbar
Definition: msutb.cpp:36
CTrayIconWnd * g_pTrayIconWnd
Definition: msutb.cpp:105
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by UninitApp(), and CLoaderWnd::WindowProc().

◆ DEFINE_GUID() [1/11]

DEFINE_GUID ( CATID_DeskBand  ,
0x00021492  ,
0x0000  ,
0x0000  ,
0xC0  ,
0x00  ,
0x00  ,
0x00  ,
0x00  ,
0x00  ,
0x00  ,
0x46   
)

◆ DEFINE_GUID() [2/11]

DEFINE_GUID ( CLSID_MSUTBDeskBand  ,
0x540D8A8B  ,
0x1C3F  ,
0x4E32  ,
0x81  ,
0x32  ,
0x53  ,
0x0F  ,
0x6A  ,
0x50  ,
0x20  ,
0x90   
)

◆ DEFINE_GUID() [3/11]

DEFINE_GUID ( CLSID_SYSTEMLANGBARITEM  ,
0xBEBACC94  ,
0x5CD3  ,
0x4662  ,
0xA1  ,
0xE0  ,
0xF3  ,
0x31  ,
0x99  ,
0x49  ,
0x36  ,
0x69   
)

◆ DEFINE_GUID() [4/11]

DEFINE_GUID ( GUID_COMPARTMENT_SPEECH_OPENCLOSE  ,
0x544D6A63  ,
0xE2E8  ,
0x4752  ,
0xBB  ,
0xD1  ,
0x00  ,
0x09  ,
0x60  ,
0xBC  ,
0xA0  ,
0x83   
)

◆ DEFINE_GUID() [5/11]

DEFINE_GUID ( GUID_LBI_CTRL  ,
0x58C99D96  ,
0x2F9B  ,
0x42CE  ,
0x91  ,
0xBE  ,
0x37  ,
0xEF  ,
0x18  ,
0x60  ,
0xF8  ,
0x82   
)

◆ DEFINE_GUID() [6/11]

DEFINE_GUID ( GUID_LBI_INATITEM  ,
0xCDBC683A  ,
0x55CE  ,
0x4717  ,
0xBA  ,
0xC0  ,
0x50  ,
0xBF  ,
0x44  ,
0xA3  ,
0x27  ,
0x0C   
)

◆ DEFINE_GUID() [7/11]

DEFINE_GUID ( GUID_LBI_TRAYMAIN  ,
0xE0B724E9  ,
0x6F76  ,
0x45F7  ,
0xB4  ,
0xC1  ,
0xB1  ,
0xC0  ,
0xFA  ,
0xBC  ,
0xE2  ,
0x3E   
)

◆ DEFINE_GUID() [8/11]

DEFINE_GUID ( GUID_TFCAT_DISPLAYATTRIBUTEPROPERTY  ,
0xB95F181B  ,
0xEA4C  ,
0x4AF1  ,
0x80  ,
0x56  ,
0x7C  ,
0x32  ,
0x1A  ,
0xBB  ,
0xB0  ,
0x91   
)

◆ DEFINE_GUID() [9/11]

DEFINE_GUID ( GUID_TFCAT_TIP_KEYBOARD  ,
0x34745C63  ,
0xB2F0  ,
0x4784  ,
0x8B  ,
0x67  ,
0x5E  ,
0x12  ,
0xC8  ,
0x70  ,
0x1A  ,
0x31   
)

◆ DEFINE_GUID() [10/11]

DEFINE_GUID ( IID_ITfLangBarEventSink_P  ,
0x7A460360  ,
0xDA21  ,
0x4B09  ,
0xA8  ,
0xA0  ,
0x8A  ,
0x69  ,
0xE7  ,
0x28  ,
0xD8  ,
0x93   
)

◆ DEFINE_GUID() [11/11]

DEFINE_GUID ( IID_ITfLangBarMgr_P  ,
0xD72C0FA9  ,
0xADD5  ,
0x4AF0  ,
0x87  ,
0x06  ,
0x4F  ,
0xA9  ,
0xAE  ,
0x3E  ,
0x2E  ,
0xFF   
)

◆ GetLibTls()

Definition at line 6324 of file msutb.cpp.

6325{
6326 TRACE("()\n");
6327 return &g_libTLS;
6328}
CIC_LIBTHREAD g_libTLS
Definition: msutb.cpp:38

◆ GetPopupTipbar()

EXTERN_C BOOL WINAPI GetPopupTipbar ( HWND  hWnd,
BOOL  fWinLogon 
)

Definition at line 6336 of file msutb.cpp.

6337{
6338 TRACE("(%p, %d)\n", hWnd, fWinLogon);
6339
6340 if (!fWinLogon)
6342
6343 return GetTipbarInternal(hWnd, fWinLogon | 0x80000000, NULL);
6344}
HWND hWnd
Definition: settings.c:17
BOOL GetTipbarInternal(HWND hWnd, DWORD dwFlags, CDeskBand *pDeskBand)
Definition: msutb.cpp:6273
void TurnOffSpeechIfItsOn(void)
Definition: msutb.cpp:243

Referenced by InitApp(), and CLoaderWnd::WindowProc().

◆ SetRegisterLangBand()

EXTERN_C HRESULT WINAPI SetRegisterLangBand ( BOOL  bRegister)

Definition at line 6352 of file msutb.cpp.

6353{
6354 TRACE("(%d)\n", bRegister);
6355
6356 if (!g_bEnableDeskBand || !(g_dwOSInfo & CIC_OSINFO_XPPLUS)) // Desk band is for XP+
6357 return E_FAIL;
6358
6359 BOOL bDeskBand = IsDeskBandFromReg();
6360 if (bDeskBand == bRegister)
6361 return S_OK;
6362
6363 SetDeskBandToReg(bRegister);
6364
6365 if (!RegisterComCat(CLSID_MSUTBDeskBand, CATID_DeskBand, bRegister))
6366 return TF_E_NOLOCK;
6367
6368 return S_OK;
6369}
HRESULT RegisterComCat()
#define CIC_OSINFO_XPPLUS
Definition: cicbase.h:51
#define E_FAIL
Definition: ddrawi.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
#define S_OK
Definition: intsafe.h:52
DWORD g_dwOSInfo
Definition: msutb.cpp:32
BOOL g_bEnableDeskBand
Definition: msutb.cpp:42
void SetDeskBandToReg(BOOL bShow)
Definition: msutb.cpp:427
BOOL IsDeskBandFromReg()
Definition: msutb.cpp:411

◆ TFUninitLib_Thread()

void TFUninitLib_Thread ( PCIC_LIBTHREAD  pLibThread)
inline

Definition at line 44 of file cicutb.h.

45{
46 if (!pLibThread)
47 return;
48
49 if (pLibThread->m_pCategoryMgr)
50 {
51 pLibThread->m_pCategoryMgr->Release();
52 pLibThread->m_pCategoryMgr = NULL;
53 }
54 if (pLibThread->m_pDisplayAttrMgr)
55 {
56 pLibThread->m_pDisplayAttrMgr->Release();
57 pLibThread->m_pDisplayAttrMgr = NULL;
58 }
59}
ITfCategoryMgr * m_pCategoryMgr
Definition: cicutb.h:25
ITfDisplayAttributeMgr * m_pDisplayAttrMgr
Definition: cicutb.h:26

Referenced by CicBridge::UnInitIMMX(), and CTipbarWnd::~CTipbarWnd().