---
title: init
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/iointerruptdispatchsource/init
---

# init

Handles the basic initialization of the dispatch source.

## Declaration

```occ
virtual bool init();
```

## Return Value

Return Value true if initialization was successful, or false if an error occurred.

## Discussion

Discussion Don’t call this method directly. Call Create when you want to create a new interrupt dispatch source.

## See Also

### Configuring the Interrupt Source

- [Create](driverkit/iointerruptdispatchsource/create.md)
- [free](driverkit/iointerruptdispatchsource/free.md)
- [SetHandler](driverkit/iointerruptdispatchsource/sethandler.md)
