IAPCSpeech::QuerySpeakingMode
This method gets whether or not the operating system is playing a text-to-speech (TTS) phrase or prerecorded speech.
Syntax
HRESULT IAPCSpeech::QuerySpeakingMode( DWORD *pdwMode );
Parameters
- pdwMode
- Pointer to a DWORD that indicates the current mode for speech. It is one of the following values.
- 0
- The operating system (OS) is playing neither a TTS phrase nor prerecorded speech.
- APCSPCH_SP_TTS
- The OS is playing TTS.
- APCSPCH_SP_WAVEFILE
- The OS is playing a waveform (WAV) file containing prerecorded speech.
Return Values
NOERROR indicates success. VCMDERR_INVALIDPARAM indicates that pdwMode is not a valid write pointer.