Share via


ISpVoice::GetVolume

This method gets the current base volume level (either the default volume level or the last level set by ISpVoice::SetVolume).

HRESULT GetVolume(
  USHORT* pusVolume
);

Parameters

  • pusVolume
    [out] Pointer to the current base volume level.

Return Values

The following table shows the possible return values.

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

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.

See Also

ISpVoice | SAPI Interfaces

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.