DADiskClaim

Function DADiskClaim 

Source
pub unsafe extern "C" fn DADiskClaim(
    disk: DADiskRef,
    options: DADiskClaimOptions,
    release: DADiskClaimReleaseCallback,
    releaseContext: *mut c_void,
    callback: DADiskClaimCallback,
    callbackContext: *mut c_void,
)
Expand description

Claims the specified disk object for exclusive use.

ยง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.