/* Determines the current status of a message channel as well as the current settings and the current status of the controller that is connected to the channel.  */
static HRESULT IxxatVciLibFuncCanChannelGetStatus(HANDLE hCanChn, PCANCHANSTATUS pStatus)
/* Determines the current status of a message channel as well as the current settings and the current status of the controller that is connected to the channel.  */
static HRESULT IxxatVciLibFuncCanChannelGetStatus(HANDLE hCanChn, PCANCHANSTATUS pStatus)
{
  HRESULT result = VCI_E_UNEXPECTED;
  assert(ixxatVciLibFuncCanChannelGetStatusPtr != NULL);
  assert(ixxatVciDllHandle != NULL);
  if ((ixxatVciLibFuncCanChannelGetStatusPtr != NULL) && (ixxatVciDllHandle != NULL))
  {
    result = ixxatVciLibFuncCanChannelGetStatusPtr(hCanChn, pStatus);
  }
  return result;
}