Process function (recapis.h)

Performs ink recognition synchronously.

Syntax

HRESULT Process(
  HRECOCONTEXT hrc,
  BOOL         *pbPartialProcessing
);

Parameters

hrc

The handle to the recognizer context.

pbPartialProcessing

Specify TRUE to process a subset of the ink. Partial processing reduces the time the recognizer spends performing recognition if more ink is expected.

Typically an application specifies FALSE to process all the ink. The function does not process all the ink if you have not called the EndInkInput function.

The function sets the pbPartialProcessing parameter to TRUE if there is enough ink left to continue processing; otherwise, FALSE.

Return value

This function can return one of these values.

Return code Description
S_OK
Success.
S_FALSE
The function did not process the ink because the ink has been fully processed, or the EndInkInput function has not been called and the recognizer does not support incremental processing of ink.
TPC_S_INTERRUPTED
The process was interrupted by a call to the AdviseInkChange function.
E_POINTER
One of the parameters is an invalid pointer.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
An invalid argument was received.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header recapis.h
DLL inkobjcore.dll