Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

The API also allows you to programmatically instantiate service instances for services that you wish to control the lifetime of. 

Info

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.

...

  • Register a service provider in the WinGate engine
  • Optionally register a type for services whose lifetime that you want the WMC to manage and the user to be able to instantiate/destroy.
  • Optionally register instances of services you wish to control the lifetime of.
  • Register a service provider in the WinGate Management Console
  • Respond to interface functions ServiceUIQueryInstantiableType, ServiceUIInstanceCreate and ServiceUIInstanceShowConfig

...