다음을 통해 공유


SPVOICESTATUS (Windows CE 5.0)

Send Feedback

This structure contains voice status information. This structure is retrieved by ISpVoice::GetStatus.

typedef struct SPVOICESTATUS{  ULONGulCurrentStream;  ULONGulLastStreamQueued;  HRESULThrLastResult;  DWORDdwRunningState;  ULONGulInputWordPos;  ULONGulInputWordLen;  ULONGulInputSentPos;  ULONGulInputSentLen;  LONGlBookmarkId;  SPPHONEIDPhonemeId;  SPVISEMESVisemeId;  DWORDdwReserved1;  DWORDdwReserved2;} SPVOICESTATUS;

Members

  • ulCurrentStream
    Number of the current stream being synthesized or receiving output. See ISpVoice::Speak for more information on stream numbers.
  • ulLastStreamQueued
    Number of the last stream queued.
  • hrLastResult
    Result of the last call to ISpVoice::Speak or ISpVoice::SpeakStream.
  • dwRunningState
    Value that indicates voice status: currently speaking, finished with all pending speak requests, or waiting to speak. The possible values are defined for the SPRUNSTATE enumeration. A value of 0 indicates that the voice is currently waiting to speak.
  • ulInputWordPos
    Character position within the input text of the word currently being processed.
  • ulInputWordLen
    Length of the word currently being processed.
  • ulInputSentPos
    Character position within the input text of the sentence currently being processed.
  • ulInputSentLen
    Length of the sentence currently being processed.
  • lBookmarkId
    Current bookmark string (in base 10) converted to a long integer. If the string of the current bookmark does not begin with an integer, lBookmarkId is zero. For example, if the bookmark name is "123Bookmark", the lBookmarkId member is "123". If the bookmark name is "hello", the lBookmarkId member is 0.
  • PhonemeId
    Current phoneme identifier. See International Phoneme Representation.
  • VisemeId
    Current viseme identifier. See International Phoneme Representation.
  • dwReserved1
    Reserved for future use.
  • dwReserved2
    Reserved for future use.

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.