Share via


HwxDestroy (Windows Embedded CE 6.0)

1/6/2010

This function destroys a handwriting recognition context (HRC) object.

Syntax

BOOL HwxDestroy( 
  HRC hrc 
);

Parameters

  • hrc
    [in] Handle to the handwriting recognition context (HRC) object.

Return Value

TRUE indicates success. FALSE indicates failure. To get extended error information, call the GetLastError function.

Remarks

The handwriting recognition engine uses an HRC to process each character that a user draws. Typically, before an application collects user input, it calls the HwxCreate function to create a master HRC. Whenever a new HRC is needed to interpret another character, an application copies the master HRC to an HRC used for processing. To conserve system resources, use HwxDestroy to remove each HRC after calling HwxGetResults.

After HwxDestroy returns TRUE, the handle hrc is no longer valid. An application should set hrc to NULL to ensure it is not inadvertently used again.

Requirements

Header recog.h
Library hwxcht.lib, Hwxjpn.lib, Hwxkor.lib, hwxusa.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

HwxCreate
HwxGetResults

Other Resources

Handwriting Recognizer Engine (HWX) Functions