WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiProfilesManager::SetProfileList Method

The method sets the preference order of profiles for a given interface.

Syntax
C++
int SetProfileList(GUID IfaceId, std::vector<tstring> Names);
Parameters 
Description 
GUID IfaceId 
The ID of the interface.  
std::vector<tstring> Names 
The names of the profiles in the desired order. Profile names are case-sensitive.  

If the function succeeds, the return value is wclCommon::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.  

 

Copyright (c) 2006-2019. All rights reserved.