ISpRecognizerLite::Abort
4/8/2010
This function can be called on a different thread, and will immediately abort any action being processed on the other thread, in which case, the aborted method returns E_ABORT, ASAP. E_ABORT indicates the operation was cancelled by a call to the CancelProcessing function. Examples of other threads are the Train or Recognize methods.
Syntax
HRESULT Abort ( void );
Parameters
None.
Return Value
Value | Description |
---|---|
S_OK |
Success. The engine was busy and it aborted the processing. |
E_ABORT |
The operation was cancelled by a call to the CancelProcessing function. |
S_FALSE |
Indicates success. However, the engine was not busy, so NOOP. |
SPERR_UNINITIALIZED |
The operation failed because the engine was never initialized. |
Otherwise, it returns an appropriate failure code from the return code list.
Requirements
Header | itspeech.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Smartphone 2002 and later |