---
title: getMemoryDescriptor
framework: kernel
role: pseudoSymbol
path: kernel/iodataqueue/1810939-getmemorydescriptor
---

# getMemoryDescriptor

Returns a memory descriptor covering the IODataQueueMemory region.

## Declaration

```occ
virtual IOMemoryDescriptor *getMemoryDescriptor(); 
```

## Return Value

Return Value Returns a newly allocated IOMemoryDescriptor for the IODataQueueMemory region. Returns zero on failure.

## Overview

Overview The IOMemoryDescriptor instance returned by this method is intended to be mapped into a user process. This is the memory region that the IODataQueueClient code operates on.

## See Also

### Miscellaneous

- [enqueue](kernel/iodataqueue/1810927-enqueue.md)
- [initWithCapacity](kernel/iodataqueue/1810950-initwithcapacity.md)
- [initWithEntries](kernel/iodataqueue/1810963-initwithentries.md)
- [sendDataAvailableNotification](kernel/iodataqueue/1810980-senddataavailablenotification.md)
- [setNotificationPort](kernel/iodataqueue/1810994-setnotificationport.md)
- [withCapacity](kernel/iodataqueue/1811001-withcapacity.md)
- [withEntries](kernel/iodataqueue/1811020-withentries.md)
