---
title: RegisterService
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/ioservice/registerservice
---

# RegisterService

Starts the registration process for the service and performs any additional matching.

## Declaration

```occ
virtual kern_return_t RegisterService();
```

## Mentioned in

Creating a Driver Using the DriverKit SDK

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.

## Discussion

Discussion After setting up your service in your custom Start method, call this method to let the system know your service is running.

## See Also

### Registering the Service with IOKit

- [SetName](driverkit/ioservice/setname.md)
- [GetRegistryEntryID](driverkit/ioservice/getregistryentryid.md)
- [IOServiceName](driverkit/ioservicename.md)
