Microsoft Speech Platform

ISpVoice::GetVolume

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

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetVolume(</strong> <strong> USHORT</strong> *<em>pusVolume</em> <strong>);</strong> </pre>

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.