The Service API allows component writers to create service like components. Users can instantiate new instances of your service and control them through component defined verbs (i.e. Start, Stop). You can provide a custom interface for editing the service instances via the Service UI API.
If you wish to provide a network style service (Proxy server, mapping service etc) use the NetService API instead. This API provides automatic support for managing bindings, socket notifications, event registration and many other common functions that net based services typically require.
The steps to providing a service are as follows:
- Register a service provider in the WinGate engine
- Register a service provider in the WinGate Management Console
- Respond to interface functions ServiceUIQueryInstantiableType, ServiceUIInstanceCreate and ServiceUIInstanceShowConfig