<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DiskArbitration",
  "identifier" : "/documentation/DiskArbitration/DADiskClaim(_:_:_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Disk Arbitration"
    ],
    "preciseIdentifier" : "c:@F@DADiskClaim"
  },
  "title" : "DADiskClaim(_:_:_:_:_:_:)"
}
-->

# DADiskClaim(_:_:_:_:_:_:)

Claims the specified disk object for exclusive use.

```
func DADiskClaim(_ disk: DADisk, _ options: DADiskClaimOptions, _ release: DADiskClaimReleaseCallback?, _ releaseContext: UnsafeMutableRawPointer?, _ callback: DADiskClaimCallback?, _ callbackContext: UnsafeMutableRawPointer?)
```

## Parameters

`disk`

The disk object.

`options`

The claim options.

`release`

The callback function to call when the claim is to be released.

`releaseContext`

The user-defined context parameter to pass to the callback function.

`callback`

The callback function to call once the claim completes.

`callbackContext`

The user-defined context parameter to pass to the callback function.

## 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)