Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
::GetVoice

ISpVoice::GetVoice (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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

ValueDescription
S_OKFunction completed successfully.
E_POINTERppToken is invalid.
Show:
© 2015 Microsoft