IVoIPMediaMgr::PlayProgressTone

This method plays a progress tone to the default audio device. It loops the tone, that is, continues playing the tone, until the VoIP manager calls IVoIPMediaMgr::StopProgressTone to stop the tone.

HRESULT PlayProgressTone( 
  VoIPProgressTone vpt
);

Parameters

  • vpt
    [in] Pointer to a VoIPProgressTone enumeration value specifying the progress tone to play.

Return Values

If the HRESULT value passed to SUCCEEDED macro returns TRUE, the method succeeded. Otherwise, the method failed.

Remarks

This method allows only one progress tone to play at a time. If the method is called when a previous progress tone is playing, it stops playing the previous tone and starts playing the new one.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Voipmediamanager.idl.
Link Library: Voipguid.lib.

See Also

VoIP Application Interface Layer Architecture | VoIP Application Interface Layer Reference | IVoIPMediaMgr::StopProgressTone | IVoIPMgr | VoIPProgressTone

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.