´╗┐ wclCommunication::wclClientConnectionConnectEvent Macro
IrDA Framework
ContentsIndexHome
PreviousUpNext
wclCommunication::wclClientConnectionConnectEvent Macro

The OnConnect event handler prototype.

Syntax
C++
#define wclClientConnectionConnectEvent(_event_name_) \
    __event void _event_name_(void* Sender, int Error)
Parameters 
Description 
Sender 
The object that initiated the event.  
Error 
The connection operation result code. If the parameter is WCL_E_SUCCESS the connection to a remote device was established and the remote device is connected. Otherwise the connection was not established and the remote device is not connected.  

If the Error parameter of the event is not WCL_E_SUCCESS an application may call Connect method again from inside the event handler.

Copyright (c) 2006-2018. All rights reserved.