Compartilhar via


Performing Handwriting Recognition (Windows Embedded CE 6.0)

1/6/2010

The process of handwriting recognition requires your application to use the handwriting application-programming interface (API) to accomplish the following sequence of events.

To start and end a handwriting recognition session

  1. Call HwxConfig to initialize the recognition engine for your application.

    Initialize the recognition engine only once for any specified application.

  2. Create an HRC object by using HwxCreate.

  3. Define the box or boxes that are used for processing user input by using HwxSetGuide.

  4. Define recognition criteria by using HwxALCValid and HwxALCPriority.

  5. Pass the previously recognized character, if one exists, to the HRC by calling the HwxSetContext function.

  6. Call HwxInput to send ink data to the HRC as the user writes.

  7. Use HwxProcess to pass the HRC to the recognition engine for processing.

    Note

    Repeat step 7 for each input stroke when performing partial recognition.

  8. Call the HwxResultsAvailable function to obtain the number of characters that the recognition engine recognized.

  9. Retrieve the recognition engine results by calling HwxGetResults.

  10. Invalidate the current HRC by calling HwxDestroy to complete the recognition process.

See Also

Other Resources

Handwriting Recognizer Engine (HWX) Application Development