<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Hypervisor",
  "identifier" : "/documentation/Hypervisor/hv_gic_get_msi_region_size(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Hypervisor"
    ],
    "preciseIdentifier" : "c:@F@hv_gic_get_msi_region_size"
  },
  "title" : "hv_gic_get_msi_region_size(_:)"
}
-->

# hv_gic_get_msi_region_size(_:)

Gets the size in bytes of the generic interrupt controller’s (GIC) message signaled interrupts (MSI) region.

```
func hv_gic_get_msi_region_size(_ msi_region_size: UnsafeMutablePointer<Int>) -> hv_return_t
```

## Parameters

`msi_region_size`

A pointer to GIC MSI region size that the framework writes to upon success.

## Return Value

[`HV_SUCCESS`](/documentation/Hypervisor/HV_SUCCESS) on success; otherwise, an error code.

## Discussion

---

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)