ITfInputProcessorProfiles interface
The ITfInputProcessorProfiles interface is implemented by the TSF manager and used by an application or text service to manipulate the language profile of one or more text services.
Members
The ITfInputProcessorProfiles interface inherits from the IUnknown interface. ITfInputProcessorProfiles also has these types of members:
Methods
The ITfInputProcessorProfiles interface has these methods.
| Method | Description |
|---|---|
| ActivateLanguageProfile |
Sets the active text service for a specific language. |
| AddLanguageProfile |
Creates a language profile that consists of a specific text service and a specific language identifier. |
| ChangeCurrentLanguage |
Sets the currently active language. |
| EnableLanguageProfile |
Enables or disables a language profile for the current user. |
| EnableLanguageProfileByDefault |
Enables or disables a language profile by default for all users. |
| EnumInputProcessorInfo |
Obtains an enumerator that contains the class identifiers of all registered text services. |
| EnumLanguageProfiles |
Obtains an enumerator that contains all of the profiles for a specific langauage. |
| GetActiveLanguageProfile |
Obtains the identifier of the currently active language profile for a specific text service. |
| GetCurrentLanguage |
Obtains the identifier of the currently active language. |
| GetDefaultLanguageProfile |
Obtains the default profile for a specific language. |
| GetLanguageList |
Obtains a list of the installed languages. |
| GetLanguageProfileDescription |
Obtains the description string for a language profile. |
| IsEnabledLanguageProfile |
Determines if a specific language profile is enabled or disabled. |
| Register |
Adds a text service to TSF. |
| RemoveLanguageProfile |
Removes a language profile. |
| SetDefaultLanguageProfile |
Sets the default profile for a specific language. |
| SubstituteKeyboardLayout |
Sets a substitute keyboard layout for the specified language profile. |
| Unregister |
Removes a text service from TSF. |
Remarks
To obtain a pointer to this interface, call CoCreateInstance with CLSID_TF_InputProcessorProfiles.
Examples
ITfInputProcessorProfiles
HRESULT hr; ITfInputProcessorProfiles *pProfiles; //Create the object. hr = CoCreateInstance( CLSID_TF_InputProcessorProfiles, NULL, CLSCTX_INPROC_SERVER, IID_ITfInputProcessorProfiles, (LPVOID*)&pProfiles); if(SUCCEEDED(hr)) { //Use the interface. //Release the interface. pProfiles->Release(); }
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|