Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
TSF Reference
TSF Functions
 InitLocalMsCtfMonitor Function
InitLocalMsCtfMonitor Function

The InitLocalMsCtfMonitor function initializes TextServicesFramework on the current desktop and prepares the floating language bar if necessary. This function must be called on the application's desktop.

Syntax

HRESULT CALLBACK InitLocalMsCtfMonitor(
  __in  DWORD dwFlags
);

Parameters

dwFlags [in]

This is a combination of the following bit: ILMCM_CHECKLAYOUTANDTIPENABLED. If this bit is true, InitLocalMsCtfMonitor forcefully checks the available keyboard layout or text service. If there is no secondary keyboard layout or text services, it does not initialize TextServicesFramework in the desktop.

Return Value

ValueMeaning
S_OKThe function was successful.
E_FAILAn unspecified error occurred.

 

Remarks

If this function was successful, UninitLocalMsCtfMonitor needs to be called before the caller thread is terminated or the desktop is switched.

Requirements

Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderMsCtfMonitorApi.h
LibraryMsCtfMonitor.lib
DLLMsctf.dll

Send comments about this topic to Microsoft

Build date: 7/14/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker