
################
A3DDllGetVersion
################

.. c:function:: A3DStatus A3DDllGetVersion(A3DInt32 *piMajorVersion, A3DInt32 *piMinorVersion)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DDllGetVersion(:c:type:`~A3DInt32`\ \* **piMajorVersion**\ , :c:type:`~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 ``piMajorVersion``\ argument is identical to the Acrobat version identifier. The value returned through the ``piMinorVersion``\ argument is specific to the library.
   
   To ensure compatibility, the ``A3D_DLL_MAJORVERSION``\ must be identical to the major version of currently installed library, and the ``A3D_DLL_MINORVERSION``\ must be less than or equal to the minor version of the currently installed library.
   
   You can call ``A3DDllGetVersion``\ anytime, even before calling ``A3DDllInitialize``\ and after calling ``A3DDllTerminate``\ . This function does not allocate memory.
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




