WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiProfilesManager.SetPosition Method

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

Syntax
Pascal
function SetPosition(const IfaceId: TGUID; const ProfileName: string; const Position: Cardinal): Integer;
Parameters 
Description 
const IfaceId: TGUID 
The ID of the interface.  
const ProfileName: string 
The name of the profile. Profile names are case-sensitive.  
const Position: Cardinal 
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 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.