Process function
Performs ink recognition synchronously.
Syntax
HRESULT WINAPI 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 |
|---|---|
|
Success. |
|
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. |
|
The process was interrupted by a call to the AdviseInkChange function. |
|
One of the parameters is an invalid pointer. |
|
An unspecified error occurred. |
|
An invalid argument was received. |
Requirements
|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|