ISerial::EndIn

Description

Indicates the method used to terminate read operations.  If it is set to ASRL_END_NONE, the read will not terminate until all of the requested data is received (or an error occurs).  If it is set to ASRL_END_TERMCHAR, the read will terminate as soon as the character in the TerminationCharacter property of IBaseMessage is received.  If it is set to ASRL_END_LAST_BIT, the read will terminate as soon as a character arrives with its last bit set.  For example, if ASRL_DATA_BITS is set to 8, then the read will terminate when a character arrives with the 8th bit set.

VB Prototype

Dim value As SerialEndConst
value = object.EndIn

object.EndIn = value

C++ Prototype

HRESULT get_EndIn(
  SerialEndConst* EndIn
);

HRESULT put_EndIn(
  SerialEndConst EndIn
);

Return Value

Refer to the table of return codes.

See Also

ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, BytesAvailable, BaudRate, DataBits, ClearToSendState, DataCarrierDetectState, DataSetReadyState, DataTerminalReadyState, EndIn, EndOut, FlowControl, Parity, RingIndicatorState, RequestToSendState, StopBits, ReplacementCharacter, XONCharacter, XOFFCharacter, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, SetBufferSize, Flush, ISerial Overview