ITfInputProcessorProfiles::IsEnabledLanguageProfile method (msctf.h)

Determines if a specific language profile is enabled or disabled.

Syntax

HRESULT IsEnabledLanguageProfile(
  [in]  REFCLSID rclsid,
  [in]  LANGID   langid,
  [in]  REFGUID  guidProfile,
  [out] BOOL     *pfEnable
);

Parameters

[in] rclsid

Contains the CLSID of the text service of the profile in question.

[in] langid

Contains a LANGID value that specifies the language of the profile in question.

[in] guidProfile

Contains a GUID value that identifies the profile in question.

[out] pfEnable

Pointer to a BOOL value that receives a value that specifies if the profile is enabled or disabled. If this receives a nonzero value, the profile is enabled. If this receives zero, the profile is disabled.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
pfEnable is invalid.

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