---
title: init
framework: pcidriverkit
role: symbol
role_heading: Instance Method
path: pcidriverkit/iopcidevice/init
---

# init

Initializes the device.

## Declaration

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

## Return Value

Return Value true if initialization was successful, or false if it was unsuccessful.

## See Also

### Running the Service

- [Open](pcidriverkit/iopcidevice/open.md)
- [Close](pcidriverkit/iopcidevice/close.md)
- [free](pcidriverkit/iopcidevice/free.md)
