<!--
{
  "availability" : [
    "DriverKit: -",
    "iOS: -",
    "iPadOS: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DriverKit",
  "identifier" : "/documentation/DriverKit/IOReporter_IVars/updateReportChannel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "DriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOReporter_IVars@F@updateReportChannel#I#&i#&*c#&l#"
  },
  "title" : "updateReportChannel"
}
-->

# updateReportChannel

Internal method to extract channel data to a destination.

```
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

Appropriate [`IOReturn`](/documentation/DriverKit/IOReturn) code

## Discussion

Used to extract a single channel’s
data to the updateReport() destination.

Locking: Caller must ensure that the reporter (data) lock is held.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)