ISimpleAudioVolumeGetMasterVolume Method
Retrieves the client volume level for the audio session.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
HResult GetMasterVolume(
out float refLevelNormalization
)
<PreserveSigAttribute>
Function GetMasterVolume (
<OutAttribute> ByRef refLevelNormalization As Single
) As HResult
Dim instance As ISimpleAudioVolume
Dim refLevelNormalization As Single
Dim returnValue As HResult
returnValue = instance.GetMasterVolume(refLevelNormalization)
[PreserveSigAttribute]
HResult GetMasterVolume(
[OutAttribute] float% refLevelNormalization
)
[<PreserveSigAttribute>]
abstract GetMasterVolume :
refLevelNormalization : float32 byref -> HResult
No code example is currently available or this language may not be supported.
- refLevelNormalization Single
-
Receives the volume level expressed as a normalized value between 0.0 and 1.0.
HResult
If the method succeeds, it returns
S_OK.
If it fails, it returns an
HResult value.