/* Frees allocated memory, unload the DLLs canlib32.dll has loaded and de- initializes data structures.  */
static canStatus LeafLightLibFuncUnloadLibrary(void)
/* Frees allocated memory, unload the DLLs canlib32.dll has loaded and de- initializes data structures.  */
static canStatus LeafLightLibFuncUnloadLibrary(void)
{
  canStatus result = canERR_NOTINITIALIZED;
  assert(leafLightLibFuncUnloadLibraryPtr != NULL);
  assert(leafLightDllHandle != NULL);
  if ((leafLightLibFuncUnloadLibraryPtr != NULL) && (leafLightDllHandle != NULL))
  {
    result = leafLightLibFuncUnloadLibraryPtr();
  }
  return result;
}