Share via


SPPARSEINFO

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This structure contains parsing information for a stream.

Syntax

typedef struct SPPARSEINFO{
  ULONG cbSize;
  SPRULEHANDLE hRule;
  ULONGLONG ullAudioStreamPosition;
  ULONG ulAudioSize;
  ULONG cTransitions;
  SPPATHENTRY* pPath;
  BOOL fHypothesis;
  GUID SREngineID;
  ULONG ulSREnginePrivateDataSize;
  const BYTE* pSREnginePrivateData;
} SPPARSEINFO;

Members

  • cbSize
    Size of this structure, as set by the SR engine.
  • hRule
    Handle to the top-level rule for the recognition or hypothesis.
  • ullAudioStreamPosition
    Position in the audio stream where recognition started.
  • ulAudioSize
    Size, in bytes, of the portion of the stream that is recognized.
  • cTransitions
    Number of word transitions in the array specified by pPath.
  • pPath
    Pointer to an SPPATHENTRY structure identifying the transition path through the CFG that is recognized.
  • fHypothesis
    Value specifying the type of top-level rule. This value is set to TRUE for a hypothesis, and to FALSE for a final recognition. See hRule.
  • SREngineID
    Unique identifier of the SR engine. This value can be NULL.
  • ulSREnginePrivateDataSize
    Size of private SR engine data that will be sent to the SR engine alternate analyzer. The value can be zero.
  • pSREnginePrivateData
    Pointer to private SR engine data (memory) that will be sent to the SR engine alternate analyzer. This value can be NULL. SAPI will handle the serialization and marshaling of the data for the SR engine.

Requirements

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

See Also

Reference

SAPI Structures