共用方式為


IMediaRenderer::GetMuteAsync method (windows.media.streaming.h)

Queries the DMR asynchronously to determine if audio is currently muted or unmuted.

Syntax

HRESULT GetMuteAsync(
  [out] __FIAsyncOperation_1_boolean **value
);

Parameters

[out] value

Receives a reference to a GetMuteOperation 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 code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Target Platform Windows
Header windows.media.streaming.h

See also

IMediaRenderer