Afficher en anglais

Partage via


IActiveBasicDevice::MaxVolume method

Gets the maximum volume supported by the device.

Syntax

c++
HRESULT MaxVolume(
  [out, retval] UINT32 *value
);

Parameters

  • value [out, retval]
    Receives the maximum volume supported by the device.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Windows.Media.Streaming.Devices.h

IDL

Windows.Media.Streaming.Devices.idl

DLL

PlayToDevice.dll

See also

IActiveBasicDevice

IBasicDevice