---
title: getAGPStatus
framework: kernel
role: pseudoSymbol
path: kernel/ioagpdevice/1811928-getagpstatus
---

# getAGPStatus

Returns the current state of the AGP bus.

## Declaration

```occ
virtual IOOptionBits getAGPStatus(
 IOOptionBits which = which ); 
```

## Parameters

- `which`: Type of status - only kIOAGPDefaultStatus is currently valid.

## Return Value

Return Value Returns mask of status bits for the AGP bus.

## Overview

Overview Returns state bits for the AGP bus. Only one type of status is currently defined.

## See Also

### Miscellaneous

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