ITfFnLMProcessor::GetReconversion method (ctffunc.h)

Obtains an ITfCandidateList object for a range from the language model text service.

Syntax

HRESULT GetReconversion(
  [in]  ITfRange         *pRange,
  [out] ITfCandidateList **ppCandList
);

Parameters

[in] pRange

Pointer to an ITfRange object that covers the text to be reconverted. To obtain this range object, call ITfFnReconversion::QueryRange.

[out] ppCandList

Pointer to an ITfCandidateList pointer that receives the candidate list object.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
One or more parameters are invalid.
E_OUTOFMEMORY
A memory allocation failure occurred.

Remarks

This method is identical to ITfFnReconversion::GetReconversion. When ITfFnReconversion::GetReconversion is called in the text service, the text service should forward the call to this method if a language model processor is installed. If no language model processor is installed, the text service should perform its default processing.

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

See also

ITfCandidateList

ITfFnLMProcessor

ITfFnReconversion::GetReconversion

ITfRange