Microsoft Windows CE 3.0  

Starting and Stopping the Web Server

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

If you make changes to the Web server registry settings, it is necessary to stop the Web server and restart it to make the changes take effect.

To stop, start, or refresh the Web server programmatically, use the CreateProcessfunction with "httpdsvc" as the lpApplicationNameparameter and either "-stop", "-start", or "-refresh", respectively, as the lpCommandLineparameter.

Note   For compatibility with future releases, we recommend against starting or stopping the Web Server directly through its exported functions.

The IsEnabledregistry value is checked only when the Web server is starting up. If the registry value is set to 0, the Web server does not start up. Note that changing this value to 0 while the Web server is running has no effect. You also must stop the Web server to make it stop accepting connections.



 Last updated on Friday, April 02, 2004

© 2004 Microsoft Corporation. All rights reserved.