---
title: getMemoryDescriptor
framework: kernel
role: pseudoSymbol
path: kernel/ioshareddataqueue/1810240-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

- [dequeue](kernel/ioshareddataqueue/1810190-dequeue.md)
- [initWithCapacity](kernel/ioshareddataqueue/1810293-initwithcapacity.md)
- [peek](kernel/ioshareddataqueue/1810347-peek.md)
- [withCapacity](kernel/ioshareddataqueue/1810400-withcapacity.md)
- [withEntries](kernel/ioshareddataqueue/1810447-withentries.md)
