Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
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.
Syntax
HRESULT GetVoice(
ISpObjectToken** ppToken
);
Parameters
- ppToken
[out] Address of a pointer to an ISpObjectToken implementation for the object token representing the current voice.
Return Value
The following table shows the possible return values.
| Value | Description |
|---|---|
S_OK |
Function completed successfully. |
E_POINTER |
ppToken is invalid. |
Requirements
| Header | sapi.h, sapi.idl |
| Library | sapilib.lib |
| Windows Embedded CE | Windows CE .NET 4.1 and later |