GetFeedback Method

Navigation:  Reference Guide > Serial Communication >

GetFeedback Method

Previous pageReturn to chapter overviewNext page

Retrieves the information for a communication channel (direct serial connection or modem connection) when an error or a warning occurs.

GetFeedback(short ChannelID, BSTR *Msg, long *Size, VARIANT_BOOL *Result);

Parameters

ChannelID

    A channel ID (0-7) used to identify a communication channel.

Msg

    A pointer to a string containing the information.

Size

    A pointer to the variable that receives the size (in characters) of the information.

Result

    If the method succeeds, the value of variable pointed to by Result is VARIANT_TRUE, otherwise the value is VARIANT_FALSE.