Serial Framework C++ Edition

◆ OnConnect()

__event void OnConnect ( void *  Sender,
const int  Error,
const tstring &  Description 
)

The event fires when the Connect operation has been completed completed.

Parameters
SenderThe object that initiated the event.
ErrorThe operation result code. If operation has been completed with success the Error is
See also
WCL_E_SUCCESS
.
DescriptionAdditional optional description of the operation result.