ResetContext Function
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, asynchronous mode, and any recognition hints that improve recognition results. An example of a recognition hint may include whether the ink is a phone number, a name, or a URL. The TextContext and Wordlists are preserved in the context.
Syntax
[C++]
HRESULT WINAPI ResetContext(
HRECOCONTEXT hrc
);
Parameters
hrc
[in] Handle to the recognizer context.
Return Value
HRESULT value | Description |
---|---|
S_OK | Success. |
E_FAIL | An unspecified error occurred. |