Partager via


IRTCClient::PlayRing (Windows Embedded CE 6.0)

1/6/2010

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