---
title: getIndexValue
framework: kernel
role: pseudoSymbol
path: kernel/ioconfigdirectory/1811176-getindexvalue
---

# getIndexValue

## Declaration

```occ
virtual IOReturn getIndexValue(
 inttype,
 UInt32 &value); 
```

## Parameters

- `type`: on return, set to the data type
- `value`: reference to variable to store the entry's value

## Return Value

Return Value kIOReturnSuccess if the index exists in the dictionary and is of a type appropriate for the value parameter

## Overview

Overview Gets the value at the specified index of the directory, in a variety of forms.

## See Also

### Miscellaneous

- [getIndexEntry](kernel/ioconfigdirectory/1811146-getindexentry.md)
- [getIndexKey](kernel/ioconfigdirectory/1811157-getindexkey.md)
- [getIndexType](kernel/ioconfigdirectory/1811166-getindextype.md)
- [getKeySubdirectories](kernel/ioconfigdirectory/1811186-getkeysubdirectories.md)
- [getKeyType](kernel/ioconfigdirectory/1811199-getkeytype.md)
- [getKeyValue](kernel/ioconfigdirectory/1811212-getkeyvalue.md)
- [getSubdirectories](kernel/ioconfigdirectory/1811222-getsubdirectories.md)
- [update](kernel/ioconfigdirectory/1811231-update.md)
