WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiDirectDevice::CwclWiFiDirectDevice Constructor

Creates new WiFi Direct device object.

Syntax
C++
CwclWiFiDirectDevice(CwclMessageReceiver* Receiver, tstring Id, tstring Name = _T(""), bool Legacy = false);
Parameters 
Description 
CwclMessageReceiver* Receiver 
The message receiver object that will receive notification messages. If the Receiver parameter is nil the wclEInvalidArgument exception raises.  
tstring Id 
The device's ID. If the Id parameter is an empty string the wclEInvalidArgument exception raises.  
tstring Name = _T("") 
The device's name.  
bool Legacy = false 
The device's legacy mode.  

An application must not create or destroy objects of this class directly.

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