DADiskCopyWholeDisk(_:)
Obtain the associated whole disk object for the specified disk.
Declaration
func DADiskCopyWholeDisk(_ disk: DADisk) -> DADisk?Parameters
- disk:
The disk object.
Return Value
The disk’s associated whole disk object.
Discussion
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().