Share via


IMSVidAudioRenderer::get_Volume method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The get_Volume method retrieves the audio renderer's volume level.

Syntax

HRESULT get_Volume(
  [out] long *lVol
);

Parameters

[out] lVol

Pointer to a variable that receives the volume level, in units of .01 decibel (dB).

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Full volume is 0 and silence is �10,000. Divide by 100 to get the equivalent decibel value; for example, �10,000 is �100 dB.

Requirements

   
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IBasicAudio::get_Volume

IMSVidAudioRenderer Interface

IMSVidAudioRenderer::put_Volume