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).
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. |