WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiDirectAdvertiser::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.  

A derived class must always call the inherited method if this one is override.

Copyright (c) 2006-2019. All rights reserved.