WiFi Framework C++ Edition

◆ OnDeviceDisconnected()

__event void OnDeviceDisconnected ( void *  Sender,
CwclWiFiDirectDevice *const  Device,
const int  Reason 
)

The event fires when the remote WiFi enabled device has been disconnected from the WiFi Direct Advertiser.

Parameters
SenderThe object initiates the event.
DeviceThe WiFi Direct device object.
ReasonThe disconnection reason. If the Reason is WCL_E_SUCCESS then the client disconnected by call the Disconnect method.
See also
CwclWiFiDirectDevice