ITfFnLangProfileUtil::IsProfileAvailableForLang method (ctffunc.h)

Determines if the speech text service has a profile available for a specific language.

Syntax

HRESULT IsProfileAvailableForLang(
  [in]  LANGID langid,
  [out] BOOL   *pfAvailable
);

Parameters

[in] langid

Contains a LANGID that specifies the language that the query applies to.

[out] pfAvailable

Pointer to a BOOL that receives nonzero if a profile is available for the language identified by langid or zero otherwise.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
pfAvailable 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 ctffunc.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional