ISpRecognizerLite::DeleteAll
4/8/2010
This method removes all of the speech samples from the system for a given recognition method.
Syntax
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 Value
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
Header | itspeech.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Smartphone 2002 and later |