public static extern ECANStatus Receive( UInt32 DeviceType, UInt32 DeviceInd, UInt32 CANInd, out CAN_OBJ Receive, UInt32 length, UInt32 WaitTime);
public static extern UInt32 Receive( UInt32 DeviceType, UInt32 DeviceIndex, UInt32 CANIndex, out CAN_OBJ Receive, UInt32 Length, UInt32 WaitTime);
public static extern ECANStatus Transmit( UInt32 DeviceType, UInt32 DeviceInd, UInt32 CANInd, ref CAN_OBJ Send, UInt16 length);
public static extern UInt32 Transmit( UInt32 DeviceType, UInt32 DeviceIndex, UInt32 CANIndex, CAN_OBJ Send, UInt16 Length);
[DllImport("ECanVci.dll", EntryPoint = "Transmit")] //返回实际发送的帧数。单帧发送 public static extern UInt32 Transmit( UInt32 DeviceType, UInt32 DeviceInd, UInt32 CANInd, ref CAN_OBJ Send, UInt32 length);