Voice API for Windows Operating Systems Library Reference — November 2003 57
return the board type for the device — ATDX_BDTYPE( )
!
!!
!Example
#include <stdio.h>
#include <srllib.h>
#include <dxxxlib.h>
#define ON 1
main()
{
int bddev;
long bdtype;
int call_analysis=0;
/* Open the board device */
if ((bddev = dx_open("dxxxB1",NULL)) == -1) {
/* Process error */
}
if((bdtype = ATDX_BDTYPE(bddev)) == AT_FAILURE) {
/* Process error */
}
if(bdtype == DI_D41BD) {
printf("Device is a D/41 Board\n");
call_analysis = ON;
}
.
.
}
!
!!
!See Also
None.