Share via


ISpRecognizerLite::Abort

Send Feedback

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.

HRESULT  Abort ( void );

Parameters

None.

Return Values

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

Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: itspeech.h

See Also

ISpRecognizerLite

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.