Serial Framework C++ Edition

◆ OnDisconnect()

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

The event fires when the Disconnect operation 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.