<!--
{
  "availability" : [
    "DriverKit: 21.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioDriverKit",
  "identifier" : "/documentation/AudioDriverKit/IOUserAudioBox/GetAcquisitionFailure",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AudioDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserAudioBox@F@GetAcquisitionFailure#"
  },
  "title" : "GetAcquisitionFailure"
}
-->

# GetAcquisitionFailure

Returns the error code for use when box acquisition fails.

```
kern_return_t GetAcquisitionFailure();
```

## Return Value

An error code for use when box acquisition fails.

## Discussion

Call this method to retrieve the error to return from a failed call to [`HandleChangeAcquireBox`](/documentation/AudioDriverKit/IOUserAudioBox/HandleChangeAcquireBox).

This method synchronizes by using the work queue created by the object.

---

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)