Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Gets the result text for the IInkRecognitionResult::TopAlternateproperty of IInkRecognitionResult.

Syntax

[propget] HRESULT get_TopString([out,retval]BSTR *TopString);

Parameters

TopString

The result text for the TopAlternateproperty.

This property is read–only.

For more information about the BSTR data type, see Using the Automation Library with Windows Mobile Ink.

Return Value

HRESULT value Description

S_OK

Success.

TPC_S_TRUNCATED

The string is truncated to fit in the buffer.

E_POINTER

The TopString parameter is an invalid pointer.

E_INK_EXCEPTION

An exception occurred while processing.

E_OUTOFMEMORY

Cannot allocate memory to complete the operation.

Remarks

Note:
The result text for the TopStringproperty changes if a call to the IInkRecognitionResult::ModifyTopAlternatemethod causes a change to the TopAlternateproperty.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also