mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:23:04 +00:00
[CTFMON][MSCTFIME][SDK] Refactoring on Cicero design
CORE-19362
This commit is contained in:
parent
50755684cf
commit
eb72347672
3 changed files with 133 additions and 31 deletions
|
@ -180,6 +180,9 @@ InitApp(
|
|||
g_bOnWow64 = cicIsWow64(); // Is the current process on WoW64?
|
||||
cicGetOSInfo(&g_uACP, &g_dwOsInfo); // Get OS info
|
||||
|
||||
// Initialize Cicero
|
||||
TFInitLib();
|
||||
|
||||
// Create a mutex for Cicero
|
||||
g_hCicMutex = TF_CreateCicLoadMutex(&g_fWinLogon);
|
||||
if (!g_hCicMutex)
|
||||
|
@ -234,6 +237,9 @@ UninitApp(VOID)
|
|||
// Close TIP Bar Popup
|
||||
ClosePopupTipbar();
|
||||
|
||||
// Release Cicero
|
||||
TFUninitLib();
|
||||
|
||||
// Close the mutex
|
||||
::CloseHandle(g_hCicMutex);
|
||||
g_hCicMutex = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue