/* Closes the device list opened with the function vciEnumDeviceOpen.  */
static HRESULT IxxatVciLibFuncVciEnumDeviceClose(HANDLE hEnum)
/* Closes the device list opened with the function vciEnumDeviceOpen.  */
static HRESULT IxxatVciLibFuncVciEnumDeviceClose(HANDLE hEnum)
{
  HRESULT result = VCI_E_UNEXPECTED;
  assert(ixxatVciLibFuncVciEnumDeviceClosePtr != NULL);
  assert(ixxatVciDllHandle != NULL);
  if ((ixxatVciLibFuncVciEnumDeviceClosePtr != NULL) && (ixxatVciDllHandle != NULL))
  {
    result = ixxatVciLibFuncVciEnumDeviceClosePtr(hEnum);
  }
  return result;
}