Download the source code

The service.exe API function EnumServices can be used to enumerate services that are running on Windows Mobile. The API returns an array of ServiceEnumInfo structure. A better approach is to enumerate the services registry key. All the service that are installed in the device will have a registry entry under the key: HKEY_LOCAL_MACHINEServices. Each entry contains the details of the service. Enumerating this registry key will give you more detail about the service like Service Name, Description, Load Order, etc…

Here is a sample program that enumerate this registry key and displays the information about the running services.