Export (0) Print
Expand All

IMediaRenderer::SetMuteAsync method

Instructs the DMR asynchronously to either mute or unmute the audio.

Syntax


HRESULT SetMuteAsync(
  [in]  boolean           mute,
  [out] PlaybackOperation **value
);

Parameters

mute [in]

A reference to a boolean value that specifies the mute setting. A value of True specifies that mute is turned on, and a value of False specifies that it is turned off.

value [out]

Receives a reference to a PlaybackOperation object that is used to get results from the asynchronous operation.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

 

See also

IMediaRenderer

 

 

Community Additions

ADD
Show:
© 2015 Microsoft