Retrieves the release version number.
Public Declare Function PKI_Version Lib "diCrPKI.dll"
(ByVal nReserved1 As Long, ByVal nReserved2 As Long) As Long
nRet = PKI_Version(0, 0)
Long reserved - ignored in version 2.8 and above.Long reserved - ignored in version 2.8 and above.
long _stdcall PKI_Version(void *reserved1, void *reserved2);
Long: If successful, the return value is the value of
(100 x Major Version) + (10 x Minor Version) + (Release Number).
For example, if the major version number is 2, the minor version is 7, and
the release number is 3, then
the return value will be 273. [Changed in Version 2.7 to include release number].
If this function fails, it means the toolkit is not installed or the library cannot be found.
As of version 2.8, the arguments nReserved1 and nReserved2 are no longer passed "ByRef" and are ignored.
Dim nRet As Long nRet = PKI_Version(0, 0) Debug.Print "PKI_Version returns " & nRet
PKI_LicenceType PKI_CompileTime