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

# init

Initializes the memory map object.

## Declaration

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

## Return Value

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

## Discussion

Discussion Don’t call this method directly. To create a memory map object, call the CreateMapping method of IOMemoryDescriptor.

## See Also

### Configuring the Memory Map

- [free](driverkit/iomemorymap/free.md)
