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

# init

Handles the basic initialization of the dispatch source.

## Declaration

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

## 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

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