WiFi Framework C++ Edition

◆ SetProfileList()

int SetProfileList ( const GUID &  IfaceId,
const std::vector< tstring > &  Names 
)

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

Parameters
IfaceIdThe ID of the interface.
NamesThe names of the profiles in the desired order. Profile names are case-sensitive.
Returns
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.