Skip to content

GetTrailingForReads

Gets the string that is currently configured to be automatically removed from device response strings.

virtual CString GetTrailingForReads() const abstract;

The string that is currently configured to be automatically removed from device response strings.

See the description of the SetTrailingForReads function for more details.

The following example demonstrates use of the GetTrailingForReads function.

CoAcme4321.cpp
HRESULT Acme4321::OnFinalInitialize()
{
HRESULT hr = S_OK;
CString strTrailing = io.GetTrailingForReads();
return hr;
}