ITfInputProcessorProfiles::RemoveLanguageProfile method (msctf.h)

Removes a language profile.

Syntax

HRESULT RemoveLanguageProfile(
  [in]  REFCLSID rclsid,
  [in]  LANGID   langid,
  [out] REFGUID  guidProfile
);

Parameters

[in] rclsid

Contains the text service CLSID.

[in] langid

Contains a LANGID value that specifies the language identifier of the profile.

[out] guidProfile

Contains a GUID value that identifies the language profile. This is the value specified in ITfInputProcessorProfiles::AddLanguageProfile when the profile was added.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfInputProcessorProfiles

ITfInputProcessorProfiles::AddLanguageProfile