Previous PageTable Of Contents../index.htmlIndexNext Page

dcb_DeleteAllConferences( )

Description | Cautions | Example 1: | Example 2: | Errors | See Also

Name:

int dcb_DeleteAllConferences(devh, mode, rfu)

Inputs:

int devh

  valid Dialogic DCB DSP device handle

 

unsigned short mode

  asynchronous/synchronous

 

void* rfu

  reserved for future use

Returns:

0 on success
-1 on failure

Includes:

srllib.h
dtilib.h
msilib.h
dcblib.h

Category:

Conference Management

Mode:

synchronous/asynchronous

Top Of PageDescription

The dcb_DeleteAllConferences( ) function deletes all established conferences. This function is provided for recovery purposes. A typical use would be if an application had to be restarted due to an abnormal termination: rather than downloading firmware to re-initialize the boards, this function could be called to delete all conferences that might be left active in firmware.

Parameter

Description

devh:

The valid DCB DSP device handle returned by a call to dcb_open( ).

mode:

The operation mode specifies whether the function should run asynchronously or synchronously.

 

EV_ASYNC

  Run asynchronously. Returns -1 to indicate failure to initiate. Returns 0 to indicate successful initiation and then generates either the DCBEV_DELALLCONF termination event to indicate successful completion (all conferences deleted), or the DCBEV_ERREVT in case of error. (Use the SRL Event Management functions to handle the termination events.)

 

EV_SYNC

  Run synchronously. Returns 0 on success and -1 on failure.

NOTE:
Calling this function frees all resources in use by all the conferences on the specified DCB DSP device.

Top Of PageCautions

Top Of PageExample 1: Asynchronous

Top Of PageExample 2: Synchronous

Top Of PageErrors

If the function does not complete successfully, it will return -1 to indicate an error. Use the Standard Attribute functions ATDV_LASTERR( ) to obtain the applicable error value, or ATDV_ERRMSGP( ) to obtain a more descriptive error message.

Refer to the error type tables found in Chapter 2 of the Dialogic Audio Conferencing Software Reference. Error defines can be found in dtilib.h, msilib.h or dcblib.h.

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Intel Corporation
All rights reserved
This page generated February, 2002