5. Error Handling
This chapter describes error handling for the IP media software.
All IP media library functions return a value that indicates the success or failure of the function call. Success is indicated by a return value of zero or a non-negative number. Failure is indicated by a value of -1.
If a function fails, call the Standard Attribute functions ATDV_LASTERR( ) and ATDV_ERRMSGP( ) for the reason for failure. These functions are described in the Standard Runtime Library API Library Reference.
If an error occurs during execution of an asynchronous function, the IPMEV_ERROR event is sent to the application. No change of state is triggered by this event. Upon receiving the IPMEV_ERROR event, the application can retrieve the reason for the failure using the standard runtime library functions ATDV_LASTERR( ) and ATDV_ERRMSGP( ).
Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation