GetLatticePtr function

Retrieves a pointer to the lattice for the current results.

Syntax


HRESULT WINAPI GetLatticePtr(
   HRECOCONTEXT hrc,
   RECO_LATTICE **ppLattice
);

Parameters

hrc

The handle to the recognizer context.

ppLattice

The recognition results.

Return value

This function can return one of these values.

Return codeDescription
S_OK

Success.

E_OUTOFMEMORY

Unable to allocate memory to complete the operation.

E_NOTIMPL

The recognizer does not support this function.

TPC_E_NOT_RELEVANT

The recognizer context does not contain results.

E_POINTER

One of the parameters is an invalid pointer.

E_FAIL

An unspecified error occurred.

E_INVALIDARG

An invalid argument was received.

 

Requirements

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Recapis.h

See also

Recognizer Lattice Structure

 

 

Show: