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

Assigns the IInkRecognitionResultobject to the IInkStrokescollection that was used to generate the results.

Syntax

HRESULT SetResultOnStrokes();

Parameters

This method has no parameters.

Return Value

HRESULT value Description

S_OK

Success.

E_INVALIDARG

The recognition range is invalid.

E_INK_EXCEPTION

An exception occurred while processing.

E_OUTOFMEMORY

Cannot allocate memory to complete the operation.

Remarks

System performance suffers if recognition results are automatically assigned to every IInkStrokescollection. Therefore results are not attached to a IInkStrokescollection by default. To assign results to an IInkStrokescollection, you must call the SetResultOnStrokesmethod. To return the recognition results for a Strokes collection, use the IInkStrokes::RecognitionResultproperty. After you assign results to a IInkStrokescollection, you can then store the strokes in an IInkCustomStrokescollection. These custom strokes, as well as the IInkRecognitionResult, can be persisted and retrieved for later use.

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