---
title: destroyAGPSpace
framework: kernel
role: pseudoSymbol
path: kernel/ioagpdevice/1811870-destroyagpspace
---

# destroyAGPSpace

Destroys the AGP space, and disables AGP transactions on the primary and secondary.

## Declaration

```occ
virtual IOReturn destroyAGPSpace(
 void ); 
```

## Overview

Overview This method should be called by the driver to shutdown AGP transactions and release resources.

## See Also

### Miscellaneous

- [commitAGPMemory](kernel/ioagpdevice/1811820-commitagpmemory.md)
- [createAGPSpace](kernel/ioagpdevice/1811842-createagpspace.md)
- [getAGPRangeAllocator](kernel/ioagpdevice/1811894-getagprangeallocator.md)
- [getAGPSpace](kernel/ioagpdevice/1811914-getagpspace.md)
- [getAGPStatus](kernel/ioagpdevice/1811928-getagpstatus.md)
- [releaseAGPMemory](kernel/ioagpdevice/1811943-releaseagpmemory.md)
