次の方法で共有


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

Instructs the DMR asynchronously to pause playing the current content.

Syntax

HRESULT PauseAsync(
  [out] ABI::Windows::Foundation::IAsyncAction **value
);

Parameters

[out] value

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 code Description
S_OK
The method succeeded.

Requirements

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

See also

IMediaRenderer