Intel 05-1832-002 User Manual

Page of 564
Voice API for Windows Operating Systems Library Reference — November 2003
111
return the reason for the last I/O function termination — ATDX_TERMMSK( )
ATDX_TERMMSK( )
return the reason for the last I/O function termination
!
!
!
Description
The ATDX_TERMMSK( ) function returns a bitmap containing the reason for the last I/O 
function termination on the channel chdev. The bitmap is set when an I/O function terminates. 
On DM3 boards, possible return values are the following: 
TM_DIGIT 
Specific digit received
TM_EOD 
End of data reached (on playback, receive)
TM_ERROR 
I/O device error
TM_IDDTIME 
Inter-digit delay
TM_MAXDATA
Maximum data reached; returned when the last I/O function terminates on DX_MAXDATA
TM_MAXDTMF 
Maximum DTMF count
TM_MAXNOSIL 
Maximum period of non-silence
TM_MAXSIL 
Maximum period of silence
TM_MAXTIME 
Maximum function time exceeded
Name:
long ATDX_TERMMSK(chdev)
Inputs:
int chdev
valid channel device handle
Returns:
channel’s last termination bitmap if successful
AT_FAILURE if error
Includes:
srllib.h
dxxxlib.h
Category:
Extended Attribute
Mode:
synchronous
Platform:
DM3, Springware 
Parameter
Description
chdev 
specifies the valid channel device handle obtained when the channel was opened 
using dx_open( )