Intel 05-1832-002 User Manual

Page of 564
56
Voice API for Windows Operating Systems Library Reference — November 2003
ATDX_BDTYPE( ) — return the board type for the device
ATDX_BDTYPE( )
return the board type for the device
!
!
!
Description
The ATDX_BDTYPE( ) function returns the board type for the device specified in dev.
A typical use would be to determine whether or not the device can support particular features, such 
as call progress analysis.
Possible return values are the following: 
DI_D41BD
D/41 Board Device. This value represents the “dxxxBn type” devices (virtual boards).
DI_D41CH
D/41 Channel Device. This value represents the “dxxxBnCm” type devices (channel device).
The values DI_41BD and DI_41CH will be returned for any D/41 board, and any board which 
emulates the voice resources of multiple D/41 boards.
!
!
!
Cautions
None.
!
!
!
Errors
This function will fail and return AT_FAILURE if an invalid board or channel device handle is 
specified in dev.
Name:
long ATDX_BDTYPE(dev)
Inputs:
int dev
valid board or channel device handle
Returns:
board or channel device type if successful
AT_FAILURE if error
Includes:
srllib.h
dxxxlib.h
Category:
Extended Attribute
Mode:
synchronous
Platform:
DM3, Springware 
Parameter
Description
dev 
specifies the valid device handle obtained when a board or channel was opened 
using