Serial Framework C++ Edition

◆ Disconnect()

int Disconnect ( const tstring Description)

Disconnects from an OBEX server.

Parameters
DescriptionAn optional text value that describes the disconnect reason or provides any other information for a user on the server size. If this parameter is an empty string the description will not be sent to a server.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.