---
title: updateReportChannel
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/ioreporter_ivars/updatereportchannel
---

# updateReportChannel

Internal method to extract channel data to a destination.

## Declaration

```occ
IOReturn updateReportChannel(int channel_index, uint32_t & elementCount, uint8_t * & buffer, size_t & capacity);
```

## Parameters

- `channel_index`: Offset into internal elements array
- `elementCount`: Incremented by the number of IOReportElements added
- `buffer`: Buffer.
- `capacity`: Capacity.

## Return Value

Return Value Appropriate IOReturn code

## Discussion

Discussion Used to extract a single channel’s data to the updateReport() destination. Locking: Caller must ensure that the reporter (data) lock is held.
