Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic applies to Windows XP or later.
The get_Volume method retrieves the audio renderer's volume level.
Syntax
HRESULT get_Volume(
[out] long *plVol
);
Parameters
- plVol [out]
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
Header | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
See Also
IBasicAudio::get_Volume
IMSVidAudioRenderer Interface
IMSVidAudioRenderer::put_Volume
Send comments about this topic to Microsoft
Build date: 12/4/2008