ITPhone::put_RingVolume method

The put_RingVolume method requests that the phone change its ring volume.

The application must call ITPhone::Open before invoking this method; otherwise, the invocation fails.

Syntax


HRESULT put_RingVolume(
  [inlong lRingVolume
);

Parameters

lRingVolume [in]

Phone volume. For more information, see the following Remarks section.

Return value

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

Remarks

If the phone is currently ringing (RingMode != 0), the new volume takes effect immediately. If the phone is not currently ringing (RingMode == 0), the new volume takes effect the next time the phone rings.

Requirements

TAPI version

Requires TAPI 3.1

Header

Tapi3.h

Library

Uuid.lib

DLL

Tapi3.dll

See also

ITPhone
get_RingVolume

 

 

Community Additions

ADD
Show: