Voice API for Windows Operating Systems Library Reference — November 2003 185
delete a specific call progress tone — dx_deletetone( )
!
!!
!Example
#include "srllib.h"
#include "dxxxlib.h"
main()
{
int brdhdl; /* board handle */
.
.
.
/* Open board */
if ((brdhdl = dx_open("brdB1",0)) == -1)
{
printf("Cannot open board\n");
/* Perform system error processing */
exit(1);
}
/* Delete the current TID_BUSY1 call progress tone*/
int result;
if ((result =
dx_deletetone(brdhdl, TID_BUSY1, &tonedata, EV_SYNC)
) == -1)
{
printf("Cannot delete the TID_BUSY1 tone \n");
/* Perform system error processing */
exit(1);
}
}
!
!!
!See Also
dx_createtone( )
dx_querytone( )