ITfLMLattice::EnumLatticeElements method

Syntax


HRESULT EnumLatticeElements(
  [in]  DWORD                  dwFrameStart,
  [in]  REFGUID                rguidType,
  [out] IEnumTfLatticeElements **ppEnum
);

Parameters

dwFrameStart [in]

Specifies the offset, in 100-nanosecond units, relative to the start of the phrase, of the first element to obtain.

rguidType [in]

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

ppEnum [out]

Pointer to an IEnumTfLatticeElements interface pointer that receives the enumerator object.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_FAIL

An unspecified error occurred.

E_INVALIDARG

rguidType is unsupported by the lattice property.

E_OUTOFMEMORY

A memory allocation failure occurred.

 

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

See also

ITfLMLattice
Lattice Types
IEnumTfLatticeElements

 

 

Show: