Share via


Microsoft Speech SDK Version 5.1

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.