次の方法で共有


ISpVoice::GetVolume (SAPI 5.3)

Microsoft Speech API 5.3

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
S_OK
E_POINTER