You can take a look at the sample profiles at
http://msdn2.microsoft.com/en-us/library/aa369853.aspx.
Yi
--
This posting is provided "AS IS" and confers no rights. Use of sample
scripts is subject to the terms provided at
http://www.microsoft.com/info/cpyright.htm.
"dominolog" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Hello
>
> I'm using Native WIFI SDK for XP SP2. I enumerated the avaliable
> networks with WlanGetAvailableNetworkList. I have one open network
> with no protection detected. There is no profile for it (at least
> WlanGetProfile fails). The question is: how can I connect to this
> network? WlanConnect returns error code 82. I assume it means that
> there was no profile passed as an argument. Does it mean I have to
> manually create the XML profile and pass it as a buffer to the
> WlanConnect? I so, how should the profile look like?
>
> If you don't know an answer please forward me to the correct group.
>
> Thanks
>
> Dominolog
>