Microsoft Speech Platform
CSpEvent
CSpEvent Methods | Description |
---|---|
CSpEvent | The class constructor. |
~CSpEvent | The class destructor. |
Clear | Clears an event instance. |
AddrOf | Returns the address of the event instance. |
CopyTo | Copies the event instance and sets the lparam accordingly. |
GetFrom | Clears the current instance and retrieves the next event from the event queue. |
CopyFrom | Clears the current instance and copies the next event in the event queue to this instance. |
Detach | Clears the current instance and optionally makes a copy. |
SerializeSize | Calculates the required size of a buffer to serialize an event. |
Serialize | Copies event instance and then serializes the new instance. |
Deserialize | Sets the current instance to the deserialized version of the specified event. |
Phoneme | Returns the event as a cast type of SPPHONEID. |
Viseme | Returns the event as a cast type of SPEI_VISEME. |
InputWordPos | Returns the event as a cast type of ULONG. |
InputWordLen | Returns the event as a cast type of ULONG. |
InputSentPos | Returns the event as a cast type of ULONG. |
InputSentLen | Returns the event as a cast type of ULONG. |
ObjectToken | Returns the event as a cast type of ISpObjectToken pointer. |
VoiceToken | Returns the event as a cast type of SpObjectToken pointer. |
PersistVoiceChange | Returns the state of the voice change. |
Object | Returns the event as a cast type of an IUnknown pointer. |
RecoResult | Returns the event as a cast type of an ISpRecoResult pointer. |
IsPaused | Returns the pause state. |
IsEmulated | Returns the emulation state. |
String | Returns the string from the event's lParam. |
BookmarkName | Returns the bookmark string from the event's lParam. |
RequestTypeOfUI | Returns the IU type string from the event's lParam. |
RecoState | Returns the event's recognition state as a cast type of SPRECOSTATE. |
PropertyName | Returns the property name string from the event's lParam. |
PropertyNumValue | Returns the property number value as cast to LONG. |
PropertyStringValue | Returns the property string value from the event's lParam. |
Interference | Returns the event's interference value from lParam and cast SPINTERFERENCE. |
EndStreamResult | Returns the event's end stream result from the event's lParam. |
InputStreamReleased | Returns the state from releasing the stream. |