VoiceToken (SAPI 5.4)
Microsoft Speech API 5.4
CSpEvent::VoiceToken
CSpEvent::VoiceToken returns the event as a cast type of ISpObjectToken pointer. The caller must make sure the event ID is SPEI_VOICE_CHANGE. This is an additional check for the helper ObjectToken.
ISpObjectToken* VoiceToken( void ) const;
Parameters
None.
Return values
The event cast type of ISpObjectToken pointer.