WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiDirectClient::DoDeviceDisconnected Method

Fires the OnDeviceDisconnected event.

Syntax
C++
virtual void DoDeviceDisconnected(CwclWiFiDirectDevice* Device, int Reason) override;
Parameters 
Description 
CwclWiFiDirectDevice* Device 
The WiFi Direct device object.  
int 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.