/* Writes a CAN message in the transmit buffer of the specified message channel.  */
static HRESULT IxxatVciLibFuncCanChannelPostMessage(HANDLE hCanChn, PCANMSG pCanMsg)
/* Writes a CAN message in the transmit buffer of the specified message channel.  */
static HRESULT IxxatVciLibFuncCanChannelPostMessage(HANDLE hCanChn, PCANMSG pCanMsg)
{
  HRESULT result = VCI_E_UNEXPECTED;
  assert(ixxatVciLibFuncCanChannelPostMessagePtr != NULL);
  assert(ixxatVciDllHandle != NULL);
  if ((ixxatVciLibFuncCanChannelPostMessagePtr != NULL) && (ixxatVciDllHandle != NULL))
  {
    result = ixxatVciLibFuncCanChannelPostMessagePtr(hCanChn, pCanMsg);
  }
  return result;
}