WiFi Framework C++ Edition

◆ SetPosition()

int SetPosition ( const GUID &  IfaceId,
const tstring ProfileName,
const unsigned long  Position 
)

The method sets the position of a single, specified profile in the preference list.

Parameters
IfaceIdThe ID of the interface.
ProfileNameThe name of the profile. Profile names are case-sensitive.
PositionIndicates the position in the preference list that the profile should be shifted to. 0 (zero) corresponds to the first profile in the list that is returned by the GetProfileList method.
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.