WiFi Framework
ContentsIndexHome
PreviousUpNext
wclWiFi::wclWiFiDirectDisconnectedEvent Macro

The WiFi Direct OnConnected event handler prototype.

Syntax
C++
#define wclWiFiDirectDisconnectedEvent(_event_name_) \
    __event void _event_name_(void* Sender, CwclWiFiDirectDevice* Device, int Reason)
Parameters 
Description 
Sender 
The object initiates the event.  
Device 
The WiFi Direct device object.  
Reason 
The disconnection reason. If the Reason is WCL_E_SUCCESS then the client disconnected by call the Disconnect method.  
Copyright (c) 2006-2019. All rights reserved.