TwclWiFiDirectDeviceWatcher.EnumPairedDevices(TStringList) Method
Enumerates paired WiFi Direct devices.
public function EnumPairedDevices(const Devices: TStringList): Integer;
Parameters
- Devices
- Type: TStringList
The StringList object that will be filled with found paired WiFi Direct devices IDs.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
A called is responsible to create the Devices
StringList object before calling the method and to destroy it after
usage. The Devices
list will be cleared before filled with
found devices IDs.