/* Opens the control unit of a CAN connection on a fieldbus adapter.  */
static HRESULT IxxatVciLibFuncCanControlOpen(HANDLE hDevice, UINT32 dwCanNo, PHANDLE phCanCtl)
/* Opens the control unit of a CAN connection on a fieldbus adapter.  */
static HRESULT IxxatVciLibFuncCanControlOpen(HANDLE hDevice, UINT32 dwCanNo, PHANDLE phCanCtl)
{
  HRESULT result = VCI_E_UNEXPECTED;
  assert(ixxatVciLibFuncCanControlOpenPtr != NULL);
  assert(ixxatVciDllHandle != NULL);
  if ((ixxatVciLibFuncCanControlOpenPtr != NULL) && (ixxatVciDllHandle != NULL))
  {
    result = ixxatVciLibFuncCanControlOpenPtr(hDevice, dwCanNo, phCanCtl);
  }
  return result;
}