242 Voice API for Windows Operating Systems Library Reference — November 2003
dx_getparm( ) — get the current parameter settings
dx_getparm( )
get the current parameter settings
!
!!
!Description
The dx_getparm( ) function returns the current parameter settings for an open device. This
function returns the value of one parameter at a time.
A different set of parameters is available for board and channel devices. Board parameters affect all
channels on the board. Channel parameters affects the specified channel only.
The channel must be idle (that is, no I/O function running) when calling dx_getparm( ).
Name: int dx_getparm(dev, parm, valuep)
Inputs: int dev valid channel or board device handle
unsigned long parm parameter type to get value of
void *valuep pointer to variable for returning parameter value
Returns: 0 if success
-1 if failure
Includes: srllib.h
dxxxlib.h
Category: Configuration
Mode: synchronous
Platform: DM3, Springware
Parameter Description
dev specifies the valid device handle obtained when a board or channel was
opened using dx_open( )