Export (0) Print
Expand All

CSpEvent (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

CSpEvent

CSpEvent MethodsDescription
CSpEvent The class constructor.
~CSpEventThe class destructor.
ClearClears an event instance.
AddrOfReturns the address of the event instance.
CopyToCopies the event instance and sets the lparam accordingly.
GetFromClears the current instance and retrieves the next event from the event queue.
CopyFromClears the current instance and copies the next event in the event queue to this instance.
DetachClears the current instance and optionally makes a copy.
SerializeSizeCalculates the required size of a buffer to serialize an event.
SerializeCopies event instance and then serializes the new instance.
DeserializeSets the current instance to the deserialized version of the specified event.
PhonemeReturns the event as a cast type of SPPHONEID.
VisemeReturns the event as a cast type of SPEI_VISEME.
InputWordPosReturns the event as a cast type of ULONG.
InputWordLenReturns the event as a cast type of ULONG.
InputSentPosReturns the event as a cast type of ULONG.
InputSentLenReturns the event as a cast type of ULONG.
ObjectTokenReturns the event as a cast type of ISpObjectToken pointer.
VoiceTokenReturns the event as a cast type of SpObjectToken pointer.
PersistVoiceChangeReturns the state of the voice change.
ObjectReturns the event as a cast type of an IUnknown pointer.
RecoResultReturns the event as a cast type of an ISpRecoResult pointer.
IsPausedReturns the pause state.
IsEmulatedReturns the emulation state.
StringReturns the string from the event's lParam.
BookmarkNameReturns the bookmark string from the event's lParam.
RequestTypeOfUIReturns the IU type string from the event's lParam.
RecoStateReturns the event's recognition state as a cast type of SPRECOSTATE.
PropertyNameReturns the property name string from the event's lParam.
PropertyNumValueReturns the property number value as cast to LONG.
PropertyStringValueReturns the property string value from the event's lParam.
InterferenceReturns the event's interference value from lParam and cast SPINTERFERENCE.
EndStreamResultReturns the event's end stream result from the event's lParam.
InputStreamReleasedReturns the state from releasing the stream.
Show:
© 2014 Microsoft