Services.exe Functions (Windows CE 5.0)

Windows CE 5.0
Send Feedback

The following table shows the Services.exe functions with a description of the purpose of each.

Programming elementDescription
ActivateServiceThis function is called to load a service.
DeregisterServiceThis function stops a service instance.
EnumServicesThis function returns information about all running services on the device.
GetServiceHandleThis function returns the handle to a service instance based on its prefix.
RegisterServiceThis function creates a new instance of a service.
ServiceAddPortThis function causes Services.exe to listen on the specified socket address and map network requests on the socket to the specified service instance.
ServiceClosePortThis function closes the specified port listening on the super server.
ServiceIoControlThis function sends a control code directly to a specified device driver causing the corresponding device to perform the specified operation.
ServiceUnbindPortsThis 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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: