TwclWiFiProfilesManager.SetProfileList(TGUID,string[]) Method
The method sets the preference order of profiles for a given interface.
public function SetProfileList(const IfaceId: TGUID; const Names: array of string): Integer;
Parameters
- IfaceId
- Type: TGUID
The ID of the interface.
- Names
- Type: array of string
The names of the profiles in the desired order. Profile names are case-sensitive.
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.
The method sets the preference order of wireless LAN profiles for a given wireless interface.
The profiles in the list must be a one-to-one match with the
current profiles returned by the GetProfileList
method.