I have managed to use the IProvisioningProfileWireless interface to write
configuration data back to the WZC. However currently the interface offer
limited functionality compared to the WCSAPI.
I have used the undocumented (on XP) WZCSAPI without any problems for
Windows 2000/XP/XPSP0/XPSP1. This was based on different WZCSAPI.h
header files.
Now that SP2 is the WZCSAPI has changed and I require the new WZCSAPI.h to
get it to work. As I cannot find the new header file anywhere I tried using
this new
IProvisioningProfileWireless interface but as I said before it does not
offer the
functionality I need at this moment.
I guess the IProvisioningProfileWireless interface will replace the WCZSAPI
but my question is:
Will the IProvisioningProfileWireless ever offer the same functionality as
the WZCSAPI and if so when will this be released? Or would it be possible to
obtain
the WZCSAPI.h for Windows XP SP2.
Thanks,
Tom Rixom
----- Original Message -----
From: ""Bryan S. Burgin [MSFT]"" <bbu...@online.microsoft.com>
Newsgroups: microsoft.public.windows.networking.wireless
Sent: Thursday, August 19, 2004 5:31 AM
Subject: Wireless Provisioning Services (WPS) documentation now available
> See http://www.microsoft.com/whdc/device/network/wireless/wps.mspx.
>
> Wireless Provisioning Services
> Updated: August 18, 2004
> Wireless Provisioning Services (WPS) enable the discovery of and
> connection
> to wireless networks. WPS enhancements are included in Microsoft Windows
> XP
> Service Pack 2 (SP2) and under consideration for Windows ServerT 2003
> Service Pack 1 (SP1).
>
> WPS extends the wireless client software included with Windows XP and the
> Internet Authentication Service (IAS) included with Windows Server 2003 to
> allow for a consistent and automated configuration process when connecting
> to public wireless hotspots or private wireless networks that provide
> guest
> access to the Internet.
>
> The WPS APIs allow for the pre-provisioning of network information to
> connect to these networks and the provisioning of network settings to
> connect to private wireless networks.
>
> To help driver developers who create network components that can take
> advantage of WPS capabilities, Microsoft is providing a Driver Development
> Kit (DDK) preview, including these components:
>
> . WPS documentation preview from the Windows DDK
>
> . Netprov.h header and related files
>
>
>
> Bryan S. Burgin
> bbu...@online.microsoft.com
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
"Tom Rixom" <TomR...@discussions.microsoft.com> wrote in message
news:27C68B82-A375-4D4E...@microsoft.com...
Thanks, but as you mentioned this is not usefull... yet :(
btw. I have got a little further using the WZCSAPI. Found a new WZCSAPI header
file which seems to work (sort of) with SP2.
But it seems they have changed the way the use the prefered list...
Have you gotten any further with the WZCSAPI in SP2?
Regards,
Tom Rixom
"Carl" <Ca...@discussions.microsoft.com> wrote in message
news:24C29873-9B31-4043...@microsoft.com...
Thanks,
Berni
"Carl" <Ca...@discussions.microsoft.com> schrieb im Newsbeitrag
news:24C29873-9B31-4043...@microsoft.com...
It works well but a "DeleteProfile" method would be much cleaner :)
--------------
ServiceController wzcsvc=new ServiceController("WZCSVC",".");
// stop the WZCSVC
if (wzcsvc.Status==ServiceControllerStatus.Running)
{
wzcsvc.Stop();
wzcsvc.WaitForStatus(ServiceControllerStatus.Stopped,TimeSpan.FromMilliseconds(5000));
}
// remove all settings
string
key=@"SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\"+this.adapterGuid.ToString("B");
RegistryKey rk=Registry.LocalMachine.OpenSubKey(key,true);
foreach(string name in rk.GetValueNames())
if (name.StartsWith("Static"))
rk.DeleteValue(name);
rk.Close();
// start the WZCSVC
if (wzcsvc.Status==ServiceControllerStatus.Stopped)
{
wzcsvc.Start();
wzcsvc.WaitForStatus(ServiceControllerStatus.Running,TimeSpan.FromMilliseconds(5000));
}
"Bernhard" <ne...@berni.net> schrieb im Newsbeitrag
news:O0sTMXmv...@TK2MSFTNGP12.phx.gbl...
"Bernhard" <ne...@berni.net> wrote in message
news:OugHVOnv...@TK2MSFTNGP15.phx.gbl...
thanks Carl