|
CreateCompatibleHRC
2.0
Creates a handwriting recognition context HRC that can be used to do handwriting recognition, optionally compatible with an
existing context template. A recognizer must export this function.
HRC CreateCompatibleHRC( HRC hrcTemplate, HREC hrec )
Parameters
hrcTemplate
Handle to an existing HRC object that can provide default settings for the recognition context being
created. If NULL, this parameter is ignored and default settings are used.
hrec
Instance handle of the recognizer library. This is the value returned by the
Windows function LoadLibrary. Note that the module handle returned by the Windows function GetModuleHandle does not work in this case. If this value is NULL, the system default
recognizer is used by internally making a call to GetPenMiscInfo with PMI_SYSREC as the first argument.
Return Value
Returns a handle to a new HRC object if successful; otherwise, returns NULL.
Comments
The hrcTemplate parameter can be used to copy an old context into the new HRC object. This includes settings such as word lists, coercion, and GUIDE structure, but excludes any pen data that may be in the old context.
See Also
DestroyHRC, GetResultsHRC, SetMaxResultsHRC
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|