MediaRenderer.GetVolumeAsync method

Queries the DMR asynchronously for its current audio volume level.

Syntax

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

Parameters

  • value [out]
    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.

 

See also

MediaRenderer