Share via


ISpRecognizerLite::EnumItems

Send Feedback

This method provides a means by which a client gets a list of words that are currently recognized by the system.

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 Values

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

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.