ISpVoice::GetVoice (Windows CE 5.0)

Send Feedback

This method gets the object token that identifies the voice currently in use. If there is not a voice currently currently in use, this method will return the token for the default voice.

HRESULT GetVoice(  ISpObjectToken** ppToken);

Parameters

  • ppToken
    [out] Address of a pointer to an ISpObjectToken implementation for the object token representing the current voice.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_POINTER ppToken is invalid.

Requirements

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

See Also

ISpVoice | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.