ISpVoice::GetOutputObjectToken (SAPI 5.4)

Microsoft Speech API 5.4

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
S_OK
E_POINTER
S_FALSE