Bluetooth Framework
ContentsIndexHome
PreviousUpNext
wclBluetooth::wclRfCommServerDisconnectEvent Macro

The prototype of the OnDisconnect event handler for server connections.

Syntax
C++
#define wclRfCommServerDisconnectEvent(_event_name_) \
    __event void _event_name_(void* Sender, CwclRfCommServerClientConnection* Client, \
    int Reason);
Parameters 
Description 
Sender 
The object that initiated the event.  
Client 
The CwclRfCommServerClientConnection represents a remote connected client.  
Reason 
The disconnection code. If the parameter is WCL_E_SUCCESS the connection was closed by the Disconnect call. Otherwise indicates the disconnection reason.  
Copyright (c) 2006-2019. All rights reserved.