Voice API for Windows Operating Systems Library Reference — November 2003 61
retrieve all channel names for a board — ATDX_CHNAMES( )
/* Process error */
}
.
.
/* Display channels on board */
chnames = ATDX_CHNAMES(bddev);
subdevs = ATDV_SUBDEVS(bddev); /* number of sub-devices on board */
printf("Channels on this board are:\n");
for(cnt=0; cnt<subdevs; cnt++) {
printf("%s\n",*(chnames + cnt));
}
/* Call dx_open( ) to open each of the
* channels and store the device descriptors
*/
.
.
}
!
!!
!See Also
None.