/* Initializes the receive and transmit buffers of a message channel.  */
static HRESULT IxxatVciLibFuncCanChannelInitialize(HANDLE hCanChn, UINT16 wRxFifoSize, UINT16 wRxThreshold, UINT16 wTxFifoSize, UINT16 wTxThreshold)
/* Initializes the receive and transmit buffers of a message channel.  */
static HRESULT IxxatVciLibFuncCanChannelInitialize(HANDLE hCanChn, UINT16 wRxFifoSize, UINT16 wRxThreshold, UINT16 wTxFifoSize, UINT16 wTxThreshold)
{
  HRESULT result = VCI_E_UNEXPECTED;
  assert(ixxatVciLibFuncCanChannelInitializePtr != NULL);
  assert(ixxatVciDllHandle != NULL);
  if ((ixxatVciLibFuncCanChannelInitializePtr != NULL) && (ixxatVciDllHandle != NULL))
  {
    result = ixxatVciLibFuncCanChannelInitializePtr(hCanChn, wRxFifoSize, wRxThreshold, wTxFifoSize, wTxThreshold);
  }
  return result;
}