/* Sets the 11- or 29-bit acceptance filter of a CAN connection.  */
static HRESULT IxxatVciLibFuncCanControlSetAccFilter(HANDLE hCanCtl, BOOL fExtend, UINT32 dwCode, UINT32 dwMask)
/* Sets the 11- or 29-bit acceptance filter of a CAN connection.  */
static HRESULT IxxatVciLibFuncCanControlSetAccFilter(HANDLE hCanCtl, BOOL fExtend, UINT32 dwCode, UINT32 dwMask)
{
  HRESULT result = VCI_E_UNEXPECTED;
  assert(ixxatVciLibFuncCanControlSetAccFilterPtr != NULL);
  assert(ixxatVciDllHandle != NULL);
  if ((ixxatVciLibFuncCanControlSetAccFilterPtr != NULL) && (ixxatVciDllHandle != NULL))
  {
    result = ixxatVciLibFuncCanControlSetAccFilterPtr(hCanCtl, fExtend, dwCode, dwMask);
  }
  return result;
}