ISimpleAudioVolumeSetMute Method
Sets the muting state 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 SetMute(
bool isMuted,
Guid eventContext
)
<PreserveSigAttribute>
Function SetMute (
isMuted As Boolean,
eventContext As Guid
) As HResult
Dim instance As ISimpleAudioVolume
Dim isMuted As Boolean
Dim eventContext As Guid
Dim returnValue As HResult
returnValue = instance.SetMute(isMuted,
eventContext)
[PreserveSigAttribute]
HResult SetMute(
[InAttribute] bool isMuted,
[InAttribute] Guid eventContext
)
[<PreserveSigAttribute>]
abstract SetMute :
isMuted : bool *
eventContext : Guid -> HResult
No code example is currently available or this language may not be supported.
- isMuted Boolean
-
The new muting state.
- eventContext Guid
-
A user context value that is passed to the notification callback.
HResult
If the method succeeds, it returns
S_OK.
If it fails, it returns an
HResult value.