C_GetDLLVersion

C_GetDLLVersion returns the version of the DLL and compares this version against a user-specified version.

void C_GetDLLVersion(

TDLLVersion *lpRequiredDLLVersion,

TDLLVersion *lpDLLVersion,

int *lpOK,

int *lpStatus

);

Parameters

lpRequiredDLLVersion (IN)

Points to the user-specified version. If do not wish to perform a comparison, but merely wish to return the version of the DLL then you should pass this parameter as NULL.

lpDLLVersion (OUT)

Points to a variable in which the DLL's version will be returned.

lpOK (OUT)

Points to a variable in which the result of the version comparison is returned. If the DLL version is the same as or more recent than the user-specified version then 1 is returned. Otherwise 0 is returned.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

Unicode and ANSI

The Unicode function name is C_GetDLLVersionW and the ANSI function name is C_GetDLLVersionA.