Share via


ISpVoice::GetOutputObjectToken

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method gets the object token for the current audio output object.

Syntax

HRESULT GetOutputObjectToken(
  ISpObjectToken** ppObjectToken
);

Parameters

  • ppObjectToken
    [out] Address of a pointer to an ISpObjectToken implementation representing 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 Value

The following table shows the possible 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.

Requirements

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpVoice
SAPI Interfaces