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

Queries the DMR asynchronously for its current audio volume level.

Syntax

HRESULT GetVolumeAsync(
  [out] __FIAsyncOperation_1_UINT32 **value
);

Parameters

[out] value

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

   
Target Platform Windows
Header windows.media.streaming.h

See also

IMediaRenderer