
###############
A3DDllTerminate
###############

.. c:function:: A3DStatus A3DDllTerminate()

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DDllTerminate()
   
   Terminates a session with the library.
   
   This function terminates a session with the library. It deallocates memory it has previously allocated for its internal use.
   
   You must call this function to end a session with the library.
   
   
      2.0
   
   
   **Return Values**
   
   
      **A3D_INITIALIZE_NOT_CALLED**\ :
   
      **A3D_SUCCESS**\ :
   
   
   
      You can call this function only after successfully calling ``A3DDllInitialize``\ .
   
   
   
      When your process is done with A3DLIBS.dll (after calling ``A3DDllTerminate``\ ), you **MUST** unload that DLL, as shown in the sample code for ``A3DDllInitialize``\ . Unloading the DLL helps to avoid conflicts that can occur when multiple processes use A3DLIBS.dll.
   
   
   
      Processes must avoid parallel access to A3DLIBS.dll.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




