pub unsafe extern "C-unwind" fn DADiskCreateFromVolumePath(
allocator: Option<&CFAllocator>,
session: &DASession,
path: &CFURL,
) -> Option<CFRetained<DADisk>>Available on crate features
DADisk and DASession only.Expand description
Creates a new disk object.
Parameter allocator: The allocator object to be used to allocate memory.
Parameter session: The DASession in which to contact Disk Arbitration.
Parameter path: The BSD mount point.
Returns: A reference to a new DADisk.
The caller of this function receives a reference to the returned object. The caller also implicitly retains the object and is responsible for releasing it with CFRelease().