WiFi Framework C++ Edition

◆ DoDeviceDisconnected()

virtual void DoDeviceDisconnected ( CwclWiFiDirectDevice *const  Device,
const int  Reason 
)
overrideprotectedvirtual

Fires the OnDeviceDisconnected event.

Parameters
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

Reimplemented from CwclWiFiDirectConnectionComponent.