76 Voice API for Windows Operating Systems Library Reference — November 2003
ATDX_DEVTYPE( ) — return the device type
ATDX_DEVTYPE( )
return the device type
!
!!
!Description
The ATDX_DEVTYPE( ) function returns the device type of the board or channel dev.
Possible return values are the following:
DT_DXBD
Board device (indicates virtual board)
DT_DXCH
Channel device
DT_PHYBD
Physical board device
!
!!
!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_DEVTYPE(dev)
Inputs: int dev valid board or channel device handle
Returns: 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 dx_open( )