Intel 05-1832-002 IP Phone User Manual


 
232 Voice API for Windows Operating Systems Library Reference — November 2003
dx_GetDllVersion( ) — retrieve the voice DLL version number
dx_GetDllVersion( )
retrieve the voice DLL version number
!
!!
! Description
The dx_GetDllVersion( ) function returns the voice DLL version number for the file and product.
DLL Version Number functions return the file version number and product version number. The
file version number specifies the version of the DLL. The product version number specifies the
version of the software release that includes the DLL. Each function returns both version numbers
in hexadecimal format. For example, if the DLL version is 4.13, the function returns it as
0x0004000D. If the product version is 11.3, the function returns it as 0x000bB0003. In each case,
the high word represents the major number, and the low word represents the minor number.
!
!!
! Cautions
None.
!
!!
! Errors
None.
!
!!
! Example
/*$ dx_GetDllVersion( ) example $*/
#include <windows.h>
#include <srllib.h>
#include <dxxxlib.h>
int InitDevices( )
{
DWORD dwfilever, dwprodver;
/************************************************************************
Name: dx_GetDllVersion (dwfileverp, dwprodverp)
Inputs: LPDWORD dwfileverp
voice DLL version number
LPDWORD dwprodverp
product version of this release
Returns: 0 if success
-1 if failure
Includes: srllib.h
dxxxlib.h
Category: Configuration
Mode: synchronous
Platform: DM3, Springware
Parameter Description
dwfileverp pointer to where to return file version information
dwprodverp pointer to where to return product version information