HwxSetContext (Windows CE 5.0)
This function specifies to the handwriting recognition context (HRC) which character the user previously entered. Using this character, the handwriting recognition engine can more accurately determine the character it is currently processing.
BOOL HwxSetContext( HRChrc,WCHAR wContext );
Parameters
- hrc
[in] Handle to the handwriting recognition context (HRC) object. - wContext
[in] Unicode value of the character input by the user prior to the character that is processed in hrc. If this parameter is zero, the recognition engine does not use context information when identifying the character.
Return Values
TRUE indicates success. FALSE indicates failure. To get extended error information, call the GetLastError function.
Remarks
Call this function before calling the HwxProcess function. If HwxSetContext is not called, the handwriting recognition engine does not use context information to determine the character. Having context information greatly improves the performance of the handwriting recognition engine. Without context information, for example, it is difficult for the handwriting recognition engine to distinguish a lowercase "l" from the numeral one ("1").
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Recog.h.
Link Library: Hwxjpn.lib, Hwxusa.lib, Hwxcht.lib, Hwxkor.lib.
See Also
Send Feedback on this topic to the authors