Contents

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

Claims the specified disk object for exclusive use.

Declaration

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.

See Also

Miscellaneous