Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 535
5
5.Error Codes
This chapter lists the error codes that may be returned for the voice library functions.
If a library function fails, use the standard attribute function ATDV_LASTERR( ) to return the
error code and ATDV_ERRMSGP( ) to return the error description. These functions are described
in the Standard Runtime Library API Library Reference.
The following errors can be returned using the ATDV_LASTERR( ) and ATDV_ERRMSGP( )
functions:
EDX_AMPLGEN
Invalid amplitude value in tone generation template
EDX_ASCII
Invalid ASCII value in tone template description
EDX_BADDEV
Device descriptor error
EDX_BADIOTT
DX_IOTT structure error
EDX_BADPARM
Invalid parameter
EDX_BADPROD
Function not supported on this board
EDX_BADREGVALUE
Unable to locate value in registry
EDX_BADTPT
DV_TPT structure error
EDX_BADTSFDATA
Tone Set File (TSF) data was not consolidated
EDX_BADTSFFILE
Filename doesn’t exist, or not valid TSF
EDX_BADWAVEFILE
Bad/unsupported WAVE file
EDX_BUSY
Device or channel is busy; or invalid state
EDX_CADENCE
Invalid cadence component values in tone template description
EDX_CHANNUM
Invalid channel number specified