Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 275
initialize the voice library DLL — dx_libinit( )
dx_libinit( )
initialize the voice library DLL
!
!!
! Description
The dx_libinit( ) function initializes the voice library DLL by loading and resolving all entry
points in LIBDXXMT.DLL.
!
!!
! Cautions
The sr_libinit( ) function must be called prior to using the dx_libinit( ) function.
!
!!
! Errors
The dx_libinit( ) function fails if the library has already been initialized. For example, if you try to
make a second call to sr_libinit( ), it fails.
!
!!
! Example
/*$ dx_libinit( ) example $*/
#include <windows.h>
#include <srllib.h>
#include <dxxxlib.h>
int InitDevices( )
Name: dx_libinit ( flags )
Inputs: unsigned short flags
specifies the programming model
Returns: 0 if success
-1 if failure
Includes: srllib.h
dxxxlib.h
Category: Configuration
Mode: synchronous
Platform: DM3, Springware
Parameter Description
flags This flag has two possible values:
DLGC_MT – specify if using a multi-threaded or window callback model
DLGC_ST – specify if using the single-threaded model