DADiskCopyDescription

Function DADiskCopyDescription 

Source
pub unsafe extern "C" fn DADiskCopyDescription(
    disk: DADiskRef,
) -> CFDictionaryRef
Expand description

Obtains the Disk Arbitration description of the specified disk.

§Parameters

  • disk - The DADisk for which to obtain the Disk Arbitration description.

§Returns

The disk’s Disk Arbitration description.

§Discussion

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.