public static extern TPCANStatus WriteFD( [MarshalAs(UnmanagedType.U2)] TPCANHandle Channel, ref TPCANMsgFD MessageBuffer);
private static extern TPCANStatus ReadFD( [MarshalAs(UnmanagedType.U2)] TPCANHandle Channel, out TPCANMsgFD MessageBuffer, IntPtr TimestampBuffer);
/// <summary> /// Reads a CAN message from the receive queue of a FD capable PCAN Channel /// </summary> /// <param name="Channel">The handle of a FD capable PCAN Channel</param> /// <param name="MessageBuffer">A TPCANMsgFD structure buffer to store the CAN message</param> /// <returns>A TPCANStatus error code</returns> public static TPCANStatus ReadFD( TPCANHandle Channel, out TPCANMsgFD MessageBuffer) { return(ReadFD(Channel, out MessageBuffer, IntPtr.Zero)); }
public static extern TPCANStatus ReadFD( [MarshalAs(UnmanagedType.U2)] TPCANHandle Channel, out TPCANMsgFD MessageBuffer, out TPCANTimestampFD TimestampBuffer);