ISpRecognizerLite::DeleteAll

Send Feedback

This method removes all of the speech samples from the system for a given recognition method.

HRESULT  DeleteAll (
  SPRECOGNITIONMETHOD eRM,
  IUnknown* pUnk
);

Parameters

  • eRM
    [in] Identifies which recognition method should be used.
  • pUnk
    [in] Pointer to a client callback interface. This parameter is currently NULL and ignored.

Return Values

Value Description
S_OK Success
E_ABORT The operation was cancelled by a call to the CancelProcessing function.
E_ACCESSDENIED Unable to access stored training samples.
E_INVALIDARG The operation failed because there were one or more invalid arguments.
SPERR_ENGINE_BUSY The operation failed because the engine was busy servicing another request.
SPERR_SR_ENGINE_EXCEPTION General exception from the engine.
SPERR_UNINITIALIZED The operation failed because the engine was not properly 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.