WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiProfilesManager::SetPosition Method

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

Syntax
C++
int SetPosition(GUID IfaceId, tstring& ProfileName, unsigned long Position);
Parameters 
Description 
GUID IfaceId 
The ID of the interface.  
tstring& ProfileName 
The name of the profile. Profile names are case-sensitive.  
unsigned long Position 
Indicates 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.  

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.

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