TwclWiFiDirectDeviceWatcher.GetName(string,string) Method
Gets the WiFi Direct device's name.
public function GetName(const Id: string; out Name: string): Integer;
Parameters
- Id
- Type: string
The WiFi Direct device's ID.
- Name
- Type: string
If the method completed with success on output contains the WiFi Direct device's name.
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.