Freigeben über


SPPARSEINFO (Windows CE 5.0)

Send Feedback

This structure contains parsing information for a stream.

typedef struct SPPARSEINFO{  ULONGcbSize;  SPRULEHANDLEhRule;  ULONGLONGullAudioStreamPosition;  ULONGulAudioSize;  ULONGcTransitions;  SPPATHENTRY* pPath;  BOOLfHypothesis;  GUIDSREngineID;  ULONGulSREnginePrivateDataSize;  constBYTE* 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

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

See Also

SAPI Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.