共用方式為


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

Queries the DMR asynchronously to retrieve transport information.

Syntax

HRESULT GetTransportInformationAsync(
  [out] __FIAsyncOperation_1_Windows__CMedia__CStreaming__CTransportInformation **value
);

Parameters

[out] value

Receives a reference to a GetTransportInformationOperation 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