Share via


IRTCClient::PlayRing

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method plays a ring on the operating system default audio device or on the RTC default audio device.

Syntax

HRESULT PlayRing(
  RTC_RING_TYPE enType,
  VARIANT_BOOL bPlay
);

Parameters

  • enType
    [in] An RTC_RING_TYPE enumeration value specifying the type of sound rendered.
  • bPlay
    [in] VARIANT_TRUE to play a ring.

    VARIANT_FALSE to stop the currently rendered ring.

Return Value

This method can return an RTC_E_ constant.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCClient
RTC_RING_TYPE