Share via


ISpVoice::GetOutputObjectToken

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

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 Values

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

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.

See Also

ISpVoice | SAPI Interfaces

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.