pub type DADiskClaimReleaseCallback = Option<unsafe extern "C-unwind" fn(NonNull<DADisk>, *mut c_void) -> *const DADissenter>;Available on crate features
DADisk and DADissenter only.Expand description
Type of the callback function used by DADiskClaim().
Parameter disk: The disk object.
Parameter context: The user-defined context parameter given to the claim function.
Returns: A dissenter reference. Pass NULL to release claim.
The caller of this callback receives a reference to the returned object. The caller also implicitly retains the object and is responsible for releasing it with CFRelease().
See also Apple’s documentation
Aliased Type§
pub enum DADiskClaimReleaseCallback {
None,
Some(unsafe extern "C-unwind" fn(NonNull<DADisk>, *mut c_void) -> *const DADissenter),
}