ResetContext function

Deletes the current ink and recognition results from the context.

The current settings of the recognizer context are preserved. The settings can include the recognition guide, character Autocomplete mode, and any recognition hints that improve recognition results. An example of a recognition hint may include whether a factoid is set indicating that the ink is a phone number, a name, or a URL. The TextContext and Wordlists are preserved in the context.

Syntax


HRESULT WINAPI ResetContext(
   HRECOCONTEXT hrc
);

Parameters

hrc

The handle to the recognizer context.

Return value

This function can return one of these values.

Return codeDescription
S_OK

Success.

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

CloneContext Function

 

 

Show: