The following table shows the Services.exe functions with a description of the purpose of each.
| Programming element | Description | 
|---|---|
| ActivateService | This function is called to load a service. | 
| DeregisterService | This function stops a service instance. | 
| EnumServices | This function returns information about all running services on the device. | 
| GetServiceHandle | This function returns the handle to a service instance based on its prefix. | 
| RegisterService | This function creates a new instance of a service. | 
| ServiceAddPort | This function causes Services.exe to listen on the specified socket address and map network requests on the socket to the specified service instance. | 
| ServiceClosePort | This function closes the specified port listening on the super server. | 
| ServiceIoControl | This function sends a control code directly to a specified device driver causing the corresponding device to perform the specified operation. | 
| ServiceUnbindPorts | This function closes all ports that are listening on the super server and are associated with the specified device. | 
| xxx_Close (Services.exe) | This function is implemented by a service and will be called by Services.exe. | 
| xxx_Deinit (Services.exe) | This function is to be implemented by a service and will be called by Services.exe. | 
| xxx_Init (Services.exe) | This function is to be implemented by a service and will be called by Services.exe. | 
| xxx_IOControl (Services.exe) | This function is used to send a control code to a service. | 
| xxx_Open (Services.exe) | This function is to be implemented by a service and will be called by Services.exe. | 
| xxx_Read (Services.exe) | This function is to be implemented by a service and will be called by Services.exe. This function need only be implemented by a streaming service. | 
| xxx_Seek (Services.exe) | This function is to be implemented by a service and will be called by Services.exe. This function need only be implemented by a streaming service. | 
| xxx_Write (Services.exe) | This function is to be implemented by a service and will be called by Services.exe. Only streaming services need to implement this function. | 
Send Feedback on this topic to the authors