ITfLMLattice::QueryType method (ctffunc.h)

Determines if a specific lattice element type is supported by the lattice property.

Syntax

HRESULT QueryType(
  [in]  REFGUID rguidType,
  [out] BOOL    *pfSupported
);

Parameters

[in] rguidType

Specifies the lattice type identifier. This can be one of the Lattice Type values.

[out] pfSupported

Pointer to a BOOL that receives a value that indicates if the lattice type is supported. If the lattice type is supported, this parameter receives a nonzero value and the method returns S_OK. If the lattice type is unsupported, this parameter receives zero and the method returns E_INVALIDARG.

Return value

This method can return one of these values.

Value Description
S_OK
The specified lattice type is supported.
E_INVALIDARG
Either pfSupported is invalid or the specified lattice type is not supported.

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

ITfLMLattice

Lattice Types