Microsoft Speech Platform
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
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | ppObjectToken is invalid. |
S_FALSE | The current output stream does not have an object token |