다음을 통해 공유


SPEVENTLPARAMTYPE (Windows CE 5.0)

Send Feedback

This enumeration represents pointers to types of parameters.

typedef enum SPEVENTLPARAMTYPE{  SPET_LPARAM_IS_UNDEFINED = 0,  SPET_LPARAM_IS_TOKEN,  SPET_LPARAM_IS_OBJECT,  SPET_LPARAM_IS_POINTER,  SPET_LPARAM_IS_STRING} SPEVENTLPARAMTYPE;

Elements

  • SPET_LPARAM_IS_UNDEFINED
    The lParam value in the SPEVENT structure represents an undefined value. For all TTS events, except SPEI_VOICE_CHANGE and SPEI_TTS_BOOKMARK, the parameter type is SPET_LPARAM_IS_UNDEFINED. Possible events are defined for the SPEVENTENUM enumeration.
  • SPET_LPARAM_IS_TOKEN
    The SPEVENT.lParam value points to an object implementing ISpObjectToken. For example, since the TTS voice change event (SPEI_VOICE_CHANGE) includes a pointer to the object token for the new voice, SPEVENT.lparam is set to SPET_LPARAM_IS_TOKEN.
  • SPET_LPARAM_IS_OBJECT
    The SPEVENT.lParam value points to an object. For example, since the speech recognition event (SPEI_RECOGNITION) includes a pointer to the recognition result (ISpRecoResult), SPEVENT.lParam is set to SPET_LPARAM_IS_OBJECT.
  • SPET_LPARAM_IS_POINTER
    The SPEVENT.lParam value represents a memory pointer.
  • SPET_LPARAM_IS_STRING
    The SPEVENT.lParam value points to a string. For example, since the TTS bookmark event (SPEI_TTS_BOOKMARK) includes a pointer to the bookmark name, SPEVENT.lParam is set to SPET_LPARAM_IS_STRING.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.

See Also

SAPI Enumerations | ISpObjectToken | ISpRecoResult | SPEVENT | SPEVENTENUM

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.