ISpVoice::GetVolume

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpVoice::GetVolume

ISpVoice::GetVolume retrieves the current output volume level (either the default volume level or the last level set by ISpVoice::SetVolume).

HRESULT GetVolume(
   USHORT   *pusVolume
);

Parameters

pusVolume
[out] Address to receive the current base volume level.

Return values

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