Index   Commented   Search   About

DestroyHRC

2.0

Destroys an HRC object. A recognizer must export this function.

int DestroyHRC( HRC hrc )

Parameters

hrc

Handle to the HRC object.

Return Value

Returns HRCR_OK if successful; otherwise, returns one of the following negative values:

Constant
Description
HRCR_ERROR
Invalid parameter or other error.
HRCR_MEMERR
Insufficient memory.

Comments

If the HRC contains other objects such as an HPENDATA object, the recognizer must destroy the contained objects as well. After DestroyHRC returns HRCR_OK, the handle hrc is no longer valid. The application should set hrc to NULL to ensure it is not inadvertently used again.

See Also

CreateCompatibleHRC
, DestroyHRCRESULT

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

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun