A3DDllGetVersion
-
A3DStatus
A3DDllGetVersion(A3DInt32 *piMajorVersion, A3DInt32 *piMinorVersion) -
Gets the version identifiers for the currently installed library.
This function returns the version of the currently installed library. Use these version identifiers to determine whether that library is compatible with your application. The value returned through the
piMajorVersionargument is identical to the Acrobat version identifier. The value returned through thepiMinorVersionargument is specific to the library.To ensure compatibility, the
A3D_DLL_MAJORVERSIONmust be identical to the major version of currently installed library, and theA3D_DLL_MINORVERSIONmust be less than or equal to the minor version of the currently installed library.You can call
A3DDllGetVersionanytime, even before callingA3DDllInitializeand after callingA3DDllTerminate. This function does not allocate memory.Returns
A3D_SUCCESSon success, or an error code on failure