ITfFnLMProcessor::QueryLangID method

Syntax


HRESULT QueryLangID(
  [in]  LANGID langid,
  [out] BOOL   *pfAccepted
);

Parameters

langid [in]

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

pfAccepted [out]

Pointer to a BOOL value that receives nonzero if the language model text service supports the language identified by langid or zero otherwise.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

pfAccepted is invalid.

 

Remarks

If a client can possibly generate more than one language identifier of text, it should query all with this method.

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

Ctffunc.h

IDL

Ctffunc.idl

DLL

Msctf.dll

 

 

Show: