ISpRecognizerLite::EnumItems
4/8/2010
This method provides a means by which a client gets a list of words that are currently recognized by the system.
Syntax
HRESULT EnumItems (
SPRECOGNITIONMETHOD eRM,
UINT index,
SPTYPEHEADER* psth
);
Parameters
- eRM
[in] Identifies which recognition method should be used.
- index
[in] A zero-based index of the word to enumerate. The client can simply loop through the sample information by incrementing this variable. When the client is to stop enumerating, the speech recognition engine should return SPERR_NOT_FOUND.
psth
[out] Pointer to information that identifies the pattern.Recognition method SPTYPEHEADER type SPRM_CONTINUOUSDIGIT
SPT_NULL or ignored
Returns a global trained state.
SPRM_VOICETAG
SPT_DWORD
Return Value
Value | Description |
---|---|
S_OK |
Success |
E_NOTIMPL |
Not implemented. |
SPERR_NOT_FOUND |
The index that was passed in, is outside of the range. |
Otherwise, it returns an appropriate failure code from the return code list.
Remarks
Please contact Microsoft before implementing this function.
Requirements
Header | itspeech.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Smartphone 2002 and later |