ISpVoice::GetVoice (SAPI 5.3)

Microsoft Speech API 5.3

ISpVoice::GetVoice

ISpVoice::GetVoice retrieves the object token that identifies the voice currently in use. If there is not a voice currently in use, this method will return the token for the default voice.

  
    HRESULT GetVoice(ISpObjectToken   **ppToken
);

Parameters

  • ppToken
    [out] Pointer which will be set to point to the current voice's object token. 

Return values

Value
S_OK
E_POINTER