WiFi Framework C++ Edition

◆ CwclWiFiDirectDevice()

CwclWiFiDirectDevice ( CwclMessageReceiver *const  Receiver,
const tstring Id,
const tstring Name = _T(""),
const bool  Legacy = false 
)

Creates new WiFi Direct device object.

Parameters
ReceiverThe message receiver object that will receive notification messages. If the Receiver parameter is NULL the wclEInvalidArgument exception raises.
IdThe device's ID. If the Id parameter is an empty string the wclEInvalidArgument exception raises.
NameThe device's name.
LegacyThe device's legacy mode.

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

See also
CwclMessageReceiver
Exceptions
wclEInvalidArgument