Function DADiskCopyDescription

Source
pub unsafe extern "C-unwind" fn DADiskCopyDescription(
    disk: &DADisk,
) -> Option<CFRetained<CFDictionary>>
Available on crate feature DADisk only.
Expand description

Obtains the Disk Arbitration description of the specified disk.

Parameter disk: The DADisk for which to obtain the Disk Arbitration description.

Returns: The disk’s Disk Arbitration description.

This function will contact Disk Arbitration to acquire the latest description of the specified disk, unless this function is called on a disk object passed within the context of a registered callback, in which case the description is current as of that callback event.

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().