TwclWiFiDirectDevice.Disconnect Method
Disconnects a WiFi Direct device.
public function Disconnect: Integer;
Return Value
Type: Integer
If the function succeeded the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.