Share via


SPPHRASEALTREQUEST

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This structure contains alternate phrase request information.

Syntax

typedef struct tagSPPHRASEALTREQUEST{
  ULONG ulStartElement;
  ULONG cElements;
  ULONG ulRequestAltCount;
  void* pvResultExtra;
  ULONG cbResultExtra;
  ISpPhrase* pPhrase;
  ISpRecoContext* pRecoContext;
} SPPHRASEALTREQUEST;

Members

  • ulStartElement
    Starting element in the original phrase of the span for which to retrieve alternates.
  • cElements
    Number of elements in the original phrase of the span for which to retrieve alternates.
  • ulRequestAltCount
    Maximum number of alternates to use.
  • pvResultExtra
    Pointer to private SR engine data. This value can be NULL if no data has been supplied.
  • cbResultExtra
    Size, in bytes, of the private SR engine data specified by pvResultExtra. This value can be 0 if no data has been supplied.
  • pPhrase
    Pointer to an object implementing ISpPhrase that represents the original recognition phrase as sent from the SR engine.
  • pRecoContext
    Pointer to an object implementing ISpRecoContext that represents the speech recognition context. This context allows the alternate analyzer to communicate with the SR engine.

Requirements

Header sapi.h, sapi.idl
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Structures