Contents

DADiskCopyDescription(_:)

Obtains the Disk Arbitration description of the specified disk.

Declaration

func DADiskCopyDescription(_ disk: DADisk) -> CFDictionary?

Parameters

  • disk:

    The DADisk for which to obtain the Disk Arbitration description.

Return Value

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

See Also

Miscellaneous