::GetOutputObjectToken

ISpVoice::GetOutputObjectToken (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpVoice::GetOutputObjectToken

ISpVoice::GetOutputObjectToken retrieves the object token for the current audio output object.

HRESULT GetOutputObjectToken(
   ISpObjectToken   **ppObjectToken
);

Parameters

ppObjectToken
[out] Address of an ISpObjectToken pointer that receives the audio output object token. If the current output is set to an ISpStream object, GetOutputObjectToken will return S_FALSE and ppObjectToken will be NULL.

Return values

ValueDescription
S_OKFunction completed successfully.
E_POINTERppObjectToken is invalid.
S_FALSEThe current output stream does not have an object token
Show:
© 2016 Microsoft