TwclWiFiProfilesManager.RenameProfile(TGUID,string,string) Method
Renames the specified profile.
public function RenameProfile(const IfaceId: TGUID; const OldName: string; const NewName: string): Integer;
Parameters
- IfaceId
- Type: TGUID
The ID of the interface.
- OldName
- Type: string
The profile name to be changed.
- NewName
- Type: string
The new name of the profile.
Return Value
Type: Integer
If the function succeeds, the return value is wclErrors.WCL_E_SUCCESS. If the function fails, the return value may be one of the WCL return codes.