WiFi Framework C++ Edition

◆ DeleteProfile()

int DeleteProfile ( const GUID &  IfaceId,
const tstring ProfileName 
)

The method deletes a wireless profile for a wireless interface on the local computer.

Parameters
IfaceIdThe ID of the interface from which to delete the profile.
ProfileNameThe name of the profile to be deleted.
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.